You are not logged in.

#1 2009-11-19 21:01:49

herve
Member
Registered: 2009-09-05
Posts: 13

[solved] keyboard issue

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

#2 2009-11-19 21:06:11

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: [solved] keyboard issue

Are you sure that this is not a hardware issue?

Offline

#3 2009-11-19 22:12:13

herve
Member
Registered: 2009-09-05
Posts: 13

Re: [solved] keyboard issue

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

#4 2009-11-19 22:54:47

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: [solved] keyboard issue

sudo cat /dev/input/by-path/*-kbd

Offline

#5 2009-11-20 00:10:47

herve
Member
Registered: 2009-09-05
Posts: 13

Re: [solved] keyboard issue

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

#6 2009-11-20 08:42:04

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: [solved] keyboard issue

This is when the 'a' key stopped working?

You could try the evdev keyboard driver instead of kbd.

Offline

#7 2009-11-20 20:33:11

herve
Member
Registered: 2009-09-05
Posts: 13

Re: [solved] keyboard issue

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

#8 2009-11-20 20:38:24

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: [solved] keyboard issue

herve wrote:

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

#9 2009-11-21 11:45:56

herve
Member
Registered: 2009-09-05
Posts: 13

Re: [solved] keyboard issue

Option      "XkbLayout" "be"

Maybe I should change that as well, no ? But by what ? "Evdevlayout" ?

Offline

#10 2009-11-21 12:25:04

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: [solved] keyboard issue

"us"?

Offline

#11 2009-11-21 16:57:32

herve
Member
Registered: 2009-09-05
Posts: 13

Re: [solved] keyboard issue

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

#12 2009-11-22 10:23:20

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: [solved] keyboard issue

I see what you mean now, but there is no such option as evdevlayout.
Just use:
Option      "XkbLayout" "be"

Offline

#13 2009-11-22 14:14:23

herve
Member
Registered: 2009-09-05
Posts: 13

Re: [solved] keyboard issue

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

#14 2009-11-22 14:57:22

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: [solved] keyboard issue

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

#15 2009-11-22 17:00:12

herve
Member
Registered: 2009-09-05
Posts: 13

Re: [solved] keyboard issue

Kazuo was right, deleting all the xorg.conf solved the problem.

Thanks guys !

Offline

Board footer

Powered by FluxBB