[Ubuntu Wiki] Update of "DebuggingTouchpadDetection" by simar

Ubuntu Wiki noreply at ubuntu.com
Thu Aug 5 19:45:21 BST 2010


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ubuntu Wiki" for change notification.

The following page has been changed by simar:
http://wiki.ubuntu.com/DebuggingTouchpadDetection?action=diff&rev1=16&rev2=17

------------------------------------------------------------------------------
  
  == In case your touchpad doesn't work at all (No response from the touchpad) ==
  
+ This is generally a case of kernel('''linux''') or '''xorg''' bug. Check by connecting a mouse that if it works or not. If no, then you should file the bug against '''HAL''' and follow the steps below.
+ 
+  1. Switch to a VT using Crtl+Alt+F2 and enter following in your terminal {{{
+ $ sudo evtest /dev/input/eventX > ~/evtest }}}
+  2. Scroll, tap, drag, press buttons and create various other possible events on the touchpad and then press CTRL+C to exit. {{{
+  $ cp /var/log/Xorg.0.log ~/Xorg.0.log }}}
+  4. Press Crtl+Alt+F7 to switch back to X.
+  3. Add {{{~/evtest}}} and {{{Xorg.o.log}}} to the bug report in seperate attachments. 
+ 
+ Check your {{{ /dev/input/eventX }}} for your touchpad in {{{ cat /proc/bus/input/devices }}} , you may see something like this 
+ 
+ I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
+ N: Name="SynPS/2 Synaptics TouchPad"
+ P: Phys=isa0060/serio2/input0
+ S: Sysfs=/devices/platform/i8042/serio2/input/input8
+ U: Uniq=
+ H: Handlers=mouse2 event8 
+ B: EV=b
+ B: KEY=420 0 70000 0 0 0 0 0 0 0 0
+ B: ABS=11000003
+ 
+ Here your {{{ /dev/input/eventX }}} is {{{ /dev/input/event8 }}}
+ 
+ If you do not find a Touchpad in you /proc/bus/inpus/devices, in that case the bug is in the kernel itself and you should follow these steps:
+ 
   1. File the bug against '''linux'''
   1. Provide the [[#generalinfo|general information]].
   1. Enter the following command in a terminal/console: {{{
@@ -36, +61 @@

   1. Attach {{{~/dmesg}}} and your {{{/var/log/Xorg.0.log}}} to the bug report in separate attachments.
  
  == In case your touchpad stops working after a while ==
+ 
+ This is generally a case of kernel('''linux''') or '''xorg''' bug. In this case, in description field, specify the steps to make the touchpad stop working. eg- hit a key, drag or something. Now check by connecting a mouse that if it works or not. If no, then you should file the bug against '''HAL''' and follow the steps below.
+ 
+  1. Switch to a VT using Crtl+Alt+F2 and enter following in your terminal {{{
+ $ sudo evtest /dev/input/eventX > ~/evtest }}}
+  2. Scroll, tap, drag, press buttons and create various other possible events on the touchpad and then press CTRL+C to exit. {{{
+  $ cp /var/log/Xorg.0.log ~/Xorg.0.log }}}
+  4. Press Crtl+Alt+F7 to switch back to X.
+  3. Add {{{~/evtest}}} and {{{Xorg.o.log}}} to the bug report in seperate attachments. 
+ 
+ Check your {{{ /dev/input/eventX }}} for your touchpad in {{{ cat /proc/bus/input/devices }}} , you may see something like this 
+ 
+ I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
+ N: Name="SynPS/2 Synaptics TouchPad"
+ P: Phys=isa0060/serio2/input0
+ S: Sysfs=/devices/platform/i8042/serio2/input/input8
+ U: Uniq=
+ H: Handlers=mouse2 event8 
+ B: EV=b
+ B: KEY=420 0 70000 0 0 0 0 0 0 0 0
+ B: ABS=11000003
+ 
+ Here your {{{ /dev/input/eventX }}} is {{{ /dev/input/event8 }}}
+ 
+ If you do not find a Touchpad in you /proc/bus/inpus/devices, in that case the bug is in the kernel itself and you should follow these steps:
  
   1. Provide the [[#generalinfo|general information]].
   1. Direct after logging in to GNOME, KDE or Xfce open a terminal and enter the following commands: {{{
@@ -63, +113 @@

  
  In any case, include the outputs of the following commands: {{{
  $ cat /proc/bus/input/devices >~/devices
- $ sudo lspci -vvnn > ~/lspci 
  $ xinput --list > ~/xinput 
  $ cat /var/log/Xorg.0.log > Xorg.0.log }}}
  
@@ -76, +125 @@

  eg - Jumpy cursor, scrolling problems, touchpad area is misdetected, circular scrolling, buttons not correctly mapped.
  
   1. Enter the following command in a terminal/console: {{{
+ $ xmodmap -pp >~/xmodmap
- $ synclient -l > ~/synclient
- $ xmodmap -pp
- $ xinput --list-props <id> }}}
+ $ xinput --list-props <id> >~/xinput }}}
+  1. Switch to a VT using Crtl+Alt+F2 and enter following in your terminal {{{
+ $ sudo evtest /dev/input/eventX > ~/evtest }}}
+  2. Scroll, tap, drag, press buttons and create various other possible events on the touchpad and then press CTRL+C to exit.
+  4. Press Crtl+Alt+F7 to switch back to X.
-  2. Attach {{{~/synclient}}} and your {{{/var/log/Xorg.0.log}}} to the bug report in separate attachments.
+  5. Attach {{{~/xmodmap}}}, {{{~/xinput}}} and your {{{~/evtest}}} to the bug report in separate attachments.
  
  In {{{ xinput --list-props <id> }}}, <id> is of your touchpad in {{{ xinput --list }}}.
+ 
+ Check your {{{ /dev/input/eventX }}} for your touchpad in {{{ cat /proc/bus/input/devices }}} , you may see something like this 
+ 
+ I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
+ N: Name="SynPS/2 Synaptics TouchPad"
+ P: Phys=isa0060/serio2/input0
+ S: Sysfs=/devices/platform/i8042/serio2/input/input8
+ U: Uniq=
+ H: Handlers=mouse2 event8 
+ B: EV=b
+ B: KEY=420 0 70000 0 0 0 0 0 0 0 0
+ B: ABS=11000003
+ 
+ Here your {{{ /dev/input/eventX }}} is {{{ /dev/input/event8 }}}
  
  === In case your multitouch features does not work ===
  
@@ -92, +158 @@

  
  '''NOTE :''' Synaptics is not willing to disclose the protocol it uses for the multitouch support for its newer touchpads. As soon as Synaptics come up with its protocol, this issue will be fixed. So this is not a bug in general. So it has been classified as a wishlist.
  
- For any other case, include the outputs in the bug report in separate comments. {{{
+  1. For any other case, include the outputs in the bug report in separate comments. {{{
- $ synclient -l > ~/synclient
- $ xinput --list-props <id> }}}
+ $ xinput --list-props <id> >~/xinput }}}
- 
+  2. Switch to a VT using Crtl+Alt+F2 and enter following in your terminal {{{
+ $ sudo evtest /dev/input/eventX > ~/evtest }}}
+  3. Scroll, tap, drag, press buttons and create various other possible events on the touchpad and then press CTRL+C to exit.
+  4. Press Crtl+Alt+F7 to switch back to X.
- Take your pointer in the windows and hold down your two fingres on the touchpad and raise. Also try to tap with two fingers.
+  5. Take your pointer in the windows and hold down your two fingres on the touchpad and raise. Also try to tap with two fingers. {{{ 
- {{{ $ xev | grep -i button > ~/xev}}}
+  $ xev | grep -i button > ~/xev}}}
+  6. Attach {{{~/xev}}}, {{{~/xinput}}} and your {{{~/evtest}}} to the bug report in separate attachments.
- 
- Attach these outputs in separate attachments, in the bug report.
  
  In {{{ xinput --list-props <id> }}}, <id> is of your touchpad in xinput --list.
  
+ Check your {{{ /dev/input/eventX }}} for your touchpad in {{{ cat /proc/bus/input/devices }}} , you may see something like this 
+ 
+ I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
+ N: Name="SynPS/2 Synaptics TouchPad"
+ P: Phys=isa0060/serio2/input0
+ S: Sysfs=/devices/platform/i8042/serio2/input/input8
+ U: Uniq=
+ H: Handlers=mouse2 event8 
+ B: EV=b
+ B: KEY=420 0 70000 0 0 0 0 0 0 0 0
+ B: ABS=11000003
+ 
+ Here your {{{ /dev/input/eventX }}} is {{{ /dev/input/event8 }}}
+ 
- Before filing new bug please look in the common bugs section.
+ Before filing new bug please look in the '''common bugs''' section.
  
  = Some general work flow for Triagers  =
  
@@ -130, +211 @@

  
  For problems such as scrolling area, touch area, button wrong mapping, multitouch try investigating with 
      {{{
-     $ synclient -m 100 
+     $ evtest /dev/input/eventX
      $ xev }}}
  
  
@@ -139, +220 @@

      $ xinput --list-props 6 }}}
  
  
- = Help regarding using debug utilities =
- 
- 
- In case when using {{{ synclient -m 100 }}} reports ''SHMConfig'' disabled. Try adding these lines to your xorg.conf file in respective sections. Please make a backup copy of your xorg.conf file before trying this.
-  
- Section "Module"
-     Load "synaptics"
- EndSection
- #...
- 4 Section "InputDevice"
-     Driver "synaptics"
-     Identifier "TouchPad"
-     Option "Protocol" "auto-dev"
-     Option "SHMConfig" "on"
- EndSection
- #...
- Section "ServerLayout"
-     InputDevice "TouchPad" "CorePointer"
- EndSection
- 
- 
- 
  = Known bugs =
  
  Synaptics Touchpad Multitouch https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/308191



More information about the Ubuntu-bugsquad mailing list