[Ubuntu Wiki] Update of "DebuggingTouchpadDetection" by simar

Ubuntu Wiki noreply at ubuntu.com
Sat Dec 18 21:08:09 UTC 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=23&rev2=24

The comment on the change is:
Reconstructed 'In case your Touchpad stops working after a while'

------------------------------------------------------------------------------
  
  == 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.
+ 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 }}}
+    * See [[DebuggingTouchpadDetection/evtest|this]] for help on how to enter VT and log evtest events.
+   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 }}}
+   3. Press Crtl+Alt+F7 to switch back to X.
+   4. Add {{{~/evtest}}} and {{{Xorg.o.log}}} to the bug report in separate attachments. 
+ 
+  *Check your {{{ cat /proc/bus/input/devices }}} , if you do not find 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 }}}
+ 
+   *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: {{{
+ $ dmesg > ~/dmesg_boot
+ $ cp /var/log/Xorg.0.log ~/Xorg.0.log }}}
+    1. Wait until your touchpad stops working.
+    1. Open a Virtual Terminal by pressing Ctrl-Alt-F1.
+    1. Enter the following commands: {{{
+ $ LANG=C
+ $ dmesg > ~/dmesg
+ $ diff -ns ~/dmesg_boot ~/dmesg > ~/dmesg_diff
+ $ cp /var/log/Xorg.0.log ~/Xorg.0.log_tmp
+ $ diff -ns ~/Xorg.0.log ~/Xorg.0.log_tmp > ~/Xorg.0.log_diff }}}
+    1. Attach {{{~/dmesg_boot}}}, {{{~/dmesg_diff}}}, {{{~/Xorg.0.log}}} and {{{~/Xorg.0.log_diff}}} to the bug report in separate attachments.
+ 
+ == In case Touchpad features like scrolling, tapping, etc do not work at all. ==
+ 
+ This happens when 'Touchpad' Tab is not there in System>Preferences>Mouse. 
+ 
+ This may be a wrong detection by the '''xserver''' or the '''kernel''' itself. So xserver-xorg-input-synaptics has nothing to do with it. In case, filing a bug against the kernel('''linux'''), please note that you should not mark the bug as duplicate even if you can find a closely related bug and you have a strong feeling that the bug should be duplicate. This is a new policy of Kernel Team and it help them to handle the bugs better.
+ 
+ To check whether to report for kernel or not {{{
+ $ cat /proc/bus/input/devices >~/devices }}}
+ If the output includes the name of your Touchpad eg Name="SynPS/2 Synaptics TouchPad", then kernel has detected it right. In this case, please don't report the bug against the kernel, rather report it against '''HAL'''. For more information on reporting bugs against HAL, refer DebuggingHal
+ 
+ In any case, include the outputs of the following commands: {{{
+ $ cat /proc/bus/input/devices >~/devices
+ $ xinput --list > ~/xinput 
+ $ cat /var/log/Xorg.0.log > Xorg.0.log }}}
+ 
+ Attach all four, to the bug report in separate attachments.
+ 
+ '''IMP :''' Please do not file bug against the kernel unless you are very sure that it should be filed and do it only after reading this whole document. If you are unsure, file it against xserver-xorg-input-synaptics, somebody will change to kernel if is so. 
+ 
+ == In case at least one of Touchpad features works but does not work correctly and as expected ==
+ 
+ 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
+ $ 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. {{{
+  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 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 
  
@@ -84, +148 @@

  
  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:
+ === In case your multitouch features does not work ===
  
+ This bug is common in Synaptics Touchpad V7.2 where multitouch works perfect in windows but not in linux. This is not a bug related to xserver-xorg-input-synaptics. Multitouch capabilities are not detected but the kernel itself as evident in {{{ xinput --list-props <id of your touchpad> }}} shows 
+ {{{ Synaptics Capabilities (277):	1, 1, 1, 0, 0 }}}
-  1. Provide the [[#generalinfo|general information]].
-  1. Direct after logging in to GNOME, KDE or Xfce open a terminal and enter the following commands: {{{
- $ dmesg > ~/dmesg_boot
- $ cp /var/log/Xorg.0.log ~/Xorg.0.log }}}
-  1. Wait until your touchpad stops working.
-  1. Open a Virtual Terminal by pressing Ctrl-Alt-F1.
-  1. Enter the following commands: {{{
- $ LANG=C
- $ dmesg > ~/dmesg
- $ diff -ns ~/dmesg_boot ~/dmesg > ~/dmesg_diff
- $ cp /var/log/Xorg.0.log ~/Xorg.0.log_tmp
- $ diff -ns ~/Xorg.0.log ~/Xorg.0.log_tmp > ~/Xorg.0.log_diff }}}
-  1. Attach {{{~/dmesg_boot}}}, {{{~/dmesg_diff}}}, {{{~/Xorg.0.log}}} and {{{~/Xorg.0.log_diff}}} to the bug report in separate attachments.
  
- == In case Touchpad features like scrolling, tapping, etc do not work at all. ==
+ This bug is already known (see the '''Known bugs''' below). In this case please don't file any new bugs and instead add a comment in the existing bug for any relevant information that you have.
  
- This happens when 'Touchpad' Tab is not there in System>Preferences>Mouse. 
+ '''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.
  
