> On 8月22日, 上午3时31分, Chris Stratton <cs07...@gmail.com> wrote: > > > > > > > > While the usb net and usb host drivers are likely available in kernel > > > source, its worth pointing out that they aren't shipped in most > > > phones, so a new kernel (probably not just module) will need to be > > > compiled. Something will likely also be needed in sub-android linux- > > > level userspace to set it up. > > > > > Also most current phones don't supply usb bus power, so custom cabling > > > and another power source may be needed. > > > > > Tung Dang wrote: > > > > Hi, > > > > > > Yes, USB net (host) driver is availailble for android, actually it is in > > > > linux kernel before. > > > > On host side, you config kernel to support USB net (in Network configuration > > > > menu) > > > > On device side, you config kernel to support USB gadget CDC ethernet (RNDIS) > > > > (in USB driver configuration menu) > > > > configure ip by : ifconfig usb0 <ip_address> > > > > > > Cheer, > > > > > > On Fri, Aug 20, 2010 at 9:30 AM, Hu Haiqing <haiqinghu...@gmail.com> wrote: > > > > > > > Hi, Dear All: > > > > > > > I would like to insert a device to android phone through usb > > > > > interface . and hope the phone can access the device through tcp/ip > > > > > protocol. is it avaialble to me > > > > > > > The device is standard usb CDC device, in Ubuntu, I can see the ip > > > > > address use ifconfig command when I insert the device into the > > > > > computer. > > > > > > > Best Regards. > > > > > > > -- > > > > > unsubscribe: > android-kernel+unsubscribe <at> googlegroups.com<android-kernel% 2Bunsubscribe <at> go oglegroups.com> > > > > > website:http://groups.google.com/group/android-kernel >
I know this is a couple years old, but I'm wondering if someone could point me in the right direction. I don't think my kernel has usbnet support already on the phone. How would I go about compiling and loading a new kernel that does have usbnet as Chris mentioned? It's a Galaxy Nexus running Android 4.0.4 and kernel 3.0.8. Thanks, Justin -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel