From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,FH_DATE_PAST_20XX, SPF_NEUTRAL autolearn=no version=3.2.5 Message-ID: <4B3FDD09.3070504@gmail.com> Date: Sun, 03 Jan 2010 02:55:53 +0300 From: Alexey Gladkov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6pre) Gecko/20091129 Lightning/1.0b1pre Thunderbird/3.0.1pre MIME-Version: 1.0 To: kbd@lists.altlinux.org X-Enigmail-Version: 0.97a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [kbd] NR_KEYS value X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 23:56:25 -0000 Archived-At: List-Archive: 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