What is the usbhost.c file you are referring to? I don't see any file by that name in MSP430USBDevelopersPackage. I was already looking at the ACTION_USB_DEVICE_ATTACHED inside a BroadcastReceiver (I copied that code from the sample TI MSP430 HID Android app). I added some logging to get the relative timing of when ACTION_USB_DEVICE_ATTACHED is received vs when the getDeviceList() function on my UsbManager object (polled in a background thread) returns a device with my Vendor ID and Product ID. The timing is almost identical. As in: it is taking on the order of 10 seconds from when I actually plug in the MSP430 HID datapipe device before ACTION_USB_DEVICE_ATTACHED is broadcast. Is there anything earlier in the driver chain I can look for? Also I'm curious, is there anyone out there who has ever used any MSP430 HID datapipe device with Android and gotten their device to be detected in less than 10 seconds?
↧