Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2009 16:59:33 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        chrisa@uvic.ca
Cc:        freebsd-questions@freebsd.org
Subject:   Re: problems with hal in freebsd 7.2 i386
Message-ID:  <alpine.BSF.2.00.0909301650330.82084@wonkity.com>
In-Reply-To: <302a6d597e448786230d74aa2ccb7502.squirrel@wm3.uvic.ca>
References:  <1b3000aab88ea400a8a60a56aea835c5.squirrel@wm3.uvic.ca> <20090930073601.GA824@sandcat> <6900371da03b4f476e7ff154adb9e12a.squirrel@wm3.uvic.ca> <6201873e0909301220u3cfea5a2n59a576ca6d9d1009@mail.gmail.com> <340fe87c23ba55b89024231e59dad7f1.squirrel@wm3.uvic.ca> <alpine.BSF.2.00.0909301357000.81404@wonkity.com> <f5f079e5d49d7c886e0086dc6fcc3853.squirrel@wm3.uvic.ca> <alpine.BSF.2.00.0909301717390.70573@qvzrafvba.5c.ybpny> <302a6d597e448786230d74aa2ccb7502.squirrel@wm3.uvic.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Sep 2009, chrisa@uvic.ca 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"
EndSection

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/"
EndSection

Section "DRI"
 	Group 0
 	Mode  0660
EndSection

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

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"
EndSection

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

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0909301650330.82084>