On Fri, Jul 18, 2008 at 7:35 PM, Adam Williamson <[EMAIL PROTECTED]>
wrote:
> On Fri, 2008-07-18 at 20:22 +0200, David Eriksson wrote:
> > On Fri, 2008-07-18 at 11:06 -0700, Adam Williamson wrote:
> > > 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!
> >
> > Is this actually working? Can anyone confirm?
>
> It seems so, yes:
>
> http://forum.eeeuser.com/viewtopic.php?id=36316
> --
> adamw
>
Yes it works. As far as I know, it needs a WM6 device though. Then you just
turn on internet connection sharing, connect your device, and boom, network
manager does the rest. (Or you need to dhclient the interface).
Adam, It needs a bit more than what you have. Not much, though. I landed my
tethering patch in r2998.
svn diff
https://synce.svn.sourceforge.net/svnroot/synce/trunk/usb-rndis-lite-r2997:2998
Enjoy
John
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel