public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* set keyboard repeat rate: EVIOCGREP and EVIOCSREP
@ 2005-04-07 22:29 Vernon Mauery
  2005-04-08 22:21 ` Vernon Mauery
  0 siblings, 1 reply; 3+ messages in thread
From: Vernon Mauery @ 2005-04-07 22:29 UTC (permalink / raw)
  To: LKML

I was wondering if anyone knows how to change the repeatrate on a USB keyboard with a 2.4 kernel.  The system is a legacy free system (no ps2 port), so kbdrate does nothing.  With evdev loaded, the keyboard and mouse (both USB devices) get registered with the event system and show up as /dev/input/event[01].  I know the event subsystem does software key repeating and was wondering how to change that.

I poked around and found the EVIOCGREP and EVIOCSREP ioctls, but when I tried using them, the ioctl returned invalid parameter.  Upon further investigation, I found that the ioctl definitions (located in the linux/input.h header file) are not used in kernel land.  That would explain why it failed, but that just means I ran into a dead end.  Were those definitions legacy code from 2.2 or is it something that never got implemented, only defined?  I also noticed that the defines are gone in 2.6.  So how _does_ one go about changing the repeat rate on a keyboard input device in 2.4?

Thanks in advance for your help.

--Vernon Mauery

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-12 15:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-07 22:29 set keyboard repeat rate: EVIOCGREP and EVIOCSREP Vernon Mauery
2005-04-08 22:21 ` Vernon Mauery
2005-04-12 15:57   ` Vojtech Pavlik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox