| View previous topic :: View next topic |
| Author |
Message |
ufoRocks n00b

Joined: 30 Jul 2009 Posts: 8
|
Posted: Thu Jul 30, 2009 2:38 pm Post subject: [solved] Xorg w/ hal mouse and keyboard not working |
|
|
After following the directions at [url]en.gentoo-wiki.com/wiki/HAL[/url] my mouse and keyboard no longer work with xorg. I've been looking around trying to find out what to do to my xorg.conf or how to setup the input devices with hal, but I cannot find how. How do I get my mouse and keyboard to work in xorg with hal enabled?
My xorg.conf looks like this: (I already tried with input device sections)
| Code: | Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen0" 0 0
# InputDevice "Mouse1" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
# Load "dri"
Load "record"
Load "xtrap"
Load "extmod"
Load "dbe"
Load "glx"
EndSection
# Section "InputDevice"
# Identifier "Keyboard0"
# Driver "kbd"
# Option "AutoRepeat" "500 30"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# EndSection
# Section "InputDevice"
# Identifier "Mouse1"
# Driver "mouse"
# Option "Protocol" "PS/2"
# Option "Device" "/dev/input/mice"
# Option "ZAxisMapping" "4 5 6 7"
# EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce 8600 GT"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
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 hal0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
|
My xorg was working prior to the installation of hal, but I need xorg working with it. Can anyone please help?
Last edited by ufoRocks on Thu Jul 30, 2009 4:58 pm; edited 1 time in total |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Jul 30, 2009 3:15 pm Post subject: |
|
|
Hmm, I never needed to reconfigure HAL. What is the output of rc-status
and | Code: | | grep EE /var/log/Xorg.0.log; tail -n20 /var/log/Xorg.0.log |
|
|
| Back to top |
|
 |
ufoRocks n00b

Joined: 30 Jul 2009 Posts: 8
|
Posted: Thu Jul 30, 2009 3:50 pm Post subject: |
|
|
Ahh it's a hassle without copy and past so I'll shorten the outputs.
rc-status:
| Code: | runlevel: default
hald [started]
... |
grep EE /var/log/Xorg.0.log; tail -n20 /var/log/Xorg.0.log gives a ton of module evdev not found.
grep EVDEV /usr/src/linux/.config says
| Code: | | COFIG_INPUT_EVDEV=y |
Should I:
| Code: | | emerge xf86-input-evdev |
|
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Jul 30, 2009 4:07 pm Post subject: |
|
|
| ufoRocks wrote: | | Ahh it's a hassle without copy and past so I'll shorten the outputs. |
You can emerge gpm and start it then you could copy/paste in links.
| Quote: | Should I:
| Code: | | emerge xf86-input-evdev |
| No because it's not compiled as a module.
But you need xf86-input-evdev. It should have been pulled in as a dependency if you have this in your make.conf | Code: | | INPUT_DEVICES="evdev" |
|
|
| Back to top |
|
 |
ufoRocks n00b

Joined: 30 Jul 2009 Posts: 8
|
Posted: Thu Jul 30, 2009 4:56 pm Post subject: |
|
|
| Yes! I think I added evdev after emerging hal I didn't know it would trigger more dependencies. An emerge --deep --newuse -world fixed it all. Thanks! |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Jul 30, 2009 5:14 pm Post subject: |
|
|
You're welcome.  |
|
| Back to top |
|
 |
|