Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2020 09:35:48 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        bob prohaska <fbsd@www.zefox.net>, freebsd-arm@freebsd.org
Subject:   Re: RPI3, usbconfig: could not open device: No error: 0
Message-ID:  <c28bb62b-c43a-88f5-4ce6-6345ec09c1fe@selasky.org>
In-Reply-To: <20200301192518.GA1031@www.zefox.net>
References:  <20200301192518.GA1031@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-03-01 20:25, bob prohaska wrote:
> While trying to unstick a pl2303 usb-serial adapter that wasn't
> showing up on a Pi3 I tried
> 
> root@www:/home/bob # usbconfig reset
> usbconfig: could not open device: No error: 0
> 
> That seemed odd, so I tried:
> root@www:/home/bob # uname -a
> FreeBSD www.zefox.org 13.0-CURRENT FreeBSD 13.0-CURRENT r349799 GENERIC  arm64
> root@www:/home/bob # usbconfig
> ugen0.1: <DWCOTG OTG Root HUB> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
> ugen0.2: <vendor 0x0424 product 0x9514> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (2mA)
> ugen0.3: <vendor 0x0424 product 0xec00> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)
> ugen0.4: <vendor 0x413c product 0x3010> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)
> ugen0.5: <Logitech Logitech USB Keyboard> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)
> 
> which looks quite normal.
> 
> IIRC this is the first time I've tried the "usbconfig reset" command,
> so I've no baseline for what to expect.
> 
> The machine has been reverted to r349799 for sanity
> checking, if the behavior is correct or fixed please
> accept apologies for the noise. If it's wrong is it
> worth a bug report?
> 

If you don't specify a device, all devices will be reset. This simply 
won't work!

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c28bb62b-c43a-88f5-4ce6-6345ec09c1fe>