Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DVD playback
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
coren2000
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 75
Location: Toronto Canada

PostPosted: Wed Aug 20, 2003 11:04 pm    Post subject: DVD playback Reply with quote

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
View user's profile Send private message
hensan
l33t
l33t


Joined: 26 Jun 2003
Posts: 868
Location: Sweden

PostPosted: Wed Aug 20, 2003 11:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
coren2000
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 75
Location: Toronto Canada

PostPosted: Wed Aug 20, 2003 11:36 pm    Post subject: Thank you Reply with quote

Darth Vader and I thank you.
Back to top
View user's profile Send private message
kccricket
n00b
n00b


Joined: 03 Jun 2003
Posts: 51
Location: North Carolina, USA

PostPosted: Wed Aug 20, 2003 11:39 pm    Post subject: Reply with quote

[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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum