You are not logged in.
Pages: 1
Hi,
I got 2 optical drives installed:
- a DVD drive,
- CD drive.
I am unable to play neither CDs nor DVDs. For example here is the output of mplayer:
[c]tux@slitaz:~$ mplayer dvd://1
MPlayer UNKNOWN-4.5.2 (C) 2000-2010 MPlayer Team
MMX supported but disabled
MMX2 supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
Playing dvd://1.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd (No medium found)
No stream found to handle url dvd://1
Exiting... (End of file)
tux@slitaz:~$[/c]
=> it indicates that something is wrong with /dev/... After investigating, I found that:
[c]tux@slitaz:~$ eject /dev/dvd[/c]
Results in ejecting the wrong drive. Actually it opens the CD drive tray instead of the DVD tray.
Here is where the /dev/dvd points to:
[c]tux@slitaz:~$ ls -l /dev/dvd
lrwxrwxrwx 1 root root 8 Dec 10 18:53 /dev/dvd -> /dev/hdd
tux@slitaz:~$[/c]
=> this link to /dev/hdd looks strange to me.
If you have any idea, let me know.
Tkx
Offline
Some news :-).
The two drives are attached as:
[c]tux@slitaz:~$ wodim --devices
wodim: Overview of accessible drives (2 found) :
-------------------------------------------------------------------------
0 dev='/dev/hdc' rwrw-- : 'ASUS' 'DRW-1608P'
1 dev='/dev/hdd' rwrw-- : 'MATSHITA' 'DVD-ROM SR-8586'
-------------------------------------------------------------------------
tux@slitaz:~$[/c]
But the /dev/dvd is linked to the wrong drive. I need to use /dev/hdc (ASUS one):
[c]tux@slitaz:~$ ls -l /dev/dvd
lrwxrwxrwx 1 root root 8 Dec 10 18:53 /dev/dvd -> /dev/hdd
tux@slitaz:~$[/c]
Does anyone knows how or in wich config file I can set to the correct drive mapping (dev/dvd -> dev/hdc).
Thank for helping.
Offline
#ln -sf /dev/hdc /dev/dvd
FYI this is how SliTaz symlinks to drive.
/etc/int.d/rcS :
133 # Create /dev/cdrom if needed (symlink does not exist on LiveCD).
134 # Also add /dev/cdrom to fstab if entry does not exist.
135 if [ -n "$CDROM" ]; then
136 DRIVE_NAME=${CDROM#/dev/}
137 else
138 DRIVE_NAME=$(fgrep -s "drive name" /proc/sys/dev/cdrom/info | cut -f 3)
139 fi
140 if [ -n "$DRIVE_NAME" -a ! "[c]readlink /dev/cdrom[/c]" ]; then
141 echo -n "Creating symlink : /dev/cdrom..."
142 ln -s /dev/$DRIVE_NAME /dev/cdrom
143 ln -s /dev/$DRIVE_NAME /dev/dvd
144 status
145 fi
Offline
thx mojo for the info.
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]