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. Brian [Jun Sun <monkey.j...@gmail.com>] > > Does this feature work as it suggests? > > I compiled a 2.6.25 kernel with this feature enable. Then I > plugged into a fedora 9 host. Nothing happened on the host > side. No usb0 detected. > > Anything I need to do here? > > Further, I can do "ifconfig usb0 xxxx.xxx.xxx.xxx up" on the G1 > device. However, when I do "ping ...." over the interface, the > phone looks dead. adb shell connection is disconnected. > > Any hints? > > Jun > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel -~----------~----~----~----~------~----~------~--~---