Linux console tools development discussion
 help / color / mirror / Atom feed
* [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

Linux console tools development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \
		kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com
	public-inbox-index kbd

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kbd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git