NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/53493: mouse keeps re-attaching using amd64 8.0 boot.iso CD




When using this CD,
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-8.0/amd64/installation/cdrom/boot.iso
and the shell in the utility menu, the mouse keeps reattaching itself.
Messages get displayed repeatedly in the console like this:

wsmouse0: detached
ums0: detached
uhidev0: detached
uhidev0: at uhub1 port 2 (addr 2) disconnected
uhidev0 at uhub1 port 2 configuration 1 interface 0
uhidev0: Genius (0x458) USB Optical Mouse (0xec), rev 1.10/1.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir
wsmouse0 at ums0 mux 0

It seems to happen every minute or so, and but doesn't seem fixed
periodic.  This happens to me on a couple different machines.  There
is a dmesg from one that had the problem at
http://gnats.netbsd.org/53492

With kernel timestamps (under -current) I see the same sequence, over
and over.  The timing is at _very_ consistent intervals, with the
reconnect happening at ~2.2 seconds after the disconnect, and the
disconnect happens almost exactly 60 seconds later.

...
Aug  2 11:13:24 speedy /netbsd: [ 531029.5503589] wsmouse0: detached
Aug  2 11:13:24 speedy /netbsd: [ 531029.5503589] ums0: detached
Aug  2 11:13:24 speedy /netbsd: [ 531029.5503589] uhidev2: detached
Aug  2 11:13:24 speedy /netbsd: [ 531029.5503589] whidev2: at uhub1 port 6 (addr 6) disconnected
Aug  2 11:13:26 speedy /netbsd: [ 531031.7310457] uhidev2 at uhub1 port 6 configuration 1 interface 0
Aug  2 11:13:26 speedy /netbsd: [ 531031.7310457] uhidev2: PixArt (0x45e) Microsoft USB Optical Mouse (0xcb), rev 1.10/1.00, addr 7, iclass 3/1
Aug  2 11:13:26 speedy /netbsd: [ 531031.7310457] ums0 at uhidev2: 3 buttons and Z dir
Aug  2 11:13:26 speedy /netbsd: [ 531031.7310457] wsmouse0 at ums0 mux 0
Aug  2 11:14:26 speedy /netbsd: [ 531091.7299334] wsmouse0: detached
Aug  2 11:14:26 speedy /netbsd: [ 531091.7299334] ums0: detached
Aug  2 11:14:26 speedy /netbsd: [ 531091.7299334] uhidev2: detached
Aug  2 11:14:26 speedy /netbsd: [ 531091.7299334] uhidev2: at uhub1 port 6 (addr 7) disconnected
Aug  2 11:14:29 speedy /netbsd: [ 531093.9106198] uhidev2 at uhub1 port 6 configuration 1 interface 0
Aug  2 11:14:29 speedy /netbsd: [ 531093.9106198] uhidev2: PixArt (0x45e) Microsoft USB Optical Mouse (0xcb), rev 1.10/1.00, addr 8, iclass 3/1
Aug  2 11:14:29 speedy /netbsd: [ 531093.9106198] ums0 at uhidev2: 3 buttons and Z dir
Aug  2 11:14:29 speedy /netbsd: [ 531093.9106198] wsmouse0 at ums0 mux 0
...

This has been happening to me for at least a year or more, and was
reported several times (although no PR files).  I know that others
have also seen this.

Note that this does NOT happen while the Xserver has ownership of the
console.  Some suspicion is that the Xserver does something(tm) that
performs some sort of keep-alive on the mouse's USB connection, and
that without the Xserver doing the keep-alive the connection times
out.  But no real investigation was done, as far as I know.

(Thanks for filing the PR - perhaps we can get some traction!)

Also, the boot loader and kernel wasn't detecting more the 4G of
memory on the 2 different machines I tried that had 8G.   I wasn't
sure if that's intentional.  Let me know if a separate PR would be
useful for that.

Yes, that would be a separate issue.  Please file a new PR.


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index