Mailinglist Archive: opensuse-kde (290 mails)

< Previous Next >
Re: [suse-kde] konqueror and audiocd:/
  • From: Mario Streiber <mario.streiber@xxxxxx>
  • Date: Wed, 3 Mar 2004 21:34:51 +0100
  • Message-id: <200403032128.25960.mario.streiber@xxxxxx>
> > Now, after I upgraded to KDE3.2 it does not work any longer :-(
> >
> > I checked with
> >
> > pin audiocd
> >
> > and got the answer that kio_audio.la and .so should be in the
> > package kdemultimedia3-sound-3.1.1-13.i586.rpm. Double checking
> > with
> >
> > rpm -ql kdemultimedia3-sound (of my actual KDE3.2)
> >
> > deivered that there are no such files like kio_audio.la and .so
> > in that package.
> >
> > Does anybody know where those files went?
>
> I have /opt/kde3/lib/kde3/kio_audiocd.so and .la which come with
> kdemultimedia3-CD-3.2.0-32. A search on google and rpmfind.net
> did nor produce any results for kio_audio.so and .la. Did you
> misspell it?
>
> Anyway, although the files exist, the problem is still there.

I just straced the "kdeinit: kio_audiocd" process which is started
when entering audiocd:/ in the address bar and it lead me to the
problem:

open("/dev/sg1", O_RDWR) = -1 EACCES (Permission
denied)

I had 640 permissions (crw-r-----) for /dev/sg* with owner
root:disk. I changed the permissions to 660 (crw-rw----) and now it
works!

It would have been a lot easier if I had known that the errors have
been logged to ~/.xsession-errors:

Checking /dev/cdrom for cdrom...
Testing /dev/cdrom for cooked ioctl() interface
/dev/sr1 is not a cooked ioctl CDROM.
Testing /dev/cdrom for SCSI interface
generic device: /dev/sg1
ioctl device: /dev/sr1
Could not open generic SCSI device /dev/sg1:
Permission denied

It would have been even more easier if konqueror or kio_audiocd
would display an error message on the screen.


Best Regards
Mario

< Previous Next >