Since updating my openSUSE 11.2 laptop with KDE4.3 (or possibly KDE3.5) every disk I insert is not recognized by device manager, be it audio or data CD, video or data DVD.
I only noticed this problem today, as I seldom use the CD/DVD drive, so I’m not sure about the exact version of KDE4 where the problem started. I do know that I didn’t have this issue a couple months ago, probably with KDE4.2.
This problem is registered at bugzilla, in various forms of behavior, but is not considered high priority, from the reports I read, so it may still take some time to be fixed.
There has been many posts of similar problems in this forum, most still unsolved, unfortunately. Search for can’t mount dvd kde4 to see for yourself
Things I checked, based on those posts:
-
udev rules for the drive exist (in /etc/udev/rules.d/70-persistent-cd.rules) and seem to be working OK, as device ID (pci bus ID) matches the one shown by hwinfo (or Yast’s Hardware info, if you prefer a GUI) and /dev/sr0 exists.
-
/dev/sr0 and it’s symlinks (/dev/cdrom, /dev/dvd, etc.) exist, belong to group cdrom and have read permission assigned to everyone (rw-r–r–).
-
Adding the user to group cdrom makes no difference, as it shouldn’t since everyone have read permission. Nor to group disk, as has been a (dirty) solution a long time ago…
-
Testing with a new, recently created user makes no difference, so it’s not an inherited /home/.kde4 setting inconsistence.
-
Logged once as root (just once, off-line, didn’t run any app, please don’t shoot me) and tried a data DVD and a CD. None where recognized in Dolphin’s places nor by the device notifier nor in konqueror’s My Computer kio.
-
Updated the system trough Yast (including desktop and standard kernel) and also KDE4.4.1 to the latest 11.2 factory repo. Still nothing.
-
Tried to mount manually, as suggested in another thread. It worked. Only tried with data CD and DVD, no audio CD or video DVD. I can access the files normally by navigating to the mount directory, but the disk is still not shown in places, device manager or my computer.
-
Then I rebooted and, after KDE loaded, inserted a disk. Nothing.
-
Tried konqueror’s audiocd:/ kio protocol, and it works, kind of, in that it allows me to see the audio CD contents and copy it to the HD if I want (it’s very cool, really), but I can’t play directly from the disk.
-
Then i left the disk in the drive and rebooted. SURPRISE! The disk appears in places, device manager, etc., already mounted, and everything works as it should. KSCD plays audio, kaffeine plays video DVD, dolphin show data CD and DVD in places, etc. However, if I eject and reload the disk it goes invisible again.
So, to sum it up:
A. TO MOUNT ANY DISK: Insert disk, reboot. Only eject when you’re finished using the disk, or you’ll have to reboot again.
B. TO MOUNT A DATA DISK WITHOUT REBOOT: mount the disk manually. To mount the disk contents to the usual directory, do from a terminal (don’t type the comments inside the parenthesis:
su
(enter root password)
mkdir /mnt/cdrom (only do this if the mount directory doesn’t exist; off course you can give it another sensible name, avoid spaces and weird characters)
mount /dev/sr0 /mnt/cdrom (if by a very small chance your drive is assigned another device name, you’ll have to find it. Fortunately, Yast’s hardware info will show it it the CD-ROM listing details. OR you can use one of the symlinks, like /dev/cdrom, /dev/dvd, etc.)
You can close the terminal now if you wish.
To eject the drive you have to unmount it. Again from a terminal type:
su
(enter root password)
umount /mnt/cdrom (you can also use the device name here, as in umount /dev/sr0 OR umount /dev/cdrom OR /dev/dvd, OR…)
C. TO ACCESS AN AUDIO DISK WITHOUT REBOOT: use konqueror’s audiocd:/ protocol, i.e., insert the disk in the drive and type audiocd:/ in the address bar in konqueror. I suppose it also works in dophin, but I’m not sure.
This will allow you to copy the music but not to play it, as far as I tested.
D. TO ACCESS A VIDEO DVD: No idea whatsoever…
Well, sorry for the long post, I hope it may help someone.