Comment 48 for bug 379780

Revision history for this message
In , Martin Pitt (pitti) wrote :

Some CD-ROM devices still wreak havoc when being polled for media changes (see http://bugzilla.kernel.org/show_bug.cgi?id=13783).

We do not currently have a way to blacklist particular drives from being polled (the inhibit feature could be abused for this, but isn't particularly well suited for this).

We could introduce a new udev property "UDISKS_DISABLE_POLLING" which gets evaluated in info_media_detection() in src/device.c, then we could add something like

  SUBSYSTEM=="block", ENV{ID_VENDOR}=="Optiarc*", ENV{ID_MODEL}=="*AD-7640S*", ENV{UDISKS_DISABLE_POLLING}="1"

David, do you think it's acceptable to introduce this blacklisting feature, even if we don't ship rules by default (so that people can at least locally install them)? I'm happy to work on that change.