From owner-freebsd-questions@FreeBSD.ORG Wed Sep 30 22:59:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AE14106568B for ; Wed, 30 Sep 2009 22:59:35 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 1E2698FC1A for ; Wed, 30 Sep 2009 22:59:34 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n8UMxXaZ082151; Wed, 30 Sep 2009 16:59:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n8UMxXUb082148; Wed, 30 Sep 2009 16:59:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 30 Sep 2009 16:59:33 -0600 (MDT) From: Warren Block To: chrisa@uvic.ca In-Reply-To: <302a6d597e448786230d74aa2ccb7502.squirrel@wm3.uvic.ca> Message-ID: References: <1b3000aab88ea400a8a60a56aea835c5.squirrel@wm3.uvic.ca> <20090930073601.GA824@sandcat> <6900371da03b4f476e7ff154adb9e12a.squirrel@wm3.uvic.ca> <6201873e0909301220u3cfea5a2n59a576ca6d9d1009@mail.gmail.com> <340fe87c23ba55b89024231e59dad7f1.squirrel@wm3.uvic.ca> <302a6d597e448786230d74aa2ccb7502.squirrel@wm3.uvic.ca> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Wed, 30 Sep 2009 16:59:34 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: problems with hal in freebsd 7.2 i386 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 22:59:35 -0000 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