Need help: Lost keyboard after xorg upgrade

Michael auslands-kv at gmx.de
Sun Aug 8 23:33:28 PDT 2010


Thanks for the ideas.

Yes, I have the /etc/default/keyboard file. It has the entries:

XKBMODEL="pc105"
XKBLAYOUT="de"
XKBVARIANT="de"
XKBOPTIONS="altwin:super_win"

The file is (except of the XKBOPTIONS) identical to the one on the other 
laptop which works fine.

I looked into the /etc/udev/rules.d and they also seem to be identical 
between the two laptops.

>> > Copy and edit this file :
>> > cat /etc/X11/xorg.conf.d/00-system-setup-keyboard.conf
>> > # This file is autogenerated by system-setup-keyboard. Any
>> > # modifications will be lost.
>> > 
>> > Section "InputClass"
>> >         Identifier      "system-setup-keyboard"
>> >         MatchIsKeyboard "on"
>> >         Option          "XkbModel"      "pc105"
>> >         Option          "XkbLayout"     "pt"
>> > #       Option          "XkbVariant"    "(null)"
>> >         Option          "XkbOptions"    "terminate:ctrl_alt_bksp,"
>> > EndSection

> system-setup-keyboard is fedora-specific. the debian equivalent is in
> /etc/defaults/keyboard.

Not sure if this is the same, but I tried using an xorg.conf file (instead 
of default: no file):

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "de"
        Option          "XkbVariant"    "nodeadkeys"
        Option          "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Buttons"               "3"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizEdgeScroll"       "0"
EndSection

Section "Device"
        Identifier      "Configured Video Device"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Synaptics Touchpad"
EndSection

Does not make any difference (Xorg.0.log is attached): mouse keeps working, 
keyboard not.

>> > meanwhile
>> > setxkbmap pt
>> > will help you to have your keyboard on X .

Where should I use that?
Before starting X, it gives me "Cannot open defualt display". After starting 
X, I cannot switch to a console or type anything, as the keyboard is not 
running.

>> > loadkeys pt
>> > will help have your keyboard on console
>> > (just change pt for yours kdb country)

Console is already working fine. The keyboard is only missing in X.


Thanks for the help. I hope we can fix it.

Michael

Peter Hutterer wrote:

> On Mon, Aug 09, 2010 at 02:24:23AM +0100, Sergio Monteiro Basto wrote:
>> Hi have you a package system-setup-keyboard ?
>> system-setup-keyboard is a daemon that monitors /etc/sysconfig/keyboard
>> and writes out an xorg.conf.d snippet based on  this file?s contents
>> 
>> first you should have /etc/sysconfig/keyboard with something like:
>> KEYTABLE="pt-latin1"
>> MODEL="pc105"
>> LAYOUT="pt"
>> KEYBOARDTYPE="pc"
> 
> system-setup-keyboard is fedora-specific. the debian equivalent is in
> /etc/defaults/keyboard.
> 
> Cheers,
>   Peter
> 
>> On Mon, 2010-08-09 at 00:52 +0100, Sergio Monteiro Basto wrote:
>> > On Sun, 2010-08-08 at 09:43 +0200, Michael wrote:
>> > > Hi
>> > > 
>> > > I use Debian SID on two laptops here. One works without any problem.
>> > > The other has lost the keyboard in X after last dist-upgrade.
>> > > 
>> > > After start of KDM you see the login manager with the cursor
>> > > blinking. You can move the mouse and position the cursor as well as
>> > > mark any text. However, the keyboard does not change or enter any
>> > > text, just as if there where no keyboard. (I tried using an external
>> > > USB keyboard as well. Did not work either...)
>> > > 
>> > > The system is running without an xorg.conf file. I tried using one
>> > > with keyboard definitions in, but it did not change anything.
>> > 
>> > Copy and edit this file :
>> > cat /etc/X11/xorg.conf.d/00-system-setup-keyboard.conf
>> > # This file is autogenerated by system-setup-keyboard. Any
>> > # modifications will be lost.
>> > 
>> > Section "InputClass"
>> >         Identifier      "system-setup-keyboard"
>> >         MatchIsKeyboard "on"
>> >         Option          "XkbModel"      "pc105"
>> >         Option          "XkbLayout"     "pt"
>> > #       Option          "XkbVariant"    "(null)"
>> >         Option          "XkbOptions"    "terminate:ctrl_alt_bksp,"
>> > EndSection
>> > 
>> > 
>> > meanwhile
>> > setxkbmap pt
>> > will help you to have your keyboard on X .
>> > loadkeys pt
>> > will help have your keyboard on console
>> > (just change pt for yours kdb country)
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: gcfx-xorg-2 at m.gmane.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: text/x-log
Size: 25723 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20100809/ca2ce53f/attachment.bin>


More information about the xorg mailing list