Posts: 14
coq_vi
Joined: 23 Jun 2008
#1
Hello,

I have just installed antix m7-2 with Fluxbox, on a dell inspiron 4000 800mhz laptop with a swiss-french keyboard. My hardware has been well recognized execept for the keyboard. I edited the xorg.conf file and changed the XkbLayout option to fr_CH-latin1. This layout seems to be the right choice but I still have a few keys that do not respond at all : Alt Gr ; è ; à and a few others. The keys seem not to have registered. I have tried various xkbModel options such as pc101 ; pc102 ; pc104 ; dell ; laptop, but this doesn't seem to have an influence on my problem.

Before installing antix I was running Simply Mepis 7 and everything worked well.
As antix benefits of the same hardware identification tools there must be a way to define my keyboard. As I wrote changing my XbkModel in xorg.conf dose not have any incidence on my system...

Thank you in advance for any help you could think of.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#2
To confirm if the keys are actually being seen or not open a terminal and type xev. You should get a small window open and when you press a key some info should appear. What your looking for is the key number.
Posts: 14
coq_vi
Joined: 23 Jun 2008
#3
Thank you very much for replying Eriefisher.



After typing the xev command in terminal I get the following issue when I type a"q" :



KeyRelease event, serial 32, synthetic NO, window 0x1600001,

root 0x46, subw 0x0, time 2244885, (-897,130), root:(206,157),

state 0x0, keycode 24 (keysym 0x71, q), same_screen YES,

XLookupString gives 1 bytes: (71)"q"

XFilterEvent returns: False



and the following when I type a"à" :



KeyRelease event, serial 32, synthetic NO, window 0x1000001,

root 0x46, subw 0x0, time 2435666, (-603,437), root:(500,464),

state 0x0, keycode 48 (keysym 0x0, NoSymbol), same_screen YES,

XLookupString gives 0 bytes:

XFilterEvent returns: False



I guess the second issue recognized the key : keycode 48, but has no symbol linked to it.

Dose this confirm that the entries for my keyboard in Xorg.conf are false ?



Section"InputDevice"

Identifier"Keyboard0"

Driver"keyboard"

Option"CoreKeyboard"

Option"XkbModel""pc102"

Option"XkbLayout""fr_CH-latin1"

Option"XKbOptions"""

EndSection



The computer is a Dell inspiron 4000 laptop.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#4
Well it looks like the key is seen but has no function. I would have to do some reading about attaching a symbol as it's been a while. It looks as though you should be able to get it to work.
Posts: 14
coq_vi
Joined: 23 Jun 2008
#5
I would be very great full to be able to configure my keyboard. I find Antix very surprising it has given a second youth to my Dell Pentium III and would be sad to have to abandon it.
I hope though that the reading won't be too time consuming for you.

I just booted with the nogui cheat and created a text file with nano. With X not running my keyboard works perfectly well.

Can that help ?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#6
Maybe this from Gentoo will help.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://gentoo-wiki.com/TIP_Speak_Your_Language"
linktext was:"http://gentoo-wiki.com/TIP_Speak_Your_Language"
====================================


For xorg it suggests something other than what you have.
Posts: 14
coq_vi
Joined: 23 Jun 2008
#7
anticapitalista wrote:Maybe this from Gentoo will help.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://gentoo-wiki.com/TIP_Speak_Your_Language"
linktext was:"http://gentoo-wiki.com/TIP_Speak_Your_Language"
====================================


For xorg it suggests something other than what you have.
Fantastic ! All my key are recognized... Thank you Anticapitalista !

Here is my new Xorg.conf entry for the keyboard :

Section"InputDevice"
Identifier"Keyboard0"
Driver"keyboard"
Option"CoreKeyboard"
Option"XkbModel""pc102"
Option"XkbLayout""ch"
Option"XKbVariant""fr" # French
EndSection

From now on I can really say Antix is Magix !

I am going to post this issue on Mepislovers Forum.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#8
Is there anything the folks over at Gentoo haven't figured out? Great resource. Nice catch Anti!

One of these days I will have to load Gentoo. I tried Sabayon once and it was real nice KDE/compiz out of the box with video drivers. Someone is working hard.