Hi, Let's CC opensuse-arm for such ARM questions... Am 30.09.2014 um 09:29 schrieb Dr. Werner Fink:
Hi,
just to be noted that the patch
rules-add-lid-switch-of-ARM-based-Chromebook-as-a-power-sw.patch
which includes the line
SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="gpio-keys.8", TAG+="power-switch"
in the 70-power-switch.rules can not be fully corect. This because the
"gpio-keys.8"
is much to general and may cause trouble with other keyboard layouts.
Therefore I'd like to see the output of such a Chromebook of the command:
udevadm info -a /dev/input/by-path/*kbd
which may give the more specific name of the power button.
Werner
Alex? Guillaume? Can any of you provide the requested information for the Samsung Chromebook? Independent of the exact GPIO key, the term "ARM based Chromebook" in the subject and patch name seems to be rather broad given that there's the original Samsung Chromebook, plus the HP Chromebook 11, plus an Acer Chromebook based on Tegra, plus some based on Rockchip, etc. which likely all use different GPIO configurations. Cheers, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg