[Bug 245152] urndis(4) Inseego/Novatel Wireless MiFi 8800/8000 as urndis0 4g/LTE RNDIS fails to tether

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 1 01:39:48 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245152

--- Comment #8 from rootless at gmail.com ---

Ok.  So I finished my kernel compile and rebooted with the new kernel.  I
didn't configure loader.local.conf to automatically load if_urndis.ko more as
something else keep consistent between kernels, OSes, etc.

Prior to loading if_urndis, as expected, no ue0 and the same usbconfig as
always.

After "kldload if_urndis" and "ifconfig" ue0 was there!  Imagine my surprise.

No changes with usbconfig:
ugen1.1: <(0x15ad) EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE (0mA)
ugen0.1: <(0x15ad) UHCI root HUB> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE (0mA)
ugen0.2: <VMware VMware Virtual USB Mouse> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON (0mA)
ugen0.3: <VMware, Inc. VMware Virtual USB Hub> at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen1.2: <Novatel Wireless MiFi 8000> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (224mA)


The only modification I made was to sys/dev/usb/net/if_urnids.c:

static const STRUCT_USB_HOST_ID urndis_host_devs[] = {
        /* Generic RNDIS class match */
        {USB_IFACE_CLASS(UICLASS_CDC),
                USB_IFACE_SUBCLASS(UISUBCLASS_ABSTRACT_CONTROL_MODEL),
                USB_IFACE_PROTOCOL(0xff)},
        {USB_IFACE_CLASS(UICLASS_WIRELESS), USB_IFACE_SUBCLASS(UISUBCLASS_RF),
                USB_IFACE_PROTOCOL(UIPROTO_RNDIS)},
        {USB_IFACE_CLASS(UICLASS_IAD), USB_IFACE_SUBCLASS(UISUBCLASS_SYNC),
                USB_IFACE_PROTOCOL(UIPROTO_ACTIVESYNC)},
        /* HP-WebOS */
        {USB_VENDOR(USB_VENDOR_PALM), USB_IFACE_CLASS(UICLASS_CDC),
                USB_IFACE_SUBCLASS(UISUBCLASS_ABSTRACT_CONTROL_MODEL),
                USB_IFACE_PROTOCOL(0xff)},
        /* Nokia 7 plus */
        {USB_IFACE_CLASS(UICLASS_IAD), USB_IFACE_SUBCLASS(0x4),
                USB_IFACE_PROTOCOL(UIPROTO_ACTIVESYNC)},
        /* Novatel Wireless 8800/8000/etc */
        {USB_IFACE_CLASS(UICLASS_IAD), USB_IFACE_SUBCLASS(0xef),
                USB_IFACE_PROTOCOL(UIPROTO_RNDIS)},


};


The modified if_urndis.c is attached here.  I haven't generated a patch in
FreeBSD in too long or else I would submit this as a possible patch.

Thank you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list