[GLLUG] FreeBSD, USB, and a KVM

Darrel Ray Clute, III darrel_clute@yahoo.com
12 May 2003 11:28:43 -0400


Most USB based KVM's do not provide PC keyboard/mouse emulation although
they all provide Mac keyboard/mouse emulation when not on that device. 
This may or may not be your problem but is worth checking into.

On Mon, 2003-05-12 at 11:09, Mike Szumlinski wrote:
> The odd thing is that the USB keyboard and mouse work just fine until I 
> switch to a different computer using the KVM (ie unplug them).  When I 
> switch back I get the following on screen, yet no control of either 
> device:
> 
> 
> ---switch to my Mac or PeeCee
> May 12 11:06:37 mikes-freebsd kernel: uhub2: at uhub1 port 1 (addr 3) 
> disconnected
> May 12 11:06:37 mikes-freebsd kernel: ums0: detached
> May 12 11:06:37 mikes-freebsd kernel: ukbd0: detached
> May 12 11:06:37 mikes-freebsd kernel: uhid0: detached
> May 12 11:06:37 mikes-freebsd kernel: uhub3: detached
> May 12 11:06:37 mikes-freebsd kernel: uhub2: detached
> --switch back to FreeBSD
> May 12 11:06:42 mikes-freebsd kernel: uhub2: Texas Instruments TUSB2046 
> hub, class 9/0, rev 1.10/1.25, addr 3
> May 12 11:06:42 mikes-freebsd kernel: uhub2: 4 ports with 4 removable, 
> self powered
> May 12 11:06:44 mikes-freebsd kernel: ums0: Macally Macally USB Optical 
> Net Mouse, rev 1.00/2.00, addr 4, iclass 3/1
> May 12 11:06:44 mikes-freebsd kernel: ums0: 3 buttons and Z dir.
> May 12 11:06:44 mikes-freebsd kernel: uhub3: Mitsumi Electric Hub in 
> Apple Extended USB Keyboard, class 9/0, rev 1.10/1.22, addr 5
> May 12 11:06:44 mikes-freebsd kernel: uhub3: 3 ports with 2 removable, 
> bus powered
> May 12 11:06:46 mikes-freebsd kernel: ukbd0: Mitsumi Electric Apple 
> Extended USB Keyboard, rev 1.10/1.22, addr 6, iclass 3/1
> May 12 11:06:46 mikes-freebsd kernel: kbd0 at ukbd0
> May 12 11:06:46 mikes-freebsd kernel: uhid0: Mitsumi Electric Apple 
> Extended USB Keyboard, rev 1.10/1.22, addr 6, iclass 3/0
> 
> Looks like its registering ukbd0 at kbd0, but for some reason it isn't 
> "plugging in".  Same with the mouse.
> 
> -Mike
> 
> On Monday, May 12, 2003, at 10:46 AM, Adam McDougall wrote:
> 
> > Yeah, along those lines, check devd and usbd (if 5 even still uses 
> > usbd).
> > Need to make sure an appropriate daemon is running.
> >
> > On Mon, May 12, 2003 at 09:55:18AM -0400, Sean wrote:
> >
> >   I doubt this "answers" your question, but it sounds like F-BSD isn't
> >   repolling the bus like it should be. When USB upport first came out 
> > for
> >   Linux, there was a set of scripts I think called hotsync or 
> > something that
> >   repolled that usb bus every like 6 seconds (via crontab) to
> >   detect new devices (and load drivers), you might get away with those 
> > or
> >   look for something similar for F-BSD. 
> 
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
-- 
Darrel Clute, CCNA/CCDA

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/B d+ s+: a--- C++++ UL++++ P+ L+++ E--- W++ N+ o+ K- w--- O-- M V-- PS
PE Y+ PGP- t+ 5+ X+ R tv+ b+ DI+ !D G+ e h! r-- y-
------END GEEK CODE BLOCK------

To Decipher Code - http://www.ebb.org/ungeek/

To Learn About Code - http://www.geekcode.com/geek.html