From owner-freebsd-questions@FreeBSD.ORG Fri May 15 17:06:05 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 7BE2A106566B; Fri, 15 May 2009 17:06:05 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 3FD4F8FC20; Fri, 15 May 2009 17:06:05 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.4] (adsl-19-244-249.bna.bellsouth.net [68.19.244.249]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n4FH5Zg8049490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 May 2009 13:05:35 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Christopher Arnold In-Reply-To: References: <1242397220.1755.88.camel@balrog.2hip.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-RUC0ytKUDD8clmbWO1ea" Organization: FreeBSD Date: Fri, 15 May 2009 12:05:04 -0500 Message-Id: <1242407104.1755.119.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net 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 17:06:06 -0000 --=-RUC0ytKUDD8clmbWO1ea Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2009-05-15 at 18:56 +0200, Christopher Arnold wrote: > Problem solved, see below.. >=20 > On Fri, 15 May 2009, Christopher Arnold wrote: >=20 > > 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) > >>>=20 > >>> So i guess this is the problem and that a rebuild of gnome/X11 did no= t > >>> help. It seems fairly close to the issues with hald/xorg.conf that we= saw > >>> the last time upgrading gnome. > >>>=20 > >>> What is actually the right config nowdays? > >>>=20 > >>> 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 > >>=20 > >> Using the above, you shouldn't need the lines below. Your devices nee= d > >> 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=20 > > alltogether. That is if i would have got the keyboard to work i would h= ave a=20 > > us one instead of my swedish. > > > >>> And in /etc/rc.conf: > >>> bus_enable=3D"YES" > >>> hald_enable=3D"YES" > >>>=20 > > If i comment these out then gdm dosn't even start since gdm requiers th= em i=20 > > guess. > > > With AllowEmptyInput and AutoAddDevices set to "off" and both dbus and=20 > hald enabled it now works... Why? This means that you are using purely static configured devices from xorg.conf. > Well i tried and xterm as usual and it didn't work. Decided to check if=20 > another program accepted input to rule out an error in xterm. So i used=20 > preferences/keyboard instead. I didn't expect it to work so i just presse= d=20 > a key and kept it down. Klick and then characters! >=20 > So in the end i managed to find out that slow keys somehow had become=20 > enabled in universal access preferences.... >=20 > Embarrasing... >=20 > But it is a bit strange that your suggestions did not work. > How come some people need the AllowEmptyInput and AutoAddDevices lines bu= t=20 > not others? It looks like hal is seeing your keyboard, but I don't see it picking up the mouse. You would need to look at lshal to figure out what is going on there. If you are using hal with a non-us keyboard layout you probably want to search the archives for the fdi setup to configure your keyboard layout. robert. > /Chris > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" --=20 Robert Noland FreeBSD --=-RUC0ytKUDD8clmbWO1ea Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAkoNoMAACgkQM4TrQ4qfROPBsgCeKa7MVpsXdBJl1oV1InQNsKhm GNwAniojmyN0Z55MQpjlHMkyAYYTnzQl =4N2B -----END PGP SIGNATURE----- --=-RUC0ytKUDD8clmbWO1ea--