udisks polling makes LTN403L CD-ROM drive click
mbiebl at gmail.com
Wed Jan 20 03:11:18 PST 2010
2010/1/20 Marti Raudsepp <marti at juffo.org>:
> Hi list,
> I'm using the latest git version of udisks (rev c8076f0) on a
> temporary machine, which has a LTN403L IDE CD-ROM drive. Due to udisks
> polling the drive, the drive flashes its activity light and physically
> clicks every 5 seconds which gets annoying fast. :)
> This happens regardless of whether there is a disc in the drive.
> Also when I eject the tray, it pullsback in straight away.
> While running "udisks --inhibit-polling /dev/hdd", this behavior stops.
> HAL polling does not cause this behavior; I can see
> "hald-addon-storage: polling /dev/hdd (every 2 sec)" in process list
UDisks/DeviceKit-disks does not support the old ide(-cd) subsystem.
One reason is, that ide-cd does not provide any uevents on media changes.
I wrote a patch for Debian  which pokes the device and fakes
uevents if it detects media changes.
You might be interested in porting that patch to UDisks.
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
More information about the devkit-devel