Re: USBDMSC emulated device does not work on FreeBSD

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Fri, 12 Nov 2021 11:11:38 UTC
Hi,

> kernel: ugen1.3: <Microchip Inc PolarFireSoc-FlashDrive> at usbus1
> 
> line in console (and later in dmesg). Relevant line in output of
> 'usbconfig show_ifdrv' command is
> 
> ugen1.3: <Microchip Inc PolarFireSoc-FlashDrive> at usbus1, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)
> 

cfg=255 means something very low level USB failed. It was not able to 
set the configuration number.

Try:

usbconfig -d ugen1.3 set_config 0

--HPS