Comment 51 for bug 1887190

Revision history for this message
Stefano Galassi (iltoga) wrote :

sudo evtest

````
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: AT Translated Set 2 keyboard
/dev/input/event1: AKKO AKKO 3084BT
/dev/input/event2: AKKO AKKO 3084BT Keyboard
/dev/input/event3: AKKO AKKO 3084BT Wireless Radio Control
/dev/input/event4: AKKO AKKO 3084BT Consumer Control
/dev/input/event5: AKKO AKKO 3084BT
/dev/input/event6: Integrated Camera: Integrated C
/dev/input/event7: Logitech M350
/dev/input/event8: ITE Tech. Inc. ITE Device(8910) Keyboard
/dev/input/event9: ITE Tech. Inc. ITE Device(8910) Consumer Control
/dev/input/event10: ITE Tech. Inc. ITE Device(8910) Wireless Radio Control
/dev/input/event11: Lid Switch
/dev/input/event12: Power Button
/dev/input/event13: Power Button
/dev/input/event14: Video Bus
/dev/input/event15: Video Bus
/dev/input/event16: PC Speaker
/dev/input/event17: Elan Touchpad
/dev/input/event18: MSFT0001:00 04F3:3140
/dev/input/event19: Ideapad extra buttons
/dev/input/event20: HDA NVidia HDMI/DP,pcm=3
/dev/input/event21: HDA NVidia HDMI/DP,pcm=7
/dev/input/event22: HDA NVidia HDMI/DP,pcm=8
/dev/input/event23: HDA NVidia HDMI/DP,pcm=9
/dev/input/event24: HDA NVidia HDMI/DP,pcm=10
/dev/input/event25: HDA Digital PCBeep
/dev/input/event26: HD-Audio Generic Mic
/dev/input/event27: HD-Audio Generic Headphone
Select the device event number [0-27]: 17
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x4f3 product 0x3140 version 0x100
Input device name: "Elan Touchpad"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 272 (BTN_LEFT)
    Event code 325 (BTN_TOOL_FINGER)
    Event code 328 (BTN_TOOL_QUINTTAP)
    Event code 330 (BTN_TOUCH)
    Event code 333 (BTN_TOOL_DOUBLETAP)
    Event code 334 (BTN_TOOL_TRIPLETAP)
    Event code 335 (BTN_TOOL_QUADTAP)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value 0
      Min 0
      Max 3209
      Resolution 31
    Event code 1 (ABS_Y)
      Value 0
      Min 0
      Max 2097
      Resolution 31
    Event code 24 (ABS_PRESSURE)
      Value 0
      Min 0
      Max 255
    Event code 47 (ABS_MT_SLOT)
      Value 0
      Min 0
      Max 4
    Event code 53 (ABS_MT_POSITION_X)
      Value 0
      Min 0
      Max 3209
    Event code 54 (ABS_MT_POSITION_Y)
      Value 0
      Min 0
      Max 2097
    Event code 57 (ABS_MT_TRACKING_ID)
      Value 0
      Min 0
      Max 65535
    Event code 58 (ABS_MT_PRESSURE)
      Value 0
      Min 0
      Max 255
Properties:
  Property type 0 (INPUT_PROP_POINTER)
  Property type 2 (INPUT_PROP_BUTTONPAD)
Testing ... (interrupt to exit)

````

sudo evtest (I choose 18)

````
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x4f3 product 0x3140 version 0x100
Input device name: "MSFT0001:00 04F3:3140"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 256 (BTN_0)
    Event code 272 (BTN_LEFT)
    Event code 273 (BTN_RIGHT)
    Event code 330 (BTN_TOUCH)
  Event type 2 (EV_REL)
    Event code 0 (REL_X)
    Event code 1 (REL_Y)
    Event code 6 (REL_HWHEEL)
    Event code 8 (REL_WHEEL)
    Event code 11 (REL_WHEEL_HI_RES)
    Event code 12 (REL_HWHEEL_HI_RES)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value 0
      Min 0
      Max 3209
      Resolution 32
    Event code 1 (ABS_Y)
      Value 0
      Min 0
      Max 2097
      Resolution 32
    Event code 40 (ABS_MISC)
      Value 0
      Min 0
      Max 15
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
````