[Wayland-bugs] [Bug 103395] buttons on graphic tablet don't work

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 21 18:40:28 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103395

            Bug ID: 103395
           Summary: buttons on graphic tablet don't work
           Product: Wayland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: akktor at net-c.ca

Ubuntu 17.10 Wayland session. Cann't use button on the pad.

libinput --v
1.8.2

lsusb -s 3:4 -v
Bus 003 Device 004: ID 5543:0081 UC-Logic Technology Corp. 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x5543 UC-Logic Technology Corp.
  idProduct          0x0081 
  bcdDevice            0.00
  iManufacturer           5 
  iProduct                6 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           84
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus 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      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     179
         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     0x0008  1x 8 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     183
         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     0x0008  1x 8 bytes
        bInterval               2
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      92
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               2

sudo libinput list-devices
libinput error: event8  - libinput error: UC-Logic TABLET 1060N Pad: libinput
error: libinput bug: device does not meet tablet criteria. Ignoring this
device.

sudo evtest
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x5543 product 0x81 version 0x111
Input device name: "UC-Logic TABLET 1060N Pad"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 256 (BTN_0)
    Event code 257 (BTN_1)
    Event code 258 (BTN_2)
    Event code 259 (BTN_3)
    Event code 260 (BTN_4)
    Event code 261 (BTN_5)
    Event code 262 (BTN_6)
    Event code 263 (BTN_7)
    Event code 264 (BTN_8)
    Event code 331 (BTN_STYLUS)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value      0
      Min        0
      Max        1
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max        1
    Event code 40 (ABS_MISC)
      Value      0
      Min        0
      Max        1
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Event: time 1508611122.873393, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001
Event: time 1508611122.873393, type 1 (EV_KEY), code 256 (BTN_0), value 1
Event: time 1508611122.873393, -------------- SYN_REPORT ------------
Event: time 1508611123.005393, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001
Event: time 1508611123.005393, type 1 (EV_KEY), code 256 (BTN_0), value 0
Event: time 1508611123.005393, -------------- SYN_REPORT ------------
Event: time 1508611124.153388, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90002
Event: time 1508611124.153388, type 1 (EV_KEY), code 257 (BTN_1), value 1
Event: time 1508611124.153388, -------------- SYN_REPORT ------------
Event: time 1508611124.260390, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90002
Event: time 1508611124.260390, type 1 (EV_KEY), code 257 (BTN_1), value 0
Event: time 1508611124.260390, -------------- SYN_REPORT ------------
Event: time 1508611124.605383, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90003
Event: time 1508611124.605383, type 1 (EV_KEY), code 258 (BTN_2), value 1
Event: time 1508611124.605383, -------------- SYN_REPORT ------------
Event: time 1508611124.712381, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90003
Event: time 1508611124.712381, type 1 (EV_KEY), code 258 (BTN_2), value 0
Event: time 1508611124.712381, -------------- SYN_REPORT ------------
Event: time 1508611125.026393, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90004
Event: time 1508611125.026393, type 1 (EV_KEY), code 259 (BTN_3), value 1
Event: time 1508611125.026393, -------------- SYN_REPORT ------------
Event: time 1508611125.114325, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90004
Event: time 1508611125.114325, type 1 (EV_KEY), code 259 (BTN_3), value 0
Event: time 1508611125.114325, -------------- SYN_REPORT ------------
Event: time 1508611125.597376, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1508611125.597376, type 1 (EV_KEY), code 260 (BTN_4), value 1
Event: time 1508611125.597376, -------------- SYN_REPORT ------------
Event: time 1508611125.697383, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1508611125.697383, type 1 (EV_KEY), code 260 (BTN_4), value 0
Event: time 1508611125.697383, -------------- SYN_REPORT ------------
Event: time 1508611126.068373, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90006
Event: time 1508611126.068373, type 1 (EV_KEY), code 261 (BTN_5), value 1
Event: time 1508611126.068373, -------------- SYN_REPORT ------------
Event: time 1508611126.155315, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90006
Event: time 1508611126.155315, type 1 (EV_KEY), code 261 (BTN_5), value 0
Event: time 1508611126.155315, -------------- SYN_REPORT ------------
Event: time 1508611126.457371, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90007
Event: time 1508611126.457371, type 1 (EV_KEY), code 262 (BTN_6), value 1
Event: time 1508611126.457371, -------------- SYN_REPORT ------------
Event: time 1508611126.557374, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90007
Event: time 1508611126.557374, type 1 (EV_KEY), code 262 (BTN_6), value 0
Event: time 1508611126.557374, -------------- SYN_REPORT ------------
Event: time 1508611126.877354, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90008
Event: time 1508611126.877354, type 1 (EV_KEY), code 263 (BTN_7), value 1
Event: time 1508611126.877354, -------------- SYN_REPORT ------------
Event: time 1508611126.997375, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90008
Event: time 1508611126.997375, type 1 (EV_KEY), code 263 (BTN_7), value 0
Event: time 1508611126.997375, -------------- SYN_REPORT ------------

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20171021/62bbb235/attachment.html>


More information about the wayland-bugs mailing list