You are not logged in.

#1 2009-12-03 21:17:31

bfo
Member
Registered: 2009-11-27
Posts: 44

[SOLVED] Keyboard under xorg not responding

I use newest xorg as of 03 December 2009. HAL, D-Bus installed, alongside with KDE4. In tty everything works fine, but after issuing

# telinit 5

both touchpad and keyboard stop working. That's my second install of Arch on ASUS K50IN lappy, in first one I encountered that very same problem, but it got solved after installation of HAL and using 'sudo telinit 5' instead of 'sudo /etc/rc.d/kdm start'. After I'd figured out the final working shape of xorg.conf, I backed it up and copied straight into my fresh install. Hotplugging disabled, although toggling its state doesn't change anything. And now input doesn't work. Kinda frunstrating, isn't it? What additional info am I supposed to provide here?

Last edited by bfo (2009-12-04 22:17:00)

Offline

#2 2009-12-03 21:35:49

deej
Member
Registered: 2008-02-08
Posts: 395

Re: [SOLVED] Keyboard under xorg not responding

Have you tried setting your inittab to boot straight into KDE, just to see if it works OK ?

Deej

Offline

#3 2009-12-03 22:01:20

bfo
Member
Registered: 2009-11-27
Posts: 44

Re: [SOLVED] Keyboard under xorg not responding

Either way, it doesn't work

Offline

#4 2009-12-03 22:14:22

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: [SOLVED] Keyboard under xorg not responding

Post your /etc/X11/xorg.conf and /var/log/Xorg.0.log

Offline

#5 2009-12-04 18:10:21

bfo
Member
Registered: 2009-11-27
Posts: 44

Re: [SOLVED] Keyboard under xorg not responding

xorg.conf:

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Touchpad" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    Option "AutoAddDevices" "True"
    
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
    Load  "synaptics"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "pl"
    Option "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier  "Touchpad"
    Driver      "synaptics"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
    Option        "SHMConfig"       "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by Archie mkxcfg



# Auto-generated by Archie mkxcfg


Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "C79 [GeForce G102M]"
    BusID        "PCI:2:0:0"
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
    SubSection "Display"
        Viewport  0 0
        Depth     32
        
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

This .conf is a mix of hwd -x and nvidia-xconfig outputs. I can't get access to Xorg.0.log, because after I run Xserver it's impossible for me to control the input and everything I can do is hold the power button for 5 seconds to turn the laptop off. Therefore after the reboot these files (both Xorg.0.log and Xorg.0.log.old) are empty, I think.

Last edited by bfo (2009-12-04 18:11:49)

Offline

#6 2009-12-04 18:21:54

deej
Member
Registered: 2008-02-08
Posts: 395

Re: [SOLVED] Keyboard under xorg not responding

A quick way to check to see if xorg.conf is the problem is to boot without one.
Just rename it xorg.conf.bak and reboot.

Deej

Offline

#7 2009-12-04 18:38:21

bfo
Member
Registered: 2009-11-27
Posts: 44

Re: [SOLVED] Keyboard under xorg not responding

I did that, resoluion was not fittted to my screen, and input didn't work.

Offline

#8 2009-12-04 18:51:40

deej
Member
Registered: 2008-02-08
Posts: 395

Re: [SOLVED] Keyboard under xorg not responding

You have added 'hal' to the daemons line in your /etc/rc.conf, haven't you ?
Just getting the obvious out of the way.

Deej

Offline

#9 2009-12-04 18:56:05

bfo
Member
Registered: 2009-11-27
Posts: 44

Re: [SOLVED] Keyboard under xorg not responding

Yes, hal and dbus start at bootup

Offline

#10 2009-12-04 18:59:51

deej
Member
Registered: 2008-02-08
Posts: 395

Re: [SOLVED] Keyboard under xorg not responding

Did you add 'dbus' to daemons as well ? I'm pretty sure it doesn't want to be there :-

DAEMONS=(syslog-ng network hal netfs crond)

Deej

[EDIT]

http://wiki.archlinux.org/index.php/Dbus

D-Bus is automatically started by HAL, you don't need to (and you shouldn't) add it to your DAEMONS array in /etc/rc.conf.

Just for your curiosity.

Last edited by deej (2009-12-04 19:02:11)

Offline

#11 2009-12-04 19:02:28

bfo
Member
Registered: 2009-11-27
Posts: 44

Re: [SOLVED] Keyboard under xorg not responding

The reason I put the dbus to DAEMONS array is that I was just experimenting trying to find the source of a problem. Anyway, regardless of whether dbus is there or not, I can see two messages at boot time, that is: one about hal and another one about D-Bus

Offline

#12 2009-12-04 19:10:39

deej
Member
Registered: 2008-02-08
Posts: 395

Re: [SOLVED] Keyboard under xorg not responding

I take it you've been thru' the Wiki:

http://wiki.archlinux.org/index.php/Tou … mmended.29

... I only ask because whilst your xorg.conf looks similar, it does have a line or two missing from the Wiki version.

Deej

Offline

#13 2009-12-04 19:17:49

bfo
Member
Registered: 2009-11-27
Posts: 44

Re: [SOLVED] Keyboard under xorg not responding

Nope, because I'm not even sure if that what exists in ASUS K50IN is an Synaptics Touchpad. Recently I've done some research and it appears to be Elantech touchapd recognized by kernel as Logitech PS/2 wheel mouse. Weird.

Offline

#14 2009-12-04 19:40:52

deej
Member
Registered: 2008-02-08
Posts: 395

Re: [SOLVED] Keyboard under xorg not responding

All I can suggest is go thru' the Wiki and use the preferred hotplugging method.
Log any errors then pop back here.
Don't forget to regenerate a fresh xorg.conf, or edit the old to remove synaptics etc...

Deej

Offline

#15 2009-12-04 20:23:18

bfo
Member
Registered: 2009-11-27
Posts: 44

Re: [SOLVED] Keyboard under xorg not responding

Right, thanks for your effort.

Offline

#16 2009-12-04 22:15:32

bfo
Member
Registered: 2009-11-27
Posts: 44

Re: [SOLVED] Keyboard under xorg not responding

So, finally I got it working. I now use minimal xorg.conf with output generated with nvidia-xconfig plus one additional section, but apparently, a crucial one. Namely,

Section "ServerFlags"
    Option "AutoAddDevices" "False"
EndSection

Well, I must say that this new "feature" of XServer is really a pain in the back...

Last edited by bfo (2009-12-04 22:16:02)

Offline

Board footer

Powered by FluxBB