Problem with USB <---> UPS management connection

Glen Barber
2018-03-08T01:16:46Z

On Wed, Mar 07, 2018 at 08:04:47PM -0500, Mark Saad
wrote:
> > On Mar 7, 2018, at 6:55 AM, wishmaster <artemrts at ukr.net>
wrote:
> >
> > Hi, colleagues!
> >
> > Something strange happens with a server. I am attempting to connect
management interface of UPS with server via USB.
> > In console I see a lot of errors:
> >
> > Mar  7 13:42:04 xxx kernel: ugen2.2: <POWERCOM Co.,LTD HID UPS
Battery> at usbus2
> > Mar  7 13:42:05 xxx kernel: uhid0 on uhub6
> > Mar  7 13:42:05 xxx kernel: uhid0: <POWERCOM Co.,LTD HID UPS
Battery, class 0/0, rev 1.10/0.02, addr 2> on usbus2
> > Mar  7 13:42:08 xxx kernel: ugen2.2: <POWERCOM Co.,LTD HID UPS
Battery> at usbus2 (disconnected)
> > Mar  7 13:42:08 xxx kernel: uhid0: at uhub6, port 3, addr 2
(disconnected)
> > Mar  7 13:42:08 xxx kernel: uhid0: detached
> > Mar  7 13:42:12 xxx kernel: ugen2.2: <POWERCOM Co.,LTD HID UPS
Battery> at usbus2
> > Mar  7 13:42:12 xxx kernel: uhid0 on uhub6
> > Mar  7 13:42:12 xxx kernel: uhid0: <POWERCOM Co.,LTD HID UPS
Battery, class 0/0, rev 1.10/0.02, addr 2> on usbus2
> > Mar  7 13:42:16 xxx kernel: ugen2.2: <POWERCOM Co.,LTD HID UPS
Battery> at usbus2 (disconnected)
> > Mar  7 13:42:16 xxx kernel: uhid0: at uhub6, port 3, addr 2
(disconnected)
> > Mar  7 13:42:16 xxx kernel: uhid0: detached
> >
> > I have changed USB-cables, USB port on the server - without success.
> > On another server this problem is absent.
> >
> > FreeBSD version: FreeBSD 11.1-STABLE #1 r329364M:
> >
> > Any ideas?
> >
> All
>  I lost power at home and noticed that nut didn?t work right . I
> had a similar dmesg . My box is running 11.1-stable amd64 built
> from svn 7-8 days ago . When I get power back I?ll post details .
>

This seems suspiciously similar to an issue I am seeing with a USB mouse
on both stable/11 a patched build of releng/11.1.  In my case, the dmesg
shows:

ugen1.3: <PixArt USB Optical Mouse> at usbus1 (disconnected)
ugen1.3: <PixArt USB Optical Mouse> at usbus1
ugen1.3: <PixArt USB Optical Mouse> at usbus1 (disconnected)
ugen1.3: <PixArt USB Optical Mouse> at usbus1

What struck me as "suspiciously similar" is the 'ugen'
reference.
Unfortunately, I do not have more information yet, but have been
pounding my head on my desk throughout the day.  Then, I saw this
thread.

Anyone else seeing at least USB mouse-related issues?  It could entirely
be a red herring.

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
<http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20180308/ff90d95b/attachment.sig>