Subject: Re: USB / wskbd questions/problems...
To: None <firstname.lastname@example.org>
From: Ken Nakata <email@example.com>
Date: 04/11/1999 15:04:03
On Sat, 10 Apr 1999 19:46:28 -0400, Mason Loring Bliss wrote:
> Hm. How about allowing user-selection of which keyboard is actually used, in
> /etc/wscons.conf or something? That would solve the immediate need for easy
> and immediate support, anyway, and could easily be deprecated once it no
> longer matters.
Hmmm, but USB devices can come and go at any time (or so at least they
are designed). E.g. What if you configured the box to use /dev/wskbd1
which happened to be your USB keyboard, but later wanted to boot the
box without it?
I have a similar situation with my pointing device but it's much
easier to work around than the console keyboard device since I can
tweak /etc/XF86Config file before X is launched. I like to use my
Logitech 3-button USB mouse when it's attached but I don't want to
have to use it when I'm on the go. Right now, I probe for the device
wsmouse0 got attached to, and install appropriate /etc/XF86Config file
depending on the type of device.
I think it may be a good idea to have `multiplexed' devices; for
instance, you can read all keyboard events from /dev/wdkbd* devices
MUXed together by reading /dev/dev/wsmuxkbd0 or something, and all
mouse events from /dev/wsmouse* by reading /dev/wsmuxmouse0, etc.