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

next in thread | previous in thread | raw e-mail | index | archive | help
On 06.05.2021 21:07, Hans Petter Selasky wrote:

> What does usbconfig say?
  FreeBSD 13 ~year old (main system which needs to know this UPS status):

root@gateway:~ # usbconfig
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <PPC Offline UPS> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)
root@gateway:~ # usbconfig
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
root@gateway:~ #

> 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
  Need debug support (unknown oid 'hw.usb.xhci.debug'). Looks like I need "test" laptop with debug kernel. I'll do it and report back.

-- 
// Lev Serebryakov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e9221181-a64a-4a85-9b2a-dcb20253e066>