How to enable USB Tethering?

by Pankaj » Mon, 27 Sep 2010 00:36:07 GMT


Sponsored Links
 HI,

I am facing problem in getting USB tethering option in Settings View.
I am using 2.6.32 based kernel, which is working well with android 2.2
(Froyo). I have enabled Android rndis gadget driver in kernel but I am
not able to see USB tethering Option in the settings view.

My doubt is what all option we need to enable in the kernel for using
USB tethering. I am not able to find why USB tethering option itself
missing from Settings View.

Thanks and Regards,
Pankaj

-- 



How to enable USB Tethering?

by Peter Teoh » Mon, 27 Sep 2010 02:08:31 GMT


 I have no experience here, but can offer some tips:

a.   From:

 http://lkml.org/lkml/2010/4/21/167 

which the kernel driver patch for enabling USB tethering in iPhone,
perhaps u can do some analogical deduction?

For example, perhaps few of these:

 obj-$(CONFIG_USB_HSO)          += usb/
 obj-$(CONFIG_USB_USBNET)        += usb/
 obj-$(CONFIG_USB_ZD1201)        += usb/
+obj-$(CONFIG_USB_IPHETH)        += usb/

b.   as pointed out in the same URL, check this out:

 http://giagio.com/wiki/moin.cgi/iPhoneEthernetDriver 




-- 


Sponsored Links


How to enable USB Tethering?

by Gururaj BO » Mon, 27 Sep 2010 09:00:22 GMT


  http://groups.google.co.in/group/android-porting/browse_thread/thread/635de036e5d8e68e/50088495a278611d?hl=en #50088495a278611d

may help you. tell how to get tethering in settings.

Gururaja B O




> website: 



How to enable USB Tethering?

by Mike Lockwood » Mon, 27 Sep 2010 12:32:01 GMT


 In addition to enabling RNDIS in the kernel config, you need to
configure it in the USB setup in your board file.  See:

 http://android.git.kernel.org/?p=kernel/msm.git ;a=blob_plain;f=arch/arm/mach-msm/board-mahimahi.c;hb=android-msm-2.6.32

for an example.

Mike






-- 
Mike Lockwood
Google android team

-- 



How to enable USB Tethering?

by Pankaj » Tue, 05 Oct 2010 05:34:14 GMT


 Mike thanks for reply.

I checked my platform and board specific files. Code related to rndis
device and platform specific is present in my board specific files.

binded also.

Even then in Settings View I am not able to see "Tethering and
Wireless HotSpots" option.

Thanks,
Pankaj Dubey





-- 



Other Threads

1. How To Get A Preference And ListView To Show In The Same Screen.

Basically I want a screen to show 3 Preferences on top and then a ListView 
at the bottom:
----------------------------
----------------------------
   Preference 1
----------------------------
   Preference 2
----------------------------
   Preference 3
----------------------------

  ListView







----------------------------
----------------------------

The screen showing is currently a PreferenceActivity. My ListView is 
dynamically populated during the course of the App. I have 2 xml files, one 
that specifies the PreferenceScreen and the other for the ListView (one's in 
the xml folder, the other layout folder).

I tried adding the PreferenceScreen and setting the content view via:
      addPreferencesFromResource(R.xml.bluetooth_device_selection);
      setContentView(R.layout.device_selection);

However this only has the PreferenceScreen lie on top of the ListView, so 
you only see the 3 Preferences. I'm not sure how to get both to show on the 
same screen (one underneath the other). I know that I can accomplish this 
via my own layout, but I was wondering if this could be achieved with using 
a PreferenceActivity and PreferenceScreens?

-- 

2. findViewById returning NULL

Sometimes not always the following line
final ExpandableListView  menuView    = (ExpandableListView) 
findViewById(R.id.menuListing);

may or may not return null and thus aborts with a NullExceptionError

Any ideas how to fix this permanently to always return a valid

thanks in advance

-- 

3. strange behavior connecting to a php script

4. Refresh previous activity on Back Button Press

5. startActivity from a Fragment doesn

6. Android apps soon to be runnable on RIM's Blackberrys

7. Merged contacts problem