[systemd-devel] [PATCH] Set default polling interval on removable devices as well

Kay Sievers kay at vrfy.org
Sat Apr 26 10:55:23 PDT 2014


On Sat, Apr 26, 2014 at 4:46 PM, Martin Pitt <martin.pitt at ubuntu.com> wrote:
> udev's 60-persistent-storage.rules enables in-kernel polling if
> "block" is built as a module. But that doesn't work if it is built
> into the kernel, as done by Debian and Ubuntu (for efficiency, as
> pretty much everyone will need it). This causes CD drive eject buttons
> to not work (see the linked bugs).

SUBSYSTEM=="module" is not so much about *loadable* modules, but about
module *parameters*, which also apply to built-in modules. "block" is
never a module.

The uevents for all directories in /sys/modules/ are still coldplugged
during bootup, and should apply the settings, it is done by:
  udevadm trigger --type=subsystems

Is the value not applied at all, can you check the file?
Is it only missing for some devices which might be created before the
setting is applied?
Are the module parameter rules included in the initramfs?

Kay


More information about the systemd-devel mailing list