DebuggingKeyboardDetection
⇤ ← Revision 1 as of 2007-08-09 14:57:10
5046
Comment:
|
4857
|
Deletions are marked like this. | Additions are marked like this. |
Line 42: | Line 42: |
== In case your mouse stops working after a while == | == In case your keyboard stops working after a while == |
Line 58: | Line 58: |
== In case some mouse buttons/scrollwheel don't work (as expected) == | == In case some keys of your keyboard don't work (as expected) == |
Line 61: | Line 61: |
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. |
1. Open a terminal/console and enter the following commands: {{{ $ xprop -root | grep XKB > ~/xprop }}} $ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd > ~/gconf }}} 1. Attach {{{~/xprop}}} and {{{~/gconf}}} to the bug report in seperate attachments. |
Line 73: | Line 73: |
##|| [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/9068 #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 steps 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]. || | ##|| [https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/9068 #9068] || Back and Forward keys don't work || If you want your serial mouse to be autodetected in future versions of Ubuntu, please help by following the steps 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]. || |
ContentsBRTableOfContents |
Introduction
If you have a laptop and the hotkeys don't work please follow the steps described here: LaptopTestingTeam/HotkeyResearch.
Problems with keyboard detection typically fall into one off these categories:
- Your keyboard doesn't work at all.
- Your USB keyboard stops working after a while.
- Some keys of your keyboard don't work (as expected).
How to file a bug report
Keyboard related bugs should initially be filed against xserver-xorg-input-keyboard. 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-keyboard task as invalid.
General information
For all bug categories the following general information should be provided:
- How is your keyboard connected to your PC: DIN, PS/2, USB, USB wireless, ...
For a USB keyboard 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 keyboard doesn't work at all
- Provide the [#generalinfo general information].
If you have a PS/2 keyboard make sure it was connected before booting Ubuntu.BRFor debugging you will need 2 computers in the same network. The second machine can be a Windows machine, in that case you need to install putty.exe from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html.
- If you have a USB keyboard unplug it an plug it in again to see if it 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 keyboard stops working after a while
- Provide the [#generalinfo 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 keys of your keyboard don't work (as expected)
- Provide the [#generalinfo general information].
Open a terminal/console and enter the following commands:
$ xprop -root | grep XKB > ~/xprop
$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd > ~/gconf }}}
Attach ~/xprop and ~/gconf to the bug report in seperate attachments.
Also see
DebuggingKeyboardDetection (last edited 2012-10-21 03:56:52 by penalvch)