Usb on the go - HTC ChaCha

Hello if any of you have heard of the USB-ON-THE-GO specification you will know that it is basically connecting USB perphierals to a mobile device.
I have had a desire to connect USB FLASH DRIVES & WEBCAMS etc. to majority of my handsets and have worked out that their is a way for the HTC Hero using something from THE DROID and some modding involved.
However, I am unsure if it will work with the HTC CHACHA and require some information on the following:
-TYPES OF WIRES NEEDED
-TYPES OF DRIVERS NEEDED
-COMMAND LINE NEEDED
Android is a variant of Linux so therefore it has the ability to recognise all common devices: Keyboard, Pendrive, WebCam and Hardrive etc..
There is some sort of way of doing this and not affecting your hardware entirely at all- in short is there a way or does the Droid method work on this handset??
Thanks,
TechMayhem (FreakyTech ROM)

Related

hardware based data transfer

Hi!
I want to use my G1 to do some special measurements. For this purpose I've created a microcontroller board (Atmel ATmega8) that does that. Now I want to transfer the data the board collected to the Android phone.
Because of the high powerconsumption the G1 has while Bluetooth is on this isn't a real alternative for me - the measurements will last about 2 - 3 hours.
I'm not experienced concerning hardware access within Linux and Android but thought there might be a possibility to gain a kind of low level access to the USB port. I do neither need high bandwith nor real USB functionality - so might it be possible to create an own kind of bus using that interface? Do you have any other idea?
Thank you in advance!
If you use micro linux system, the ones that are like a usb port, a network jack and a vga connecter, you could script some adb commands and have it run every few seconds to upload the data, not an ideal solution. As far as I know the g1 doesn't support host mode. But if you have a micro linux computer in the middle, it could work.
Something like this
http://www.pcpro.co.uk/blogs/2008/08/27/a-real-space-oddity-arrives-at-pc-pro/
I'm sure there are other ways to do it, maybe check there how to make a serial port thread a few pages back in the dev section.

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

[Q] Android and micro usb peripherals

I'd like to connect to android powered tablet several peripherals (through micro usb I guess) like: couple of rs-232 ports, keyboard and even one rj12 port.. as I guess it's possible to create usb-hub-device to all this functions, and develop drivers for it.. I just never dealt with stuff like this before. What of it is possible and mb android have built-in support of some interfaces and devices..? goal is to make cheapest solid touch tablet based complete device.
For this to work, your Phone needs special USB-OTG-capable hardware. I doubt it has. If you don't know what it is and why it is definitely needed, google for USB OTG (on-the-go).
Of course, a simple USB host connector would do as well, but no phone has one (but some tablets do).
No android phone out now has USB host support, nor the drivers to run any peripherals.
thx for answrs, looks like its possible but I need to port usbhost module to device kernel.. and perpherals drivers modules too.

[q] question : Android-pc bridge project for home automation

Hi there
I'm embarking on an ambitious project and i was wondering if anyone could help me by giving suggestions.
I am making my own home automation system, and I already have the necessary hardware to get it up and running, but I want to take it a step farther.
I have this (Use google translate lol) http://cba.sakura.ne.jp/kit01/kit_399.htm kit, which is basically a set of 8 relay switches that can be used to turn on and off mains devices (such as lights, powerpoints, ect) that are controlled by a computer through a DB25 printer port. I also have an old Dell D600 laptop that has said printer port, and the software needed to drive the circuit board. This is all well and good, as everything is working so far, but before I bother to install this thing in my roof and hook it up to control my lights, power points, ect, I was wondering if there is a way to use my android phone (HTC Legend, unrooted ) or tablet (Motorola xoom wifi rooted with Tiamat, o/c to 1.7ghz) to control this board through a computer.
I already have a client that remote controls the computer (splashtop remote), and I can achieve this with some difficulty by remote controlling the computer and using the PC software through my phone/tablet, but I was wondering if there is an android home automation program and its PC client service that supports DB25 printer port pinout settings, so I could directly control the circuit board through the app, like the leading home automation apps already available (minus the extremely expensive proprietary hardware that you need with them). If not, has anyone else considered developing one? If anyone could give me any help on this it would be greatly appreciated.

[Q] Using mobile devices with USB as PC keypads?

I've become curious whether any mobile devices with USB ports could be used, with appropriate software, as auxiliary USB keypads or keyboards to another host device? Given the ubiquity of small LCD touchscreen tablet devices now, it seems like an obvious application to develop software that would display programmable keys on a touchscreen and then output appropriate key scancodes or sequences via a USB port to another connected system, in essence making the tablet appear as a USB HID to the host. The software aspect would be somewhat trivial; I've seen software for Windows Mobile touchscreen devices with IR transceivers that allows them to be used as universal remote controls. This would in effect be a USB variant of that type of software.
Is that technically feasible, or is there a limitation to the USB spec or hardware that might prevent it? Is there a host-client aspect to USB that exists outside of software alone?
It seems I need to post this in another area to reach the right audience for my question, but which one?
There's plenty of apps that enable this via wifi or bluetooth, but I haven't seen any that would do it over USB. I don't see why it shouldn't be possible, but it seems no one has coded it yet.
The reason it came to mind is that there are companies selling some surprisingly expensive auxiliary programmable USB keypad devices. With the addition of the necessary software, tablets and similar devices with touchscreens might be poised to erase their cozy little overpriced vertical market. That is, if there's no limitations to USB hardware or drivers that would prevent it.
Please use the Q&A Forum for questions Thanks
Moving to Q&A

Categories

Resources