So I have a Samsung Focus that can tether over USB only (so far) and I am getting the wi-fi xoom in a few days (wooo!). I was wondering if anybody more intelligent than myself in this area knows if it would be possible to tether one to the other as the xoom now has support to be a USB host.
Well, not only would you need the adapter, but you would also need to figure out how to make Android support RNDIS...i assume WP7 uses that...i dunno.
Kcarpenter said:
Well, not only would you need the adapter, but you would also need to figure out how to make Android support RNDIS...i assume WP7 uses that...i dunno.
Click to expand...
Click to collapse
I'm not sure. I agree with you that WP7 probably uses RNDIS, i did a quick google (RNDIS android) and found a lot of kernel compiling (not very familiar to me). Maybe I should just wait until WP7 get wifi tethering, but that could be years haha. Does anybody have any good insight?
Related
Hi!
I am developing an application which connects a Wiimote to a bluetooth enabled android phone/device.
I did this by interfacing with the native bluez bluetooth library directly, rather than via the Android API. The reason for this is that Android API doesn't support HID devices, which a Wiimote is.
A problem now is that on some devices, mostly those sold by HTC, my app simply doesn't work. After calling the hci_get_route(NULL), this function should return an id of the first bluetooth device available (most likely 0), but instead returns ERNODEV (-1) as if no bluetooth device is available.
I suspect it has something to do with our beloved HTC grossly modifying something in the libbluetooth library to make this fail to work.
Has anyone ever done this kind of bluetooth interfacing?
How could I make this work?
Rooting the phone and replacing a library or two would be fine too.
For a list of working and non-working devices, check out the 2nd post of this thread.
HTC support
I just sent a customer service message to HTC about this issue. I hope they can get back to me with a "we'll work on it" message, or something. I really want this on my incredible. I'm new to coding like this, but could you disguise the Wiimote as another kind of device?
Just a response from someone equally interested in a solution. I'm trying to set up a bluetooth keyboard (Freedom Pro) with my gsm Hero running the 1.5 based MCR 3.2. Available drivers (Freedom's own, BlueInput & KeyPro) should work with 1.5, but HTC devices, especially the Hero, seem to be lacking something that is present in most 1.5 builds.
Investigating, I find the same issue of no route to device, because there is no known device. AIUI when bluetooth is turned on hciattach is used to establish a link to the hardware. At that point an hciconfig should list the hci0 device as present but down. However I find this list remains empty at all times.
I found this for keyboards.
Since I can't post the link, it's called "KeyPro for Android"
Google "keypro android" and click the first link.
Maybe that could help. It says it works with any android device above 1.5, however, I did read that some keyboards use a different type of bluetooth profile, SPP rather than HID.
I haven't heard back form HTC yet either.
EDIT: Upon reading your post again, you have tried this. Sorry, my bad.
Thanks for looking though The Freedom Pro is switchable between spp & hid profiles, so I figured I was safe, lol. Not with HTC's butchered 1.5 bt it seems.
Did you ever try to use the most likely id 0 on an HTC device? Even though the call to get the id fails?
Maybe you could use also the Android API to synchronize if a device is present and then use the id that Android API gives you?
Just some thoughts since I would love to see that App running on my Desire with Snesoid
Edit: Double post
tobren said:
Did you ever try to use the most likely id 0 on an HTC device? Even though the call to get the id fails?
Maybe you could use also the Android API to synchronize if a device is present and then use the id that Android API gives you?
Just some thoughts since I would love to see that App running on my Desire with Snesoid
Click to expand...
Click to collapse
Believe it or not, I actually tried this. Unfortunately, the next command (to bind the bluetooth adapter) also fails, and of course every command after that one because the adapter is not bound.
Thanks for the idea anyway.
usb
does the wii remote have usb connectivity? could it be possible to have the communication pass through that connection rather than bluetooth? one advantage of this would be increased battery life and probably better compatibility across models.
i'm sure some people would prefer bluetooth, but i figure i'll always be using it very close to my phone so i can see the screen, so the wired option is actually a bit more attractive (considering battery performance).
i know ps3 has usb connectivity as well, you just might need an adapter (mini to micro).
rubber soul said:
does the wii remote have usb connectivity? could it be possible to have the communication pass through that connection rather than bluetooth?
[snip]
i know ps3 has usb connectivity as well, you just might need an adapter (mini to micro).
Click to expand...
Click to collapse
I'm pretty sure the first answer is no - our wii is round at a friend's atm. However even if it was yes, you'd need more than an adapter. USB operates with one device as master & the other as slave. To allow you to connect slave devices to your phone it would need to be in host mode. Some mobile phone hardware implementations support this, however I don't know of any mainstream Android kernels which do. Even if you workaround that, you're left with the huge issue that slave devices can assume it's safe to draw power from the USB bus which could do nasty things (tm) to a lower power device like a mobile. This can be worked around via a powered hub, but it all gets very messy.
I looked into this a few months ago, hoping I'd be able to use a usb keyboard with my Hero. I ended up with a BT keyboard instead. Of course that doesn't work either but for completely different reasons, as hinted at by this thread. Hopefully a 2.1 ROM will solve that, but that's the subject of numerous other threads.
Uh, just throwing stuff out, what if you have a pc with two bluetooth adapters, it connects to the wii mote, and then broadcasts that in someway the android api can understand?
Also please actually try working on something with a rooted phone, the HTC EVO 4g is rootable, and I will make man love(no homo) if you get it working.
Either one works lol.
Using a PC as a proxy is kind of useless. If you have a wiimote connected to a PC, you might as well play games on the PC itself (there are nes/snes/sega/etc emulators for PCs too).
At this moment, rooting doesn't help with the problem either.
@1 True
@2 That sucks.
Do we think that this will/could be fixed in HTC's Froyo update for 2010 devices? Not looking for definite answers, just a ponderin'.
well if you send the null pairing code to the wiimote from the default bluetooth pairing screen.. it will fail to communicate with the wiimote too
waffles004 said:
Do we think that this will/could be fixed in HTC's Froyo update for 2010 devices? Not looking for definite answers, just a ponderin'.
Click to expand...
Click to collapse
Doesn't it work in stock/vanilla Eclair? I thought the main problem was with Cupcake, though HTC seem to have done weird things to every stock firmware. I read that removing Sense from a 2.1 HTC ROM breaks bluetooth. Go figure. And there was I thinking Sense was a gui enhancement
I contacted HTC about their bluetooth issues and just received this response
My name is Courtney, and I would be glad to assist you today. I understand that you are unhappy with the Bluetooth connectivity on your HTC EVO. HTC is aware of the problems occurring with the EVO and Bluetooth. We are currently investigating this issue and are working on a solution. As soon as we have an update, we will inform our customers. Thank you for contacting HTC America Technical Support. If you need further assistance, please feel free to contact us via email or at 1-866-449-8358. We are open 7 days a week from 6 a.m.-1 a.m. EST. You can also check out our Community and Support pages at htc.com/us and our pages on Facebook and Twitter.
Click to expand...
Click to collapse
I contacted HTC about this issue with my incredible and I basically got the same answer except the guy was more knowledgeable and said that other people were complaining about certain bluetooth issues. I think they know what they did and are waiting to fix it in Froyo to be easy for them. No worries though, should be comin' in a few weeks. I can't freakin' wait. I have soooooooooo much Pokemon and Mario to play.
does anyone know if this works on samsung galaxy s, i dont have my phone yet to test, but as soon as it arrives (sometime next week) i will test this.
All I can say is that my wii controller is working really well on cyanogen on my evolution now!
It's my first time on XDA so give me sum time if i mess up or something
I have a Blackberry Curve 3G I can use this as a 3G USB MODEM on a computer.
I have a Rooted Acer A500 WiFi only which has a standard USB 2.0 port which only supports usb mouse,usb keyboards or any thing the uses memory drives because i rooted my tablet.
I know it is possible to do this and has been done but only works with browser and i think gmail. Which is fine for me.
Can someone please help me buy posting some directions on how to do this step by step.
jose90804 said:
It's my first time on XDA so give me sum time if i mess up or something
I have a Blackberry Curve 3G I can use this as a 3G USB MODEM on a computer.
I have a Rooted Acer A500 WiFi only which has a standard USB 2.0 port which only supports usb mouse,usb keyboards or any thing the uses memory drives because i rooted my tablet.
I know it is possible to do this and has been done but only works with browser and i think gmail. Which is fine for me.
Can someone please help me buy posting some directions on how to do this step by step.
Click to expand...
Click to collapse
This hasnt been done for anything other than android and possibly (not sute about this one) iphones. But feel free to join the group here http://forum.xda-developers.com/showthread.php?t=1157488
And ps for future reference questions belong to general. Development is for developers and their work.
I am sure this has been asked before but does anybody know of a rom that has USB host support. I am trying to run an app for my camera and it requires this to work.
I'm on the same boat, trying to buy that application, but i have looked all over the internet but no definitive answer, looks like the droid incredible has the function, I wonder why they EVO would not, I think we are going to have to take a chance, if it works, great!! If it doesn't, we'll be out $15.
Its not the rom that gives the phone host support, its the kernal and many other factors that make it work. I don't think its going to ever be possible on the evo.
It will be a very cold day in a normally hot place before you see USB host. I tried, and it's not that the hardware won't support it, just no dev interest.
Greetings! I've been lurking on XDA for quite some time, and first I would like to give a big thank you to all the developers. I would never have purchased a Kindle Fire if I didn't have faith in your ability to unlock the hardware's true potential. You guys/gals rock.
Here's my question: I develop and troubleshoot municipal and commercial wired/wireless networks and I would really like to be able to use the KF with backtrack. I understand that OTG support under ICS is very close to being a reality, would it be possible to support an external wifi adapter via OTG?
Drawing power is the first problem that comes to mind, so my thought is to mod a USB OTG adapter to draw from an external DC source instead of the KF.
This could have some awesome potential if it could work. I'm willing to do whatever I can to make this happen, so if one of you veteran developers could set me on the right track to backtrack it would be greatly appreciated.
I'm no wifi/kernel expert but as far as i have understood it:
It should be possible if you get the right wifi modules to work. Android uses a modified wpa_supplicant, so even if you have linux wifi drivers for usb you would need to patch them to get it running. The current kernel does not have mac80211/cfg80211 modules compiled it, but i think that you probably would need them (i think they are in the kernel source, they are just not set yet). The current module for the tiwlan is proprietary and is also uses some strange ibCustomWifi as wrapper around WEXT, not sure if they also did some changes there.
If the 3.0 kernel boots we should anyhow change to a mac80211 wifi driver and also use wpa_supplicant 0.8 instead of 0.6 so your chances should be a lot better with the 3.0 kernel.
So it strongly depends if your external wifi adapter is very well supported for linux (or better for Android ....) und if we get otg running. (There might be some hidden problems to discover).
Sengwall,
There are several threads in the xda forums for similar projects on different devices that might be useful as the steps are basically the same (assuming that somebody gets OTG working). Here's one of them:
http://forum.xda-developers.com/showthread.php?t=1484339
Thanks for the input...ill look and see if there has been success on other devices with the same board.... great suggestion.
While i was thinking is it possible to make OTG work on Touch Pro 2?
Any Software or ROM or Kernel updates will do?
You mean like USB Host Mode?
I don't think anyone looked into it. Android or WinMo...
arrrghhh said:
You mean like USB Host Mode?
I don't think anyone looked into it. Android or WinMo...
Click to expand...
Click to collapse
Yeah , that is whats making me ask it, it would be awesome if that Hapenned., by the way is it Possible?
nikhil.pgm said:
Yeah , that is whats making me ask it, it would be awesome if that Hapenned., by the way is it Possible?
Click to expand...
Click to collapse
(Almost) anything is possible with enough time and determination...
Has it been done already? Not to my knowledge.
'Theoretically' you should be able to get this working. Like Arrrghhh said, anything is possible. I did get a usb otg cable for the rhodium (well, not FOR the rhodium, but 'theoretically' it should work) and found that this function is supported in the specs for our processor chip.
There are drivers and a pretty good source of information here: http://forum.xda-developers.com/showthread.php?t=480899
I never advanced past the point of realizing that while our phone 'probably' has the hardware to receive input from usb devices it cannot provide them with power to function. You seem to need to use an externally powered usb hub for those drivers to do you any good, and there really isn't anything On-The-Go about carrying around a usb hub and its power adapter! So it was at that point that I gave up. But, there is probably all the information you need in the thread I posted above to get you started.
Please post your findings if you have success/failure
Caldair said:
'Theoretically' you should be able to get this working. Like Arrrghhh said, anything is possible. I did get a usb otg cable for the rhodium (well, not FOR the rhodium, but 'theoretically' it should work) and found that this function is supported in the specs for our processor chip.
There are drivers and a pretty good source of information here: http://forum.xda-developers.com/showthread.php?t=480899
I never advanced past the point of realizing that while our phone 'probably' has the hardware to receive input from usb devices it cannot provide them with power to function. You seem to need to use an externally powered usb hub for those drivers to do you any good, and there really isn't anything On-The-Go about carrying around a usb hub and its power adapter! So it was at that point that I gave up. But, there is probably all the information you need in the thread I posted above to get you started.
Please post your findings if you have success/failure
Click to expand...
Click to collapse
Surely i would, leme work on that!
does the Froyo Build support OTG?
nikhil.pgm said:
Surely i would, leme work on that!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1250199&highlight=7
its said that OTG isnt working in the Build
So does Android generally support OTG without any software support?
Can i get OTG support by just running in Android? ICS or CM or GB or Froyo?
[i m working on the Win6.5 OTG, ordered Host cable, waiting for it to arrive..]
nikhil.pgm said:
http://forum.xda-developers.com/showthread.php?t=1250199&highlight=7
its said that OTG isnt working in the Build
So does Android generally support OTG without any software support?
Can i get OTG support by just running in Android? ICS or CM or GB or Froyo?
[i m working on the Win6.5 OTG, ordered Host cable, waiting for it to arrive..]
Click to expand...
Click to collapse
That thread isn't talking about host mode, that thread is talking about transferring files via USB mass storage mode....
At any rate, I'm pretty sure the software simply supports it. Getting the hardware to talk properly is the hard part (again, as far as I understand it...)
arrrghhh said:
That thread isn't talking about host mode, that thread is talking about transferring files via USB mass storage mode....
At any rate, I'm pretty sure the software simply supports it. Getting the hardware to talk properly is the hard part (again, as far as I understand it...)
Click to expand...
Click to collapse
i got the Female cable, but it never took the flash drive, dont know why? Tried Zeno's Drivers and Also Leo's too but its not working out, does it require an external power supply?
any one got it working ever?
nikhil.pgm said:
i got the Female cable, but it never took the flash drive, dont know why? Tried Zeno's Drivers and Also Leo's too but its not working out, does it require an external power supply?
any one got it working ever?
Click to expand...
Click to collapse
No one ever got it working, I thought I made that perfectly clear...
I'm not sure what you need, again there's probably quite a bit of legwork that you'll need to do in order for it to talk on our devices. I don't think you can just "use" the LEO drivers in this case - however, adapting them might be a good place to start.
nikhil.pgm said:
i got the Female cable, but it never took the flash drive, dont know why? Tried Zeno's Drivers and Also Leo's too but its not working out, does it require an external power supply?
any one got it working ever?
Click to expand...
Click to collapse
I thought I read somewhere that the TP2 can not provide power. You had to use a powered usb hub + device to have a chance at getting it working.
The downside being that you had all this stuff to haul around if you wanted to use an OTG cable.