Skip to content

Instantly share code, notes, and snippets.

@PapsOu
Created March 24, 2018 21:45
Show Gist options
  • Save PapsOu/0c34b5a8022f796fea4f9279684f2619 to your computer and use it in GitHub Desktop.
Save PapsOu/0c34b5a8022f796fea4f9279684f2619 to your computer and use it in GitHub Desktop.
sudo make && sync && sudo modprobe -r hid_multitouch i2c-hid && sudo insmod ./hid-multitouch.ko && sudo modprobe i2c_hid debug=1
journalctl --follow | grep 'i2c_hid\|hid-multitouch\|ELAN1200'
mars 24 22:43:11 localhost.localdomain sudo[15720]: papsou : TTY=pts/0 ; PWD=/home/papsou/Softwares/Tools/hid-multitouch ; USER=root ; COMMAND=/bin/make
mars 24 22:43:11 localhost.localdomain audit[15720]: USER_CMD pid=15720 uid=1000 auid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/papsou/Softwares/Tools/hid-multitouch" cmd="make" terminal=pts/0 res=success'
mars 24 22:43:12 localhost.localdomain sudo[15806]: papsou : TTY=pts/0 ; PWD=/home/papsou/Softwares/Tools/hid-multitouch ; USER=root ; COMMAND=/sbin/modprobe -r hid_multitouch i2c-hid
mars 24 22:43:12 localhost.localdomain audit[15806]: USER_CMD pid=15806 uid=1000 auid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/papsou/Softwares/Tools/hid-multitouch" cmd=6D6F6470726F6265202D72206869645F6D756C7469746F756368206932632D686964 terminal=pts/0 res=success'
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 01 08
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 00 08
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 01 08
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 00 08
mars 24 22:43:12 localhost.localdomain sudo[15822]: papsou : TTY=pts/0 ; PWD=/home/papsou/Softwares/Tools/hid-multitouch ; USER=root ; COMMAND=/sbin/insmod ./hid-multitouch.ko
mars 24 22:43:12 localhost.localdomain audit[15822]: USER_CMD pid=15822 uid=1000 auid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/papsou/Softwares/Tools/hid-multitouch" cmd=696E736D6F64202E2F6869642D6D756C7469746F7563682E6B6F terminal=pts/0 res=success'
mars 24 22:43:12 localhost.localdomain sudo[15827]: papsou : TTY=pts/0 ; PWD=/home/papsou/Softwares/Tools/hid-multitouch ; USER=root ; COMMAND=/sbin/modprobe i2c_hid debug=1
mars 24 22:43:12 localhost.localdomain audit[15827]: USER_CMD pid=15827 uid=1000 auid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/papsou/Softwares/Tools/hid-multitouch" cmd=6D6F6470726F6265206932635F6869642064656275673D31 terminal=pts/0 res=success'
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c-ELAN1200:00 supply vdd not found, using dummy regulator
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: Fetching the HID descriptor
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=01 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: HID Descriptor: 1e 00 00 01 64 01 02 00 03 00 10 00 04 00 00 00 05 00 06 00 f3 04 3e 30 03 00 00 00 00 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: entering i2c_hid_parse
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_hwreset
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 00 08
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: resetting...
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 00 01
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: waiting...
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: finished.
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: asking HID report descriptor
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=02 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: Report Descriptor: 05 01 09 02 a1 01 85 01 09 01 a1 00 05 09 19 01 29 02 15 00 25 01 75 01 95 02 81 02 95 06 81 03 05 01 09 30 09 31 09 38 15 81 25 7f 75 08 95 03 81 06 05 0c 0a 38 02 95 01 81 06 75 08 95 03 81
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 0b 00 01 00 00 00 00 00 00 00 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_get_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 32 02 06 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_get_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 32 02 06 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 04 00 02 05
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_get_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 36 02 06 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 04 00 02 05
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_or_send_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 3d 03 06 00 07 00 0d 05 03 a0 01
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_get_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 3d 02 06 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 04 00 02 05
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_or_send_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 3d 03 06 00 07 00 0d 05 03 04 01
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_get_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 3d 02 06 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 07 00 0d a0 01 f3 04
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_or_send_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 3d 03 06 00 07 00 0d 05 03 02 01
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_get_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 3d 02 06 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 07 00 0d 04 01 1f 06
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_or_send_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 3d 03 06 00 07 00 0d 05 03 02 01
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_get_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 3d 02 06 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 07 00 0d 02 01 03 00
mars 24 22:43:12 localhost.localdomain kernel: input: ELAN1200:00 04F3:303E Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-4/i2c-ELAN1200:00/0018:04F3:303E.000D/input/input43
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 07 00 0d 02 01 03 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 07 00 0d 02 01 03 00
mars 24 22:43:12 localhost.localdomain kernel: hid-multitouch 0018:04F3:303E.000D: input,hidraw2: I2C HID v1.00 Mouse [ELAN1200:00 04F3:303E] on i2c-ELAN1200:00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_or_send_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 33 03 06 00 05 00 03 03 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 07 00 0d 02 01 03 00
mars 24 22:43:12 localhost.localdomain kernel: mt_set_latency_mode setting latency mode to 0 /home/papsou/Softwares/Tools/hid-multitouch/hid-multitouch.c:1238
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_or_send_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 37 03 06 00 05 00 07 00 00
mars 24 22:43:12 localhost.localdomain kernel: mt_set_switches setting surface and button switch to 1 and 1 /home/papsou/Softwares/Tools/hid-multitouch/hid-multitouch.c:1257
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_or_send_report
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 35 03 06 00 05 00 05 03 00
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 01 08
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
mars 24 22:43:12 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 00 08
mars 24 22:43:44 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 c7 03 05 04 07 70 01 00 19 54 00 00
mars 24 22:43:44 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 d5 03 e9 03 e3 70 01 00 1b 44 00 00
mars 24 22:43:44 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 e3 03 d0 03 bf 71 01 00 1b 44 00 00
mars 24 22:43:44 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 ec 03 c7 03 55 72 01 00 1d 45 00 00
mars 24 22:43:44 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 00 04 bc 03 31 73 01 00 1b 44 00 00
mars 24 22:43:44 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: ff
mars 24 22:43:44 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: ff
mars 24 22:43:44 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 63 04 7e 03 19 77 01 00 1b 54 00 00
mars 24 22:43:44 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 bf 04 3e 03 17 79 01 00 1b 44 00 00
mars 24 22:43:44 localhost.localdomain kernel: i2c_hid i2c-ELAN1200:00: input: 10 00 04 01 fb 04 53 03 01 7b 01 00 10 44 00 00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment