summaryrefslogtreecommitdiffstats
path: root/libusbhost
Commit message (Collapse)AuthorAgeFilesLines
* libusbhost: add usb_device_get_unique_id_from_name()Mike Lockwood2010-07-271-0/+7
| | | | | Change-Id: Idce54fc26d0432d4dc46f605623c4960c0e8690f Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: Add usb_device_send_control for sending raw commands on endpoint 0.Mike Lockwood2010-07-241-28/+34
| | | | | Change-Id: If883f2690c4031b9ba4d5cf943b5bf5c13193bce Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: Fix deadlock on devices without USB host support.Mike Lockwood2010-07-201-0/+2
| | | | | Change-Id: Ic91f99d1169fcdc00474dd6a870eb7e614128bc2 Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: Add callback to usb_host_run to notify when initial device ↵Mike Lockwood2010-07-201-0/+3
| | | | | | | | | | | discovery is done This can be used to eliminate race conditions in clients that operate immediately on the currently connected device list. Signed-off-by: Mike Lockwood <lockwood@android.com> Change-Id: I14954b9fcc84239950ead6bdc1a0a888882c2226
* libusbhost: The client is now responsible for creating the thread that ↵Mike Lockwood2010-07-011-47/+49
| | | | | | | | | | monitors the bus This is to allow using a thread that is capable of calling through JNI to Java code to report USB device attached/removed events. Change-Id: Ia58592607a2c1f4357b31072044f5db5617d7f5b Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: Use logcat for debugging when building device library.Mike Lockwood2010-06-102-6/+20
| | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: Added usb_device_get_unique_idMike Lockwood2010-06-011-0/+8
| | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: Remove global data to allow multiple instances in the same process.Mike Lockwood2010-05-251-23/+25
| | | | | Change-Id: I977145f44131ec8b588dd274e0afbc563f3aa4c0 Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: add usb_endpoint_get_device()Mike Lockwood2010-05-121-0/+5
| | | | | Change-Id: Ibe4ce0551faca5d2d8bec0fbd21315a393b9f208 Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: new library for Linux USB host support.Mike Lockwood2010-05-102-0/+497
Supports access to Linux usbdevfs on both device and Linux host. Change-Id: Ie88a5193be3ee715792b10b34b3da32ffc4ca57b Signed-off-by: Mike Lockwood <lockwood@android.com>