Quantcast

New touchscreen Wacom product ID in Thinkpad T550 laptop

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

New touchscreen Wacom product ID in Thinkpad T550 laptop

Tyler Ham
Hello,

The touch screen (Wacom USB device 056a:5010) in my new Thinkpad T550
laptop doesn't work with stock Ubuntu 14.04 (see
https://bugs.launchpad.net/bugs/1433444).

I am able to get some touch functionality by compiling a more recent
Linux kernel, like the latest v4.0-rc4. However, I believe the Wacom
device is just falling into the HID_ANY_ID category, since the 0x5010
product ID is not represented explicitly in wacom_wac.c.

Is this mode sufficient to get all the multitouch bells and whistles
working through various configuration (xorg.conf, xsetwacom, etc.), or
will this hardware need to get its own explicit wacom_features entry
in wacom_wac.c? If so, can you give some advice on how to figure out
what parameters need to be set in the wacom_features entry?

Thanks for any help you can provide.

Sincerely,
Tyler Ham

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New touchscreen Wacom product ID in Thinkpad T550 laptop

Jason Gerecke
On 3/18/2015 2:02 PM, Tyler Ham wrote:

> Hello,
>
> The touch screen (Wacom USB device 056a:5010) in my new Thinkpad T550
> laptop doesn't work with stock Ubuntu 14.04 (see
> https://bugs.launchpad.net/bugs/1433444).
>
> I am able to get some touch functionality by compiling a more recent
> Linux kernel, like the latest v4.0-rc4. However, I believe the Wacom
> device is just falling into the HID_ANY_ID category, since the 0x5010
> product ID is not represented explicitly in wacom_wac.c.
>
> Is this mode sufficient to get all the multitouch bells and whistles
> working through various configuration (xorg.conf, xsetwacom, etc.), or
> will this hardware need to get its own explicit wacom_features entry
> in wacom_wac.c? If so, can you give some advice on how to figure out
> what parameters need to be set in the wacom_features entry?
>
> Thanks for any help you can provide.
>
> Sincerely,
> Tyler Ham
>
Tyler,

In theory, the new HID_ID_ANY case should provide full* support for
integrated touchscreens and tablet PC pens. Unlike peripheral Bamboo or
Intuos tablets, integrated devices provide "proper" HID descriptors that
describe the sensor and its report format in detail. With our recent
move out of the kernel's "input" subsystem and into its "HID" subsystem,
we can now parse those descriptors and shouldn't have to update
wacom_wac.c (and our input-wacom backports driver) every time a new
device appears in the wild.

If you encounter any bugs in operation, please let us know :)


To backport support for this sensor to older kernels, could you provide
me with the output of the following two commands?

$ sudo lsusb -v -d 056a:

$ find /sys/bus/hid/drivers/wacom/*/report_descriptor -print \
   -exec hexdump -Cv {} \;


Thanks!

* Potentially excepting the 2nd pen button. HID did not define a way for
devices to declare such a button until very recently.

--
Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one /
(That is to say, eight) to the two, /
But you can’t take seven from three, /
So you look at the sixty-fours....

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New touchscreen Wacom product ID in Thinkpad T550 laptop

Tyler Ham
Hi Jason,

Thank you! I've been tinkering with the xorg.conf settings and found
that either using the "evdev" input driver or disabling the two-finger
gestures in the "wacom" driver enable the three- and four-finger
touches advertised by Unity (https://wiki.ubuntu.com/Multitouch).
Two-finger gestures (like scrolling and right click) don't work across
the board, but two-finger scrolling works in some applications, like
Google Chrome. Getting two-finger gestures to work across the board
would be great, but I think that might be an issue in Unity.

Here is the output from the commands you requested:

$ sudo lsusb -v -d 056a:

Bus 001 Device 003: ID 056a:5010 Wacom Co., Ltd
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x056a Wacom Co., Ltd
  idProduct          0x5010
  bcdDevice            0.14
  iManufacturer           1 Wacom Co.,Ltd.
  iProduct                2 MultiTouch Sensor
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower               16mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              3 MultiTouch
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     537
         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               2
Device Status:     0x0000
  (Bus Powered)


$ find /sys/bus/hid/drivers/wacom/*/report_descriptor -print \
 -exec hexdump -Cv {} \;
