From owner-freebsd-usb@freebsd.org Thu May 6 19:34:09 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F420E62BE6C for ; Thu, 6 May 2021 19:34:08 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FbkKX6bPqz50Zb; Thu, 6 May 2021 19:34:08 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: lev/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id BF3BA2C9DB; Thu, 6 May 2021 19:34:08 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.134.16] (unknown [94.19.224.8]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id C69123B60; Thu, 6 May 2021 22:34:05 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: Re: Flickering connection to UPS (again, but now I'm sure it is Ok under Windows) To: Hans Petter Selasky , freebsd-usb@freebsd.org References: <98420b49-dc9a-0a5f-bcfe-e0a0e11a5994@selasky.org> <0c52bcf1-3b1a-a746-9ac3-26bdb4c46354@FreeBSD.org> <6e52d05d-8668-8c38-6745-a4edec50741d@selasky.org> From: Lev Serebryakov Organization: FreeBSD Message-ID: Date: Thu, 6 May 2021 22:34:05 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <6e52d05d-8668-8c38-6745-a4edec50741d@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2021 19:34:09 -0000 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: 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