Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2019 19:45:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 239495] if_urndis does not support newer HMD Global devices
Message-ID:  <bug-239495-19105-Wm8IE2OMoG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239495-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239495-19105@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=3D239495

--- Comment #3 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
You need to modify this table in if_urndis.c to make it attach:

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)},
};

Using these values:

      bInterfaceClass =3D 0x00ef  <Miscellaneous device>
      bInterfaceSubClass =3D 0x0004=20
      bInterfaceProtocol =3D 0x0001=20

Can you try the attached patch?

--HPS

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239495-19105-Wm8IE2OMoG>