public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Keyboard Writing
@ 2003-02-11 17:01 James Gibson Fusia
  2003-02-11 18:15 ` stefan.eletzhofer
  0 siblings, 1 reply; 2+ messages in thread
From: James Gibson Fusia @ 2003-02-11 17:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: visyz

I've read through the keyboard driver files (kd.h, keyboard*, pc_keyb*),
and come to the conclusion that you can't write to the keyboard. Get mode,
set mode, get leds, set leds, change keymap. But no write to keyboard.

I need to be able to re-program a keyboard from userspace, and this
involves sending certain keycodes to the keyboard via port manipulation
(set write bit, write, wait for write bit clear.. blah blah blah), and no
manipulation handles.

My question to you, then, is how do I add definitions for ioctl to be able
to write to the ps/2 keyboard from user-space? (the #defs for
KD(GET|SET)LED seem to be arbitrary and not related to 0x64).

Essentially, I would like to be able to treat the keyboard like a serial
port. Any docs you can point me at? (Yes, I've checked everything google
showed me and none of it seemed pertinent to physically writing to the
keyboard.)

Please respond directly to me, as I'm a bum and don't want to join the
kernel-dev list.
			-James Gibson Fusia (visyz@cc.gatech.edu)

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

end of thread, other threads:[~2003-02-11 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-11 17:01 Keyboard Writing James Gibson Fusia
2003-02-11 18:15 ` stefan.eletzhofer

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