Thanks,
Aaron
yes, that's true. BB has support for USB host.
can you please explain what do you mean by "how is it exposed to Android
application"?
what are you trying to do?
Thanks and Regards,
Shivdas Gujare
> applications?
>
> Thanks,
> Aaron
Thanks,
Aaron
On Feb 10, 12:38 am, "shivdas.gujare" <shivdas.guj...@embinux.com>
wrote:
refer to http://www.linux-usb.org/devices.html this may not be updated.
kernel source is the best option to look for.
For unknown devices, you have to write either a kernel driver or can write
user space driver(may be using libusb). I am not sure if someone have
ported
libusb for android.
> - Is there application-level access to the USB pipes?
yes, for device side gadgetfs, for host side libusb, also some IOCTL's,
not sure what you are looking for.
> - Do applications have permissions to access device handles created
> by USB class drivers? For example, if I had a USB-to-serial adapter,
> and assuming that a class driver exists for something like that, the
> driver would presumably create a device handle to represent the serial
> pipe. Would my Android application be permitted to read and write this
> handle?
yes, this is possible. if your USB-to-serial adapter creates /dev/ttyUSB0
you can read/write from application. I think, this is what you are looking
for.