RNDIS driver is already included in the kernel. That is why it is not
shown in the patch. All you need to do is to enable that option 
under usb networking in kernel config.

It should work with MS PC, although I have not tested it. I should ...

However, when it is connected to Linux PC, it claims that it has
found a RNDIS device and networking works well.

What is strange is that if I don't select RNDIS option in the kernel
config, it does not work. I forgot whether the problem is Linux PC
does not recoginize the CDC device or it recognizes but does not
communicate. It seems to be the later.

Cheers.

Jun

On Sat, Jan 24, 2009 at 10:55:47AM -0800, Jack Yoo wrote:
> 
> Hi Jun,
> 
> Is it really RNDIS patch? Does it have a feature for working with
> Windows PC?
> I'm wondering since I don't see relevant portion from the patch.
> 
> -jack
> 
> On Jan 23, 11:58 pm, Brian Swetland <[email protected]> wrote:
> > [Jun Sun <[email protected]>]
> >
> >
> >
> > > BTW, from what you were saying, it seems the usb functions are
> > > composite-able. That is interesting.
> >
> > Yup -- that was the major goal of the function framework -- to be able
> > to combine an arbitary set of functions together (on the fly!).  The
> > gadget framework has since provided more support for composite client
> > devices, so we're in the process of migrating our USB work there for
> > post-cupcake development.
> >
> > Brian
> >
> >
> >
> > > On Tue, Jan 20, 2009 at 11:17:27PM -0800, Brian Swetland wrote:
> >
> > > > You're going to have to configure the function to be included in the usb
> > > > composite device (look in board-trout.c), and probably will have to
> > > > modify the VID/PID to match one your desktop linux kernel associates
> > > > with the "simple" ethernet profile.
> >
> > > > Also, I've found that having other interfaces (like adb) present tends
> > > > to confuse the host driver (which assumes that *all* interfaces are
> > > > ethernet interfaces).
> >
> > > > I have successfully used this driver with several different desktop
> > > > linux systems, but things are not rigged up so simply including the
> > > > driver in the build gets it all going.- Hide quoted text -
> >
> > - Show quoted text -
> > 

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to