<div dir="ltr">hi,<br>i have a laptop in which due to a hardware problem, computer thinks the caps lock key is pressed about 5 times a second, at random. i&#39;ve disabled caps lock at the X11 level, and it&#39;s now usable. however, a few programs still have problems with the fact that a key is pressed (regardless of it being caps lock). also, i can&#39;t use the consoles at ctrl+alt+f[1..6]. <br>

i wanted to have the kernel filter out caps lock and have the userland never see that is was pressed. to this end i edited drivers/char/keyboard.c and added a few spots where i <span style="font-family: courier new,monospace;">return</span> if the key is caps lock. this doesn&#39;t seem to work. <br>

anyone have any better ideas as to where i should be looking?<br><br>thanks<br><br>boazg<br></div>