From owner-freebsd-ports@FreeBSD.ORG Tue Sep 17 20:43:29 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 55E4BA61; Tue, 17 Sep 2013 20:43:29 +0000 (UTC) (envelope-from mazhe@alkumuna.eu) Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [IPv6:2a01:e0c:1:1599::15]) by mx1.freebsd.org (Postfix) with ESMTP id 51DC5220E; Tue, 17 Sep 2013 20:43:26 +0000 (UTC) Received: from yggdrasil.alkumuna.eu (unknown [IPv6:2a01:e35:8a74:6e70:232:36ff:fe5c:3a87]) by smtp6-g21.free.fr (Postfix) with ESMTP id 8146382328; Tue, 17 Sep 2013 22:43:18 +0200 (CEST) Received: from localhost ([192.168.10.100]) (authenticated bits=0) by yggdrasil.alkumuna.eu (8.14.5/8.14.5) with ESMTP id r8HKhG2O042894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 17 Sep 2013 22:43:16 +0200 (CEST) (envelope-from mazhe@alkumuna.eu) Date: Tue, 17 Sep 2013 22:43:03 +0200 From: Matthieu Volat To: Vitaly Magerya Subject: Re: [CFT] Update of xorg libraries and MESA Message-ID: <20130917224303.5ca86c49@alkumuna.eu> In-Reply-To: <523894AF.90608@gmail.com> References: <522DC3EB.4060607@freebsd.org> <522DE093.9080504@freebsd.org> <5236C259.3020100@gmail.com> <20130916090354.GW33103@ithaqua.etoilebsd.net> <5236F136.5030905@gmail.com> <3DE81815-D203-44BF-A1C0-BF9921EF57BC@alkumuna.eu> <523894AF.90608@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.2) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/8AZB7oPtO9x+CGqeO2J6Jwe"; protocol="application/pgp-signature" Cc: ports@freebsd.org, x11@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Sep 2013 20:43:29 -0000 --Sig_/8AZB7oPtO9x+CGqeO2J6Jwe Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 17 Sep 2013 20:43:11 +0300 Vitaly Magerya wrote: > On 09/17/2013 10:29, Matthieu Volat wrote: > > Just as a side note : I tested the devd backend and mouse & keyboard we= re detected. > > But what would be the best way to set the keyboard layout now? >=20 > You should add something like this to your xorg.conf: >=20 > Section "InputClass" > Identifier "All The Keyboards" > MatchDevicePath "/dev/*kbd*" > Option "XkbLayout" "us,ru" > <-- any other kbd(4) options here --> > EndSection >=20 > (Warning: not tested). >=20 > This should work with any backend, be it HAL or DEVD; see "INPUTCLASS" > section of xorg.conf man page for details on how it works. Thanks, I was not aware of this section type which seems to be definitively= the way to go. It is indeed working with hal based configuration (after removing the bits = from hal config), but not so much with the devd backend. First of all, with a quite bare configuration file (no ServerFlags options)= , I do have the following messages in log file: [ 8342.054] (=3D=3D) Not automatically adding devices [ 8342.054] (=3D=3D) Not automatically enabling devices Strangely, keyboard and mouse are added, with default settings, ignoring InputClass settings. If I force AutoAddDevices and AutoEnableDevices, these messages are switched to confirm devices will be s= earched and enabled... Except that I don't have keyboard/mouse in this case. If it can help, here's my xorg.conf : https://gist.github.com/mazhe/6600263 --=20 Matthieu Volat --Sig_/8AZB7oPtO9x+CGqeO2J6Jwe Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iEYEARECAAYFAlI4vuMACgkQ+ENDeYKZi37NsACgiPH7lSkL6cGLp0X9HaICTcIa v1wAn0RlpBT1hiNszPAa6Jhv7+UUdIt9 =WR+i -----END PGP SIGNATURE----- --Sig_/8AZB7oPtO9x+CGqeO2J6Jwe--