[Q] Possibility of ANT+ via USb OTG? - Android Software/Hacking General [Developers Only]

I currently have the Samsung Galaxy S2 which supports USB OTG, I'm trying to figure out a way to enable ANT+ for fitness apps. Their are several USB adapters such as the Suunto Movestick Mini. I was thinking I could hook up this usb stick and enable ANT+. Does anyone know if this is possible? I currently have ICS installed.
Has anyone done this on other USB OTG enabled phones?

anyone know of anything?

ANT+ via USB OTG
There was an officail anouncment about this from the ANT people the other day. With a siutable phone it should be now possible. I have made a release of my IpBike app today which in theory should work but I don't have a suitable device to test with so would be very interested in anyone getting it to work.
I would put some suitble linkes here but it looks like I can not. I have added some details to iforpowell.com

ifor said:
There was an officail anouncment about this from the ANT people the other day. With a siutable phone it should be now possible. I have made a release of my IpBike app today which in theory should work but I don't have a suitable device to test with so would be very interested in anyone getting it to work.
I would put some suitble linkes here but it looks like I can not. I have added some details to iforpowell.com
Click to expand...
Click to collapse
I've just upgraded my SGS2 to ICS and connected a Suunto Movestick Mini Ant+ adapter using an USB OTG cable in order to be able to use my fitness sensors (HR belt and speed/cadence sensors from Garmin) and it works like a charm thanks to the great softwares created by ifor.
But be careful because after rooting my phone the new kernel was unable to handle the ANT USB driver and therefor it stopped working. After a few attempts i found that using a Siyah kernel (currently v4.0.1) will restore the ability to use again my Ant adapter and sensors.

Related

The Joystick Thread: New options and workarounds

