All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Tissoires <benjamin.tissoires@gmail.com>
To: jono <lejono@gmail.com>
Cc: linux-input <linux-input@vger.kernel.org>,
	Jason Gerecke <killertofu@gmail.com>
Subject: Re: keyboard not working with Thinkpad Helix (2nd gen) (also stylus)
Date: Tue, 28 Apr 2015 11:28:32 -0400	[thread overview]
Message-ID: <CAN+gG=GKJr4t_iFkuR68mA4_wz2xRZ=gsmJt=RkT-+9LGD+czw@mail.gmail.com> (raw)
In-Reply-To: <CAJXMp+rzgaYA=nJ_Vrhg8FbUJ2-nEdmyoKg=X6fF+uXYBLCr0g@mail.gmail.com>

HI Jonathan,

On Mon, Apr 27, 2015 at 8:56 PM, jono <lejono@gmail.com> wrote:
> Thanks, and apologies for the multiple reports. I've attached the
> output of dmesg using the latest kernel. Other relevant files can be
> found in the links in my original message, and at
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1448479
> Also this link may be of interest:
> http://www.thinkwiki.org/wiki/Installing_Kubuntu_15.04_on_a_Thinkpad_Helix_2nd_generation

Thanks. Your dmesg and these links are useful information. The last
link says that the keyboard is a USB one, and that the report
descriptor is broken. This should not take too long to fix if that is
the case.

Can you run as root:
#> for i in /sys/kernel/debug/hid/* ; do echo $i ; \
     cat $i/rdesc ; done > /tmp/rdesc.txt

It will log in the file /tmp/rdesc.txt all of the report descriptors
available on your computer, and we should be able to figure out what
is broken here if you send it to us.

For the Wacom part, the links above suggest that there is also a
touchscreen plugged through i2c-hid, but I do not see one in your
logs. This may be the root of the problem if i2c-hid is unable to
handle both the touchscreen and the Wacom digitizer.

Can you also provide the dmesg while appending to the kernel boot line
"i2c-hid.debug=1".

We should see a little bit more what is happening.

Cheers,
Benjamin

