Did you ever get this working? I am trying to accomplish something similar.
On Monday, December 12, 2011 4:15:36 AM UTC-5, Bhargav wrote: > > Hi All > > This is Vinod from India, We are trying to port the Accessory protocol > from the Arduino ADK to a Freescale iMX35 board, We are using beagle > board as Android powered device and the baegle board has been ported > with Android 2.3.4 that supports accessory mode(We are using the pre- > built android image from TI for Beagle board). > > We am using libusb-1.0 for implementing USB driver to communicate with > phone on the accessory. > > When the beagle board(Android powered device) is connected to the > Accessory(PC/iMx35) the accessory will read the VID and PID. > > When the accessory is trying to switch the android powered device(In > this case beagle board) to accessory mode by getting protocol by > sending vendor specific command and the request type = 51, the > response from the android device is that command is not supported by > the Android powered device(getting -9 as response to the > libusb_control_transfer()). > > Should we enable some service in the Android 2.3.4 to support > accessory? I am not able to proceed furhter any help is highly > appreciated. > > Many thanks and Best regards, > Vinod Bhargav B S > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

