DebuggingTouchpadDetection

Differences between revisions 9 and 10
Revision 9 as of 2008-10-04 00:48:49
Size: 4465
Editor: c122-108-27-22
Comment: Note that lshal is necessary in >=8.10
Revision 10 as of 2008-10-06 19:24:28
Size: 4465
Editor: c-24-21-234-111
Comment:
Deletions are marked like this. Additions are marked like this.
Line 29: Line 29:
 1. If using Ubuntu 8.10 or later, run {{{ $ lshal > ~/lshal }}} and attach {{{~/lshal}}}.
Line 30: Line 31:
 1. If using Ubuntu 8.10 or later, run {{{ $ lshal > ~/lshal }}} and attach {{{~/lshal}}}.

Debugging Central

This page is part of the debugging series — pages with debugging details for a variety of Ubuntu packages.

Introduction

Problems with touchpad detection typically fall into one off these categories:

  1. Your touchpad doesn't work at all.
  2. Your touchpad stops working after a while.
  3. Some features of your touchpad like scrolling, tapping, dragging don't work (as expected).

How to file a bug report

Touchpad related bugs should initially be filed against xserver-xorg-input-synaptics. If the bug turns out to be a kernel bug or a bug in another package, bug triagers can assign the bug additionally to that package and mark the xserver-xorg-input-synaptics task as invalid.

General information

For all bug categories the following general information should be provided:

  1. What brand and model is your laptop, open a terminal/console and enter the following command:

    $ cd /var/lib/acpi-support/; grep '.' *-* > ~/laptop 
    What features does your touchpad have: horizontal and vertical scrolling, tapping, dragging, ...
  2. Open a terminal/console and enter the following commands (minimal information as described in KernelTeamBugPolicies):

    $ uname -a > ~/uname-a
    $ cat /proc/version_signature > ~/version_signature
    $ sudo lspci -vvnn > ~/lspci-vvnn 
  3. If using Ubuntu 8.10 or later, run  $ lshal > ~/lshal  and attach ~/lshal.

  4. Attach ~/laptop, ~/uname-a, ~/version_signature and ~/lspci-vvnn to the bug report as separate attachments.

In case your touchpad doesn't work at all

  1. Provide the general information.

  2. Enter the following command in a terminal/console:

    $ dmesg > ~/dmesg 
  3. 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

  1. Provide the general information.

  2. 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 
  3. Wait until your touchpad stops working.
  4. Open a Virtual Terminal by pressing Ctrl-Alt-F1.
  5. 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 
  6. Attach ~/dmesg_boot, ~/dmesg_diff, ~/Xorg.0.log and ~/Xorg.0.log_diff to the bug report in separate attachments.

In case some features of your touchpad like scrolling, tapping, dragging don't work (as expected)

  1. Provide the general information.

  2. Open a terminal and enter the following commands:

    $ cat /proc/bus/input/devices > ~/devices
    $ dmesg > ~/dmesg 
  3. Attach your /var/log/Xorg.0.log, ~/devices and ~/dmesg to the bug report in separate attachments.


CategoryBugSquad CategoryDebugging

DebuggingTouchpadDetection (last edited 2019-02-26 09:05:55 by anthonywong)