On 2013-02-14, Maximo Pech <mak...@gmail.com> wrote:
> Hi list, I see this was asked before but never got solved, so I ask again.
>
> Has someone got this device working on openbsd? Is it supported?
>
> Thanks and regards.
>
>

It is likely to work with this diff:

Index: umsm.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/umsm.c,v
retrieving revision 1.89
diff -u -p -r1.89 umsm.c
--- umsm.c      4 Jan 2013 02:49:44 -0000       1.89
+++ umsm.c      14 Feb 2013 16:34:01 -0000
@@ -169,7 +169,7 @@ static const struct umsm_type umsm_devs[
        {{ USB_VENDOR_QUANTA2, USB_PRODUCT_QUANTA2_Q101 }, 0},
 
        {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_AC2746 }, 0},
-       {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_UMASS_INSTALLER }, DEV_UMASS4},
+       {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_UMASS_INSTALLER }, DEV_UMASS6},
        {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_UMASS_INSTALLER2 }, DEV_UMASS6},
        {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_UMASS_INSTALLER3 }, DEV_UMASS7},
        {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_UMASS_INSTALLER4 }, DEV_UMASS4},


This is what usb_modeswitch on linux does for all devices with this
vendor/product ID so it may be appropriate for us to do the same.

However it would really need testing on other *working* devices to
make sure it doesn't cause a problem there. (identifying which
devices need testing is made harder because you can't just check
usbdevs -v / lsusb after they have connected because the device
stops using the "installer" product id at that point).

Reply via email to