* [kbd] NR_KEYS value @ 2010-01-02 23:55 Alexey Gladkov 2010-01-05 0:28 ` Mike Frysinger 0 siblings, 1 reply; 3+ messages in thread From: Alexey Gladkov @ 2010-01-02 23:55 UTC (permalink / raw) To: kbd Greetings! I think that the value of the macro NR_KEYS in kernel much behind the times. Now there are many keyboards with a lot of keys (notebooks, media keyboard, etc). include/linux/keyboard.h:#define NR_KEYS 256 First way is simple: increase NR_KEYS. Second way is much more harder: create a sysctl value to define NR_KEYS. I don't really understand how best to fix it. -- Rgrds, legion ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [kbd] NR_KEYS value 2010-01-02 23:55 [kbd] NR_KEYS value Alexey Gladkov @ 2010-01-05 0:28 ` Mike Frysinger 2010-01-05 0:47 ` Alexey Gladkov 0 siblings, 1 reply; 3+ messages in thread From: Mike Frysinger @ 2010-01-05 0:28 UTC (permalink / raw) To: kbd; +Cc: Alexey Gladkov [-- Attachment #1: Type: Text/Plain, Size: 559 bytes --] On Saturday 02 January 2010 18:55:53 Alexey Gladkov wrote: > Greetings! > > I think that the value of the macro NR_KEYS in kernel much behind the > times. Now there are many keyboards with a lot of keys (notebooks, > media keyboard, etc). > > include/linux/keyboard.h:#define NR_KEYS 256 > > First way is simple: increase NR_KEYS. > Second way is much more harder: create a sysctl value to define NR_KEYS. > > I don't really understand how best to fix it. since it's a kernel issue, perhaps it'd be better to e-mail lkml about it ? -mike [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [kbd] NR_KEYS value 2010-01-05 0:28 ` Mike Frysinger @ 2010-01-05 0:47 ` Alexey Gladkov 0 siblings, 0 replies; 3+ messages in thread From: Alexey Gladkov @ 2010-01-05 0:47 UTC (permalink / raw) To: Mike Frysinger; +Cc: kbd On 05.01.2010 03:28, Mike Frysinger wrote: > since it's a kernel issue, perhaps it'd be better to e-mail lkml about it ? First I would like to discuss it with you. :) -- Rgrds, legion ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-01-05 0:47 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-01-02 23:55 [kbd] NR_KEYS value Alexey Gladkov 2010-01-05 0:28 ` Mike Frysinger 2010-01-05 0:47 ` Alexey Gladkov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox