On Monday 22 Mar 2010 13:14:00 Ritesh Raj Sarraf wrote:
> > udisks --inhibit-polling $device
> > should work. Except that it needs to be running until done.
> 
> udisks, on my box, is not yet installed (through any dependency). I'll
> look  into it soon and add a check for udisks.

I did some testing but think that this could be a problem.


11:47:39 r...@champaran:~/devel/Laptop-Mode-Tools/LMT-Main/usr/share/laptop-
mode-tools/modules $ sudo hal-disable-polling --device /dev/scd0
Following symlink from /dev/scd0 to /dev/sr0.
Polling for drive /dev/scd0 have been disabled. The fdi file written was
  /etc/hal/fdi/information/media-check-disable-storage_model_DVDRAM_GU10N.fdi

11:47:48 r...@champaran:~/devel/Laptop-Mode-Tools/LMT-Main/usr/share/laptop-
mode-tools/modules $ sudo hal-disable-polling --enable-polling --device 
/dev/scd0
Following symlink from /dev/scd0 to /dev/sr0.
Polling for drive /dev/scd0 have been enabled. The fdi file deleted was
  /etc/hal/fdi/information/media-check-disable-storage_model_DVDRAM_GU10N.fdi

11:48:04 r...@champaran:~/devel/Laptop-Mode-Tools/LMT-Main/usr/share/laptop-
mode-tools/modules $ sudo udisks --inhibit-polling /dev/scd0
Inhibit polling failed: Media detection cannot be inhibited

Is this a known issue ?

Regards,
Ritesh
-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
"Necessity is the mother of invention."

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to