Fwd: Re: Fwd: [MPlayer-users] SCSI emulation

H}kan Hjort d95hjort at dtek.chalmers.se
Tue Jan 7 15:26:15 CET 2003


Mon Jan 06 2003, Bob Lockie wrote:
> > So is there still some problem? Or was this all just configure /
> >setup problmes? 
> 
> I can play DVDs with SCSI emulation but I have to set the /dev/dvd link 
> to /dev/sr1 instead
> of using the /dev/cdrom -> /dev/cdroms/cdrom0 -> /dev/scsi link.
> 
[snip]
> 
> With SCSI emulation:
> --------------------
> 
> # ll /dev/sr0
> lr-xr-xr-x    1 root     root           31 Jan  6 11:05 /dev/sr0 -> 
> scsi/host0/bus0/target1/lun0/cd
> 
> # ll /dev/sr1
> lr-xr-xr-x    1 root     root           31 Jan  6 11:05 /dev/sr1 -> 
> scsi/host1/bus0/target0/lun0/cd
> 
[snip]
> lr-xr-xr-x    1 root     root           13 Jan  6 16:14 /dev/cdrom -> 
> cdroms/cdrom0
> 
> # ll /dev/cdroms/cdrom0
> lr-xr-xr-x    1 root     root           34 Dec 31  1969 
> /dev/cdroms/cdrom0 -> ../scsi/host0/bus0/target1/lun0/cd
> 
> 
> # ll /dev/cdroms/cdrom1
> lr-xr-xr-x    1 root     root           34 Dec 31  1969 
> /dev/cdroms/cdrom1 -> ../scsi/host1/bus0/target0/lun0/cd
> 
> I tried to change /dev/cdrom to link to /dev/cdroms/cdrom1 instead of 
> /dev/cdroms/cdrom0 and then /dev/dvd would work but I couldn't delete 
> /dev/cdrom.
> I didn't see that it was pointing to the wrong SCSI device.
> 
Yeah ok, so it picks ide devices first and then scsi.  But when
you have a ide-scsi emulation that gets to be host1 and so gets
to be after the scsi sr1 drive in the enumeration list of cdroms.

Would be nice to be able to 'check' for media pressens and the types
supported perhaps... as we do in that dvd_test app, then one could know
that it wasn't a DVD drive and/or that it has no media in it.

-- 
Håkan Hjort
-- 
This is the libdvdcss-devel mailing-list, see http://www.videolan.org/libdvdcss/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the libdvdcss-devel mailing list