Re: Does usbconfig have modeswitch functionality?

From: Farhan Khan <farhan_at_farhan.codes>
Date: Wed, 07 May 2025 01:44:02 UTC

On Tue, May 6, 2025, at 9:31 PM, Warner Losh wrote:
>> Is this functionality built into usbconfig? I didn't see it there, but maybe I'm missing it.
>
> Usually the usb stack just switches. Is it not?
>
> Waner

Seemingly not. I am on FreeBSD 15.0 Current in KVM, not sure if that makes a difference.


Kernel message:
---
ugen1.2: <Realtek DISK> at usbus1
---

$ sudo usbconfig
...
ugen1.2: <RTL8188GU 802.11n WLAN Adapter (Driver CDROM
Mode) Realtek Semiconductor Corp.> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
---

Curious how to mount the disk...
-- 
Farhan Khan