Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2020 15:00:47 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        lev@FreeBSD.org, usb@freebsd.org
Subject:   =?UTF-8?Q?Re=3a_Cheap_UPS_with_USB_=c2=abflicker=c2=bb_with_FreeBSD?= =?UTF-8?Q?_but_not_with_Windows?=
Message-ID:  <4a0271c4-edf8-909f-c8d1-894323d1c8d5@selasky.org>
In-Reply-To: <a97d989e-fb7e-b365-458c-c12e2c161a62@FreeBSD.org>
References:  <a97d989e-fb7e-b365-458c-c12e2c161a62@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-04-17 14:59, Lev Serebryakov wrote:
> 
>   Cheap Ippon UPS flickers with USB connection when master is FreeBSD CURRENT:
> 
> ....
> Apr 17 15:49:02 gateway kernel: ugen2.2: <PPC Offline UPS> at usbus2 (disconnected)
> Apr 17 15:49:07 gateway kernel: ugen2.2: <PPC Offline UPS> at usbus2
> Apr 17 15:49:21 gateway kernel: ugen2.2: <PPC Offline UPS> at usbus2 (disconnected)
> Apr 17 15:49:26 gateway kernel: ugen2.2: <PPC Offline UPS> at usbus2
> Apr 17 15:49:40 gateway kernel: ugen2.2: <PPC Offline UPS> at usbus2 (disconnected)
> Apr 17 15:49:45 gateway kernel: ugen2.2: <PPC Offline UPS> at usbus2
> Apr 17 15:49:59 gateway kernel: ugen2.2: <PPC Offline UPS> at usbus2 (disconnected)
> Apr 17 15:50:04 gateway kernel: ugen2.2: <PPC Offline UPS> at usbus2
> ....
> 
>   It works stable when connected to Windows notebook. Yes, I understand, that it is different host hardware.
>   Unfortunately, I can not check other OSes on hardware where it flickers, but maybe it is possible to set (or add) some quirk on our side?
> 

Hi,

Are you running -stable / -current? If not, try upgrading the kernel 
only first.

What does usbconfig say about this device.

Try monitoring the USB traffic:

usbdump -i usbus2 -f 2 -s65536 -vvv

Maybe some bad command triggers the disconnect.

Last resort:
sysctl hw.usb.disable_enumeration=1

Does your device still function?

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4a0271c4-edf8-909f-c8d1-894323d1c8d5>