libusb - Register accessory to android phone, but when communication is established I receive “No installed aps work with this USB accessory” -
i'm trying register custom accessory android phone (4.4.2, slimkat , cyanogen). use beagleboneblack in revision a5b running ubuntu kernel version 3.8.13 usb host. accesory recognized android device phone says "connected media device" , udev rules set in ubuntu. want register accessory via libusb-1.0 api. followed guide step 11: http://electronicdesign.com/embedded/develop-aoa-usb-accessories-android-based-systems. in detail, can
- open host device on ubuntu , file handle
- claim interface send device info (manufacturer, model, description, version, uri , serialnumber)
- send request switch accessory mode
- reassign device handle
- reclaim device
now host device should ready communicate android device. @ time on phone message
"no installed aps work usb accessory. ..."
pops up.
my accessory-filter.xml android application looks like:
<?xml version="1.0" encoding="utf-8"?> <resources> <usb-accessory manufacturer="\\@4" model="\\@4" product-id="\\@4" vendor-id="\\@4" version="\\@4" /> </resources>
i imagine accessory-filter wrong, remember earlier projects vendor specific accessories, used way , had no problems. or error somewhere else? thank in advance support!
Comments
Post a Comment