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. problems after updating the new SDK 0.9 beta

[2008-08-22 09:54:27 - MusicPlayer]
trouble processing:
[2008-08-22 09:54:27 - MusicPlayer] class name (android/musicPlayer/
musicPlayer$1) does not match path (android(2)/musicPlayer(2)/
musicPlayer$1.class)
...while parsing android(2)/musicPlayer(2)/musicPlayer$1.class
...while processing android(2)/musicPlayer(2)/musicPlayer$1.class
[2008-08-22 09:54:27 - MusicPlayer]
trouble processing:
[2008-08-22 09:54:27 - MusicPlayer] class name (android/musicPlayer/
musicPlayer$2) does not match path (android(2)/musicPlayer(2)/
musicPlayer$2.class)
...while parsing android(2)/musicPlayer(2)/musicPlayer$2.class
...while processing android(2)/musicPlayer(2)/musicPlayer$2.class
[2008-08-22 09:54:27 - MusicPlayer]
trouble processing:
[2008-08-22 09:54:27 - MusicPlayer] class name (android/musicPlayer/
musicPlayer$3) does not match path (android(2)/musicPlayer(2)/
musicPlayer$3.class)
...while parsing android(2)/musicPlayer(2)/musicPlayer$3.class
...while processing android(2)/musicPlayer(2)/musicPlayer$3.class
[2008-08-22 09:54:27 - MusicPlayer]
trouble processing:
[2008-08-22 09:54:27 - MusicPlayer] class name (android/musicPlayer/
musicPlayer) does not match path (android(2)/musicPlayer(2)/
musicPlayer.class)
...while parsing android(2)/musicPlayer(2)/musicPlayer.class
...while processing android(2)/musicPlayer(2)/musicPlayer.class
[2008-08-22 09:54:27 - MusicPlayer]
trouble processing:
[2008-08-22 09:54:27 - MusicPlayer] class name (android/musicPlayer/R
$attr) does not match path (android(2)/musicPlayer(2)/R$attr.class)
...while parsing android(2)/musicPlayer(2)/R$attr.class
...while processing android(2)/musicPlayer(2)/R$attr.class
[2008-08-22 09:54:27 - MusicPlayer]
trouble processing:
[2008-08-22 09:54:27 - MusicPlayer] class name (android/musicPlayer/R
$drawable) does not match path (android(2)/musicPlayer(2)/R
$drawable.class)
...while parsing android(2)/musicPlayer(2)/R$drawable.class
...while processing android(2)/musicPlayer(2)/R$drawable.class
[2008-08-22 09:54:27 - MusicPlayer]
trouble processing:
[2008-08-22 09:54:27 - MusicPlayer] class name (android/musicPlayer/R
$id) does not match path (android(2)/musicPlayer(2)/R$id.class)
...while parsing android(2)/musicPlayer(2)/R$id.class
...while processing android(2)/musicPlayer(2)/R$id.class
[2008-08-22 09:54:27 - MusicPlayer]
trouble processing:
[2008-08-22 09:54:27 - MusicPlayer] class name (android/musicPlayer/R
$layout) does not match path (android(2)/musicPlayer(2)/R
$layout.class)
...while parsing android(2)/musicPlayer(2)/R$layout.class
...while processing android(2)/musicPlayer(2)/R$layout.class
[2008-08-22 09:54:27 - MusicPlayer]
trouble processing:
[2008-08-22 09:54:27 - MusicPlayer] class name (android/musicPlayer/R
$string) does not match path (android(2)/musicPlayer(2)/R
$string.class)
...while parsing android(2)/musicPlayer(2)/R$string.class
...while processing android(2)/musicPlayer(2)/R$string.class
[2008-08-22 09:54:27 - MusicPlayer]
trouble processing:
[2008-08-22 09:54:27 - MusicPlayer] class name (android/musicPlayer/R)
does not match path (android(2)/musicPlayer(2)/R.class)
...while parsing android(2)/musicPlayer(2)/R.class
...while processing android(2)/musicPlayer(2)/R.class
[2008-08-22 09:54:27 - MusicPlayer] 10 warnings


I really dunno what is this.. my musicPlayer can play smoothly b4
updating to SDK 0.9 beta..
thx..

--~--~---------~--~----~------------~-------~--~----~

2. setAlignment gone from TextView

This code fragment no longer works in the 0.9 SDK:
      TextView label;
      label.setAlignment(Alignment.ALIGN_CENTER);

So how do I center text within a TextView?

Thanks!
Bob O'Hara
--~--~---------~--~----~------------~-------~--~----~

3. What is an Image?

4. How to play audio recorded with MediaRecorder

5. URI_MATCHER doesn't work correctly

6. Changing Content of a Tab dynamically - TabHost/Tabspec

7. [Mac OS X] webView.loadUrl questio