From owner-freebsd-x11@FreeBSD.ORG Fri Apr 10 09:10:51 2009 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44013106564A for ; Fri, 10 Apr 2009 09:10:51 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 055238FC1E for ; Fri, 10 Apr 2009 09:10:50 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LsCl6-0007v5-SH for freebsd-x11@FreeBSD.org; Fri, 10 Apr 2009 13:10:48 +0400 To: freebsd-x11@FreeBSD.org From: Boris Samorodov Date: Fri, 10 Apr 2009 13:10:48 +0400 Message-ID: <34088967@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: SUCCESS: xorg, hal and international keyboard X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2009 09:10:51 -0000 Hello List, I didn't find any full information on how to configure hal to use international keyboard with new xorg versions. That's my success story. When hal is used (it's a default for new xorg) the keyboard is configured according to LOCALBASE/share/hal/fdi/policy/10osvendor/10-x11-input.fdi My previous xorg.conf has defined keyboard as: ----- Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us,ru(winkeys)" Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll,altwin:menu" EndSection ----- The last two options should be moved to 10-x11-input.fdi. Beware that Option "XkbLayout" "us,ru(winkeys)" is equal to ----- Option "XkbLayout" "us,ru" Option "XkbVariant" ",winkeys" ----- One more change should be done at 10-x11-input.fdi: a match key for "linux" should be changed to "FreeBSD". ;-) So, for my keyboard the diff is (well, I've changed a comment also): ----- --- 10-x11-input.fdi.orig 2009-04-10 10:35:51.000000000 +0400 +++ 10-x11-input.fdi 2009-04-10 13:06:49.000000000 +0400 @@ -2,12 +2,13 @@ - + kbd - evdev + string="FreeBSD"> + us,ru + ,winkeys + grp:ctrl_shift_toggle,grp_led:scroll,altwin:menu ----- If nothing helps you may wish to restart hald. ;-) HTH & WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve