History log of /system/core/include/usbhost/usbhost.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f68600abfc7f1e2d64a4737630feea43bdaa85dc 29-Apr-2015 Mike Lockwood <lockwood@google.com> libusbhost: Add usb_device_get_version()

Change-Id: If2161178e9fe94a94faf01c102ef64f2a72d093b
/system/core/include/usbhost/usbhost.h
d2e798b53039f35967705acd5f6c399742f97e72 13-Jan-2014 Mike Lockwood <lockwood@google.com> libusbhost: Add usb_device_set_configuration and usb_device_set_interface

usb_device_set_configuration is to support devices with multiple configurations
usb_device_set_interface supports switching between interfaces with alternate settings

Also moved zero string index checking to usb_device_get_string

Change-Id: I34610b25f135894a0cf752a33e5738d4314d7122
/system/core/include/usbhost/usbhost.h
dea46b6657845a366d13f57c720eab28c9062ab7 23-Oct-2012 Guillaume Ranquet <guillaumex.ranquet@intel.com> libusbhost: permits client polling on inotify wd

Modify libusbhost to expose the inotify watch descriptor to clients

This modification permits clients to add the watch descriptor to
their polling loop so that they don't have to use a dedicated
thread only for libusbhost.

Change-Id: I615bfcd56beab978135034b228d4d93337351eab
Signed-off-by: Guillaume Ranquet <guillaumex.ranquet@intel.com>
Signed-off-by: Luc Piguet-Lacroix <lucx.piguet-lacroix@intel.com>
/system/core/include/usbhost/usbhost.h
b5d68a3c28d0b7a947373344cbda2a2369d0b67d 14-Feb-2011 Mike Lockwood <lockwood@android.com> libusbhost: Save endpoint ID in usb_request struct

Change-Id: I2cf189cee67c2efbcf919c8bae1447a6cb112f02
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
120b57a3d9703bccba534af335aa94dd3a41be2f 27-Jan-2011 Mike Lockwood <lockwood@android.com> libusbhost: Add call for synchronous bulk transfers

Also clean up and add timeout to control request transfer

Change-Id: Ibc2d8ac64d0fa90e0a23e6225ce2c49b23bb0d97
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
ec9e7b1c1844e66c39a4f63ded8208c1717380f8 22-Jan-2011 Mike Lockwood <lockwood@android.com> libusbhost: Add usb_device_connect_kernel_driver()

This can be used to ask the kernel to disconnect its driver for a device
so usb_device_claim_interface() can claim it instead.

Also increased size of descriptor buffer and added some debugging logs

Change-Id: I4945196d957fb8493716eb9b7e5463c06b168ef1
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
be1def8d43d75e280cdd75d432ddcadeaff580b1 07-Jan-2011 Mike Lockwood <lockwood@android.com> libusbhost: Tweak comments.

Change-Id: I45fdba7a94438f7c15fbca5dd65f07df9b522fb3
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
e533c5f1005e8913f577d2aeac5a26f88f55a249 05-Jan-2011 Mike Lockwood <lockwood@android.com> libusbhost: Support for multiple pending requests on a single endpoint

Add new usb_request struct to replace usb_endpoint, which is no longer needed.

Change-Id: Ia3637b3431a3597caced41bfec677ef0b044a453
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
7d700f8bdce747a26e3ee4737683194d77286ba3 29-Dec-2010 Mike Lockwood <lockwood@android.com> libusbhost: Add usb_device_get_name_from_unique_id()

This allows converting from unique IDs to USB device names

Change-Id: I8e3b300790c01383aed8e3d4f547b54bcb7c2cd4
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
50372073d2919480fb32d56cb3b91663b9fca0f1 13-Dec-2010 Mike Lockwood <lockwood@android.com> libusbhost: Add accessor for the USB device descriptor

Change-Id: Ic3a54e2a06f3b4fa72f99b64025a911fbf525daf
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
cd185f23cc6f062b252d1d19bca55e721290ee62 12-Dec-2010 Mike Lockwood <lockwood@android.com> libusbhost: Add support for creating a usb_device struct from an existing fd

We will use this for sharing USB file descriptors across address spaces via Binder

Change-Id: Iadbd3e0a4178f79d1d778fdfd5175f6fe0e2aaf5
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
3af05b09eb116e48997a2d4611b0a1e033737d2e 10-Dec-2010 Erik Gilling <konkers@android.com> libusbhost: add usb chapter 9 include to usbhost.h

Change-Id: I4dcadf8e8d9b25782351c9aeefb0d2cea81bbc9e
/system/core/include/usbhost/usbhost.h
07eb4af174f31c449a86dd459e2c81702f74acf1 28-Jul-2010 Mike Lockwood <lockwood@android.com> libusbhost: add usb_device_get_unique_id_from_name()

Change-Id: Idce54fc26d0432d4dc46f605623c4960c0e8690f
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
1b7d991b433cf6d6fae4f40cb37f9b6c6043cfbc 24-Jul-2010 Mike Lockwood <lockwood@android.com> libusbhost: Add usb_device_send_control for sending raw commands on endpoint 0.

Change-Id: If883f2690c4031b9ba4d5cf943b5bf5c13193bce
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
a805519ceedc53afa5453a6d8a7d80038d885d9f 20-Jul-2010 Mike Lockwood <lockwood@android.com> libusbhost: Add callback to usb_host_run to notify when initial device 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
/system/core/include/usbhost/usbhost.h
7a96ba436c9a2bacc64e712bdb53bd7accc5c3a9 01-Jul-2010 Mike Lockwood <lockwood@android.com> libusbhost: The client is now responsible for creating the thread that 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>
/system/core/include/usbhost/usbhost.h
203f102028c4df33c191d8cd610775eba8d5366d 27-May-2010 Mike Lockwood <lockwood@android.com> libusbhost: Added usb_device_get_unique_id

Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
6ac3aa157493ef24bc837b679dd8292fad8961e0 25-May-2010 Mike Lockwood <lockwood@android.com> libusbhost: Remove global data to allow multiple instances in the same process.

Change-Id: I977145f44131ec8b588dd274e0afbc563f3aa4c0
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
5e567cb34b5e54467f501fc9703db82ca6639ff3 12-May-2010 Mike Lockwood <lockwood@android.com> libusbhost: add usb_endpoint_get_device()

Change-Id: Ibe4ce0551faca5d2d8bec0fbd21315a393b9f208
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h
30ff2c70ce05d761e8cb0ab7ee02b39a681fe0cb 09-May-2010 Mike Lockwood <lockwood@android.com> libusbhost: new library for Linux USB host support.

Supports access to Linux usbdevfs on both device and Linux host.

Change-Id: Ie88a5193be3ee715792b10b34b3da32ffc4ca57b
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/include/usbhost/usbhost.h