Hi,
Am 2013-04-28 23:07, schrieb Bakul Shah:
On 28 Apr 2013 22:01:17 +0200 "Holger Sebert"
<holger.seb...@ruhr-uni-bochum.de> wrote:
I did a quick hack on kbd.c and could make the "<,>,|" key
work. Awesome! Thank you all for your help.
What was the fix?
The relevant section from kbd.c is
if(kbscan->esc1){
c = kbtabesc1[c];
kbscan->esc1 = 0;
} else if(kbscan->esc2){
kbscan->esc2--;
return;
} else if /* ... */
The logic that is implemented here implies that
sequences of the form "e0 xx" cannot be combined
with a modifier like Shift or AltGr.
Since "<,>,|" is the only key on my keyboard for
which this is relevant, I simply changed the first
line to
if(kbscan->esc1 && c != 0x58){
/*...*/
This way, the sequence "e0 58" is actually interpreted
as "58", so that Shift and AltGr again work.
Of course, this is not a clean solution at all. But at
least it does not change the semantics of the kbmap-file.
In the 'bcm' directory some modules refer to 'omap' although
they apparently mean 'port', like this:
#include "../omap/random.c"
which should be
#include "../port/random.c"
Files from ../port are automatically picked up so you don't
need files in bcm that just include ../port/something.
Furthermore, I noticed that the build system would build _all_
of the kernel each time I invoke 'mk', even though only little
or nothing has changed. Is this the way it is intended to be?
Looks like your source files have a modification time newer
than the current time (as seen on your machine). Either
manually set date/time on boot (if not connected to the net)
or set
TIMESYNCARGS=(-n pool.ntp.org)
in /rc/bin/termrc.local. Pick a public ntpserver near you
instead of pool.ntp.org.
Oh yes, did not think about the missing RTC on the Pi. Thanks
for the solution!
Best,
Holger