> Best,
> Jonathan
>
> On Mon, Apr 27, 2015 at 7:34 PM, Benjamin Tissoires
> <benjamin.tissoires@gmail.com> wrote:
>> Hi Jono,
>>
>> On Sun, Apr 26, 2015 at 2:16 PM, jono <lejono@gmail.com> wrote:
>>> The keyboard that this machine comes works fine under grub and windows
>>> but not linux.  The keyboard is a Lenovo Thinkpad Helix Ultrabook Pro
>>> which also has a touchpad, extra battery, usb port etc. The touchpad,
>>> battery, ports are all detected, but the keyboard doesn't work. A usb
>>> and bluetooth keyboard work fine.
>>>
>>> I currently have kernel 4.0.0- 040000- generic. It has been reported
>>> in a number of other forums, e.g.
>>>
>>> https:/ /bugs.launchpad .net/ubuntu/ +source/ xorg/+bug/ 1437051
>>> https://forums.lenovo.com/t5/Linux-Discussion/ThinkPad-Helix-keyboard-not-detected-in-Linux/td-p/2051477
>>>
>>> which all contain useful information and log files. I'm currently
>>> running on a fresh install of Ubuntu 15.04 with their "upstream
>>> kernel", but the problem exists in previous Ubuntu and kernel
>>> versions.
>>>
>>> "cat /proc/bus/input/devices" lists:
>>>
>>> I: Bus=0011 Vendor=0001 Product=0001 Version=ab54
>>> N: Name="AT Translated Set 2 keyboard"
>>> P: Phys=isa0060/serio0/input0
>>> S: Sysfs=/devices/platform/i8042/serio0/input/input3
>>> U: Uniq=
>>> H: Handlers=sysrq kbd event3
>>> B: PROP=0
>>> B: EV=120013
>>> B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
>>> B: MSC=10
>>> B: LED=7
>>>
>>> which appears to be it, The Xorg log lists
>>>
>>> [     4.815] (II) config/udev: Adding input device AT Translated Set 2
>>> keyboard (/dev/input/event3)
>>> [     4.815] (**) AT Translated Set 2 keyboard: Applying InputClass
>>> "evdev keyboard catchall"
>>> [     4.815] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
>>> [     4.815] (**) AT Translated Set 2 keyboard: always reports core events
>>> [     4.815] (**) evdev: AT Translated Set 2 keyboard: Device:
>>> "/dev/input/event3"
>>> [     4.815] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
>>> [     4.815] (--) evdev: AT Translated Set 2 keyboard: Found keys
>>> [     4.815] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
>>> [     4.815] (**) Option "config_info"
>>> "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
>>> [     4.815] (II) XINPUT: Adding extended input device "AT Translated
>>> Set 2 keyboard" (type: KEYBOARD, id 14)
>>> [     4.815] (**) Option "xkb_rules" "evdev"
>>> [     4.815] (**) Option "xkb_model" "pc105"
>>> [     4.815] (**) Option "xkb_layout" "us"
>>>
>>>
>>>
>>> As an aside, the stylus is properly not recognized in this kernel, but
>>> works fine in previous kernels with "cat /proc/bus/input/devices"
>>> listing
>>>
>>> I: Bus=0018 Vendor=056a Product=0114 Version=0100
>>> N: Name="WCOM0009:00 056A:0114"
>>> P: Phys=
>>> S: Sysfs=/devices/pci0000:00/INT3433:00/i2c-8/i2c-WCOM0009:00/0018:056A:0114.0004/input/input9
>>> U: Uniq=
>>> H: Handlers=mouse2 event8
>>> B: PROP=0
>>> B: EV=1f
>>> B: KEY=c03 30001 0 0 0 0
>>> B: REL=3
>>> B: ABS=1000003
>>> B: MSC=10
>>>
>>> in kernel 3.12 for example, but the device is not listed in 3.16 or
>>> later (although possibly it is detected in earlier kernels).
>>>
>>
>> Hmm, you are here reporting 2 bugs at the same time, which will make
>> things difficult to track.
>>
>> Anyway, for being able to understand both problems, we will need the
>> dmesg output of the closest to upstream kernel you have.
>>
>> For the Wacom ISD bits, I  am adding Jason to the thread. It looks
>> like your device is an I2C over HID one, so I guess it did not worked
>> before v3.11 or v3.12. In v3.16 I changed the way the Wacoms are
>> handled and now they are all handled through HID. But this apparently
>> broke your device, and I'll try to figure out what happened. We
>> normally handle unknown Wacoms properly, but there must be something
>> odd in your case that should hopefully show up in the dmesg output.
>>
>> Cheers,
>> Benjamin

  reply	other threads:[~2015-04-28 15:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-26 18:16 keyboard not working with Thinkpad Helix (2nd gen) (also stylus) jono
2015-04-27 18:34 ` Benjamin Tissoires
2015-04-28  0:56   ` jono
2015-04-28 15:28     ` Benjamin Tissoires [this message]
2015-04-28 17:58       ` keyboard not working with Thinkpad Helix (2nd gen) John Reid
2015-04-28 18:46         ` John Reid
2015-04-28 20:40           ` Benjamin Tissoires
2015-04-30 20:42             ` jono
     [not found]       ` <553FE975.90905@gmail.com>
2015-04-28 21:20         ` Thinkpad Helix (2nd gen) Wacom stylus not working (was Re: keyboard not working with Thinkpad Helix (2nd gen) (also stylus)) Benjamin Tissoires

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN+gG=GKJr4t_iFkuR68mA4_wz2xRZ=gsmJt=RkT-+9LGD+czw@mail.gmail.com' \
    --to=benjamin.tissoires@gmail.com \
    --cc=killertofu@gmail.com \
    --cc=lejono@gmail.com \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.