On 26 Dec 2002 16:47:26 +0100
Alexandr Malusek
So your symbolic links should be
/dev/dvd -> /dev/sr0 /dev/cdrecorder -> /dev/sr1
Yes right. Done now :-).
An audio-cd in both drives gave no debugging results, but I could not start it using kscd.
If you want to investigate the problem then you can run
strace -o strace.out kscd
Oh fine. Now I can see the trace result.
and search the produced file strace.out for the file descriptor used for accessing the device:
open("/dev/cdrom", O_RDONLY|O_NONBLOCK) = 8 select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout) ioctl(8, 0x5305, 0xbfffebba) = 0 ioctl(8, 0x5306, 0xbfffebb0) = 0
It's 8 in my case. The CD unit is controlled via ioctl calls (e.g. 0x5305), their values are described in ioctl_list(2) and /usr/include/linux/cdrom.h.
I had a brief view on the 2 options. Here is my result: open("/dev/cdrom", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory) open("/opt/kde3/share/icons/crystal/32x32/actions/button_ok.png", O_RDONLY) = 11 open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 11 open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 11 open("/dev/cdrom", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory) open("/dev/cdrom", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory) open("/dev/cdrom", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory) open("/home/erik/.kde/share/config/kscdrc", O_RDONLY) = 11 open("/home/erik/.kde/share/config/kscdrceiNQ0a.new", O_RDWR|O_CREAT|O_EXCL, 0600) = 11 This is with an audio cd in the dvd drive. But so far I am not quite able to read whats wrong. I can see, that a file or directory has not been found, and its -1 here, where yours were 8.
-- Alexandr.Malusek@imv.liu.se
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Med venlig hilsen - Best regards - vy73 de OZ4KK. Erik Jakobsen - eja@urbakken.dk Registered Linux user #114875 - http://counter.li.org SuSE linux 8.1 - VMware 3.2 - WIN98SE.