Bug 101721 - Acer Switch 12: need support for keyboard's Fn+ control keys
Summary: Acer Switch 12: need support for keyboard's Fn+ control keys
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_input-devices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-19 13:53 UTC by Nicholas
Modified: 2015-07-20 21:30 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.0.8, 4.1.2
Tree: Mainline
Regression: No


Attachments
Enable support for Acer Switch 12 keyboard's Fn+ control keys (3.35 KB, patch)
2015-07-19 13:53 UTC, Nicholas
Details | Diff

Description Nicholas 2015-07-19 13:53:22 UTC
Created attachment 183111 [details]
Enable support for Acer Switch 12 keyboard's Fn+ control keys

Keyboard's Fn+ control keys (brightness up/down, volume up/down, mute, sleep) don't work on Acer Aspire Switch 12.

evtest shows nothing.

dmesg shows:
[    4.482596] hidraw: raw HID events driver (C) Jiri Kosina
[    4.482716] usbcore: registered new interface driver usbhid
[    4.482718] usbhid: USB HID core driver
[    4.939074] hid-generic 0003:04F2:1421.0001: input,hidraw0: USB HID v1.11 Keyboard [Chicony USB Wireless HID Receiver] on usb-0000:00:14.0-3/input0
[    4.940129] hid (null): usage index exceeded
[    4.940462] hid-generic 0003:04F2:1421.0002: usage index exceeded
[    4.940524] hid-generic 0003:04F2:1421.0002: item 0 2 2 2 parsing failed
[    4.940603] hid-generic: probe of 0003:04F2:1421.0002 failed with error -22
[    4.941557] hid-generic 0003:04F2:1421.0003: input,hidraw1: USB HID v1.11 Mouse [Chicony USB Wireless HID Receiver] on usb-0000:00:14.0-3/input2
[    4.942446] hid-generic 0003:04F2:1421.0004: hiddev0,hidraw2: USB HID v1.11 Device [Chicony USB Wireless HID Receiver] on usb-0000:00:14.0-3/input3
[    7.794624] i2c_hid i2c-ITE8351:00: error in i2c_hid_init_report size:19 / ret_size:18
[    7.888373] hid-multitouch 0018:06CB:77B4.0006: input,hidraw3: <UNKNOWN> HID v1.00 Device [SYNA7501:00 06CB:77B4] on 
[   45.395311] hid-generic 0005:046D:B008.0007: unknown main item tag 0x0
[   45.395856] hid-generic 0005:046D:B008.0007: input,hidraw4: BLUETOOTH HID v3.18 Mouse [Bluetooth Laser Travel Mouse] on 74:29:af:80:1a:00

I made a patch to add support for Switch 12's keyboard and tested it on Fedora 22's current 4.0.8 kernel. The patch works.


I need directions to enable hardware sleep and volume buttons on Switch 12.
Comment 1 Dmitry Torokhov 2015-07-20 21:30:01 UTC
Nicholas, since you already created a patch please add  you "signed-off-by" to it (see Documentation/SubmittingPatches) and post it to linux-input@vger.kernel.org (CC jkosina@suse.com). That would be the fastest way for the patch to get applied.

Note You need to log in before you can comment on or make changes to this bug.