Skip to content

Instantly share code, notes, and snippets.

@Xe

Xe/-

Created April 3, 2014 17:38
Show Gist options
  • Save Xe/9959067 to your computer and use it in GitHub Desktop.
Save Xe/9959067 to your computer and use it in GitHub Desktop.
rarity input > evtest
No device specified, trying to scan all of /dev/input/event*
Not running as root, no devices may be available.
Available devices:
Select the device event number [0-11]: 0
evtest: Permission denied
You do not have access to /dev/input/event0. Try running as root instead.
rarity input > sudo !!
rarity input > 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: Power Button
/dev/input/event10: HDA Intel Mic
/dev/input/event11: HDA Intel Headphone
/dev/input/event2: Sleep Button
/dev/input/event3: Lid Switch
/dev/input/event4: Power Button
/dev/input/event5: PC Speaker
/dev/input/event6: Mario Webcam
/dev/input/event7: SynPS/2 Synaptics TouchPad
/dev/input/event8: Video Bus
/dev/input/event9: HDA Digital PCBeep
Select the device event number [0-11]: 7
Input driver version is 1.0.1
Input device ID: bus 0x11 vendor 0x2 product 0x7 version 0x1b1
Input device name: "SynPS/2 Synaptics 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 330 (BTN_TOUCH)
Event code 333 (BTN_TOOL_DOUBLETAP)
Event code 334 (BTN_TOOL_TRIPLETAP)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 3000
Min 1472
Max 5738
Fuzz 8
Resolution 47
Event code 1 (ABS_Y)
Value 3945
Min 1408
Max 4802
Fuzz 8
Resolution 65
Event code 24 (ABS_PRESSURE)
Value 0
Min 0
Max 255
Event code 28 (ABS_TOOL_WIDTH)
Value 0
Min 0
Max 15
Event code 47 (ABS_MT_SLOT)
Value 0
Min 0
Max 1
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 1472
Max 5738
Fuzz 8
Resolution 47
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 1408
Max 4802
Fuzz 8
Resolution 65
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 0
Max 65535
Properties:
Property type 0 (INPUT_PROP_POINTER)
Property type 2 (INPUT_PROP_BUTTONPAD)
Property type 3 (INPUT_PROP_SEMI_MT)
Testing ... (interrupt to exit)
***********************************************
This device is grabbed by another process.
No events are available to evtest while the
other grab is active.
In most cases, this is caused by an X driver,
try VT-switching and re-run evtest again.
***********************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment