Subject: Mouse doesn't come back right after unplug
To: None <netbsd-help@netbsd.org>
From: Jeff Rizzo <riz@boogers.sf.ca.us>
List: netbsd-help
Date: 07/28/2002 12:18:50
Just wondering if anyone else has seen this:

Under 1.6_BETA4/i386, I'm running XF86 4.2.0, from one of the snapshots on 
releng.netbsd.org, and things are working mostly OK.  However, I've got a
USB keyboard and mouse, and a USB kvm switch, and when I switch out of
the netbsd box (effectively unplugging the keyboard and mouse), and switch
back, the mouse does not respond until ctl-alt-f1 to the boot screen
(not sure if it needs to be the boot screen, or just any non-X screen) and
back... then it works fine.

The keyboard works throughout all this, as well.

Any suggestions?  Has anyone else seen this behaviour?

I've attached the USB portion of the dmesg, in case it sparks anything.

Thanks!
+j
uhub2: at uhub0 port 1 (addr 2) disconnected
uhub4: at uhub2 port 1 (addr 3) disconnected
uhidev0: at uhub4 port 1 (addr 4) disconnected
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev0 detached
uhidev1: at uhub4 port 1 (addr 4) disconnected
uhid0 detached
uhid1 detached
uhid2 detached
uhidev1 detached
uhub4 detached
uhidev2: at uhub2 port 2 (addr 5) disconnected
wsmouse0 detached
ums0 detached
uhidev2 detached
uhub2 detached
uhub2 at uhub0 port 1
uhub2: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2
uhub2: 4 ports with 4 removable, self powered
uhub4 at uhub2 port 1
uhub4: Macally Macally iKey, class 9/0, rev 1.10/0.01, addr 3
uhub4: 3 ports with 2 removable, bus powered
uhidev0 at uhub4 port 1 configuration 1 interface 0
uhidev0: Macally Macally iKey, rev 1.10/0.01, addr 4, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub4 port 1 configuration 1 interface 1
uhidev1: Macally Macally iKey, rev 1.10/0.01, addr 4, iclass 3/0
uhidev1: 3 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 3: input=3, output=1, feature=0
uhidev2 at uhub2 port 2 configuration 1 interface 0
uhidev2: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21, addr 5, iclass 3/1
ums0 at uhidev2: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0

-- 
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz