9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] kvm and hotswap compatable mouse.c
@ 2009-08-04 18:19 erik quanstrom
  0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2009-08-04 18:19 UTC (permalink / raw)
  To: 9fans

this has been driving me nuts for a long time.  i've had
to have a mouse for each machine running rio because
mouse.c wasn't very amenable to either hot-plugged ps/2
or kvm-attached ps/2 mice.  since steve mentioned the
led problem, i was motivated to finally rid my desk of
extra rodents:
	/n/sources/contrib/quanstro/mouse.c

the approach is
- turn off streaming mode when sending commands,
- always set 1:1 aka "linear" mode.  much loved by iogear kvm.
- don't use 2:1 mode (unloved by kvms and it confuses some
fancy mice).  trivial to simulate in s/w.
- capture power-on signatures and set hot-plugged mice
up in streaming mode.

thanks for the motivation, steve.

- erik



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-04 18:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-04 18:19 [9fans] kvm and hotswap compatable mouse.c erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).