udisks polling makes LTN403L CD-ROM drive click

Michael Biebl 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 [1] which pokes the device and fakes
uevents if it detects media changes.

You might be interested in porting that patch to UDisks.


[1] http://patch-tracker.debian.org/patch/series/view/devicekit-disks/009-2/10-ide-cd-support.patch
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 mailing list