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

岁酱吖の 提交于 2019-12-03 14:25:53

问题


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

回答1:


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...



来源:https://stackoverflow.com/questions/11336135/android-usb-host-mode-soft-mode-drivers-for-standard-class-compliant-usb-devic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!