You are not logged in.
Pages: 1
Hi everyone,
i got a weird problem with the keyboard of my HP mini note. After a certain time of utilisation (10 minutes or so), i cannot use the key "a" anymore.
Do you have any idea where it may come from ?
Here's my xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "synaptics"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "record"
Load "dri2"
Load "glx"
Load "extmod"
Load "dri"
Load "dbe"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail"
Option "BlankTime" "25"
Option "AIGLX" "true"
Option "AutoAddDevices" "false"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbLayout" "be"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
EndSection
Section "InputDevice"
Identifier "synaptics"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "Fingerlow" "8"
Option "Fingerhigh" "25"
Option "MaxTapTime" "250"
Option "MaxTapMove" "180"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
Option "MaxSpeed" "1"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "HP"
ModelName "Mini Note 2400"
HorizSync 60
VertRefresh 60
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 945GME Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
Option "MigrationHeuristic" "greedy"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
and a part of my rc.conf
LOCALE="en_US.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Brussels"
KEYMAP="be"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
Thanks a lot !
Last edited by herve (2009-11-22 17:01:06)
Offline
Are you sure that this is not a hardware issue?
Offline
Yes I'm sure. Before I had this problem with the key "q". I reinstalled the system and it went well for 2 weeks. So i'm quite sure there's a configuration conflict somewhere but that's definetely not the hardware..
BTW it's a linux from scratch, so i don't have gnome, kde, ... and their GUI tools.
Offline
sudo cat /dev/input/by-path/*-kbd
Offline
I tried Procryon but the output doesn't make any sense (At least to me...)
It's something like:
Kh
Kh
Kh
K0
And if I press the key "A" it gives:
KKKK
K
K
K7K%7K*7
Another weird thing is that I can use "ctrl+a" and "Maj +a" without any problem...
Offline
This is when the 'a' key stopped working?
You could try the evdev keyboard driver instead of kbd.
Offline
Yes the result is when the key stopped working.
What sould I change in the xorg.conf in order to make the keyboard. I tried with modifying the driver but i had no keyboard at all..
Offline
Yes the result is when the key stopped working.
What sould I change in the xorg.conf in order to make the keyboard. I tried with modifying the driver but i had no keyboard at all..
No you have it. Change the line
Driver "kbd"
I think is better if you try without xorg.conf, move it aside. Xorg now auto-recognize a lot of things.
Offline
Option "XkbLayout" "be"
Maybe I should change that as well, no ? But by what ? "Evdevlayout" ?
Offline
"us"?
Offline
I tried that but without success
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "CoreKeyboard"
Option "EvdevLayout" "be"
EndSection
Is there anything wrong in that ?
I also tried without xorg but then it is the wrong keyboard layout [us] instead of [be]. I think that an alternative could be to set it in my start up script. I tried
sudo xkbsel /usr/share/kbd/keymaps/i386/azerty/be-latin1.map.gz
but i received
Cannot open database /var/lib/xkbsel/xkbseldb
?
Thanks for your help !
Last edited by herve (2009-11-21 17:22:18)
Offline
I see what you mean now, but there is no such option as evdevlayout.
Just use:
Option "XkbLayout" "be"
Offline
Oh sorry, i thought it was different...
The keyboard doesnt work at all with evdev.
So i think the best solution would be to set the keymap in the script that launch the x server (i added setkbdmap be). I'll give it a try. I hope it will work...
EDIT: i just tried this solution qnd it doesn't work as well. With this script at startup, x doesn't launch properly..
Last edited by herve (2009-11-22 14:38:34)
Offline
Try what Kazuo said and rename the xorg.conf file.
And when in X run setxkbmap -layout be this one seems to work better (it doesn't give an error like xkbsel)
Offline
Kazuo was right, deleting all the xorg.conf solved the problem.
Thanks guys !
Offline
Pages: 1