Does anyone know how to temporarily redirect the USB keyboard so input
no longer goes to the virtual console attached to /dev/tty1? I am
trying to temporarily redirect all USB keyboard input to another tty
so that using it does not unblank the framebuffer.
I would like to be able to return the keyboard input to tty1 later,
preferably without rebooting, and definitely without switching kernels
every time.
I have tried the obvious things involving less- and greater-than
signs, and some not-so-obvious things having to do with getty and
openvt, but no matter what I do the USB keyboard input goes to
/dev/tty1, and from there to the virtual console where it awakens the
framebuffer. I even came across some discussion of how, when more
than one keyboard is attached, Linux is supposed to allocate them to
consecutive virtual terminals. But alas, this is not so. With two
USB keyboards attached, BOTH go to /dev/tty1 at the same time, and
stranger, hitting caps-lock on one lights the LEDs on both.
Perhaps if someone could explain where /dev/usb/keyboard is, it might
help. (/dev/input is also empty.)
The most recent unstable Linux 2.6 kernel has patches to allow the
framebuffer to be 'detached' from its virtual console and reattached
later. Though this might be ideal, with all the major
tt/vt/vc/vcs/vcsa reworking going on it seems unlikely to be something
easily backported to 2.4.
Oh, and if anyone knows how to blank the screen immediately ('setterm
-blank 0' disables blanking), I would appreciate it.
Thank you for your thoughts on this.
-David
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|