+  1. For any other case, include the outputs in the bug report in separate comments. {{{
- This may be a wrong detection by the '''xserver''' or the '''kernel''' itself. So xserver-xorg-input-synaptics has nothing to do with it. In case, filing a bug against the kernel('''linux'''), please note that you should not mark the bug as duplicate even if you can find a closely related bug and you have a strong feeling that the bug should be duplicate. This is a new policy of Kernel Team and it help them to handle the bugs better.
- 
- To check whether to report for kernel or not {{{
- $ cat /proc/bus/input/devices >~/devices }}}
- If the output includes the name of your Touchpad eg Name="SynPS/2 Synaptics TouchPad", then kernel has detected it right. In this case, please don't report the bug against the kernel, rather report it against '''HAL'''. For more information on reporting bugs against HAL, refer DebuggingHal
- 
- In any case, include the outputs of the following commands: {{{
- $ cat /proc/bus/input/devices >~/devices
- $ xinput --list > ~/xinput 
- $ cat /var/log/Xorg.0.log > Xorg.0.log }}}
- 
- Attach all four, to the bug report in separate attachments.
- 
- '''IMP :''' Please do not file bug against the kernel unless you are very sure that it should be filed and do it only after reading this whole document. If you are unsure, file it against xserver-xorg-input-synaptics, somebody will change to kernel if is so. 
- 
- == In case at least one of Touchpad features works but does not work correctly and as expected ==
- 
- 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
  $ xinput --list-props <id> >~/xinput }}}
-  1. Switch to a VT using Crtl+Alt+F2 and enter following in your terminal {{{
+  2. 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.
+  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.
+  5. Take your pointer in the windows and hold down your two fingers on the Touchpad and raise. Also try to tap with two fingers. {{{ 
+  $ xev | grep -i button > ~/xev}}}
-  5. Attach {{{~/xmodmap}}}, {{{~/xinput}}} and your {{{~/evtest}}} to the bug report in separate attachments.
+  6. Attach {{{~/xev}}}, {{{~/xinput}}} and your {{{~/evtest}}} to the bug report in separate attachments.
  
- In {{{ xinput --list-props <id> }}}, <id> is of your Touchpad in {{{ xinput --list }}}.
+ 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 
  
@@ -148, +183 @@

  
  Here your {{{ /dev/input/eventX }}} is {{{ /dev/input/event8 }}}
  
- === In case your multitouch features does not work ===
- 
- This bug is common in Synaptics Touchpad V7.2 where multitouch works perfect in windows but not in linux. This is not a bug related to xserver-xorg-input-synaptics. Multitouch capabilities are not detected but the kernel itself as evident in {{{ xinput --list-props <id of your touchpad> }}} shows 
- {{{ Synaptics Capabilities (277):	1, 1, 1, 0, 0 }}}
- 
- This bug is already known (see the '''Known bugs''' below). In this case please don't file any new bugs and instead add a comment in the existing bug for any relevant information that you have.
- 
- '''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.
- 
-  1. For any other case, include the outputs in the bug report in separate comments. {{{
- $ 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.
-  5. Take your pointer in the windows and hold down your two fingers on the Touchpad and raise. Also try to tap with two fingers. {{{ 
-  $ xev | grep -i button > ~/xev}}}
-  6. Attach {{{~/xev}}}, {{{~/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 }}}
- 
  Before filing new bug please look in the '''common bugs''' section.
  
  = Some general work flow for Triagers  =




More information about the Ubuntu-bugsquad mailing list