[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#364932: Workaround Re: xorg: My keyboard no longer works after upgrading



Same problem here... my keyboard no longer works under X after upgrading
my testing laptop. All keys (no numerical pad on a laptop) does a
resolution switch (as Ctrl-Alt-+/- does), except Ctrl-Alt-Backspace.

-->
My config is standard :

------
Section "InputDevice"
    Identifier  "Generic Keyboard"
    Driver      "kbd"
    Option      "CoreKeyboard"
    Option      "XkbRules"  "xorg"
    Option      "XkbModel"  "pc105"
    Option      "XkbLayout" "fr"
EndSection
------


-->
Nothing strange appear in Xorg logs, and on the standard error output
( "[---" & "---]" announce my cuttings) :

------
% startx 2>sortie
% cat sortie
expected keysym, got XF86_Switch_VT_1: line 8 of xfree86
expected keysym, got XF86_Switch_VT_2: line 11 of xfree86
[--- similar message repeated 14 times ---]
> Warning:          Multiple interpretations of
"NoSymbol+AnyOfOrNone(all)"
>                   Using last definition for duplicate fields
[--- same message repeated 16 times ---]
expected keysym, got XF86_Switch_VT_1: line 52 of pc
expected keysym, got XF86_Switch_VT_2: line 56 of pc
[--- similar message repeated 23 times ---]
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2
symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Could not init font path element /usr/share/fonts/X11/TTF/, removing
from list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from
list!
Could not init font path element /usr/share/fonts/X11/CID/, removing
from list!
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Failed to open input method
------


-->
I do the following symbolic links :

------
# ln -s /usr/share/X11/XKeysymDB /usr/lib/X11/XKeysymDB
# ln -s /etc/X11/xkb /usr/lib/X11/xkb
# ln -s /usr/share/X11/XErrorDB /usr/lib/X11/XErrorDB
------

Nothing change. I also tried :

------
% export XKBPATH='/usr/share/X11/xkb'
% startx
------

But no effect.


-->
As Noel Maddy say, I've modified /etc/X11/xkb/symbols/pc/pc, but no
changes for me.


-->
I purge all xorg 6.9 packages, except libice6 because there're many
packages which depend on it.


-->
I try to pass to layout us, but the keyboard still don't work :

------
% startx 2>sortie
# sed -i {s/"fr"/"us"/} xorg.conf
% startx 2>sortie2
% diff sortie*
[--- lines about "creating new authority file" and "Log file" logically
different ---]
< expected keysym, got SunFA_Circum: line 55 of fr
< expected keysym, got SunFA_Diaeresis: line 55 of fr
[--- similar message repeated 6 times ---]
< > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2
symbols
< >                   Ignoring extra symbols
---
> expected keysym, got dead_horn: line 86 of us
> expected keysym, got dead_hook: line 120 of us
[--- similar message repeated 3 times ---]
[--- X servers shut down ---]
------


-->
As Antoine Sirinelli, if I change my xorg.conf by putting a foo name
for XkbRules :
Option          "XkbRules"      "foo" or "xfree"
The keyboard works except the shift and alt keys (ctrl work). The Xorg
log is only :

------
(II) XINPUT: Adding extended input device "Configured Mouse" (type:
MOUSE)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type:
KEYBOARD)
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
(II) Configured Mouse: ps2EnableDataReporting: succeeded
------

And nothing special on standard error output.


-->
Moreover the roller of mouse (USB) don't work for copy/paste :
- nothing of all with xterm ;
- with rxvt and firefox, in the same window it's good, but not from one
window to another.


-->
I have another machine in testing uptodate, the upgrade cause no
problem... The only specificity which I see to the broken system, it's
that it was not reinstalled for a long time (beginnig with a stable
potato).

System information :
------
libgl1-mesa-dri          6.4.2-1   A free implementation of the OpenGL
API --
libgl1-mesa-glx          6.4.2-1   A free implementation of the OpenGL
API --
libglu1-mesa             6.4.2-1   The OpenGL utility library (GLU)
xbase-clients            7.0.1-2   miscellaneous X clients
xfonts-100dpi            1.0.0-2   100 dpi fonts for X
xfonts-100dpi-transcoded 1.0.0-2   100 dpi fonts for X (transcoded from
ISO
xfonts-75dpi             1.0.0-2   100 dpi fonts for X
[--- Yes, 100dpi for the 75dpi package (?) ---]
xfonts-75dpi-transcoded  1.0.0-2   75 dpi fonts for X (transcoded from
ISO
xfonts-base              1.0.0-3   standard fonts for X
xfonts-scalable          1.0.0-4   scalable fonts for X
xkb-data                 0.8-5     X Keyboard Extension (XKB)
configuration
xserver-xorg             7.0.20    the X.Org X server
xserver-xorg-core        1.0.2-8   X.Org X server -- core server
xserver-xorg-input-kbd   1.0.1.3-2 X.Org X server -- keyboard input
driver
xserver-xorg-input-mouse 1.0.4-3   X.Org X server -- mouse input driver
xserver-xorg-input-synaptics 0.14.4-5 Synaptics TouchPad driver for
xserver-xorg-input-wacom 0.7.4.1-3 X.Org X server -- wacom input driver
xserver-xorg-video-all   7.0.20    the X.Org X server -- output driver
[--- many display driver ---]
xutils                   7.0.0-3   X Window System utility programs
------


Thanks by advance, and sorry for my poor english ;)



Reply to: