Adam Williamson
2008-07-18 18:06:25 UTC
Hi, all.
I'd like to have tethering with WM devices working out of the box in
Mandriva 2009.
(For anyone who doesn't know - 'tethering' is using the mobile device as
a modem, having it connected to your PC and letting your PC use its
internet connection).
Right now it seems that the usb_rndis_lite version of the kernel modules
supports this, but the kernel.org version doesn't. Diffing rndis_host.c
I can see this obvious difference:
@@ -576,7 +711,11 @@
/* "ActiveSync" is an undocumented variant of RNDIS, used in WM5 */
USB_INTERFACE_INFO(USB_CLASS_MISC, 1, 1),
.driver_info = (unsigned long) &rndis_info,
-},
+}, {
+ /* RNDIS for HTC tethering */
+ USB_INTERFACE_INFO(USB_CLASS_WIRELESS_CONTROLLER, 1, 3),
+ .driver_info = (unsigned long) &rndis_info,
+},
{ }, // END
};
MODULE_DEVICE_TABLE(usb, products);
but is that all that's needed? Is there more? Is there any reason we
cannot submit this change to upstream kernel devs so we can have
tethering support in the kernel.org modules? Thanks!
I'd like to have tethering with WM devices working out of the box in
Mandriva 2009.
(For anyone who doesn't know - 'tethering' is using the mobile device as
a modem, having it connected to your PC and letting your PC use its
internet connection).
Right now it seems that the usb_rndis_lite version of the kernel modules
supports this, but the kernel.org version doesn't. Diffing rndis_host.c
I can see this obvious difference:
@@ -576,7 +711,11 @@
/* "ActiveSync" is an undocumented variant of RNDIS, used in WM5 */
USB_INTERFACE_INFO(USB_CLASS_MISC, 1, 1),
.driver_info = (unsigned long) &rndis_info,
-},
+}, {
+ /* RNDIS for HTC tethering */
+ USB_INTERFACE_INFO(USB_CLASS_WIRELESS_CONTROLLER, 1, 3),
+ .driver_info = (unsigned long) &rndis_info,
+},
{ }, // END
};
MODULE_DEVICE_TABLE(usb, products);
but is that all that's needed? Is there more? Is there any reason we
cannot submit this change to upstream kernel devs so we can have
tethering support in the kernel.org modules? Thanks!
--
adamw
adamw