/sys/bus/hid/drivers/wacom/0003:056A:5010.0003/report_descriptor
00000000  05 0d 09 04 a1 01 85 0c  95 01 75 08 15 00 26 ff  |..........u...&.|
00000010  00 81 03 09 54 81 02 09  22 a1 02 05 0d 95 01 75  |....T..."......u|
00000020  01 25 01 09 42 81 02 81  03 09 47 81 02 95 05 81  |.%..B.....G.....|
00000030  03 09 51 26 ff 00 75 10  95 01 81 02 35 00 65 11  |..Q&..u.....5.e.|
00000040  55 0e 05 01 09 30 26 bc  35 46 6f 0d 81 42 09 31  |U....0&.5Fo..B.1|
00000050  26 38 1e 46 8e 07 81 42  45 00 65 00 55 00 c0 05  |&8.F...BE.e.U...|
00000060  0d 09 22 a1 02 05 0d 09  42 95 01 75 01 25 01 81  |..".....B..u.%..|
00000070  02 81 03 09 47 81 02 95  05 81 03 09 51 26 ff 00  |....G.......Q&..|
00000080  75 10 95 01 81 02 35 00  65 11 55 0e 05 01 09 30  |u.....5.e.U....0|
00000090  26 bc 35 46 6f 0d 81 02  09 31 26 38 1e 46 8e 07  |&.5Fo....1&8.F..|
000000a0  81 02 45 00 65 00 55 00  c0 05 0d 09 22 a1 02 05  |..E.e.U....."...|
000000b0  0d 09 42 95 01 75 01 25  01 81 02 81 03 09 47 81  |..B..u.%......G.|
000000c0  02 95 05 81 03 09 51 26  ff 00 75 10 95 01 81 02  |......Q&..u.....|
000000d0  35 00 65 11 55 0e 05 01  09 30 26 bc 35 46 6f 0d  |5.e.U....0&.5Fo.|
000000e0  81 02 09 31 26 38 1e 46  8e 07 81 02 45 00 65 00  |...1&8.F....E.e.|
000000f0  55 00 c0 05 0d 09 22 a1  02 05 0d 09 42 95 01 75  |U.....".....B..u|
00000100  01 25 01 81 02 81 03 09  47 81 02 95 05 81 03 09  |.%......G.......|
00000110  51 26 ff 00 75 10 95 01  81 02 35 00 65 11 55 0e  |Q&..u.....5.e.U.|
00000120  05 01 09 30 26 bc 35 46  6f 0d 81 02 09 31 26 38  |...0&.5Fo....1&8|
00000130  1e 46 8e 07 81 02 45 00  65 00 55 00 c0 05 0d 09  |.F....E.e.U.....|
00000140  22 a1 02 05 0d 09 42 95  01 75 01 25 01 81 02 81  |".....B..u.%....|
00000150  03 09 47 81 02 95 05 81  03 09 51 26 ff 00 75 10  |..G.......Q&..u.|
00000160  95 01 81 02 35 00 65 11  55 0e 05 01 09 30 26 bc  |....5.e.U....0&.|
00000170  35 46 6f 0d 81 02 09 31  26 38 1e 46 8e 07 81 02  |5Fo....1&8.F....|
00000180  45 00 65 00 55 00 c0 05  0d 27 ff ff 00 00 09 56  |E.e.U....'.....V|
00000190  81 02 09 55 26 ff 00 75  08 b1 02 85 0a 06 00 ff  |...U&..u........|
000001a0  09 c5 96 00 01 b1 02 c0  05 0d 09 0e a1 01 85 0e  |................|
000001b0  09 23 a1 02 09 52 09 53  15 00 25 0a 75 08 95 02  |.#...R.S..%.u...|
000001c0  b1 02 c0 c0 06 09 ff 09  11 a1 01 85 03 a1 02 09  |................|
000001d0  00 75 08 15 00 26 ff 00  96 27 00 81 02 c0 85 03  |.u...&...'......|
000001e0  09 00 95 03 b1 02 85 09  09 00 95 3f b1 02 85 02  |...........?....|
000001f0  09 00 95 01 b1 02 85 04  09 00 95 0f b1 02 85 07  |................|
00000200  09 00 96 07 02 b1 02 85  08 09 00 96 87 00 b1 02  |................|
00000210  85 0d 09 00 95 03 b1 02  c0                       |.........|
00000219


