Re: Does usbconfig have modeswitch functionality?
- Reply: Bjoern A. Zeeb: "Re: Does usbconfig have modeswitch functionality?"
- In reply to: Farhan Khan: "Re: Does usbconfig have modeswitch functionality?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 May 2025 02:02:48 UTC
On Tue, May 6, 2025 at 7:44 PM Farhan Khan <farhan@farhan.codes> wrote: > > > > 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... Is this generic or a custom kernel? You should see a 'cd' line attach, if it's really a cd, but only if you have a cd device in your kernel. Warner