problems with hal in freebsd 7.2 i386

Warren Block wblock at
Wed Sep 30 22:59:35 UTC 2009

On Wed, 30 Sep 2009, chrisa at wrote:

>> Add the following to your X11 config and see what you come up with.
>> Section "ServerFlags"
>>          option  "AutoAddDevices"        "off"
>>          option  "AllowEmptyInput"       "off"
>> EndSection
>> Best regards
> All right, I did that.

What are you trying to fix with those entries?

> Created a new xorg.conf since it's working with the autoconfig now.

And what is in it?

> The mouse and keyboard still work, and Xorg.0.log follows.

> (EE) config/hal: NewInputDeviceRequest failed (8)
> (II) config/hal: Adding input device AT Keyboard
> (EE) config/hal: NewInputDeviceRequest failed (8)

Well, that's broken.  Look, there are basically two ways to configure 
keyboard and mouse for xorg.  There's the old way, where you have 
InputDevice entries for them in xorg.conf.

Then there's the new way, where you run hal and let it handle the 
keyboard and mouse for xorg.  No InputDevice sections are needed.  For 
example, here is my xorg.conf from the Acer Aspire One.  Note the lack 
of InputDevice sections and those magic ServerFlags options.

Section "ServerLayout"
 	Identifier   "AA1 Manually Configured"
 	Screen       0  "Screen0" 0 0
 	Option       "DontZap" "Off"
 	Option       "AIGLX" "On"

Section "Files"
 	ModulePath   "/usr/local/lib/xorg/modules"
 	FontPath     "/usr/local/lib/X11/fonts/misc/"
 	FontPath     "/usr/local/lib/X11/fonts/TTF/"
 	FontPath     "/usr/local/lib/X11/fonts/OTF"
 	FontPath     "/usr/local/lib/X11/fonts/Type1/"
 	FontPath     "/usr/local/lib/X11/fonts/100dpi/"
 	FontPath     "/usr/local/lib/X11/fonts/75dpi/"
 	FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"

Section "DRI"
 	Group 0
 	Mode  0660

Section "Monitor"
 	Identifier   "Monitor0"
 	VendorName   "LGD"
 	Option       "DPMS"

Section "Device"
 	Identifier  "Card0"
 	Driver      "intel"
 	VendorName  "Intel Corporation"
 	BoardName   "Mobile 945GME Express Integrated Graphics Controller"
 	BusID       "PCI:0:2:0"
 	Option      "Monitor-LVDS" "Monitor0"
 	Option      "MonitorLayout" "LVDS,VGA"
 	Option      "AccelMethod" "EXA"
 	Option      "MigrationHeuristic" "greedy"
 	Option      "CacheLines" "1980"

Section "Screen"
 	Identifier "Screen0"
 	Device     "Card0"
 	Monitor    "Monitor0"
 	SubSection "Display"
 		Virtual 1024 600

-Warren Block * Rapid City, South Dakota USA

More information about the freebsd-questions mailing list