linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Inactive keyboard on Acer Aspire Switch 11
@ 2015-02-26 23:18 Florian Echtler
  2015-02-27  0:46 ` Benjamin Tissoires
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Echtler @ 2015-02-26 23:18 UTC (permalink / raw)
  To: linux-input


[-- Attachment #1.1: Type: text/plain, Size: 2009 bytes --]

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
-- 
SENT FROM MY DEC VT50 TERMINAL

[-- Attachment #1.2: lsusb.txt --]
[-- Type: text/plain, Size: 3507 bytes --]

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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Inactive keyboard on Acer Aspire Switch 11
  2015-02-26 23:18 Inactive keyboard on Acer Aspire Switch 11 Florian Echtler
@ 2015-02-27  0:46 ` Benjamin Tissoires
  2015-02-27 11:25   ` Florian Echtler
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Tissoires @ 2015-02-27  0:46 UTC (permalink / raw)
  To: Florian Echtler; +Cc: linux-input

On Thu, Feb 26, 2015 at 6:18 PM, Florian Echtler <floe@butterbrot.org> wrote:
> 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?

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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Inactive keyboard on Acer Aspire Switch 11
  2015-02-27  0:46 ` Benjamin Tissoires
@ 2015-02-27 11:25   ` Florian Echtler
  2015-02-27 13:58     ` Benjamin Tissoires
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Echtler @ 2015-02-27 11:25 UTC (permalink / raw)
  To: Benjamin Tissoires; +Cc: linux-input

[-- Attachment #1: Type: text/plain, Size: 2337 bytes --]

Hello Benjamin,

On 27.02.2015 01:46, Benjamin Tissoires wrote:
> On Thu, Feb 26, 2015 at 6:18 PM, Florian Echtler <floe@butterbrot.org> wrote:
>> 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?
> 
> 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
-- 
SENT FROM MY DEC VT50 TERMINAL


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Inactive keyboard on Acer Aspire Switch 11
  2015-02-27 11:25   ` Florian Echtler
@ 2015-02-27 13:58     ` Benjamin Tissoires
  0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Tissoires @ 2015-02-27 13:58 UTC (permalink / raw)
  To: Florian Echtler; +Cc: linux-input

On Fri, Feb 27, 2015 at 6:25 AM, Florian Echtler <floe@butterbrot.org> wrote:
> Hello Benjamin,
>
> On 27.02.2015 01:46, Benjamin Tissoires wrote:
>> On Thu, Feb 26, 2015 at 6:18 PM, Florian Echtler <floe@butterbrot.org> wrote:
>>> 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?
>>
>> 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

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

>
> 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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-27 13:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-26 23:18 Inactive keyboard on Acer Aspire Switch 11 Florian Echtler
2015-02-27  0:46 ` Benjamin Tissoires
2015-02-27 11:25   ` Florian Echtler
2015-02-27 13:58     ` Benjamin Tissoires

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).