can universal support usb host?? - JASJAR, XDA Exec, MDA Pro ROM Development

can universal support usb hosT?/
so we can use flashdisk a another storage media...

Simply - no

This has been discussed many times before, please use search next time to see if someone has already answered your question.
In a more complicated form: the mini-USB connector used on the Uni lacks the host control circuit that would enable it to "ask" the other device.

Related

Port for CF pack

Hey guys (and gals?) --
These questions regard the port on the back of the XDAII that connects to the CF pack.
Does the port support CF+, or just CF? (ie; i/o or just storage)
Do the pins represent standard CF pins, or is it some other interface that the pack converts to CF? (ie; pcmcia)
Is the mate to the connector attainable, or is it some annoying proprietary connector?
Where can I get developer information as a third-party accessory developer? HTC's website doesn't seem to have any valid email addresses. Is someone else providing this service?
Thanks!
Rob

Probably a mad question but still...

This message was deleted by its author
i guess there're many ways to do this, but the only "universal" way is to simulate a com port via bluetooth that accepts NMEA commands.

New project for HD2 usere: activating usb host

Hello & thank you for your helping ang thread
Can we use usb host in hd2?i see many options in registry about usb out....
is this possible use it probably?
i cant find any usefull information about that?may be others cant too....
thanks for your solidarity XDA usere
There's a thread on this already-- search for it.
One point to note, though-- the HD2 provides no power on the USB port, so any USB device would have to be self-powered, which sort of defeats the purpose for things like flash drives, etc.

[Q] USB-HOST enabled phones

Can't find a list of WinMobile phones with USB-HOST.
I need one for a project, a phone that could control a device via USB (serial)
USB-HOST with no external 5v source prefered.
3G+CAMERA prefered too
Any reply is welcome, thanks...

[Q] Android USB Programming: How to handle VID/PID's, etc.?

(I would have posted this in the development forums but apparently I don't yet have enough "karma" or something {grin})
I'm on a project to use Android tablets to exchange data via USB with an embedded microcontroller environment. At present I'm using a Nexus 7 (because it supports USB Accessory mode, so it can be powered by the other end) and an Arduino Due (because it has two USB interfaces). I've read countless articles and scoured everything I can find on the topic of programming for USB, but still have some fundamental questions.
The biggest one concerns how the host and device interfaces "identify" each other. Seems like each end needs to expose a USB interface with VID/PID values that the other end knows about and looks for during initialization. This implies that the code on each end would need to control the PID and VID values, as well as other USB descriptor values. Yet none of the code examples I've found ever discuss this.
Example: I've found that the Nexus 7 exposes one PID value (0x4E42) when its USB port is configured in "media device (MTP)" mode, and a different PID value (0x4E44) when its USB port is configured in "camera (PTP)" mode. The protocols for interacting with these two configurations is different, and the code on the other end of the wire needs to know how to handle that. I haven't checked yet but I suspect the values in the usb_interface and usb_interface_descriptor structures also change along with the PID value, since usb.org defines a whole bunch of standardized values for various device types. A connecting device would retrieve these values, potentially from multiple exposed logical interfaces on the same physical USB port, and select a compatible one.
Since I'm writing the code on both ends of the wire, doesn't my code need to somehow convey these values into the USB interface hardware? How is that done, for example, under Android? Do the code examples just omit this because everyone but me knows how to do it?
If I just "ignore" this question, then when the Arduino (acting as USB Host) polls the Nexus 7 it will have to select from whatever interfaces are offered. So... whose code is in charge of those interfaces? How does my code tell the Android OS which of these "default" interfaces it will be handling? My suspicion is that, if a USB interface is being advertised, there is *already* code behind it. That brings me full circle to the question of "How does my code inform Android that it wants to use certain VID/PID values?"
I hope I've explained this clearly. It's a pretty detailed question, so if it's unclear I can try to ask it differently. Thanks in advance for any guidance, tips, RTFM's, etc.!
For interacting arduino with android device, it can be written under eclipse, you can learned it from "Beginning Android ADK with Arduino" which can be downloaded from torrent market. VID/PID mostly used to allow your device to be recognised to your computer.
koklimabc said:
For interacting arduino with android device, it can be written under eclipse, you can learned it from "Beginning Android ADK with Arduino" which can be downloaded from torrent market.
Click to expand...
Click to collapse
Thanks, I'll look for that reference!
VID/PID mostly used to allow your device to be recognised to your computer.
Click to expand...
Click to collapse
Yes, but those parameters (along with a couple of others) are used to 1) confirm that the two devices recognize each other, and 2) in some cases to launch the proper code to handle that interface/protocol. So you must have control over them, and must initialize the USB system with the proper values in some manner. I presumed it would be in the Android API but I can't find any reference to setting the low-level values for USB connections.
Thanks again for the response! Anyone with additional data? It would be greatly appreciated!

Categories

Resources