Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2020 01:39:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 245152] urndis(4) Inseego/Novatel Wireless MiFi 8800/8000 as urndis0 4g/LTE RNDIS fails to tether
Message-ID:  <bug-245152-7501-a4fIpzujTV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245152-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245152-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245152

--- Comment #8 from rootless@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 surpris=
e.

No changes with usbconfig:
ugen1.1: <(0x15ad) EHCI root HUB> at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH (=
480Mbps)
pwr=3DSAVE (0mA)
ugen0.1: <(0x15ad) UHCI root HUB> at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (=
12Mbps)
pwr=3DSAVE (0mA)
ugen0.2: <VMware VMware Virtual USB Mouse> at usbus0, cfg=3D0 md=3DHOST spd=
=3DFULL
(12Mbps) pwr=3DON (0mA)
ugen0.3: <VMware, Inc. VMware Virtual USB Hub> at usbus0, cfg=3D0 md=3DHOST
spd=3DFULL (12Mbps) pwr=3DSAVE (0mA)
ugen1.2: <Novatel Wireless MiFi 8000> at usbus1, cfg=3D0 md=3DHOST spd=3DHI=
GH
(480Mbps) pwr=3DON (224mA)


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

static const STRUCT_USB_HOST_ID urndis_host_devs[] =3D {
        /* 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_R=
F),
                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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245152-7501-a4fIpzujTV>