Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved ... kinda] Strange GDM keyboard layout problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
s_bernstein
Apprentice
Apprentice


Joined: 11 Mar 2006
Posts: 172
Location: Bremen, Germany

PostPosted: Sat Feb 04, 2012 11:23 am    Post subject: [Solved ... kinda] Strange GDM keyboard layout problem Reply with quote

I've got a rather strange problem with my german keyboard layout in gdm - and no, this is not one of the many where you have to add a Section "InputClass" into your xorg.conf.d, because I've done all this and it was working fine for years.

Since I had to replace my old keyboard :( my gdm layout for the new (german) keyboard is "us". I've not changed anything in my config files and my old keyboard is still "de". The old one was a Cordless Desktop MX attached via PS/2 - the new one is a MX5500 Rev attached via USB. But even when use my old keyboard on the USB port it will work as german keyboard.

And now the really strange thing: When I attach both keyboards (via PS/2 or USB doesn't matter) my new one is "us", the old one is "de" until I press a key on the old keyboard. After that, my new keyboard is switched to "de".

So the question is: How do I get my keyboard working as german keyboard from the start, without having a second keyboard attached?

Any ideas, anyone?


Last edited by s_bernstein on Fri Mar 02, 2012 7:34 am; edited 1 time in total
Back to top
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 189
Location: Zurich, Switzerland

PostPosted: Sat Feb 04, 2012 2:07 pm    Post subject: interesting Reply with quote

can you paste kernel config, Xorg Log and all xorg.conf keyboard related stuff into pastebin please?

i assume you want to keep the new USB keyboard, so the Xorg log should be while only the USB keyboard is connected.

in GDM you mean the problem is only while in GDM or also after you login to gnome or what..?
Back to top
View user's profile Send private message
s_bernstein
Apprentice
Apprentice


Joined: 11 Mar 2006
Posts: 172
Location: Bremen, Germany

PostPosted: Sun Feb 05, 2012 8:56 am    Post subject: Reply with quote

Quote:
in GDM you mean the problem is only while in GDM or also after you login to gnome or what..?

Only in GDM. Gnome runs just fine - always did.

Also tried the Gentoo 11 Live DVD which uses kdm and kde - no problem there.

kernel config
xorg.conf
keyboard-conf
Xorg.0.log
Back to top
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 189
Location: Zurich, Switzerland

PostPosted: Sun Feb 05, 2012 10:32 am    Post subject: Reply with quote

something fishi in the xorg log. it tries to apply the DE layout to mouse also.
not completely sure but.

But can you take aside this file 30-Logitech-MX5500.conf

And replace it with only this?

/etc/X11/xorg.conf.d/30-keyboard.conf

Code:
Section "InputClass"
        Identifier "keyboard-all"
        Driver "evdev"
        Option "XkbLayout" "de"
        Option "XkbModel" "evdev"
        Option "XkbRules" "xorg"
        Option "XkbOptions" "grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_alt_bksp"
        Option "XkbVariant" ",qwerty"
        MatchIsKeyboard "on"
EndSection


i know the variant might not be correct for DE "qwerty" but want to see if your keyboard will be DE after this in GDM.
Back to top
View user's profile Send private message
s_bernstein
Apprentice
Apprentice


Joined: 11 Mar 2006
Posts: 172
Location: Bremen, Germany

PostPosted: Mon Feb 06, 2012 7:15 am    Post subject: Reply with quote

Well. the Logitech MX 5500 is a bluetooth desktop (aka keyboard mouse combo) and both the mouse and the keyboard will be identified as keyboard and mouse. To be exact the BT receiver also recognized as as mouse and keyboard with all the keys and axes but doesn't do anything.

Short of changing the default catchall keyboard and mouse settings to ignore logitech I have no other ideas. Maybe there's a way to ensure that the keyboard isn't recognized as mouse? Where does this come from? Udev?
Back to top
View user's profile Send private message
s_bernstein
Apprentice
Apprentice


Joined: 11 Mar 2006
Posts: 172
Location: Bremen, Germany

PostPosted: Fri Mar 02, 2012 7:34 am    Post subject: Reply with quote

OK, so this seems to be a problem with gdm-2.20.11-r1. Updateing to the hard masked 2.32.1-r1 solves the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum