[systemd-devel] [PATCH 1/3] rules: Enable runtime device power management on Intel HDA controllers

Greg KH gregkh at linuxfoundation.org
Mon Apr 20 01:04:35 PDT 2015


On Sun, Apr 19, 2015 at 10:46:40PM +0100, Matthew Garrett wrote:
> > I'm not convinced that any such broad matches for power management
> > belong into udev at all. Udev can carry specific device matches, or
> > carry data that cannot be determined from the device itself, like the
> > mouse resolution and such, but like in these rules, reading the vendor
> > from the kernel and unconditionally flipping a bit back into the
> > kernel does not look like a task for udev or userspace in general.
> 
> Is there any possibility that you can be convinced?

I think they should go into the kernel as well, given that people update
their kernel, but don't update their userspace components.

Have we tried this in the kernel?  How prelevant are problems really
going to be that we need to determine stuff like "if this PCI device is
present then this mouse way over here can actually be autosuspended?"

thanks,

greg k-h


More information about the systemd-devel mailing list