Re: [RESUBMIT] [PATCH] Use BIOS Keyboard variable to set Numlock

From: Bodo Eggert
Date: Tue Feb 28 2012 - 13:32:57 EST


On Mon, 27 Feb 2012, H. Peter Anvin wrote:
On 02/27/2012 04:08 PM, Joshua C. wrote:

If so I'm not sure about it. We check the BIOS data area as defined
for IBM PCs (1981), so a fair amount of user should benefit from the
change. Those non-BIOS boots can set the numlock=0 and won't be
affected by this. I think this isa lot easier to implement than doing
it in the BIOS bootstrap code.


Here is a patch to query the BIOS state properly; if you could fill out
the rest of the patch then we can merge this in easily enough.

Asking the BIOS is as correct as querying the memory location (defined to have same result), but more expensive.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/