Skip to content

Instantly share code, notes, and snippets.

@Nokius

Nokius/output Secret

Created October 5, 2016 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nokius/3f4c4bb30bfe1fcea342041c820c51db to your computer and use it in GitHub Desktop.
Save Nokius/3f4c4bb30bfe1fcea342041c820c51db to your computer and use it in GitHub Desktop.
[SFOS] cancro evdev_trace
sh-3.2# evdev_trace -i
----====( /dev/input/event0 )====----
Name: "qpnp_pon"
ID: bus 0x0, vendor, 0x0, product 0x0, version 0x0
Type 0x00 (EV_SYN)
Type 0x01 (EV_KEY)
KEY_VOLUMEDOWN KEY_POWER
----====( /dev/input/event1 )====----
Name: "gpio-keys"
ID: bus 0x19, vendor, 0x1, product 0x1, version 0x100
Type 0x00 (EV_SYN)
Type 0x01 (EV_KEY)
KEY_VOLUMEUP
Type 0x05 (EV_SW)
SW_LID SW_MUTE_DEVICE
----====( /dev/input/event2 )====----
Name: "atmel-maxtouch"
ID: bus 0x18, vendor, 0x0, product 0x0, version 0x0
Type 0x00 (EV_SYN)
Type 0x01 (EV_KEY)
KEY_HOME KEY_MENU KEY_BACK BTN_TOUCH
Type 0x03 (EV_ABS)
ABS_MT_SLOT=0 [0,17] ABS_MT_TOUCH_MAJOR=0 [0,255] ABS_MT_POSITION_X=0 [0,1079] ABS_MT_POSITION_Y=0 [0,1919] ABS_MT_TRACKING_ID=0 [0,65535] ABS_MT_PRESSURE=0 [0,255]
----====( /dev/input/event3 )====----
Name: "pwm-ir"
ID: bus 0x19, vendor, 0x0, product 0x0, version 0x0
Type 0x00 (EV_SYN)
Type 0x01 (EV_KEY)
Type 0x04 (EV_MSC)
MSC_SCAN
Type 0x14 (EV_REP)
----====( /dev/input/event4 )====----
Name: "msm8974-taiko-mtp-snd-card Button Jack"
ID: bus 0x0, vendor, 0x0, product 0x0, version 0x0
Type 0x00 (EV_SYN)
Type 0x01 (EV_KEY)
KEY_MEDIA BTN_1 BTN_2 BTN_3 BTN_4 BTN_5 BTN_6 BTN_7
----====( /dev/input/event5 )====----
Name: "msm8974-taiko-mtp-snd-card Headset Jack"
ID: bus 0x0, vendor, 0x0, product 0x0, version 0x0
Type 0x00 (EV_SYN)
Type 0x05 (EV_SW)
SW_HEADPHONE_INSERT* SW_MICROPHONE_INSERT SW_LINEOUT_INSERT SW_HPHL_OVERCURRENT SW_HPHR_OVERCURRENT SW_UNSUPPORT_INSERT SW_MICROPHONE2_INSERT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment