From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <50BC014F.7090206@gmail.com> Date: Mon, 3 Dec 2012 01:33:03 +0000 From: Murray Colpman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.24) Gecko/20100317 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <50BBF629.5020609@gmail.com> <20121203010858.AFADFB827@mail.bitblocks.com> In-Reply-To: <20121203010858.AFADFB827@mail.bitblocks.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Raspberry Pi: keyboard layout Topicbox-Message-UUID: ef123606-ead7-11e9-9d60-3106f5b1d025 On 03/12/12 01:08, Bakul Shah wrote: > On Mon, 03 Dec 2012 00:45:29 GMT Murray Colpman wrote: >> When I run the kbmap program, attempting to set a map flashes up an >> error about not being able to find /dev/kbmap. Looking at the manpages, >> it seems that /dev/kbmap is supposed to be brought in with bind -a >> '#kappa' /dev (with kappa obviously replaced with the actual kappa >> letter). I did snarf the kappa from the manpage, and I also tried typing >> it on the keyboard in various ways (compose, *, k for instance), so I >> don't think that the issue is that I'm unable to type kappa correctly. >> Anyway, when I run this bind command, I get "bind: #kappa: unknown >> device in # filename" (again, kappa replaced with the actual kappa). > > You need to compile the driver in. Add > kbmap > to the dev section in config file /sys/src/9/bcm/pi. mk and > then copy 9pi to the dos partition. > > dossrv -f /dev/sdM0/dos > mount -c /sv/dos /n/dos > cp /sys/src/9/bcm/9pi /n/dos/9pi > fshalt > Thank you very much for the instructions! Just tried it, kbmap now works perfectly, and I have now set the keyboard map in my lib/profile. It all works :D - now I just have to hack together a UK Dvorak - the map files look easy enough to fiddle with. I'll do this tomorrow as I should really be sleeping now, though. Thanks a lot! Murray Colpman.