Joystick options appeared to be limited for most of us, so I'm posting this thread to help generate interest in finding a universal workaround - and to start tossing around ideas. Here are mine;
USB to mini USB: Could a joystick be rewired to use a mini USB jack? Seems like you would only need drivers to get it to work.
HTC 4-in-1 Cable: The HTC Athena (aka Advantage) has a cable that provides a normal USB jack. With it you can connect a mouse and keyboard, and using this driver you can even connect a joystick. I'm wondering, if we could just get a proper mini USB cable, maybe this driver would work on other devices? Someone was able to get a USB joystick to work on a Toshiba TG01, so I have hope!
BGP100 Gamepad (MSI and Chainpus): Unfortunately, support for this gamepad stopped and the drivers don't seem to work on newer phones (with few exceptions).
Please try to be constructive with the ideas/feedback. Hopefully by pooling our resources we can come up with a mutually beneficial solution.
Id like a workaround for this aswell, especially for the HD2 when it comes out
I spoke with 'i900frenchaddict' from FPSEce. He was able to get a joystick to work on his Toshiba TG01 by buying a USB A Female to Mini USB B 5 Pin Male adapter and using the hidgamep.dll driver.
I've got a HTC Touch Pro 2 (Rodium). I just ordered the adapter and I'm going to try to get it to work. I'll post my results later.
connecting anything to the usb port and getting it to work require a device which support usbHost
Athena is as far as I know the only htc wm device out which support usbHost
Has anyone explored porting the usbhost files over from Athena? Is this something that needs to be cooked in or can it be installed manually with a few registry tweaks?
Ravicai said:
Has anyone explored porting the usbhost files over from Athena? Is this something that needs to be cooked in or can it be installed manually with a few registry tweaks?
Click to expand...
Click to collapse
A USB host port is hardware based; it cannot be ported by any software means. Rudegar is right about the Athena being the only HTC device with a USB host capabilities, but phones from other manufactures have this feature, such as the TG01. Maybe someday HTC will catch on, but current HTC devices don't have this feature (exception is Athena).
DaveTheTytnIIGuy said:
A USB host port is hardware based; it cannot be ported by any software means. Rudegar is right about the Athena being the only HTC device with a USB host capabilities, but phones from other manufactures have this feature, such as the TG01. Maybe someday HTC will catch on, but current HTC devices don't have this feature (exception is Athena).
Click to expand...
Click to collapse
Bummer. That effectively kills the USB option.
Looks like Bluetooth is the only way to go. Someone correct me if I'm wrong, but it seems like the BGP100 is the only offering at the moment - and it only works on some phones.
Anybody want to take a crack at updating the drivers to work with newer phones like the HTC Touch Pro 2?
Hi!
Yes, it works like a charm on my TG01, thanks again!
What I wonder, is if it may work on a device without a supposed "real USB host" function.
I don't have the correct adapter to plug a pad yet, but one thing is sure: my omnia has the same registry, so it was possible to create the new keys exactly like on my TG01.
Well, my adapter should arrive tomorrow. So I'll experiment and see what happens.
No surprise. The cable didn't work.
I'd be nice if someone made a Bluetooth USB host device with 2 USB ports on it. Then all we need is a driver to work with WM and BAM... everyone can now use USB devices! I imagine such a device would sell pretty good.
Either that or HTC needs to start including the USB host on all future phones. This will definitely be the deal breaker for my next phone... unless of course it happens to have a usable d-pad (haha, fat chance in this touchscreen obsessed world).
Only thing left to do now is hope some kind dev updates the BGP100 drivers *wink* *wink*
Speaking of Bluetooth, it would be nice if someone managed to code Wiimote+Classic Controller or Sixaxis/DualShock 3 drivers for Windows Mobile. The input devices in question already use Bluetooth, and I've never perceived any control latency-it's just a matter of drivers.
Too bad about the lack of USB host, though. I actually thought most HTC devices ever since the Touch Diamond/Pro had it built-in already judging by the USB port shape, and that you'd just need an adapter to use the host capability.
Funny thing is that the Sprint version of the HTC Touch Pro 2 has the Qualcomm MSM7600 chipset which actually has embedded support for USB OTG HS. Yet somewhere along the line someone must have disabled the functionally (much like they disable the radio).
I would venture a guess that the MSM7200a chipset has the same support, but disabled of course.
Edit: Yup, it does.
Confirmed the BGP100 is not working on the HD2. I get "connection error..insufficient memory"
I think that BGP100 is not compatible with the wisdom stack. if we can find a way to use the ms stack we should be fine. so far ia have not found on instructions on how to change the stack.
By the way the Video of the Omina II on your first post is mine
msi & tp2
Ravicai said:
Joystick options appeared to be limited for most of us, so I'm posting this thread to help generate interest in finding a universal workaround - and to start tossing around ideas. Here are mine;
USB to mini USB: Could a joystick be rewired to use a mini USB jack? Seems like you would only need drivers to get it to work.
HTC 4-in-1 Cable: The HTC Athena (aka Advantage) has a cable that provides a normal USB jack. With it you can connect a mouse and keyboard, and using this driver you can even connect a joystick. I'm wondering, if we could just get a proper mini USB cable, maybe this driver would work on other devices? Someone was able to get a USB joystick to work on a Toshiba TG01, so I have hope!
BGP100 Gamepad (MSI and Chainpus): Unfortunately, support for this gamepad stopped and the drivers don't seem to work on newer phones (with few exceptions).
Please try to be constructive with the ideas/feedback. Hopefully by pooling our resources we can come up with a mutually beneficial solution.
Click to expand...
Click to collapse
I have a msi bt gamepad and a tp2. so far I have been able to connect using my bt settings and something called spp slave (its some type of serial port) but without updated divers formy device i cant do much more :-/ since i have little tech know how i am stuck here. I have heard that the bgp 100 works for the HD 2 (they have the same bt stack I think) so what gives?
Significant development! Updated bluetooth drivers are now available for the BGP100 gamepad. See this thread for details;
http://forum.xda-developers.com/showthread.php?t=595679

Media transfer protocol, otg cable, tiamat 1.4.4 and honeycomb

Hi all
I would like to connect my canon a470 powershot to my
Wifi only xoom, running tiamat 1.4.4 and honeycomb,
through an otg cable.the cable works and I can access USB
pens reading the content.Now as my camera does not
provide usb mass storage access but only mtp/ptp I cannot
manage to access photos directly plugging the USB cable.
I read that Verizon camera kit cable supports ptp on
Honeycomb systems but how? Is there any app or .ko
needed or is a compatibility issue related to my camera?
Thanks
Sent from my Xoom using Tapatalk
I have the Motorola Xoom "camera " otg host cable. That's all the "kit " contains. I'm running the Tiamat ROM and I can not access my Canon Powershot either. So, if you have a working otg host cable, don't waste your money....
really ? nothing more than a simple OTG cable ? Thanks for the advice ! How is it supposed to work on stock ROM's if UMS is disabled ?
I 'm sure that there must a library for ptp/mtp on android: I read that some people had this feature working, being able to access photos (stored on the camera) through the stock gallery app.
Maybe the OTG cable is not enough...
Could be the camera brand. I have no idea though. I don't need to connect any of my cameras to my xoom.
Bumpity bump
Any resolution to this?
I have USB sticks working too but not ptp supported devices...
I'm having the same problem with my Canon 5D. Also tried Canon Ixus 130 and that didn't work either. I just tried installing the stock Australian image and then installing the 3.1 update and that does not work either... I asked around and found people that also had a canon 5D and Xoom and the combo worked for them.
that is so weird
I wish someone can shed some light on this...is this inherent with 3.1?
Do not know will this help in any meaningful way but did anyone tried connecting A470 running chdk? I do not have Xoom but there exist plethora of scripts for canon low end cameras making them just a little bit more useful. Higher end cameras have another way of enhancement with different program setting. Just my to cents...

