Hi Pankaj, There is a device config value that needs to be set: frameworks/base/core/res/res/values/config.xml has a value called config_tether_usb_regexs. This is designed to be an overlaid resource (you don't change the standard file, you make a build that includes an overlay dir and have a frameworks/base/core/res/res/values/config.xml file there that just has the values defined that differ from the defaults for your project). If your interface is called "usb0" you could add a "usb.*" regex to match that (in case of race conditions where you may sometimes get a usb1).
R On Thu, Sep 23, 2010 at 6:41 PM, Pankaj <[email protected]> wrote: > Hi All, > > I am using Android 2.2 (froyo) codebase. My kernel contains USB device > support and I have enabled rndis gadget driver support in the kernel > (2.6.32 based kernel). > > My problem is I am not able to see USB tethering option in my settings > view under Wi-Fi Settings. Please let me know is there anything we > need to do to enable USB tethering option in Froyo. > > When I checked logcat messages following relevant messages I got.. > --------------- > Part of logcat Message.... > ---------------- > I/SystemServer( 1958): Bluetooth Service > W/bluedroid( 1958): open(/sys/class/rfkill/rfkill0/type) failed: No > such file or directory (2) > I/SystemServer( 1958): Device Policy > I/SystemServer( 1958): Status Bar > I/SystemServer( 1958): Clipboard Service > I/SystemServer( 1958): Input Method Service > I/InputManagerService( 1958): Enabled input methods: > com.android.inputmethod.latin/.LatinIME > I/SystemServer( 1958): NetStat Service > I/SystemServer( 1958): NetworkManagement Service > I/SystemServer( 1958): Connectivity Service > V/ConnectivityService( 1958): ConnectivityService starting up > D/ConnectivityService( 1958): getMobileDataEnabled returning true > V/ConnectivityService( 1958): Starting Wifi > Service. <<<<<<<<<<<<<<<<<<<< > D/Tethering( 1958): Tethering > starting > <<<<<<<<<<<<<<<<<< > I/WifiService( 1958): WifiService starting up with Wi-Fi > disabled <<<<<<<<<<<<<<<<<<< > D/NetworkManagmentService( 1958): Registering observer > I/SystemServer( 1958): Throttle Service > D/ThrottleService( 1958): Starting ThrottleService > I/SystemServer( 1958): Accessibility Manager > I/SystemServer( 1958): Mount Service > I/SystemServer( 1958): Notification Manager > I/SystemServer( 1958): Device Storage Monitor > I/SystemServer( 1958): Location Manager > I/SystemServer( 1958): Search Service > I/SystemServer( 1958): DropBox Service > I/SystemServer( 1958): Wallpaper Service > D/VoldCmdListener( 1901): volume list > W/MountService( 1958): Duplicate state transition (removed -> removed) > D/VoldCmdListener( 1901): share status ums > I/SystemServer( 1958): Audio Service > > --------- > end > ----------- > Thanks and Regards, > Pankaj Dubey > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
