This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to restore CD / DVD detection with udisks2 in KDE?

Tags: None
(comma "," separated)
shmerl
Registered Member
Posts
251
Karma
1
OS
I'm running Debian testing with KDE, and some time ago I noticed that KDE stopped detecting CD / DVD insertion in the drive. I.e. it used to show a dialog with mounting / viewing options, but now it doesn't anymore. After digging around I found a bug about udisks2 not providing media autodetection: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725978

I'm not sure though, what is a proposed approach for doing that in KDE (which depends on udisks2 the way I understood).
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
KDE, via it's Solid hardware abstraction library, relies on the underlying subsystem to provide new hardware / media notification events. As KDE doesn't have any direct interaction with the hardware, it isn't possible for it to provide this.

You'll have to wait for UDisks2 to be fixed i'm afraid, or alternatively recompile KDE to use UDisks instead - this behaviour depends on a compile-time option I believe.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
shmerl
Registered Member
Posts
251
Karma
1
OS
How does it usually work with KDE on other distros which also use udisks2? I can try reproducing the same missing piece in Debian. Or all of them still use udisks? I think udisks2 dropped that functionality on purpose, so I doubt they'll "fix" it.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
From what I am aware, a number of distributions have migrated to UDisks2 now - and more will continue to do so. This is primarily driven by the fact that UDisks is now unmaintained, and GNOME requires UDisks2 (so therefore KDE is forced by distributions to move from UDisks to UDisks2).

From what I understand in that bug report - while it was a deliberate behaviour change, the new behaviour eliminates polling in favour of events which should save system power significantly. Unfortunately it has exposed weaknesses in the underlying kernel components - which is why it doesn't work for you.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
shmerl
Registered Member
Posts
251
Karma
1
OS
Looks like newer kernel fixed this issue for me on Debian.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Thanks for the update - i've now marked this as solved.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]