[android-kernel] Re: usb networking with USB_FUNCTION_ETHER

2009-01-24 Thread Jun Sun
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 clai

[android-kernel] Re: usb networking with USB_FUNCTION_ETHER

2009-01-24 Thread Jack Yoo
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 wrote: > [Jun Sun ] > > > > > BTW, from what you were saying, it seems the usb functions are > > comp

[android-kernel] Re: usb networking with USB_FUNCTION_ETHER

2009-01-23 Thread Brian Swetland
[Jun Sun ] > > 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 m

[android-kernel] Re: usb networking with USB_FUNCTION_ETHER

2009-01-23 Thread Jun Sun
Thanks for your reply, Brian. Before I saw this reply, I ended up backporting the low-level gadget driver to 2.6.25 and managed to get RNDIS driver working. Somehow regular cdc_ether is not working. Strange. Have not spent too much to look into any further. If anybody knows why, let me know. H

[android-kernel] Re: usb networking with USB_FUNCTION_ETHER

2009-01-20 Thread Brian Swetland
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 (lik