USB reset fails when using a LimeSDR Mini on FreeBSD
Hans Petter Selasky
hps at selasky.org
Fri Jul 3 09:15:32 UTC 2020
Hi,
On 2020-07-03 11:06, Tomasz CEDRO wrote:
> +1 for user enabled actions like usb reset and kernel driver detach:-)
> maybe based on a sysctl like usermount, i.e. usb_allow_user_device_reset
> and usb_allow_user_kernel_driver_detach..?
>
> One would allow user to reset a usb device. This is sometimes required to
> restore device or change its configration.
>
> Second would allow user for example to unload ucom driver that is attached
> to a device which does not seem possible right now and causes problem with
> i.e. pyOCD / some debug probes.
Currently we use PRIV_DRIVER in the USB stack. Not sure how a user gets
PRIV_DRIVER rights.
Tomasz: Feel free to suggest a patch for this after testing.
--HPS
More information about the freebsd-usb
mailing list