On Mon, Mar 5, 2012 at 2:16 PM, Koen Kooi <[email protected]> wrote: > > Op 5 mrt. 2012, om 14:12 heeft Andrea Adami het volgende geschreven: > >> On Sun, Mar 4, 2012 at 12:40 AM, Andrea Adami <[email protected]> wrote: >>> Hi, >>> while testing some new kernels I found out a broken keymap. >>> After short research I could identify the cause in >>> recipes-bsp/keymaps/files/keymap.sh: >>> ... >>> KERNEL_MAJMIN=`uname -r | cut -d '.' -f 1,2` >>> if [ -e /etc/keymap-$KERNEL_MAJMIN.map ]; then >>> loadkeys /etc/keymap-$KERNEL_MAJMIN.map >>> fi >>> ... >>> >>> $ uname -r | cut -d '.' -f 1,2 >>> 3.2 >>> >>> >>> I realized we are still using some old keymap-2.6.map and this doesn't >>> match with KERNEL_MAJMIN. >>> Now, renaming the keymaps to 3.2 would be only a band-aid, 3.3 is coming. >>> >>> Maybe we should check for keymap-3.map, i.e. >>> >>> uname -r | cut -d '.' -f 1,1 >>> >>> or embed the machine name instead. >>> >>> Regards >>> >>> Andrea >> >> Actually this all sounds remnant of linux 2.4 vs. 2.6 times. >> >> Probably today we can just set: >> ... >> if [ -e /etc/keymap.map ]; then >> ... >> >> and the BSP layers will have to rename the overrides only once. > > Or just drop it completely and let udev handle it? > > regards, > > Koen
Well, maybe as second step, first I'd say we need to fix the initscripts. Cheers Andrea > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
