You are not logged in.

#1 2009-04-13 07:40:17

DOKKA
Member
Registered: 2009-04-13
Posts: 2

No keyboard or mouse when I start X [Solved]

ok, I am seriously out of ideas here. I have tried everything that I know of.

I cannot get my keyboard to work in X on my hp 1035nr there is no mouse either. I have them plugged into a usb to ps2 converter. this shouldnt matter because the keyboard works outside of X just fine.
the standard laptop keyboard dosen't work in X either, I followed most of the guide to setting up the xorg.conf file. I have to shut the power off and restart it every time it fails because I cant use ctrl+alt+bkspace
I even compiled my own kernel from source just to make sure that wasn't it.

Section "Module"
    Load "freetype"
    # Load "xtt"
    Load  "extmod"
    Load  "glx"
    Load  "dri"
    Load  "dbe"
    Load  "record"
    Load  "xtrap"
    Load  "type1"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "Auto"
    Option        "Emulate3Buttons"
    Option        "Device" "/dev/input/mice"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option        "XkbModel" "pc101"
    Option        "XkbLayout" "us"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    Modeline "1024x600_60.00"  48.96  1024 1064 1168 1312  600 601 604 622  -HSync +Vsync
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    VideoRam    229376
    Option      "CacheLines" "1980"
    Option        "AccelMethod" "UXA"
    #Card        "Intel 810"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1024x600"
    EndSubSection
EndSection

output from lspci (just in case someone needds it)

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller

Any help would be greatly appreciated ....

Last edited by DOKKA (2009-04-13 17:37:28)

Offline

#2 2009-04-13 08:22:44

SIGTERMer
Member
From: South Sura, Kuwait
Registered: 2009-01-24
Posts: 41
Website

Re: No keyboard or mouse when I start X [Solved]

i'd try hotpluging. start hal (install it if you haven't already and make sure your root)

/etc/rc.d/hal start

and add this to your x.conf

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

then restart x

this might help smile

Last edited by SIGTERMer (2009-04-13 08:32:44)

Offline

#3 2009-04-13 08:22:44

SIGTERMer
Member
From: South Sura, Kuwait
Registered: 2009-01-24
Posts: 41
Website

Re: No keyboard or mouse when I start X [Solved]

*double post*

Last edited by SIGTERMer (2009-04-13 08:23:18)

Offline

#4 2009-04-13 09:54:49

Teoulas
Member
From: Athens, Greece
Registered: 2009-03-21
Posts: 70

Re: No keyboard or mouse when I start X [Solved]

Setting AutoAddDevices to false will disable hotplugging.

Try copying /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy/ and just use the evdev driver. More info here: http://wiki.archlinux.org/index.php/Xor … otplugging

Offline

#5 2009-04-13 10:14:54

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: No keyboard or mouse when I start X [Solved]

short version of solution posted at least 20 times on these forums smile :

remove all references to keyboard/mouse from xorg.conf
make sure you have xf86-input-evdev
make sure hal is started before starting xorg

Offline

#6 2009-04-13 11:12:19

SIGTERMer
Member
From: South Sura, Kuwait
Registered: 2009-01-24
Posts: 41
Website

Re: No keyboard or mouse when I start X [Solved]

Teoulas wrote:

Setting AutoAddDevices to false will disable hotplugging.

Try copying /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy/ and just use the evdev driver. More info here: http://wiki.archlinux.org/index.php/Xor … otplugging

oops! sorry for that.

Offline

#7 2009-04-13 16:42:17

DOKKA
Member
Registered: 2009-04-13
Posts: 2

Re: No keyboard or mouse when I start X [Solved]

YAAAAAAAAAAAY! Thanks yall!
Thats all it was!
I'm gonna use hotplugging from now on.
Also, This is the first time I've used ArchLinux, and I'm really impressed so far.

Offline

#8 2009-04-13 17:24:12

Teoulas
Member
From: Athens, Greece
Registered: 2009-03-21
Posts: 70

Re: No keyboard or mouse when I start X [Solved]

Great! Could you edit the thread topic and add a [Solved] tag?

Offline

#9 2009-04-13 17:34:21

SIGTERMer
Member
From: South Sura, Kuwait
Registered: 2009-01-24
Posts: 41
Website

Re: No keyboard or mouse when I start X [Solved]

DOKKA wrote:

YAAAAAAAAAAAY! Thanks yall!
Thats all it was!
I'm gonna use hotplugging from now on.
Also, This is the first time I've used ArchLinux, and I'm really impressed so far.

welcome to the club smile

Offline

Board footer

Powered by FluxBB