Flickering connection to UPS (again, but now I'm sure it is Ok under Windows)

Hans Petter Selasky hps at selasky.org
Thu May 6 18:08:56 UTC 2021


On 5/6/21 6:26 PM, Lev Serebryakov wrote:
> On 06.05.2021 19:16, Hans Petter Selasky wrote:
> 
>>> And one more UPS has rock-stable connection and flicker 
>>> (connect/disconnect loop with period about 3 seconds) on FreeBSD.
>>>
>>> Yes, I've reported this problem already, but then it was decided, 
>>> that UPS is defective.
>>>
>>> Now, I've checked with 3 different USB debugging tools on Windows 10 
>>> notebook, that it doesn't disconnect from Windows host.
>>>
>>> And it flicker on FreeBSD systems.
>>>
>>> Looks like, we need some quirk for this class of devices.
>>>
>>> I could collect logs on FreeBSD and Windows, but I don't know what to 
>>> compare and where to look.
>>>
>>
>> Is this the same like:
>>
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666
> I have this loop:
> 
> ...
> May  6 19:24:23 gateway kernel: ugen0.2: <PPC Offline UPS> at usbus0
> May  6 19:24:37 gateway kernel: ugen0.2: <PPC Offline UPS> at usbus0 
> (disconnected)
> May  6 19:24:41 gateway kernel: ugen0.2: <PPC Offline UPS> at usbus0
> May  6 19:24:55 gateway kernel: ugen0.2: <PPC Offline UPS> at usbus0 
> (disconnected)
> May  6 19:24:59 gateway kernel: ugen0.2: <PPC Offline UPS> at usbus0
> May  6 19:25:13 gateway kernel: ugen0.2: <PPC Offline UPS> at usbus0 
> (disconnected)
> ...
> 
> 
>> Could you try to install FreeBSD 11 and see if the issue goes away?
> 
> I could boot from some live media of FreeBSD 11 on same Laptop as I have 
> Windows 10 installed . I'll try it ASAP.
> 

What does usbconfig say?

Can you enable host controller debugging:

hw.usb.xhci.debug=17
hw.usb.ehci.debug=17
hw.usb.uhci.debug=17
hw.usb.ohci.debug=17

--HPS


More information about the freebsd-usb mailing list