Difference between revisions of "Mouse/Touchpad Drivers and Settings"

From TheBeard Science Project Wiki
Jump to: navigation, search
(Monitor Keyboard and Pointer Events)
(Monitor Keyboard and Pointer Events)
Line 11: Line 11:
 
</source>
 
</source>
  
Example output:
 
 
<pre class="output">
 
<pre class="output">
event5  POINTER_MOTION    +3.08s -4.23/  6.11
+
event5  POINTER_MOTION    +3.08s -4.23/  6.11
 
  event5  POINTER_MOTION    +3.10s -3.76/  5.17
 
  event5  POINTER_MOTION    +3.10s -3.76/  5.17
 
  event5  POINTER_MOTION    +3.11s -2.82/  4.70
 
  event5  POINTER_MOTION    +3.11s -2.82/  4.70

Revision as of 21:14, 22 September 2018

Monitor Keyboard and Pointer Events

This command actively monitors input events. It requires the proper packages:

apt-get install xserver-xorg-input-libinput libinput-tools
libinput debug-events
event5   POINTER_MOTION    +3.08s	 -4.23/  6.11
 event5   POINTER_MOTION    +3.10s	 -3.76/  5.17
 event5   POINTER_MOTION    +3.11s	 -2.82/  4.70
 event5   POINTER_MOTION    +3.13s	 -2.35/  3.76
 event5   POINTER_MOTION    +3.14s	 -1.41/  2.82
 event5   POINTER_MOTION    +3.16s	 -1.41/  1.88
 event5   POINTER_MOTION    +3.17s	 -0.94/  1.41
 event5   POINTER_MOTION    +3.20s	  2.31/  0.46
-event4   KEYBOARD_KEY      +3.32s	*** (-1) pressed
 event4   KEYBOARD_KEY      +3.57s	*** (-1) pressed

Finding Device Information

Some device information:

cat /proc/bus/input/devices
...
I: Bus=0011 Vendor=0002 Product=000e Version=0000
N: Name="ETPS/2 Elantech Touchpad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input749
U: Uniq=
H: Handlers=mouse0 event5 
B: PROP=9
B: EV=b
B: KEY=e420 30000 0 0 0 0
B: ABS=260800011000003