Adding keymaps with busybox.
Natanael Copa
natanael.copa at gmail.com
Mon Aug 9 06:56:47 UTC 2010
On Sun, Aug 8, 2010 at 5:10 AM, Michael D. Setzer II
<mikes at kuentos.guam.net> wrote:
> I have the g4l project that uses busybox, and was just asked by a user how
> to have it use a swiss german keyboard??
>
> The rcS file has an line that was comment out long ago by a previous
> maintainer of the project that has the line.
>
> #/sbin/loadkmap < /var/lib/kbd/keymap.map
>
> As far as I can tell, the g4l has never had that directory, so I am assuming
> this was copied from somewhere else. I would think that one would only
> need to find the correct keymap.map file, and load it with the busybox
> loadkmap which is built into the busybox, but I don't seem to be able to find a
> location for these keymap.map files?
As I understand the bb loadkmap needs a binary dump of the keymap.
There was a patch that made kbd output those binary dumps. I think the
patch went in upstream. (see
https://bugs.gentoo.org/show_bug.cgi?id=175179)
I converted a bunch of the keymaps some time ago. They are available here:
http://dev.alpinelinux.org/bkeymaps/
>
> G4L is a console only boot cd, so it is just console keyboard mapping.
>
> It may also be something that needs to be done in the kernel builds, which
> are the straight kernel.org kernels.
No, I think you only need the binary dump of the keymaps.
>
> Thanks.
>
> +----------------------------------------------------------+
> Michael D. Setzer II - Computer Science Instructor
> Guam Community College Computer Center
> mailto:mikes at kuentos.guam.net
> mailto:msetzerii at gmail.com
> http://www.guam.net/home/mikes
> Guam - Where America's Day Begins
> +----------------------------------------------------------+
>
> http://setiathome.berkeley.edu (Original)
> Number of Seti Units Returned: 19,471
> Processing time: 32 years, 290 days, 12 hours, 58 minutes
> (Total Hours: 287,489)
>
> BOINC at HOME CREDITS
> SETI 9763292.210122 | EINSTEIN 4142549.740851
> ROSETTA 2027290.462519 | ABC 1443090.360569
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>
--
Natanael Copa
More information about the busybox
mailing list