Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[solved] Xorg w/ hal mouse and keyboard not working

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
ufoRocks
n00b
n00b
Posts: 8
Joined: Thu Jul 30, 2009 1:01 am

[solved] Xorg w/ hal mouse and keyboard not working

  • Quote

Post by ufoRocks » Thu Jul 30, 2009 2:38 pm

After following the directions at en.gentoo-wiki.com/wiki/HAL 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: Select all

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.
Top
Mike Hunt
Watchman
Watchman
User avatar
Posts: 5287
Joined: Sun Jul 19, 2009 11:01 pm

  • Quote

Post by Mike Hunt » Thu Jul 30, 2009 3:15 pm

Hmm, I never needed to reconfigure HAL. What is the output of rc-status

and

Code: Select all

grep EE /var/log/Xorg.0.log; tail -n20 /var/log/Xorg.0.log
Top
ufoRocks
n00b
n00b
Posts: 8
Joined: Thu Jul 30, 2009 1:01 am

  • Quote

Post by ufoRocks » Thu Jul 30, 2009 3:50 pm

Ahh it's a hassle without copy and past so I'll shorten the outputs.

rc-status:

Code: Select all

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: Select all

COFIG_INPUT_EVDEV=y
Should I:

Code: Select all

emerge xf86-input-evdev

Code: Select all

modprobe evdev

Code: Select all

update-modules
Top
Mike Hunt
Watchman
Watchman
User avatar
Posts: 5287
Joined: Sun Jul 19, 2009 11:01 pm

  • Quote

Post by Mike Hunt » Thu Jul 30, 2009 4:07 pm

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. :)

Should I:

Code: Select all

emerge xf86-input-evdev

Code: Select all

modprobe evdev

Code: Select all

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: Select all

 INPUT_DEVICES="evdev"
Top
ufoRocks
n00b
n00b
Posts: 8
Joined: Thu Jul 30, 2009 1:01 am

  • Quote

Post by ufoRocks » Thu Jul 30, 2009 4:56 pm

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!
Top
Mike Hunt
Watchman
Watchman
User avatar
Posts: 5287
Joined: Sun Jul 19, 2009 11:01 pm

  • Quote

Post by Mike Hunt » Thu Jul 30, 2009 5:14 pm

You're welcome. :)
Top
Post Reply

6 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic