From owner-freebsd-questions@FreeBSD.ORG Fri May 1 15:59:58 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 55B7C1065672 for ; Fri, 1 May 2009 15:59:58 +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 0D90B8FC14 for ; Fri, 1 May 2009 15:59:57 +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 1Lzv9X-000JTu-Mj; Fri, 01 May 2009 19:59:55 +0400 To: PJ References: <49F6DDAC.60800@videotron.ca> <24851107@bb.ipt.ru> <49FAFFCF.9060702@videotron.ca> <200905011617.17118.tijl@ulyssis.org> <49FB167B.3060104@videotron.ca> From: Boris Samorodov Date: Fri, 01 May 2009 19:59:55 +0400 In-Reply-To: <49FB167B.3060104@videotron.ca> (PJ's message of "Fri\, 01 May 2009 11\:34\:19 -0400") Message-ID: <12361812@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: freebsd-questions@freebsd.org Subject: Re: French-Canadian Keyboard & keyboard switching 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, 01 May 2009 15:59:58 -0000 On Fri, 01 May 2009 11:34:19 -0400 PJ wrote: > Tijl Coosemans wrote: > > On Friday 01 May 2009 15:57:35 PJ wrote: > >> The physical keyboard is a Compaq, identical layout of the Logitech I > >> am using on this XP. This one is set to switch beween us & canadian > >> multi. > >> But the ca(multi) setting does not work either alone or with the us > >> for switching. The accent keys are dead. Maybe the option for the > >> keys should be set to nodeadkeys. > >> But this is not worth pursuing as I am spending too much time on this > >> as is. I have things under control, it just seems strange that the > >> ca(multi) cannot be installed. Could be fluxbox? Oh well. > > > > I just tried ca(multi) under fluxbox and it just works. What version of > > Xorg do you have (output of "X -version")? And what is the output of > > "grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca"? > > > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > Option "AllowEmptyInput" "off" So you don't want to use hal... > EndSection > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > Option "CoreKeyboard" "yes" > Option "XkbModel" "pc105" > Option "XkbLayout" "us,ca(multi)" > Option "XkbRules" "xorg" > Option "XkbOptions" "grp:alt_shift_toggle" > Option "CustomKeycodes" "on" > EndSection > ====from log: > (**) Option "CoreKeyboard" > (**) Keyboard0: always reports core events > (**) Option "Protocol" "standard" > (**) Keyboard0: Protocol: standard > (**) Option "AutoRepeat" "500 30" > (**) Option "XkbRules" "xorg" > (**) Keyboard0: XkbRules: "xorg" > (**) Option "XkbModel" "pc105" > (**) Keyboard0: XkbModel: "pc105" > (**) Option "XkbLayout" "us,ca(multi)" > (**) Keyboard0: XkbLayout: "us,ca(multi)" > (**) Option "XkbOptions" "grp:alt_shift_toggle" > (**) Keyboard0: XkbOptions: "grp:alt_shift_toggle" > (**) Option "CustomKeycodes" "on" > (**) Keyboard0: CustomKeycodes enabled > (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) > (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" "us" > (**) AT Keyboard: XkbLayout: "us" > (**) Option "CustomKeycodes" "off" > (**) AT Keyboard: CustomKeycodes disabled > (II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD) I'm not an expert in hal, but seems that hal is used. May be disabling hal helps? > ==== > Any idea if "CustomKeycodes" should be used? Strange that it looks like > its off for one (which one} I added this but I have no idea where or if > it should be used. Had no effect, anyway. The switch works but the > ca(multi) just does not. > Or do we have to set up a another keyboard like Keyboard1 ? I'm lost. If you want to use hal (and configure your kdb via hal) then you may be interested in: http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008185.html WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve