On Wed, Jan 24, 2024 at 08:37:18AM +0000, Alex Frolkin wrote: > On Wed, Jan 24, 2024 at 11:47:53AM +1100, Jonathan Gray wrote: > > umsm(4) does the equivalent in the kernel. DEV_UMASS5 seems most > > likely, but there are other methods to try as well. > > Ah, interesting, I'll give that a go. Looking at the code, though, it > looks like it might be doing what usb_modeswitch refers to as > --huawei-mode, whereas I need --huawei-alt-mode, and it doesn't look > like the umsm(4) code supports that. > > I'll play around with it, anyway. > > Do you happen to know why usb_bulk_io returns "unimplemented"? Is it > because the libusb implementation for OpenBSD is incomplete, or because > this is genuinely not supported by OpenBSD?
>From memory it only works against ugen(4). As umass(4) claims the device, you'd have to disable it with UKC, built a kernel without umass or add a quirk to have that vid/pid not matched by the kernel.

