The Fujitsu FSC S7110 laptop has four hotkeys labeled 1, 2, E, R right above the keyboard which were supported through the fujitsu-laptop mdoule and were recognized and mapped by X11 as XF86Launch1 to XF86Launch4. Since Linux 3.16 they are not working anymore.
After a bisect,
|Author: Zhang Rui <email@example.com>
|Date: Fri May 30 04:23:01 2014 +0200
| ACPI / PNP: use device ID list for PNPACPI device enumeratio
was choosen to be the commit which disabled this functionality.
please attach the output of "grep . /sys/bus/pnp/devices/*/id" both in your good and broken kernel.
Created attachment 147221 [details]
good grep . /sys/bus/pnp/devices/*/id
Created attachment 147231 [details]
bad grep . /sys/bus/pnp/devices/*/id
I have attached good (v3.15.10) and bad (v3.16.1) output. I didn't notice before, but since v3.16 dmesg reports probe errors which were absent before.
$ dmesg | grep -i error
[ 0.803547] hpet: probe of PNP0103:00 failed with error -22
[ 34.186169] Fujitsu laptop FUJ02B1 ACPI brightness driver: probe of FUJ02B1:00 failed with error -22
[ 34.186399] Fujitsu laptop FUJ02E3 ACPI hotkeys driver: probe of FUJ02E3:00 failed with error -22
Created attachment 147421 [details]
ACPI / PNP: Add HPET ID to PNP device list
Does this patch make any difference?
Created attachment 147431 [details]
ACPI / PNP: Add missing device IDs to the list
Actually, please try this one instead.
Created attachment 147491 [details]
ACPI / scan: Bind ACPI drivers to device object on PNP bus type
Please try this patch instead of the previous two.
(In reply to Rafael J. Wysocki from comment #7)
> Please try this patch instead of the previous two.
It worked (applied the patch on 3.16.1 as vanilla 3.17-rc1 is giving me a stack trace right away). Probe errors in dmesg are gone and the keys are working again.
*** This bug has been marked as a duplicate of bug 81511 ***
Created attachment 147701 [details]
Patch: remove fujitsu backlight and hotkey device ids from ACPI PNP id list
please apply this patch on top of clean 3.17-rc1 and check if it fixes the fujitsu laptop issue for you or not.
(In reply to Zhang Rui from comment #10)
> please apply this patch on top of clean 3.17-rc1 and check if it fixes the
> fujitsu laptop issue for you or not.
I took the liberty to go with vanilla 3.16.1 as 3.17-rc1 doesn't like my machine. Apart from not auto-loading anymore, the keys are working again.
[ 276.638128] input: Fujitsu FUJ02B1 as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:05/FUJ02B1:00/input/input24
[ 276.640420] fujitsu_laptop: ACPI: Fujitsu FUJ02B1 [FJEX] (on)
[ 276.641345] input: Fujitsu FUJ02E3 as /devices/LNXSYSTM:00/LNXSYBUS:00/FUJ02E3:00/input/input25
[ 276.641506] fujitsu_laptop: ACPI: Fujitsu FUJ02E3 [FEXT] (on)
[ 276.642173] fujitsu_laptop: BTNI: [0xff0101]
[ 276.642406] fujitsu_laptop: driver 0.6.0 successfully loaded
Created attachment 147721 [details]
Patch:V2: remove fujitsu backlight and hotkey device ids from ACPI PNP id list
My bad. please try this updated patch instead.
Autoload and keys are working.
(In reply to Zhang Rui from comment #12)
> Created attachment 147721 [details]
> Patch:V2: remove fujitsu backlight and hotkey device ids from ACPI PNP id
Is this patch scheduled to be included in 3.16.x eventually? I couldn't find it in the stable-queue yet.
no, this won't be in 3.16.x because there is another patch, aka, commit fc2e0a8326d1b21d11ef8213298e5302867fed2c, which can fix the problem as well, but this patch will be target for 3.18 IMO.