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

David Herrmann dh.herrmann at gmail.com
Mon Apr 20 11:11:37 PDT 2015


Hi

On Sun, Apr 19, 2015 at 11:46 PM, Matthew Garrett <mjg59 at srcf.ucam.org> wrote:
> On Sun, Apr 19, 2015 at 11:37:31PM +0200, Kay Sievers 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'd much prefer if this was hwdb based. This way, we have a sane
database that just sets something like POWER_CONTROL=foobar, which we
can then apply via udev. Given that the power-control issues seem to
be totally random, hwdb really sounds like the nicer solution.

Any reason why hwdb would not work?

Thanks
David


More information about the systemd-devel mailing list