You are not logged in.

#1 2010-05-27 22:42:29

Mirage
Member
Registered: 2009-03-19
Posts: 19

Keyboard doesn't work after xinit

So I reinstalled my laptop recently (was all working before so i just kept my xorg to get rid of that hassle) And strangely the mouse works fine when I test X, however the keyboard ceases to work causing me to do a hard reboot to get out of the problem.


This is my Xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder62)  Tue Mar 24 06:15:32 PST 2009


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "SynapticsTouchpad" "SendCoreEvents"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "synaptics"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "SynapticsTouchpad"
    Driver         "synaptics"
    Option         "Device" "/dev/psaux"
    Option         "Protocol" "auto-dev"
    Option         "SHMConfig" "false"
    Option         "LeftEdge" "1700"
    Option         "RightEdge" "5300"
    Option         "TopEdge" "1700"
    Option         "BottomEdge" "4200"
    Option         "FingerLow" "25"
    Option         "FingerHigh" "30"
    Option         "MaxTapTime" "180"
    Option         "VertEdgeScroll" "true"
    Option         "HorizEdgeScroll" "true"
    Option         "CornerCoasting" "true"
    Option         "CoastingSpeed" "0.30"
    Option         "VertScrollDelta" "100"
    Option         "HorizScrollDelta" "100"
    Option         "MinSpeed" "0.10"
    Option         "MaxSpeed" "0.60"
    Option         "AccelFactor" "0.0020"
    Option         "VertTwoFingerScroll" "true"
    Option         "HorizTwoFingerScroll" "true"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "ConnectedMonitor" "DFP"
    Option         "RenderAccel" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

I don't know but it may be possible I'm missing a driver or something (though I believe I got all the xf86-input-keyboard and such stuff that I thought was required for it to work)


Anyone?

Offline

#2 2010-05-27 23:21:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Keyboard doesn't work after xinit

How about xf86-input-evdev? Are you using testing? Is hal running? Can you post your DAEMONS array?

Last edited by karol (2010-05-27 23:21:30)

Offline

#3 2010-05-27 23:57:36

Mirage
Member
Registered: 2009-03-19
Posts: 19

Re: Keyboard doesn't work after xinit

Never could get HAL working right so no, not using testing, and no not evdev; But I'll try it.

Offline

#4 2010-05-28 00:00:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Keyboard doesn't work after xinit

> was all working before
Did you install the same packages, the same versions? Did you do it manually or fed pacman a list?

I'm not a notebook guru so those are just wild guesses related to general installation procedures.

Offline

#5 2010-05-28 00:13:51

Mirage
Member
Registered: 2009-03-19
Posts: 19

Re: Keyboard doesn't work after xinit

Haha, I just installed what I thought I had done last time, though I doubt an updated version would've caused much of a problem (Strangely last time I set this up, it was the exact opposite problem)


Turns out evdev was already installed.

Offline

#6 2010-05-28 00:17:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Keyboard doesn't work after xinit

Are there any errors?
Maybe you need some udev rules? Try to search the wiki & forums.

Offline

#7 2010-05-28 00:35:28

Mirage
Member
Registered: 2009-03-19
Posts: 19

Re: Keyboard doesn't work after xinit

Offline

#8 2010-05-28 00:40:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Keyboard doesn't work after xinit

Let's start from the top:

(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.

Hmmm, what can we do about it? Try adding this to your xorg.conf:

Section "ServerFlags"
     Option "AutoAddDevices" "False"
     Option "AllowEmptyInput" "no" 
EndSection

I'm not sure whether 'Option "AutoAddDevices" "False"' is needed but let's keep it for now.

Last edited by karol (2010-05-28 00:42:05)

Offline

#9 2010-05-28 00:56:52

Mirage
Member
Registered: 2009-03-19
Posts: 19

Re: Keyboard doesn't work after xinit

Yeah, that fixed it; thanks.


Don't know why that wasn't an issue last time.

Offline

Board footer

Powered by FluxBB