gadget driver, backed file storage - G1 Android Development

hi,
i'm not sure that this is the right section...btw...
i need to develop and test an usb gadget device driver, so i need the usb "slave" controller. I can't use the android emulator because it doesn't emulate the controller.
Buying the HTC dream, it's the right choice? I mean, could i encounter some problems by using the htc dream as a simple Android kernel developing device? (problems in rooting the device and so on...)
Thanks

Related

USB Keyboard support

It is my understanding that nobody has yet managed to successfully hook up a USB keyboard to an HTC Dream yet, or any other android phone. I doubt this is due to some hardware limitation as USBInput has recently been released for Windows Mobile phones (http://www.teksoftco.com/index.php?section=products&platform=1&pid=18). In fact, the Linux kernel has an HID driver built in so getting USB keyboard support on android should definitely be possible.
Would anyone know either of a project to realise the above, or anyone who might be interested in doing this?
I dont think G1 has USB hosts
and
I perfer Bluetooth Keyboard and mouse support (this seems more reasonable~)
Actually it is said to have usb host capability, but the kernel tree available for the htc dream has nothing to enable it. Documentation from Qualcomm will likely be required in order to make use of the feature.

USB audio device driver

Does anyone know if Windows Mobile 6.5 (or any other version for that matter) comes with an USB audio devices driver? Basically, I would like to be able to connect my external USB sound card to my WinMo device. I would simply test it but I don't own a 6.5 device (yet).
If there is no out-of-the-box driver available, are there any third party drivers available (free or commercial)? A quick google doesn't really help me but someone with better google skills might be more lucky...
Or are there limitations on the USB port on Windows Mobile devices making this type of driver an impossibility?
preciously few pdas support usbHost which is required to use any other usb devices
only 2 htc devices I know off support it

[Q] is /dev/bus/usb/* Standard in Android

I have an ePad (Android 2.1) that mounts usb devices in the normal Linux way so that I can use libusb to access them, I have managed to control my usb robot arm using an NDK app. Before I move onto making it a proper app instead of a hack job I wanted to know if the usb device files are standard to Android or if it's specific to my system.
Put it this way, if I make a nice cuddly app is it going to fail on most devices or work on most devices? (ones with USB OTG interface)
Sorry, I understand this could be a 'how long is a piece of string' type of question.
Many thanks,
Richard e Collins.
After a few hours of routing about on the internet I found an article on an exploit on the init daemon, google "android-root-source-code-looking-at-the-c-skills". This gave enough insight for me to deduce that this functionality I am getting is present on at least anything running 2.1 and above and is not a customisation unique to my device.

Question related android ?

i just want to know that why android operating system does not work directly in mobile devices
why there is need of development in it to use in all diffrent phones?
why it cant work directly like windows in pc does
and other question all others like bada os, symbien and apple os they all need they also need development or we can use them directly
if sumone didnt understand my question i will explain more
for further explanation>
windows we can install directly in any pc of any company or assembled
but android need development and designed for a seprate product of a specific brand
why?
no1 is intrestd in answring these questions ?
You are just kidding here right?
/Pun intended.
For example
[1] ....
[n] Windows has the complete set of drivers
[n+1] The manufacturer delivers the driver
Fundamentally, you're misunderstanding the situation. Windows does not run on any computer you can throw together. It runs on any computer that you can throw together that matches the evolving, de facto standard that started as the IBM PC.
It won't run on a SPARC Station or a 68k Mac or an IBM 360 or a Wii or a PS3 or, well, a HTC Vision.
Similarly, Android will run on any PC, er phone, er tablet, er, well computer that is basically the same as an existing Android device. The vast majority of the custom development that is, strictly-speaking, necessary for a new device amounts to device drivers. Now, most manufacturers do a lot on top of that to distinguish their product. That's where Sense and MotoBlur and such-like come into play.
A further complication is that storage space and memory are at a heavy premium on these devices. So, it is infeasible to include the incredible variety of drivers and other hardware support that makes a typical Windows or Linux install need several GBs.
Back in the day, when dinosaurs roamed the earth and there were only a handful of PC makers in the world, similar customization was needed. My first PC came with a manufacturer-custom version of DOS 2.1 and Windows 1.1. Is wasn't until at least DOS 3.x (maybe 4.x, that was a long time ago) that a vanilla MS copy had a chance of working. Even then, most peripherals *needed* a custom driver to be used at all. My first mouse is an example. Only way to use it was the Genius Mouse drivers that came with it.
thanks for ur answers guys

Anyone know about USB Dev?

Hi,
Android Dev Noob and just looking at the SDK I have this question which probably someone will be able to tell be straight away.
I want to relay USB Host port data to a USB accessory port.
I am looking at the USB Host APIs >= Andriod 3.1
What I want to do is be able to relay the keyboard, mouse and touchscreen that I have connected on the host port and relay that to the OTG.
So here is my noob questions before I waste loads of time.
1... Is it possible to create device manifests on the fly.
I was thinking I could just make devices connected on the host appear as if they are on the accessory port.
If not then I guess I could create some default manifests and pick the most relevant.
2... This is hardware related but many tablets and android boxes have separate usb host & otg ports?
It is possible to have a host and accessory going at the same time.
This might makes things a little easier as the rationale is that I have a windows 8 machine and an RK3288 android box and I want to share the keyboard, mouse and touchscreen.
Video is easy as I can just swap the input between pc & hdmi.
I was thinking if I plugged all my devices into android I could just have a hot Key to redirect to windows 8 or don't capture and use devices on android.
I thought it might be a much simpler way without network needs and have read there are gesture problems with KVM products such as Synergy.
What do you think is it possible, does anyone know if this has already been done and there is an app?
Also if you have any better ideas or some pointers where to start all will be welcome.
Many Thanks
Stuart

Categories

Resources