Thanks again!
Tyler


On Thu, Mar 19, 2015 at 1:05 PM, Jason Gerecke <[hidden email]> wrote:

> On 3/18/2015 2:02 PM, Tyler Ham wrote:
>>
>> Hello,
>>
>> The touch screen (Wacom USB device 056a:5010) in my new Thinkpad T550
>> laptop doesn't work with stock Ubuntu 14.04 (see
>> https://bugs.launchpad.net/bugs/1433444).
>>
>> I am able to get some touch functionality by compiling a more recent
>> Linux kernel, like the latest v4.0-rc4. However, I believe the Wacom
>> device is just falling into the HID_ANY_ID category, since the 0x5010
>> product ID is not represented explicitly in wacom_wac.c.
>>
>> Is this mode sufficient to get all the multitouch bells and whistles
>> working through various configuration (xorg.conf, xsetwacom, etc.), or
>> will this hardware need to get its own explicit wacom_features entry
>> in wacom_wac.c? If so, can you give some advice on how to figure out
>> what parameters need to be set in the wacom_features entry?
>>
>> Thanks for any help you can provide.
>>
>> Sincerely,
>> Tyler Ham
>>
> Tyler,
>
> In theory, the new HID_ID_ANY case should provide full* support for
> integrated touchscreens and tablet PC pens. Unlike peripheral Bamboo or
> Intuos tablets, integrated devices provide "proper" HID descriptors that
> describe the sensor and its report format in detail. With our recent move
> out of the kernel's "input" subsystem and into its "HID" subsystem, we can
> now parse those descriptors and shouldn't have to update wacom_wac.c (and
> our input-wacom backports driver) every time a new device appears in the
> wild.
>
> If you encounter any bugs in operation, please let us know :)
>
>
> To backport support for this sensor to older kernels, could you provide me
> with the output of the following two commands?
>
> $ sudo lsusb -v -d 056a:
>
> $ find /sys/bus/hid/drivers/wacom/*/report_descriptor -print \
>   -exec hexdump -Cv {} \;
>
>
> Thanks!
>
> * Potentially excepting the 2nd pen button. HID did not define a way for
> devices to declare such a button until very recently.
>
> --
> Jason
> ---
> Now instead of four in the eights place /
> you’ve got three, ‘Cause you added one /
> (That is to say, eight) to the two, /
> But you can’t take seven from three, /
> So you look at the sixty-fours....

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New touchscreen Wacom product ID in Thinkpad T550 laptop

Peter Hutterer-3
On Thu, Mar 19, 2015 at 01:53:37PM -0500, Tyler Ham wrote:

> Hi Jason,
>
> Thank you! I've been tinkering with the xorg.conf settings and found
> that either using the "evdev" input driver or disabling the two-finger
> gestures in the "wacom" driver enable the three- and four-finger
> touches advertised by Unity (https://wiki.ubuntu.com/Multitouch).
> Two-finger gestures (like scrolling and right click) don't work across
> the board, but two-finger scrolling works in some applications, like
> Google Chrome. Getting two-finger gestures to work across the board
> would be great, but I think that might be an issue in Unity.

gestures are handled higher up the stack, evdev pretty much just forwards
the touch events as-is. specifically two-finger scrolling needs active
application support which isn't always there. so the problem isn't even in
Unity, it's the application itself that can't deal with touch events.

Cheers,
   Peter


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Loading...