Re: Cheap UPS with USB «flicker» with FreeBSD but not with Windows

Hans Petter Selasky hps at selasky.org
Fri Apr 17 13:01:55 UTC 2020


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


More information about the freebsd-usb mailing list