[ltp] keyboard not working on Helix 2nd generation tablet with ThinkPad Helix Ultrabook Pro Keyboard

John Reid linux-thinkpad@linux-thinkpad.org
Thu, 14 May 2015 11:10:32 +1000


Thanks Gulfstream. Debian 8.0 won't help :(  It looks like the problem
is a broken HID descriptor returned by the keyboard.  Now fixed upstream
thanks to the kind folk from linux-input. Patches should be merged for
the 4.2 kernel release.

Cheers,
John

On 29/04/15 02:09, gulfstream wrote:
> Hello, the debian 8.0 have released, and you can try it. You can download
> the live CD of debian 8.0 from
> http://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/.
> 
> Good luck! If you have any progress for installing linux on Helix 2nd
> generation, please let me known. :)
> 
> Best regards,
> Gulfstream
> 
> 
> 在 2015年04月28日 19:11, John Reid 写道:
> 
> Hi all,
> 
> I've started a page
> athttp://www.thinkwiki.org/wiki/Installing_Kubuntu_15.04_on_a_Thinkpad_Helix_2nd_generation
> that includes error messages and what I've been able to determine of the
> bus layout.
> 
> At the moment I suspect the HID rdesc for the keyboard might be broken.
> Still investigating, but I'm no kernel guru and last time I looked at
> any C code was 20+ years ago, so it's a slow process.
> 
> So far I haven't had any feedback from Lenovo technical support. What is
> the best way to contact them?
> 
> Cheers,
> 
> John
> 
> On 18/04/15 02:26, John Reid wrote:
> 
> No, I have not. I tried to find a live cd but could only find one for
> Debian stable (7.8). However I don't think it would matter as I'm fairly
> sure it is a problem with the kernel input drivers.
> 
> It looks like an event handler is created for the keyboard by
> libevdev(?), but the hardware device driver (hid?) is not working.
> 
> I've created some (currently *very* rough) notes
> athttp://www.thinkwiki.org/wiki/Installing_Kubuntu_15.04_on_a_Thinkpad_Helix_2nd_generation
> 
> Cheers,
> John
> 
> On 08/04/15 23:49, gulfstream wrote:
> 
> Hi, do you try to install new Debian 8 on the Helix 2nd generation?
> 
> 
> Best regards,
> Gulfstream
> 
> 
> 在 2015年03月30日 21:40, John Reid 写道:
> 
> Hi all,
> 
> I have a problem with the Helix 2nd generation tablet and ThinkPad Helix
> Ultrabook Pro Keyboard (Part number: 4X30G93893) where the keyboard is not
> working under linux.  The keyboard works in the grub bootloader (and also
> in Windows 8.1), but not in Xorg or on a console (i.e. /dev/tty[1-6]).
> 
> I have been testing with kubuntu 15.04 (vivid) beta.  Problem confirmed
> with ubuntu 14.10 and OpenSUSE Tumbleweed live USB drive. It appears that
> at least one other user has exactly the same problem. The Trackpoint and
> Trackpad modules, USB port, battery and AC adapter on the keyboard unit (I
> would call it a dock but there is also a dock accessory) all work fine in
> initial testing. External USB keyboard also works fine when plugged into
> either tablet or keyboard unit.
> 
> The interesting thing is that an input device for the keyboard is created
> on /dev/input/event3, however neither evemu-record, evtest nor xev report
> any keypress events.  There are errors logged in syslog by the
> thinkpad_acpi, usb, hid and hid-generic modules.
> 
> As the Helix Ultrabook Pro Keyboard is relatively new hardware (only
> released in March 2015) I'm hoping it's just a hardware id missing
> somewhere
> 
> I'm not a kernel or udev guru, so any help much appreciated!
> 
> Cheers,
> John
> 
> $ uname -a
> Linux espace 4.0.0-040000rc5-generic #201503230035 SMP Mon Mar 23 04:36:26
> UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> (from http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-rc5-vivid/)
> 
> $ sudo udevadm info
> --name=/dev/input/by-path/platform-i8042-serio-0-event-kbd
> P: /devices/platform/i8042/serio0/input/input3/event3
> N: input/event3
> S: input/by-path/platform-i8042-serio-0-event-kbd
> E: BACKSPACE=guess
> E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-0-event-kbd
> E: DEVNAME=/dev/input/event3
> E: DEVPATH=/devices/platform/i8042/serio0/input/input3/event3
> E: ID_INPUT=1
> E: ID_INPUT_KEY=1
> E: ID_INPUT_KEYBOARD=1
> E: ID_PATH=platform-i8042-serio-0
> E: ID_PATH_TAG=platform-i8042-serio-0
> E: ID_SERIAL=noserial
> E: MAJOR=13
> E: MINOR=67
> E: SUBSYSTEM=input
> E: USEC_INITIALIZED=20580
> E: XKBLAYOUT=us
> E: XKBMODEL=pc105
> 
> 
> $ sudo evemu-describe /dev/input/event3
> # EVEMU 1.2
> # Input device name: "AT Translated Set 2 keyboard"
> # Input device ID: bus 0x11 vendor 0x01 product 0x01 version 0xab54
> # Supported events:
> #   Event type 0 (EV_SYN)
> #     Event code 0 (SYN_REPORT)
> #     Event code 1 (SYN_CONFIG)
> #     Event code 4 (FF_STATUS_STOPPED)
> #     Event code 17 ((null))
> #     Event code 20 ((null))
> #   Event type 1 (EV_KEY)
> #     Event code 1 (KEY_ESC)
> #     Event code 2 (KEY_1)
> #     Event code 3 (KEY_2)
>  ...
> 
> 
> syslog entries for keyboard unit undock:
> 
> Mar 26 19:56:55 espace kernel: [75911.894316] usb 1-3: USB disconnect,
> device number 27
> Mar 26 19:56:55 espace kernel: [75911.894323] usb 1-3.3: USB disconnect,
> device number 28
> Mar 26 19:56:55 espace kernel: [75911.896064] usb 1-3.4: USB disconnect,
> device number 29
> Mar 26 19:56:55 espace kernel: [75912.063871] usb 2-3: USB disconnect,
> device number 8
> Mar 26 19:56:55 espace kernel: [75912.512511] thinkpad_acpi: EC reports
> that Thermal Table has changed
> Mar 26 19:56:55 espace kernel: [75912.615988] thinkpad_acpi: unhandled HKEY
> event 0x4013
> Mar 26 19:56:55 espace kernel: [75912.615994] thinkpad_acpi: please report
> the conditions when this event happened toibm-acpi-devel@lists.sourceforge.net
> Mar 26 19:56:56 espace kernel: [75912.719940] int3403 thermal INT3403:01:
> Unsupported event [0x91]
> Mar 26 19:56:56 espace kernel: [75912.719948] int3403 thermal INT3403:02:
> Unsupported event [0x91]
> Mar 26 19:56:56 espace kernel: [75912.719952] int3403 thermal INT3403:03:
> Unsupported event [0x91]
> Mar 26 19:56:56 espace kernel: [75912.719956] int3403 thermal INT3403:00:
> Unsupported event [0x91]
> Mar 26 19:56:56 espace kernel: [75912.735867] ACPI:
> \_SB_.PCI0.LPC_.EC__.BAT1: undocking
> 
> 
> 
> syslog entries for keyboard unit dock :
> 
> Mar 26 19:57:19 espace kernel: [75935.784346] usb 2-3: new SuperSpeed USB
> device number 9 using xhci_hcd
> Mar 26 19:57:19 espace kernel: [75935.952151] usb 1-3: new high-speed USB
> device number 30 using xhci_hcd
> Mar 26 19:57:19 espace kernel: [75936.040433] usb 2-3: New USB device
> found, idVendor=2109, idProduct=8110
> Mar 26 19:57:19 espace kernel: [75936.040443] usb 2-3: New USB device
> strings: Mfr=1, Product=2, SerialNumber=0
> Mar 26 19:57:19 espace kernel: [75936.040448] usb 2-3: Product: USB3.0 Hub
> Mar 26 19:57:19 espace kernel: [75936.040452] usb 2-3: Manufacturer: VIA
> Labs, Inc.
> Mar 26 19:57:19 espace kernel: [75936.041502] hub 2-3:1.0: USB hub found
> Mar 26 19:57:19 espace kernel: [75936.041717] hub 2-3:1.0: 4 ports detected
> Mar 26 19:57:19 espace kernel: [75936.083143] usb 1-3: New USB device
> found, idVendor=2109, idProduct=2811
> Mar 26 19:57:19 espace kernel: [75936.083149] usb 1-3: New USB device
> strings: Mfr=1, Product=2, SerialNumber=0
> Mar 26 19:57:19 espace kernel: [75936.083152] usb 1-3: Product: USB2.0 Hub
> Mar 26 19:57:19 espace kernel: [75936.083154] usb 1-3: Manufacturer: VIA
> Labs, Inc.
> Mar 26 19:57:19 espace kernel: [75936.083926] hub 1-3:1.0: USB hub found
> Mar 26 19:57:19 espace kernel: [75936.084259] hub 1-3:1.0: 4 ports detected
> Mar 26 19:57:19 espace kernel: [75936.084925] usb: failed to peer 1-3-port3
> and 2-3-port2 by location (1-3-port3:none) (2-3-port2:1-3-port2)
> Mar 26 19:57:19 espace kernel: [75936.084929] usb 1-3-port3: failed to peer
> to 2-3-port2 (-16)
> Mar 26 19:57:19 espace kernel: [75936.085029] usb: failed to peer 1-3-port4
> and 2-3-port2 by location (1-3-port4:none) (2-3-port2:1-3-port2)
> Mar 26 19:57:19 espace kernel: [75936.085031] usb 1-3-port4: failed to peer
> to 2-3-port2 (-16)
> Mar 26 19:57:19 espace kernel: [75936.290824] psmouse serio1: synaptics:
> queried max coordinates: x [..5712], y [..4780]
> Mar 26 19:57:19 espace kernel: [75936.323612] psmouse serio1: synaptics:
> queried min coordinates: x [1232..], y [1074..]
> Mar 26 19:57:19 espace kernel: [75936.376204] usb 1-3.3: new high-speed USB
> device number 31 using xhci_hcd
> Mar 26 19:57:19 espace kernel: [75936.396628] thinkpad_acpi: EC reports
> that Thermal Table has changed
> Mar 26 19:57:19 espace kernel: [75936.483995] usb 1-3.3: New USB device
> found, idVendor=0bda, idProduct=4000
> Mar 26 19:57:19 espace kernel: [75936.484001] usb 1-3.3: New USB device
> strings: Mfr=3, Product=1, SerialNumber=2
> Mar 26 19:57:19 espace kernel: [75936.484003] usb 1-3.3: Product: USB Audio
> Mar 26 19:57:19 espace kernel: [75936.484006] usb 1-3.3: Manufacturer:
> Generic
> Mar 26 19:57:19 espace kernel: [75936.484008] usb 1-3.3: SerialNumber:
> 200901010001
> Mar 26 19:57:19 espace kernel: [75936.500207] thinkpad_acpi: unhandled HKEY
> event 0x4012
> Mar 26 19:57:19 espace kernel: [75936.500212] thinkpad_acpi: please report
> the conditions when this event happened toibm-acpi-devel@lists.sourceforge.net
> Mar 26 19:57:19 espace kernel: [75936.604114] int3403 thermal INT3403:01:
> Unsupported event [0x91]
> Mar 26 19:57:19 espace kernel: [75936.604120] int3403 thermal INT3403:02:
> Unsupported event [0x91]
> Mar 26 19:57:19 espace kernel: [75936.604123] int3403 thermal INT3403:03:
> Unsupported event [0x91]
> Mar 26 19:57:19 espace kernel: [75936.604126] int3403 thermal INT3403:00:
> Unsupported event [0x91]
> Mar 26 19:57:20 espace kernel: [75937.500150] usb 1-3.4: new full-speed USB
> device number 32 using xhci_hcd
> Mar 26 19:57:20 espace kernel: [75937.609977] usb 1-3.4: New USB device
> found, idVendor=17ef, idProduct=6067
> Mar 26 19:57:20 espace kernel: [75937.609982] usb 1-3.4: New USB device
> strings: Mfr=1, Product=2, SerialNumber=0
> Mar 26 19:57:20 espace kernel: [75937.609985] usb 1-3.4: Product: ITE
> Device(8595)
> Mar 26 19:57:20 espace kernel: [75937.609988] usb 1-3.4: Manufacturer: ITE
> Tech. Inc.
> Mar 26 19:57:20 espace kernel: [75937.614332] hid (null): usage index
> exceeded
> Mar 26 19:57:20 espace kernel: [75937.614705] hid-generic
> 0003:17EF:6067.001C: usage index exceeded
> Mar 26 19:57:20 espace kernel: [75937.614709] hid-generic
> 0003:17EF:6067.001C: item 0 2 2 2 parsing failed
> Mar 26 19:57:20 espace kernel: [75937.614730] hid-generic: probe of
> 0003:17EF:6067.001C failed with error -22
> Mar 26 19:57:20 espace kernel: [75937.620583] input: ITE Tech. Inc. ITE
> Device(8595) as
> /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.1/0003:17EF:6067.001D/input/input30
> 
> Mar 26 19:57:21 espace mtp-probe: checking bus 1, device 31:
> "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.3"
> Mar 26 19:57:21 espace mtp-probe: bus: 1, device: 31 was not an MTP device
> Mar 26 19:57:21 espace mtp-probe: checking bus 1, device 32:
> "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4"
> Mar 26 19:57:21 espace mtp-probe: bus: 1, device: 32 was not an MTP device
> Mar 26 19:57:21 espace kernel: [75937.676284] hid-generic
> 0003:17EF:6067.001D: input,hiddev0,hidraw3: USB HID v1.10 Device [ITE Tech.
> Inc. ITE Device(8595)] on usb-0000:00:14.0-3.4/input1
> Mar 26 19:57:21 espace pulseaudio[1538]: [pulseaudio] alsa-util.c: Unable
> to load mixer: Invalid argument
> Mar 26 19:57:21 espace kernel: [75938.344203] ACPI:
> \_SB_.PCI0.LPC_.EC__.BAT1: docking
> Mar 26 19:57:21 espace kernel: [75938.353833] ACPI: Battery Slot [BAT1]
> (battery present)
> Mar 26 19:57:22 espace pulseaudio[1538]: message repeated 2 times: [
> [pulseaudio] alsa-util.c: Unable to load mixer: Invalid argument]
> Mar 26 19:57:22 espace pulseaudio[1538]: [pulseaudio] sink.c: Default and
> alternate sample rates are the same.
> Mar 26 19:57:22 espace rtkit-daemon[1542]: Supervising 4 threads of 1
> processes of 1 users.
> Mar 26 19:57:22 espace rtkit-daemon[1542]: Successfully made thread 3411 of
> process 1538 (n/a) owned by 'xxxx' RT at priority 5.
> Mar 26 19:57:22 espace rtkit-daemon[1542]: Supervising 5 threads of 1
> processes of 1 users.
>