Problem with USB <---> UPS management connection

John Baldwin jhb at freebsd.org
Mon Mar 19 19:53:06 UTC 2018


On Thursday, March 08, 2018 01:16:46 AM Glen Barber wrote:
> 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.

I am definitely seeing issues with an APC USB I have on my desktop.  I have
used this desktop + APC combination for at least 5 years now and only after
my most recent upgrade to 11.1-STABLE at r326909.  I did not have issues on
the previous 11.1-STABLE kernel at r321399, so it does seem like it could
be a regression.

-- 
John Baldwin


More information about the freebsd-stable mailing list