View previous topic :: View next topic |
Author |
Message |
coren2000 Tux's lil' helper
Joined: 19 Aug 2003 Posts: 75 Location: Toronto Canada
|
Posted: Wed Aug 20, 2003 11:04 pm Post subject: DVD playback |
|
|
Hi Im trying to get DVDs to play on my gentoo system, but Im having problems
when I run "Open Disk" in ogle, I get these errors
Debug[ogle_nav]: Opening DVD at "/dev/dvd"
libdvdread: Can't stat /dev/dvd
No such file or directory
vm: faild to open/read the DVD |
|
Back to top |
|
|
hensan l33t
Joined: 26 Jun 2003 Posts: 868 Location: Sweden
|
Posted: Wed Aug 20, 2003 11:24 pm Post subject: |
|
|
Do you have a /dev/dvd? Most likely not. You have to make a symlink from your /dev/cdroms/cdrom0 (or cdrom1, whichever is your DVD) to /dev/dvd like so:
Code: | ln -s /dev/cdroms/cdrom0 /dev/dvd |
|
|
Back to top |
|
|
coren2000 Tux's lil' helper
Joined: 19 Aug 2003 Posts: 75 Location: Toronto Canada
|
Posted: Wed Aug 20, 2003 11:36 pm Post subject: Thank you |
|
|
Darth Vader and I thank you. |
|
Back to top |
|
|
kccricket n00b
Joined: 03 Jun 2003 Posts: 51 Location: North Carolina, USA
|
Posted: Wed Aug 20, 2003 11:39 pm Post subject: |
|
|
[edit]This is obviously much more complicated that just making a symlink, but I prefer to have devfsd do things for me.[/edit]
Alternatively, if you're using devfs, you can modify your /etc/devfsd.conf file to automatically point the symlink to /dev/dvd. Or you can always just tell Ogle to look somewhere else (I assume, never used it).
In the case of devfs, an example:
Code: | # Create /dev/cdrom for the first cdrom drive
#LOOKUP ^cdrom$ CFUNCTION GLOBAL mksymlink cdroms/cdrom0 cdrom
#REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink $devname cdrom
#UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom
# Create /dev/dvd for the second cdrom drive
# (change 'cdroms/cdrom1' to suite your setup)
# NOTE: We add the fully qualified path here, else some apps
# have problems to resolve the true device (drip comes to mind)
LOOKUP ^dvd$ CFUNCTION GLOBAL mksymlink ${mntpnt}/cdroms/cdrom0 dvd
REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink ${devpath} dvd
UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink dvd |
Comment the lines for the lookup of ^cdrom$. Uncomment (and modify, if necessary) the lookup lines for ^dvd$. The above assumes that your DVD drive is your first IDE cd-rom. In my case, my burner is the master to my slave dvd, but the dvd drive still appears as cdrom0 because I am using SCSI emulation for the burner (cdrom1). _________________ -kccricket
* chirp * chirp * |
|
Back to top |
|
|
|