Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android USB host mode "soft-mode" drivers for standard class-compliant USB devices

Now that the Android APIs support working directly with USB devices (since 3.1), I am curious if there has been any work to create "soft-mode" drivers for some of the more popular class-compliant devices (such as audio or HID).

In other words, are there any open source projects that wrap up more useful communication with specific classes of devices into a Java class that can be added to an Android project?

For my purposes, I am specifically interested in USB audio, but it seems that a community-built set of classes derived from Linux kernel module sources could be beneficial to many projects. My hope is that others have thought of the same thing and have already began work. Any pointers in this direction would be most appreciated.


A few more resources that I have stumbled on:

  • User mode USB isochronous transfer from device-to-host
  • Audio Evolution seems to have built their own userland driver somehow
like image 744
Brad Avatar asked Jul 04 '12 22:07

Brad


1 Answers

I have started work on an IRDA driver stack over USB in user space. I am working out the basic plumbing but as far as I can see if I can create the equivalent user space driver to the linux kernel drivers such as the STIR4200 driver then I "ought" to then be able to port over existing IRDA protocol stacks such as JIR.

We shall see...

like image 178
Neil Avatar answered Nov 06 '22 08:11

Neil