[systemd-devel] PATCH - add ARM based Chromebook lid switch

Kay Sievers kay at vrfy.org
Fri Apr 12 16:51:55 PDT 2013


On Fri, Apr 12, 2013 at 10:58 PM, Cristian Rodríguez <crrodriguez at opensuse.org>

>> +SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="gpio-keys.8",
>> TAG+="power-switch"
>>
>>   LABEL="power_switch_end"
>
> Hrmm.. I think we need a vendor/device check here too.. otherwise it will
> trigger on other unrelated machines..

Yeah, we cannot ship such generic things that way.

Does that box have any vendor/product information, which can be used
to identify the hardware? On x86 we have DMI data, but that is usually
not available on ARM.

Kay


More information about the systemd-devel mailing list