[Q] USB Device?

Has anyone with 2.3.4 installed on tried using usb mouse or keyboard? Even usb flash drives? The 2.3.4 haves USB Host and Accessory Modes that theoretically allows that kind of things. You also need a microUSB to USB adaptor but you can make it if you have two spare cables. I am developing apps with external device connection and I would like to know this works due to the fact that I'm running 2.3.3 stock on my device.
Thank you.
A colleague of mine used a bluetooth mouse on his Samsung Galaxy S, at the time having 2.1-update1. You can try this option.
I don't need bluetooth devices, I need usb connection. Is far more reliable then bluetooth.
Think you need honeycomb or ics to use USB devices
Alex C. said:
A colleague of mine used a bluetooth mouse on his Samsung Galaxy S, at the time having 2.1-update1. You can try this option.
Click to expand...
Click to collapse
this device cannot support usb device like xperia 2011 and newer.
danuzor said:
Has anyone with 2.3.4 installed on tried using usb mouse or keyboard? Even usb flash drives? The 2.3.4 haves USB Host and Accessory Modes that theoretically allows that kind of things. You also need a microUSB to USB adaptor but you can make it if you have two spare cables. I am developing apps with external device connection and I would like to know this works due to the fact that I'm running 2.3.3 stock on my device.
Thank you.
Click to expand...
Click to collapse
This feature just work on devices that support USB On-the-go. don't try to make an app.
>> Please press Thanks:good: if you find this post useful <<
u need a USB Host enabled Hardware and Kernel to be able to use that.. it's not about old or new devices.. if it supports USB Host it will work. i am using USB keyboard on my Samsung i9100 (S II) and a chinese tab and it's working brilliantly. however it doesnt work on chacha for example.. however why would u use a USB keyboard what's the point of buying Chacha if u wont use it's keyboard no offense

[Q] USB Webcam Support?

I know the TF has integrated webcams, but due to the nature of the project I'm working on I need external ones.
I'm wondering if anyone has plugged in a USB video capture device like a webcam into the dock USB ports. What happens on the stock ROM? any other ROM have better results? If anyone has Ubuntu running, any success there?
I have two Lifecam Studio HD webcams that I'd like to get working, one on each USB port. The Lifecams require each to be connected to a different USB root hub. That means that I'd also like to know the hardware configuration of the two USB ports. ASUS could have one controller and a integrated hub (as is done on many laptops). Does anyone know how this has been setup? The only way I know of to test this is to either get two devices that don't work on the same root hub to work or to look at lsusb.
I doubt that the kernel has support for external USB web cams but it is worth trying I suppose.
Sent from my Transformer TF101 using Tapatalk

How can the tablet accessories (3G webstick, BT GPS and HDMI) work?

Hello,
I'm new in Android environment and I don't have a clear picture how I can be extended a tablet functionality.
Example:
I buy a tablet which has no 3G radio, GPS and HDMI port in default, but it has USB port and Bluetooth.
Can I use a 3G USB webstick for this tablet?
What is needed for it from hardware and software side?
My idea is that for this from software side I would need a driver which is built in the kernel.
If I have a table without this driver (for example a Samsung P5110) what are my possibilities? Can a Custom ROM like CyanogenMod solve this issue?
Similar questions for the other two things:
Can I use a BT GPS receiver for my tablet without anything or it has requirements(hardware or software)?
How can I use USB port to watch a movie on a HDMI device?
I found two things regarding USB port which (I think) are relevant:
OTG and MHL.
As I understand MHL is need for the HDMI functionality, but it is a hardware parameter of the USB port/controller or a software thing?
If it is a hardware thing: How can I decide that a tablet USB port has this capability or not?
Same question to the OTG.
Thanks for your help in advance.
Regards,
Ponr

Categories

Resources