DebuggingMouseDetection
|
Size: 3794
Comment:
|
Size: 5315
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| This procedure is only meant for external mouse detection problem, if you have a laptop and your touchpad is not detected please follow the steps described here: DebuggingTouchpadDetection. | This procedure is only meant for external mouse detection problems, if you have a laptop and your touchpad is not detected please follow the steps described here: DebuggingTouchpadDetection. |
| Line 10: | Line 10: |
| 1. Some mouse buttons don't work (as expected). | 1. Some mouse buttons/scrollwheel don't work (as expected). |
| Line 18: | Line 18: |
| Before filing a bug please check the list of known bugs at the end of this document. |
|
| Line 19: | Line 21: |
| If the bug turns out to be a kernel bug, bug triagers will assign the bug additionally to linux-source-2.6.x and mark the xserver-xorg-input-mouse task as invalid. | If the bug turns out to be a kernel bug or a bug in another package, bug triagers will assign the bug additionally to that package and mark the xserver-xorg-input-mouse task as invalid. |
| Line 27: | Line 29: |
| $ lsusb -v > ~/lsusb-v.log }}} 1. Open a terminal/console and enter the following commands: {{{ $ uname -a > ~/uname-a.log $ cat /proc/version_signature > ~/version.log $ dmesg > ~/dmesg.log $ sudo lspci -vvnn > ~/lspci-vvnn.log }}} 1. Attach {{{~/lsusb-v.log}}}, {{{~/uname-a.log}}}, {{{~/version.log}}} and {{{~/dmesg.log}}} and {{{~/lspci-vvnn.log}}} to the bug report. |
$ lsusb -v > ~/lsusb-v }}} 1. Open a terminal/console and enter the following commands (minimal information as described in KernelTeamBugPolicies): {{{ $ uname -a > ~/uname-a $ cat /proc/version_signature > ~/version $ sudo lspci -vvnn > ~/lspci-vvnn }}} 1. Attach {{{~/lsusb-v}}}, {{{~/uname-a}}}, {{{~/version}}} and {{{~/lspci-vvnn}}} to the bug report as seperate attachments. |
| Line 37: | Line 38: |
| 1. Unplug you USB mouse and enter the following command in a terminal/console: {{{$ tail -f /var/log/messages | tee messages.txt}}} 1. Now plug in your USB mouse, you should see some messages appearing. 1. Press Ctrl-C to stop the logging and attach messages.txt to the bug report. 1. Enter the following command in a terminal/console: {{{$ sudo lsusb > lsusb.txt}}} 1. Attach lsusb-v.txt to the bug report. |
1. Provide the General Information. 1. If you have a PS/2 mouse make sure it was connected before booting Ubuntu, if you have a USB mouse unplug it an plug it in again to see if your mouse starts working again. 1. Enter the following commands in a terminal/console: {{{ $ dmesg > ~/dmesg }}} 1. Attach {{{~/dmesg}}} and your {{{/var/log/Xorg.0.log}}} to the bug report in seperate attachments. == In case your mouse stops working after a while == 1. Provide the General Information. 1. Direct after GNOME, KDE or Xfce login open a terminal and enter the following commands: {{{ $ dmesg > ~/dmesg_boot $ cp /var/log/Xorg.0.log ~/Xorg.0.log }}} 2. Wait until your mouse stops working. If you have a USB mouse unplug it an plug it in again to see if your mouse starts working again. 3. Open a Virtual Terminal by pressing Ctrl-Alt-F1. 4. 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 }}} 5. Attach {{{dmesg_boot}}}, {{{dmesg_diff}}}, {{{Xorg.0.log}}} and {{{Xorg.0.log_diff}}} to the bug report in separate attachments. == In case some mouse buttons/scrollwheel don't work (as expected) == 1. Provide the General Information. 1. Open a terminal and enter the following commands: {{{ $ xmodmap -pp > ~/xmodmap-pp $ xev | grep -i button }}} Put the mouse cursor into the rectangle and push your mouse buttons. Mention in the bug report which button number is reported, e.g. left = 1, scrollwheel up = 4, horizontal scrollwheel left = 6, thumb button = 8, pinkie button = 9, ... 1. Attach your {{{/var/log/Xorg.0.log}}} and {{{~/xmodmap-pp}}} to the bug report in seperate attachments. |
| Line 51: | Line 74: |
| ##|| [https://bugs.beta.launchpad.net/ubuntu/+source/synaptic/+bug/8896 #8896] || This bug can be identified by ... || Mark as duplicate of 8896 with the comment "Thank you for reporting. This issue has already been reported as bug #8896. Marking as Duplicate." || | || [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/9068 bug #9068] || Serial mouse isn't autodetected || If you want your serial mouse to be autodetected in future versions of Ubuntu, please help by following the step described here: https://lists.ubuntu.com/archives/ubuntu-devel/2006-February/015020.html and attach the requested information to [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/9068 bug #9068]. || |
| Line 53: | Line 76: |
| '''Closed''' ||<rowbgcolor="#eeeeee"> '''Bug#''' || '''Description''' || '''Action''' || ##|| [https://bugs.beta.launchpad.net/ubuntu/+source/synaptic/+bug/8896 #8896] || This bug can be identified by ... || Mark as duplicate of 8896 with the comment "Thank you for reporting. This issue has already been reported as bug #8896. Marking as Duplicate." || |
##'''Closed''' ##||<rowbgcolor="#eeeeee"> '''Bug#''' || '''Description''' || '''Action''' || ##|| [https://bugs.beta.launchpad.net/ubuntu/+source/synaptic/+bug/8896 #8896] ##|| This bug can be identified by ... || blabla || |
ContentsBRTableOfContents |
Introduction
This procedure is only meant for external mouse detection problems, if you have a laptop and your touchpad is not detected please follow the steps described here: DebuggingTouchpadDetection.
Problems with mouse detection typically fall into one off these categories:
- Your mouse is not detected at all.
- Your mouse stops working after a while.
- Some mouse buttons/scrollwheel don't work (as expected).
How to file a bug report
Before filing a bug please check the list of known bugs at the end of this document.
Mouse related bugs should initially be filed against xserver-xorg-input-mouse. If the bug turns out to be a kernel bug or a bug in another package, bug triagers will assign the bug additionally to that package and mark the xserver-xorg-input-mouse task as invalid.
General information
For all bug categories the following general information should be provided:
How is your mouse connected to your PC: serial, PS/2, USB, USB wireless, ...BRWhat mechanism does your mouse use: ball mouse, optical, trackball, ...BRHow many physical buttons and scrollwheels does you mouse have?
For a USB mouse enter the following command on a terminal/console:
$ lsusb -v > ~/lsusb-v
Open a terminal/console and enter the following commands (minimal information as described in KernelTeamBugPolicies):
$ uname -a > ~/uname-a $ cat /proc/version_signature > ~/version $ sudo lspci -vvnn > ~/lspci-vvnn
Attach ~/lsusb-v, ~/uname-a, ~/version and ~/lspci-vvnn to the bug report as seperate attachments.
In case your mouse is not detected at all
- Provide the General Information.
- If you have a PS/2 mouse make sure it was connected before booting Ubuntu, if you have a USB mouse unplug it an plug it in again to see if your mouse starts working again.
Enter the following commands in a terminal/console:
$ dmesg > ~/dmesg
Attach ~/dmesg and your /var/log/Xorg.0.log to the bug report in seperate attachments.
In case your mouse stops working after a while
- Provide the General Information.
Direct after GNOME, KDE or Xfce login open a terminal and enter the following commands:
$ dmesg > ~/dmesg_boot $ cp /var/log/Xorg.0.log ~/Xorg.0.log
- Wait until your mouse stops working. If you have a USB mouse unplug it an plug it in again to see if your mouse starts working again.
- Open a Virtual Terminal by pressing Ctrl-Alt-F1.
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
Attach dmesg_boot, dmesg_diff, Xorg.0.log and Xorg.0.log_diff to the bug report in separate attachments.
In case some mouse buttons/scrollwheel don't work (as expected)
- Provide the General Information.
Open a terminal and enter the following commands:
$ xmodmap -pp > ~/xmodmap-pp $ xev | grep -i button
Put the mouse cursor into the rectangle and push your mouse buttons. Mention in the bug report which button number is reported, e.g. left = 1, scrollwheel up = 4, horizontal scrollwheel left = 6, thumb button = 8, pinkie button = 9, ...Attach your /var/log/Xorg.0.log and ~/xmodmap-pp to the bug report in seperate attachments.
Known bugs
Description of known issues, how to recognise them and stock responses/actions.
Open
Bug# |
Description |
Action |
[https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/9068 bug #9068] |
Serial mouse isn't autodetected |
If you want your serial mouse to be autodetected in future versions of Ubuntu, please help by following the step described here: https://lists.ubuntu.com/archives/ubuntu-devel/2006-February/015020.html and attach the requested information to [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/9068 bug #9068]. |