Problem with USB <---> UPS management connection
Glen Barber
gjb at FreeBSD.org
Mon Mar 19 20:00:55 UTC 2018
On Mon, Mar 19, 2018 at 12:53:01PM -0700, John Baldwin wrote:
> 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.
>
I did figure out what the problem was with my mouse - the ums(4) driver
was not properly loading on releng/11.1. It does appear to be fixed in
stable/11, so the issue I pointed out in this thread may not be related.
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/20180319/d831a151/attachment.sig>
More information about the freebsd-stable
mailing list