Skip to contentSkip to conversation

Inactive keyboard on Acer Aspire Switch 11

DISCUSSION Florian Echtler 2 participants 4 messages Feb 26, 2015 – Feb 27, 2015 HID

lore
Share & tools
lore
#0 lore raw

Hello everyone,

I've recently bought an Acer Aspire Switch 11 convertible tablet/notebook hybrid device. Ubuntu 14.04.2 with kernel 3.16 runs almost perfectly, with one notable exception: on the keyboard dock, only the touchpad works, not the keyboard itself. I've done a bit of digging in the logs, and found the following error messages relating to HID:

[    8.790574] hidraw: raw HID events driver (C) Jiri Kosina
[    8.796341] hid (null): usage index exceeded
[    8.845668] usbcore: registered new interface driver usbhid
[    8.845671] usbhid: USB HID core driver
[   19.593717] hid-multitouch 0003:06CB:2991.0002:
input,hiddev0,hidraw0: USB HID v1.10 Mouse [ITE Tech. Inc. ITE
Device(8595)] on usb-0000:00:14.0-4.3/input1
[   19.594268] hid-rmi 0003:06CB:2991.0001: usage index exceeded
[   19.594274] hid-rmi 0003:06CB:2991.0001: item 0 2 2 2 parsing failed
[   19.594288] hid-rmi 0003:06CB:2991.0001: parse failed
[   19.594301] hid-rmi: probe of 0003:06CB:2991.0001 failed with error -22
[   19.609228] hid-multitouch 0018:06CB:77B2.0004: input,hidraw1:
<UNKNOWN> HID v1.00 Mouse [SYNA7508:00 06CB:77B2] on
[   19.924619] i2c_hid i2c-ITE8380:00: error in i2c_hid_init_report

size:19 / ret_size:18

The device in question has two endpoints:

T:  Bus=02 Lev=02 Prnt=04 Port=02 Cnt=01 Dev#=  7 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=06cb ProdID=2991 Rev=00.06
S:  Manufacturer=ITE Tech. Inc.
S:  Product=ITE Device(8595)
C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
I:  If#= 1 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid

According to lsusb, the second one is a mouse (= touchpad), while the first one is a keyboard (see attached lsusb.txt). Judging from the dmesg, this is also the one which fails to initialize. Can anyone suggest any quirks/fixes to try here?

Thanks & best regards, Florian

Signature · 1 line
SENT FROM MY DEC VT50 TERMINAL

Bus 002 Device 007: ID 06cb:2991 Synaptics, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00

  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x06cb Synaptics, Inc.
  idProduct          0x2991 
  bcdDevice            0.06
  iManufacturer           1 ITE Tech. Inc.
  iProduct                2 ITE Device(8595)
  iSerial                 0 
  bNumConfigurations      1

Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 66
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 188
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 1 ITE Tech. Inc.
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 379
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Device Status: 0x0001
Self Powered

#1 lore raw
Quoted 35 lines · Florian Echtler

Hello everyone,

I've recently bought an Acer Aspire Switch 11 convertible tablet/notebook hybrid device. Ubuntu 14.04.2 with kernel 3.16 runs almost perfectly, with one notable exception: on the keyboard dock, only the touchpad works, not the keyboard itself. I've done a bit of digging in the logs, and found the following error messages relating to HID:

[    8.790574] hidraw: raw HID events driver (C) Jiri Kosina
[    8.796341] hid (null): usage index exceeded
[    8.845668] usbcore: registered new interface driver usbhid
[    8.845671] usbhid: USB HID core driver
[   19.593717] hid-multitouch 0003:06CB:2991.0002:
input,hiddev0,hidraw0: USB HID v1.10 Mouse [ITE Tech. Inc. ITE
Device(8595)] on usb-0000:00:14.0-4.3/input1
[   19.594268] hid-rmi 0003:06CB:2991.0001: usage index exceeded
[   19.594274] hid-rmi 0003:06CB:2991.0001: item 0 2 2 2 parsing failed
[   19.594288] hid-rmi 0003:06CB:2991.0001: parse failed
[   19.594301] hid-rmi: probe of 0003:06CB:2991.0001 failed with error -22
[   19.609228] hid-multitouch 0018:06CB:77B2.0004: input,hidraw1:
<UNKNOWN> HID v1.00 Mouse [SYNA7508:00 06CB:77B2] on
[   19.924619] i2c_hid i2c-ITE8380:00: error in i2c_hid_init_report

size:19 / ret_size:18

The device in question has two endpoints:

T:  Bus=02 Lev=02 Prnt=04 Port=02 Cnt=01 Dev#=  7 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=06cb ProdID=2991 Rev=00.06
S:  Manufacturer=ITE Tech. Inc.
S:  Product=ITE Device(8595)
C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
I:  If#= 1 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
Quoted 4 lines

According to lsusb, the second one is a mouse (= touchpad), while the first one is a keyboard (see attached lsusb.txt). Judging from the dmesg, this is also the one which fails to initialize. Can anyone suggest any quirks/fixes to try here?

Hi Florian,

This was a known bug which has been fixed in a more recent kernel than 3.16. I think a 3.17 might work, but I think a 3.18 would be a better choice.
cf: e19ff99f256aeeff6c07b373e01883b72e049552 in Linus' tree

Cheers,
Benjamin

Quoted 4 lines

Thanks & best regards, Florian
--
SENT FROM MY DEC VT50 TERMINAL

