Android的USB I / O [英] Android USB I/O

查看:115
本文介绍了Android的USB I / O的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好了,我的有无的看到所有关于如何充当USB主机的东西是香草机器人是不可能的,但有什么Android的API中,允许一个应用程序来替代默认USB行为,以手动控制USB I / O响应,以支持其他协议?我还没有看到任何东西,将有助于这一点,但有可能没有黑客内核?

OK, so i have seen all the stuff about how acting as a USB host is impossible on vanilla android, but is there anything in the Android API that would allow an app to override the default USB behavior in order to manually control the USB i/o responses, in order to support some other protocol? I have not seen anything that would facilitate this, but is it possible without hacking the kernel?

这似乎是诸如此类的事情,其中​​的的是比较容易的,但我没有发现任何东西。请原谅我,如果我一直在使用Google不正确。

This seems like the sort of thing which should be relatively easy, but i haven't found anything. Forgive me if i've been googling incorrectly.

推荐答案

我认为,现有的内核不包括这个正确的驱动程序。你必须能够以root您的设备,你需要一个能够充当USB主机的设备之一。

I believe that the stock kernel does not include the correct drivers for this. You need to be able to root your device and you need one of the devices capable of acting as a USB host.

请参阅此网页, http://sven.killig.de/android/N1 /2.2/usb_host/

所链接的页面有源内核和驱动程序,您需要...祝你好运,你需要它

The linked page had source for the kernel and drivers you'll need ... GOOD LUCK, you'll need it

这篇关于Android的USB I / O的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