From owner-freebsd-questions@FreeBSD.ORG Fri May 15 16:56:53 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 A88751065670 for ; Fri, 15 May 2009 16:56:53 +0000 (UTC) (envelope-from chris@arnold.se) Received: from mailstore.infotropic.com (mailstore.infotropic.com [213.136.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id 065C58FC14 for ; Fri, 15 May 2009 16:56:52 +0000 (UTC) (envelope-from chris@arnold.se) Received: (qmail 70023 invoked by uid 89); 15 May 2009 16:56:51 -0000 Received: from unknown (HELO ?192.168.123.36?) (chris@arnold.se@85.132.191.41) by mailstore.infotropic.com with ESMTPA; 15 May 2009 16:56:51 -0000 Date: Fri, 15 May 2009 18:56:48 +0200 (CEST) From: Christopher Arnold X-X-Sender: chris@localhost To: Robert Noland In-Reply-To: Message-ID: References: <1242397220.1755.88.camel@balrog.2hip.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-message-flag: =?ISO-8859-1?Q?Outlook_isn=B4t_compliant_with_current_standards_please_install_another_mail_client!?= MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: ports@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Keyboard not working in gnome? 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: Fri, 15 May 2009 16:56:54 -0000 Problem solved, see below.. On Fri, 15 May 2009, Christopher Arnold wrote: > On Fri, 15 May 2009, Robert Noland wrote: > >> On Fri, 2009-05-15 at 13:05 +0200, Christopher Arnold wrote: >>> In Xorg.0.log i see: >>> (II) config/hal: Adding input device USB Receiver >>> (EE) config/hal: NewInputDeviceRequest failed (8) >>> (II) config/hal: Adding input device AT Keyboard >>> (EE) config/hal: NewInputDeviceRequest failed (8) >>> (The at part makes sense, i only have USB on this machine) >>> >>> So i guess this is the problem and that a rebuild of gnome/X11 did not >>> help. It seems fairly close to the issues with hald/xorg.conf that we saw >>> the last time upgrading gnome. >>> >>> What is actually the right config nowdays? >>> >>> I have the following in xorg.conf: >>> Section "ServerLayout" >>> Identifier "Simple Layout" >>> Screen "Screen 1" 0 0 >>> InputDevice "Mouse1" "CorePointer" >>> InputDevice "Keyboard1" "CoreKeyboard" >>> Option "AllowEmptyInput" "off" >>> Option "AutoAddDevices" "off" >>> EndSection >> >> Using the above, you shouldn't need the lines below. Your devices need >> to be statically configured in xorg.conf. If you are using hald, then >> remove both the AllowEmptyInput and AutoAddDevices lines above. I > When i commment theese out i get neither keyboard or mouse. > Also i notice in the xorg logfile that my "Keyboard1" gets ignored > alltogether. That is if i would have got the keyboard to work i would have a > us one instead of my swedish. > >>> And in /etc/rc.conf: >>> bus_enable="YES" >>> hald_enable="YES" >>> > If i comment these out then gdm dosn't even start since gdm requiers them i > guess. > With AllowEmptyInput and AutoAddDevices set to "off" and both dbus and hald enabled it now works... Why? Well i tried and xterm as usual and it didn't work. Decided to check if another program accepted input to rule out an error in xterm. So i used preferences/keyboard instead. I didn't expect it to work so i just pressed a key and kept it down. Klick and then characters! So in the end i managed to find out that slow keys somehow had become enabled in universal access preferences.... Embarrasing... But it is a bit strange that your suggestions did not work. How come some people need the AllowEmptyInput and AutoAddDevices lines but not others? /Chris