#2 lore raw

Hello Benjamin,

Quoted 17 lines · Benjamin Tissoires
Quoted 11 lines · Florian Echtler

The device in question has two endpoints:

T:  Bus=02 Lev=02 Prnt=04 Port=02 Cnt=01 Dev#=  7 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=06cb ProdID=2991 Rev=00.06
S:  Manufacturer=ITE Tech. Inc.
S:  Product=ITE Device(8595)
C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
I:  If#= 1 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
Quoted 4 lines

According to lsusb, the second one is a mouse (= touchpad), while the first one is a keyboard (see attached lsusb.txt). Judging from the dmesg, this is also the one which fails to initialize. Can anyone suggest any quirks/fixes to try here?

Quoted 6 lines

Hi Florian,

This was a known bug which has been fixed in a more recent kernel than 3.16. I think a 3.17 might work, but I think a 3.18 would be a better choice.
cf: e19ff99f256aeeff6c07b373e01883b72e049552 in Linus' tree

thanks for the quick reply. I've tried both 3.18.7 and 3.19.0 kernels, but still get (slightly different) error messages:

[    2.550306] hidraw: raw HID events driver (C) Jiri Kosina
[    2.877672] hid (null): usage index exceeded
[    2.927474] usbcore: registered new interface driver usbhid
[    2.927476] usbhid: USB HID core driver
[    3.135496] i2c_hid i2c-ITE8380:00: error in i2c_hid_init_report
size:19 / ret_size:18
[    3.150002] hid-multitouch 0018:06CB:77B2.0002: input,hidraw0:
<UNKNOWN> HID v1.00 Mouse [SYNA7508:00 06CB:77B2] on
[    3.150784] hid-multitouch 0003:06CB:2991.0004:
input,hiddev0,hidraw1: USB HID v1.10 Mouse [ITE Tech. Inc. ITE
Device(8595)] on usb-0000:00:14.0-4.3/input1
[    3.153892] hid-generic 0003:06CB:2991.0003: usage index exceeded
[    3.153896] hid-generic 0003:06CB:2991.0003: item 0 2 2 2 parsing failed
[    3.153921] hid-generic: probe of 0003:06CB:2991.0003 failed with

error -22

After a bit of digging through the kernel code, could it be that the 06CB:2991 device needs to be added to the hid_have_special_driver list (which AFAICT will only appear in 4.0)?

Best regards, Florian

Signature · 1 line
SENT FROM MY DEC VT50 TERMINAL
#3 lore raw
Quoted 44 lines · Florian Echtler

Hello Benjamin,

Quoted 17 lines · Benjamin Tissoires
Quoted 11 lines · Florian Echtler

The device in question has two endpoints:

T:  Bus=02 Lev=02 Prnt=04 Port=02 Cnt=01 Dev#=  7 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=06cb ProdID=2991 Rev=00.06
S:  Manufacturer=ITE Tech. Inc.
S:  Product=ITE Device(8595)
C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
I:  If#= 1 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
Quoted 4 lines

According to lsusb, the second one is a mouse (= touchpad), while the first one is a keyboard (see attached lsusb.txt). Judging from the dmesg, this is also the one which fails to initialize. Can anyone suggest any quirks/fixes to try here?

Quoted 6 lines

Hi Florian,

This was a known bug which has been fixed in a more recent kernel than 3.16. I think a 3.17 might work, but I think a 3.18 would be a better choice.
cf: e19ff99f256aeeff6c07b373e01883b72e049552 in Linus' tree

thanks for the quick reply. I've tried both 3.18.7 and 3.19.0 kernels, but still get (slightly different) error messages:

[    2.550306] hidraw: raw HID events driver (C) Jiri Kosina
[    2.877672] hid (null): usage index exceeded
[    2.927474] usbcore: registered new interface driver usbhid
[    2.927476] usbhid: USB HID core driver
[    3.135496] i2c_hid i2c-ITE8380:00: error in i2c_hid_init_report
size:19 / ret_size:18
[    3.150002] hid-multitouch 0018:06CB:77B2.0002: input,hidraw0:
<UNKNOWN> HID v1.00 Mouse [SYNA7508:00 06CB:77B2] on
[    3.150784] hid-multitouch 0003:06CB:2991.0004:
input,hiddev0,hidraw1: USB HID v1.10 Mouse [ITE Tech. Inc. ITE
Device(8595)] on usb-0000:00:14.0-4.3/input1
[    3.153892] hid-generic 0003:06CB:2991.0003: usage index exceeded
[    3.153896] hid-generic 0003:06CB:2991.0003: item 0 2 2 2 parsing failed
[    3.153921] hid-generic: probe of 0003:06CB:2991.0003 failed with
Quoted 1 line

error -22

Ouch. Now that I can see that, I remember that there was a half-backed solution here:
https://patchwork.kernel.org/patch/5737231/

Quoted 5 lines

After a bit of digging through the kernel code, could it be that the 06CB:2991 device needs to be added to the hid_have_special_driver list (which AFAICT will only appear in 4.0)?

If you just add the VID/PID to hid_have_special_driver, and nowhere else, your device will not work at all, nor the touchpad which shares the same VID/PID (see Andrew's answer).
So this won't do :(

Cheers,
Benjamin

Quoted 4 lines

Best regards, Florian
--
SENT FROM MY DEC VT50 TERMINAL