Re: Fw: Fw: Acces to /dev/dvd
Ray Warren <[email protected]>
| Newsgroups | gmane.comp.video.ogle.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Mar 11, 2004 at 06:47:22PM +0100, Bj|rn Englund wrote: > Thu Mar 11 2004, Fabien Wahl wrote: > > > > > > Question 1 : i read in linuxuser 08/03 (with a praising article on > > > Ogle), that "from mandrake 8.1 [...] the dvd device should be declared > > > as /dev/ide/host0/bus1/target0/lun0/generic, ie. Master on the second > > > IDE-Controller" > > > My DVD is currently "Slave" on the second IDE-Controller, since it is my > > > CDROM RW which is master. Should I change the hardware setting? > > No master or slave doesn't matter I just think they pointed out > that target0 is the same as Master in the ide controller and > target1 is slave. > But the are using /generic instead of /cd, that might be the problem. > Are you running ide-scsi on the dvd device? > > > > Question 2 : how does Ogle take into account the region setting? in > > > France, my region setting is 2. > > The best is if your dvd drive is region free otherwise the keys will > be cracked by libdvdcss. > Ogle in itself doesn't care about the region (well you can set the region > in the oglerc file if the dvd checks it). > > > > > [fabien@localhost dvd_test]$ ./dvd_test > > /dev/ide/host0/bus1/target1/lun0/cd > > > > > > dvd_test output: (/dev/ide/host0/bus1/target1/lun0/cd) > > > ================ > > > > > > Linux 2.4.22-10mdk #1 Thu Sep 18 12:30:58 CEST 2003 i686 > > > brw------- 1 fabien cdrom 22, 64 Jan 1 1970 > > > /dev/ide/host0/bus1/target1/lun0/cd > > > brw------- 1 fabien cdrom 22, 64 Jan 1 1970 > > > /dev/ide/host0/bus1/target1/lun0/cd > > > /dev/ide/host0/bus1/target1/lun0/cd: No medium found > > > /dev/ide/host0/bus1/target1/lun0/cd: No medium found > > > > > This must be the wrong device we are trying to use. > It shouldn't say : No medium found, when you have a dvd in it. > Maybe you should try /dev/ide/host0/bus1/target1/lun0/generic > > If that doesn't work you can try the other ide devices also like > bus0/target0..., bus0/target1..., bus1/target0... > > I'm not using devfs myself so I'm not sure which device is the correct > to use, maybe there is another device when you are running ide-scsi. > try the dvd_test program on your cd-rw drive also with a disc in it. > It should at least report something other than No medium found. > > Anyone else that is running devfs that could help? With Mandrake 9.2 using devsf and ide-scsi, I use a softlink to /dev/scsi/.../cd lr-xr-xr-x 1 root root 31 Mar 8 17:48 /dev/dvd -> scsi/host1/bus0/target0/lun0/cd lr-xr-xr-x 1 root root 36 Mar 8 17:48 /dev/dvd2 -> /dev/scsi/host1/bus0/target1/lun0/cd and then refer to /dev/dvd . this works for both drives . The paths in the links are different because I did the second one by hand and I prefer to use the complete path in links. HTH Ray Warren