Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2021 20:07:38 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        lev@FreeBSD.org, freebsd-usb@freebsd.org
Subject:   Re: Flickering connection to UPS (again, but now I'm sure it is Ok under Windows)
Message-ID:  <6e52d05d-8668-8c38-6745-a4edec50741d@selasky.org>
In-Reply-To: <0c52bcf1-3b1a-a746-9ac3-26bdb4c46354@FreeBSD.org>
References:  <e90a1125-1c85-4344-2427-aa50158036fc@FreeBSD.org> <98420b49-dc9a-0a5f-bcfe-e0a0e11a5994@selasky.org> <0c52bcf1-3b1a-a746-9ac3-26bdb4c46354@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6e52d05d-8668-8c38-6745-a4edec50741d>