You are not logged in.

#1 2010-08-22 18:40:19

amunkres
Member
Registered: 2009-08-09
Posts: 10

Running KDE with ConsoleKit disables HAL polling the optical drive

Recently, to get KDE's "Suspend to disk" action to work, I changed my .xinitrc so that it launches KDE with ConsoleKit:

exec ck-launch-session startkde

This has the side-effect of causing HAL's polling of the DVD/CD drive to become disabled whenever KDE is started and whenever the system resumes from suspend-to-disk:

$ ls -alt /etc/hal/fdi/information/
total 12
drwxr-xr-x 2 root root 4096 Aug 22 11:13 .
-rw-r--r-- 1 root root  287 Aug 22 11:13 media-check-disable-storage_model_DVD_RW__DVR_111D.fdi
drwxr-xr-x 5 root root 4096 Jun 10 14:47 ..

Of course this prevents KDE from displaying a notification when a disc is inserted, which wouldn't bother me much, except for one problem: if KDE isn't aware that a disc is in the drive, pressing the "play" button in KsCD will just cause it to say "No disc" instead of actually playing the audio CD. (Strangely enough, in this situation KsCD can still correctly display the track listing of the audio CD, even though it claims that there is "No disc" when you try to actually play it.)

Does anyone know how to make ConsoleKit not disable the polling?

Last edited by amunkres (2010-08-22 18:40:47)

Offline

#2 2010-08-27 10:55:54

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: Running KDE with ConsoleKit disables HAL polling the optical drive

I'm not sure about this consolekit stuff...I just start KDE normally through kdm, but I seem to be having similar problems. KDE doesn't recognise when I insert an audio CD and searching around for an answer hasn't given me much. I have a similar file in my "/etc/hal/fdi/information/" folder.

Anybody have any ideas?


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#3 2010-08-27 11:08:45

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: Running KDE with ConsoleKit disables HAL polling the optical drive


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

Board footer

Powered by FluxBB