acer_wmi: Acer TravelMate B116-M not fully supported

From: Christian Steiner
Date: Wed Oct 19 2016 - 15:04:12 EST


Hello,

I have an Acer TravelMate B116-M laptop. Unfortunately the Toogle Wifi
key (Fn+F3) and Switch Video Mode key (Fn+F5) does not work.
I use Kernel 4.8.2. When loading acer_wmi I see the following log messages:

> acer_wmi: Acer Laptop ACPI-WMI Extras
> acer_wmi: Function bitmap for Communication Button: 0x1
> acer_wmi: Enabling Launch Manager failed: 0xe4 - 0x0
> input: Acer WMI hotkeys as /devices/virtual/input/input8

/proc/bus/input/devices reports:

> I: Bus=0019 Vendor=0000 Product=0000 Version=0000
> N: Name="Acer WMI hotkeys"
> P: Phys=wmi/input0
> S: Sysfs=/devices/virtual/input/input8
> U: Uniq=
> H: Handlers=kbd event7 rfkill
> B: PROP=0
> B: EV=13
> B: KEY=1c0000 0 0 0 0 1600800000c00 300000 0 0
> B: MSC=10

And the output of "evtest /dev/input/event7":

> Input driver version is 1.0.1
> Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0
> Input device name: "Acer WMI hotkeys"
> Supported events:
> Event type 0 (EV_SYN)
> Event type 1 (EV_KEY)
> Event code 148 (KEY_PROG1)
> Event code 149 (KEY_PROG2)
> Event code 202 (KEY_PROG3)
> Event code 203 (KEY_PROG4)
> Event code 227 (KEY_SWITCHVIDEOMODE)
> Event code 237 (KEY_BLUETOOTH)
> Event code 238 (KEY_WLAN)
> Event code 240 (KEY_UNKNOWN)
> Event code 530 (KEY_TOUCHPAD_TOGGLE)
> Event code 531 (KEY_TOUCHPAD_ON)
> Event code 532 (KEY_TOUCHPAD_OFF)
> Event type 4 (EV_MSC)
> Event code 4 (MSC_SCAN)
> Properties:
> Testing ... (interrupt to exit)

evtest only recognizes switching the touchpad on and off. When pressing
Fn+F3 or Fn+F5 no event is generated.
Is it possible to add support for the Acer TravelMate B116-M? If you
need more information or if I should test a patch, please let me know.

Thanks,
Christian