Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
b key not working in x
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
sremy69
n00b
n00b


Joined: 15 Apr 2005
Posts: 4

PostPosted: Mon Apr 18, 2005 4:38 pm    Post subject: b key not working in x Reply with quote

I have a weird problem where the b key on my type 5c keyboard doesn't work under x. All of the rest of the keys seem to work fine. The key works if I exit x11. Anyone have any ideas?
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Mon Apr 18, 2005 4:44 pm    Post subject: Reply with quote

Please review this thread and the links included in it: https://forums.gentoo.org/viewtopic-t-324865.html and if you still have problems, you can post your xorg.conf file, what your system is (Ultra2, sparc20, or whatever), and what your kernel is. This does not guarantee you a good answer, but it makes it easier for others to guess what is going on.
Back to top
View user's profile Send private message
sremy69
n00b
n00b


Joined: 15 Apr 2005
Posts: 4

PostPosted: Mon Apr 18, 2005 4:51 pm    Post subject: Reply with quote

Identifier "Keyboard1"
Driver "keyboard"
Option "Protocol" "Standard"
Option "XkbKeycodes" "sun(type5)"
Option "XkbModel" "type5"
Option "XkbRules" "sun"
Option "XkbLayout" "en_US"
Option "XkbTypes" "types/complete"
Option "XkbCompat" "compat/complete"
Option "XkbGeometry" "sun(type5unix)"
EndSection

this is my keyboard section of my xorg.conf. I am using kernel 2.4.29 on an Enterprise 4000 with 5 250 Mhz processors and 3 gigs of ram.
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Mon Apr 18, 2005 10:57 pm    Post subject: Reply with quote

I am now out of ideas. Is this for all X applications, or are you in gnome, or kde, or ....? If you don't get any better response here, you might try asking on the gentoo-sparc mailing list or on the freenode #gentoo-sparc IRC channel.

The one time I saw something like this (except for me it was a dead 'l (L)' key), the problem was an out-of-date library, but I don't think you are likely to run into problems like that anymore. I vaguely recall having heard similar complaints on the #gentoo-sparc channel, but I don't remember the resolution. Sorry; all I can suggest is that you keep asking.

By the way, if all else fails, you might be able to force 'b-key' == 'b', but the approach counts as tacky. You can use 'xev' to see just what the 'b-key' is sending, then use xmodmap to map that onto the 'b' character. That might work, but it is definitely clumsy and unsatisfying. Better is to figure out just what application is getting the key wrong, but I don't see it.
Back to top
View user's profile Send private message
i-right-i
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2004
Posts: 118
Location: Chandler, AZ USA

PostPosted: Tue Apr 19, 2005 4:15 pm    Post subject: Keyboard Reply with quote

Any particular reason why your using Keyboard1 instead of Keyboard0 ? Do you have 2 Keyboards configured?

Just a thought.

i-right-i
_________________
Gentoo on x86
Gentoo on SPARC
Back to top
View user's profile Send private message
sremy69
n00b
n00b


Joined: 15 Apr 2005
Posts: 4

PostPosted: Tue Apr 19, 2005 9:27 pm    Post subject: Reply with quote

no reason, that is just the way it was on the xorg.conf.example
Back to top
View user's profile Send private message
i-right-i
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2004
Posts: 118
Location: Chandler, AZ USA

PostPosted: Tue Apr 19, 2005 9:51 pm    Post subject: Reply with quote

Here is a copy of my xorg.conf on my Ultra 10.

I am running Kernel 2.4.29

I would make sure you have this first part setup right

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "HandleSpecialKeys" "Always"
EndSection

Then there is the actuall device itself

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "Protocol" "Standard"
Option "XkbKeycodes" "sun(type5)"
Option "XkbModel" "type5"
Option "XkbLayout" "us"
Option "XkbRules" "sun"
Option "XkbTypes" "types/complete"
Option "XkbCompat" "compat/complete"
Option "XkbGeometry" "sun(type5unix)"
EndSection

Hope this helps.

i-right-i
_________________
Gentoo on x86
Gentoo on SPARC
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