From owner-freebsd-x11@FreeBSD.ORG Wed Feb 4 17:43:20 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 8CE3E106568E for ; Wed, 4 Feb 2009 17:43:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0E9CE8FC2A for ; Wed, 4 Feb 2009 17:43:19 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n14Hh9uB071590; Wed, 4 Feb 2009 17:43:15 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.1 smtp.infracaninophile.co.uk n14Hh9uB071590 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1233769395; bh=7B7NPwiYgQT5+5pWky39KnlgI+TPWyQ7nTdiYkQAG1w=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4989D3A7.6040701@infracaninophile.co.uk>|Date:=20W ed,=2004=20Feb=202009=2017:43:03=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.19=20(X11/20090125)|MIME-Vers ion:=201.0|To:=20dikshie=20|CC:=20freebsd-x11@f reebsd.org|Subject:=20Re:=20japanese=20keyboard=20after=20xorg=20u pgrade|References:=20<910e60e80902040643x13f6db8bs6a3db93e85ddf679 @mail.gmail.com>|In-Reply-To:=20<910e60e80902040643x13f6db8bs6a3db 93e85ddf679@mail.gmail.com>|X-Enigmail-Version:=200.95.6|Content-T ype:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protoc ol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"---------- --enigB6385A89296459D3F8975762"; b=nGRGoj+1uKVVliHr/p3g9EcplIxIJsCDwA/yg+a1uhboFi9u1tiz3eMaSUEvs4twY ZZz500WTtvqhV5HyipmX/2VKPHAVlIuFVSKUhxNvmQe37jX774wsQCmfrKFnF2rhlq 5IZWbAInjek2uY6AP55fFWXS5WFHTgwFlsayxXs0= Message-ID: <4989D3A7.6040701@infracaninophile.co.uk> Date: Wed, 04 Feb 2009 17:43:03 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: dikshie References: <910e60e80902040643x13f6db8bs6a3db93e85ddf679@mail.gmail.com> In-Reply-To: <910e60e80902040643x13f6db8bs6a3db93e85ddf679@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigB6385A89296459D3F8975762" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 04 Feb 2009 17:43:15 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/8950/Wed Feb 4 11:19:05 2009 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-x11@freebsd.org Subject: Re: japanese keyboard after xorg upgrade 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: Wed, 04 Feb 2009 17:43:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB6385A89296459D3F8975762 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable dikshie wrote: > Hi, > any explanation why my japanese keyboard > does not work after xorg upgrade? >=20 >=20 > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > Option "XkbRules" "xorg" > Option "XkbModel" "jp106" > Option "XkbLayout" "jp" > EndSection >=20 > any solutions? Is it hald that's detecting your keyboard for the X server? You can tell this by reading Xorg.0.log -- something like this indicates hal=20 involvement: (II) config/hal: Adding input device AT Keyboard (**) AT Keyboard: always reports core events (**) Option "Protocol" "standard" (**) AT Keyboard: Protocol: standard (**) Option "AutoRepeat" "500 30" (**) Option "XkbRules" "xorg" (**) AT Keyboard: XkbRules: "xorg" (**) Option "XkbModel" "pc105" (**) AT Keyboard: XkbModel: "pc105" (**) Option "XkbLayout" "gb" (**) AT Keyboard: XkbLayout: "gb" (**) Option "CustomKeycodes" "off" (**) AT Keyboard: CustomKeycodes disabled (II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD) Now, hal has no way of telling what sort of layout a keyboard has automatically[*]. You can tell it what to use by creating a file /usr/local/etc/hal/fdi/policy/x11-input.fdi with contents similar to this: gb Obviously, you'ld want 'jp' in ther rather than 'gb'. [Not certain exactly what you'ld need to add to override the default XkbModel setting (pc105) -- but I suspect analogy and guesswork will serve you well enough in this instance] Note that there is a race condition on system reboot between xdm(1) or whatever display manager you use starting up and hald(8) having fully initialised -- there have been a number of workarounds posted in this list. Alternatively you can use the following setting in the ServerLayout section of xorg.conf: Option "AllowEmptyInput" "off" This essentially tells X to just use the values from xorg.conf. Cheers, Matthew [*] As far as I know. It seems like a pretty odd omission to me and I'd love to be proved wrong. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigB6385A89296459D3F8975762 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkmJ060ACgkQ8Mjk52CukIxWgQCdFQ/id+iqJCM44es8Y64DDrof pmUAoIjhz2Din2SsYCch7ivZAShnIkNP =wq7y -----END PGP SIGNATURE----- --------------enigB6385A89296459D3F8975762--