Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Xorg w/ hal mouse and keyboard not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ufoRocks
n00b
n00b


Joined: 30 Jul 2009
Posts: 8

PostPosted: Thu Jul 30, 2009 2:38 pm    Post subject: [solved] Xorg w/ hal mouse and keyboard not working Reply with quote

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
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Jul 30, 2009 3:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
ufoRocks
n00b
n00b


Joined: 30 Jul 2009
Posts: 8

PostPosted: Thu Jul 30, 2009 3:50 pm    Post subject: Reply with quote

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

Code:
modprobe evdev

Code:
update-modules
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Jul 30, 2009 4:07 pm    Post subject: Reply with quote

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
Code:
modprobe evdev
Code:
update-modules
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
View user's profile Send private message
ufoRocks
n00b
n00b


Joined: 30 Jul 2009
Posts: 8

PostPosted: Thu Jul 30, 2009 4:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Jul 30, 2009 5:14 pm    Post subject: Reply with quote

You're welcome. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum