View previous topic :: View next topic |
Author |
Message |
geoffsid n00b
Joined: 20 Sep 2007 Posts: 3 Location: Wales
|
Posted: Thu Sep 20, 2007 6:59 pm Post subject: Keyboard problem after upgrade to modular X server |
|
|
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 |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
Posted: Sat Sep 22, 2007 8:40 am Post subject: |
|
|
Try dropping all your Xkb* options. |
|
Back to top |
|
|
geoffsid n00b
Joined: 20 Sep 2007 Posts: 3 Location: Wales
|
Posted: Sat Sep 22, 2007 5:45 pm Post subject: |
|
|
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 |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
Posted: Sat Sep 22, 2007 6:45 pm Post subject: |
|
|
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 |
|
|
geoffsid n00b
Joined: 20 Sep 2007 Posts: 3 Location: Wales
|
Posted: Sat Sep 22, 2007 7:39 pm Post subject: |
|
|
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 |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
|
Back to top |
|
|
|