LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   [Keyboard] Every key works exept one! (https://www.linuxquestions.org/questions/debian-26/%5Bkeyboard%5D-every-key-works-exept-one-180069/)

EcceVery 05-10-2004 04:37 PM

[Keyboard] Every key works exept one!
 
I'm a swedish debian user, and so I use a swedish keyboard. Making all the keys work have been a big problem but now it seems that every key is working correctly exept just one - and thats the key where the pipe symbol is located. The tag-symbols (or "more" and "less" symbols if you like) are also located on that key.

pressing the key does nothing. Combining the key with ALT or CTRL does nothing either. USing ALT or ALT GR with other keys works fine.

The only thing i've done is choosing the swedish keyboard layout in the beginning of the debian setup, and later on marked the "sv_se" locale option.

Can anyone help me out here? I don't know the name of the keymap file and eaven if I did the file contents would probably tell me nothing.

dastrike 05-10-2004 05:50 PM

Did you choose pc105 (instead of the default option of pc104) as the keyboard model during the configuration of X?

You can re-run the configuration of X by executing
Code:

dpkg-reconfigure xserver-xfree86 --priority=medium

EcceVery 05-10-2004 06:44 PM

Yepp, and I tried again using the command you suggested. I've entered "se_SE" as keyboard variant (as a result of looking in /etc/X11/xkb/). No difference.

But I noticed right now that it's just in X this happens! If I quit my X session and try in console mode it works fine.

EcceVery 05-10-2004 06:55 PM

....which made me look in the /etx/X11/XFConfig-4 file and found that is configured as pc104 anyway. I changed it to pc105 and so I'm able to write the "<" and ">" symbols!

But everything has a flipside. Now ALT GR is unusable, so the pipe symbol still remains... along with "at" and other things....
Here's how it looks (XFConfig-4):

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "se_SE"
EndSection

dastrike 05-10-2004 07:40 PM

Here is how that section looks like here for me:
Code:

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"    "se"
EndSection

And what does the program xev report when you press the AltGr key? For me it reports on my Debian unstable installation:
Code:

KeyPress event, serial 24, synthetic NO, window 0x2e00001,
    root 0xaf, subw 0x0, time 26982927, (173,119), root:(339,321),
    state 0x10, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XLookupString gives 0 bytes:  ""
 
KeyRelease event, serial 24, synthetic NO, window 0x2e00001,
    root 0xaf, subw 0x0, time 26983810, (173,119), root:(339,321),
    state 0x90, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XLookupString gives 0 bytes:  ""

And on my fresh install of Debian 3.0r2:
Code:

KeyPress event, serial 27, synthetic NO, window 0x1c00001,
    root 0x32, subw 0x0, time 1904196733, (115,-14), root:(707,6),
    state 0x0, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
    XLookupString gives 0 characters:  ""
 
KeyRelease event, serial 27, synthetic NO, window 0x1c00001,
    root 0x32, subw 0x0, time 1904197017, (115,-14), root:(707,6),
    state 0x2000, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
    XLookupString gives 0 characters:  ""



All times are GMT -5. The time now is 01:09 PM.