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,
>