Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keyboard problem after upgrade to modular X server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
geoffsid
n00b
n00b


Joined: 20 Sep 2007
Posts: 3
Location: Wales

PostPosted: Thu Sep 20, 2007 6:59 pm    Post subject: Keyboard problem after upgrade to modular X server Reply with quote

Hello

Can anyone please point me in the right direction. I have just migrated to the modular X server (because the monolithic X was blocking new packages). All went well with one exception, my keyboard is now scrambled with X (was OK previously). I have studied the "Migrating to Modular X HOWTO", various forums and Google but have not found a solution.
I am running an Ultra 10 with Sun Type 5 keyboard, kernel 2.4.x and this is the pertinent section of my xorg.conf:
Section "InputDevice"
Identifier "Keyboard0"
##
#
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbKeycodes" "sun(type5)"
Option "XkbModel" "type5"
Option "XkbRules" "sun"
Option "XkbLayout" "us"
Option "XkbTypes" "types/complete"
Option "XkbCompat" "compat/complete"
Option "XkbGeometry" "sun(type5unix)"
EndSection

My guess is that the modular X only works with kernel 2.6.x, can anyone confirm this?

Thanks
Back to top
View user's profile Send private message
dberkholz
Developer
Developer


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Sat Sep 22, 2007 8:40 am    Post subject: Reply with quote

Try dropping all your Xkb* options.
Back to top
View user's profile Send private message
geoffsid
n00b
n00b


Joined: 20 Sep 2007
Posts: 3
Location: Wales

PostPosted: Sat Sep 22, 2007 5:45 pm    Post subject: Reply with quote

Hello Again

Many thanks to dberkholz for the suggestion, I tried that but still had a scrambled keyboard ( only scrambled differently). However after following clues from the X sever error messages I have found a partial solution. I edited /usr/share/X11/xkb/symbols/sun_vndr/us as follows:
Changed all references to "sun/us(sunbasic)" into "sun_vndr/us(sunbasic)", changed "type5basic" into "sun5". Now I have a keyboard that mostly is correct but the left hand "Shift" is dead (use the right hand) and "Return" is dead (use Enter)
This is enough to be usable, but if anyone knows how to do the job properly I would be very happy to find out.

Regards
Back to top
View user's profile Send private message
dberkholz
Developer
Developer


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Sat Sep 22, 2007 6:45 pm    Post subject: Reply with quote

Hmm. Try this

XkbRules "sun"
XkbModel "type5"

and none of the other stuff.

You shouldn't mix RMLVO (Rules, Model, Layout, Variant, Options) with any other XKB settings or you'll get weird results.
Back to top
View user's profile Send private message
geoffsid
n00b
n00b


Joined: 20 Sep 2007
Posts: 3
Location: Wales

PostPosted: Sat Sep 22, 2007 7:39 pm    Post subject: Reply with quote

Yes, that works, but only with my edited version of /usr/share/X11/xkb/symbols/sun_vndr/us. Seems to me that the problem is to do with the directory name changing from "sun" to "sun_vndr"
I am afraid this is getting too heavy for a naive user like me, think I'll give it a rest for now.

Many Thanks
Back to top
View user's profile Send private message
dberkholz
Developer
Developer


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Sat Sep 22, 2007 8:35 pm    Post subject: Reply with quote

It might be fixed in a newer xkeyboard-config, but I've run into other issues with 1.0. A new 1.1 release should be coming out in the next couple of weeks, according to http://www.freedesktop.org/wiki/Software/XKeyboardConfig/ReleaseSchedule.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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