<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/linux/usb/f_accessory.h, branch T20_LinuxImageV2.0_20130305</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>USB: gadget: f_accessory: Add support for HID input devices</title>
<updated>2012-08-16T20:46:29+00:00</updated>
<author>
<name>Rakesh Bodla</name>
<email>rbodla@nvidia.com</email>
</author>
<published>2012-08-14T12:06:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d9b6490efce58b5790a7e5d02727b0aa6b357c9e'/>
<id>d9b6490efce58b5790a7e5d02727b0aa6b357c9e</id>
<content type='text'>
Bug 1026047

Signed-off-by: Mike Lockwood &lt;lockwood@google.com&gt;
(cherry picked from commit 7a3d01af4f04950a86a18f5a439f1802d8093650)

Conflicts:

	drivers/usb/gadget/f_accessory.c

Change-Id: I30bc02a1bcf636967d56370db83578f49f0e7514
Signed-off-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
Reviewed-on: http://git-master/r/123342
Reviewed-by: Venkat Moganty &lt;vmoganty@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug 1026047

Signed-off-by: Mike Lockwood &lt;lockwood@google.com&gt;
(cherry picked from commit 7a3d01af4f04950a86a18f5a439f1802d8093650)

Conflicts:

	drivers/usb/gadget/f_accessory.c

Change-Id: I30bc02a1bcf636967d56370db83578f49f0e7514
Signed-off-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
Reviewed-on: http://git-master/r/123342
Reviewed-by: Venkat Moganty &lt;vmoganty@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ACCESSORY_SET_AUDIO_MODE control request and ioctl</title>
<updated>2012-08-16T20:46:18+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@google.com</email>
</author>
<published>2012-05-11T16:00:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=23d5fe76cdc190682d1ca7cd1db0b4933631779c'/>
<id>23d5fe76cdc190682d1ca7cd1db0b4933631779c</id>
<content type='text'>
The control request will be used by the host to enable/disable USB audio
and the ioctl will be used by userspace to read the audio mode

Bug 1026047

Signed-off-by: Mike Lockwood &lt;lockwood@google.com&gt;
(cherry picked from commit 3e1ff6142761eef148c667e540381d1fbc437d4f)

Signed-off-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
Change-Id: I5f449de230ca8f44e2dae30a0f87772310b68f20
Reviewed-on: http://git-master/r/123341
Reviewed-by: Venkat Moganty &lt;vmoganty@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The control request will be used by the host to enable/disable USB audio
and the ioctl will be used by userspace to read the audio mode

Bug 1026047

Signed-off-by: Mike Lockwood &lt;lockwood@google.com&gt;
(cherry picked from commit 3e1ff6142761eef148c667e540381d1fbc437d4f)

Signed-off-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
Change-Id: I5f449de230ca8f44e2dae30a0f87772310b68f20
Reviewed-on: http://git-master/r/123341
Reviewed-by: Venkat Moganty &lt;vmoganty@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: gadget: f_accessory: Add ioctl to detect USB accessory attached at boot</title>
<updated>2011-12-01T05:38:53+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@android.com</email>
</author>
<published>2011-07-21T18:39:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=349eb32284604c038a5a3a0a3aaa52282a6ee528'/>
<id>349eb32284604c038a5a3a0a3aaa52282a6ee528</id>
<content type='text'>
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: gadget: f_accessory: New gadget driver for android USB accesories</title>
<updated>2011-12-01T05:38:41+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@android.com</email>
</author>
<published>2011-02-02T16:52:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a43630051fb522449c5e75bcbd65ed0e3764b6f3'/>
<id>a43630051fb522449c5e75bcbd65ed0e3764b6f3</id>
<content type='text'>
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;

USB: gadget: f_accessory: Misc improvements and cleanup:

- Add URI string

- Replace type string with a description string

- Add a control call to retrieve accessory protocol version (currently 1)

- Driver read() and write() calls now fail after USB disconnect until
  driver file is closed and reopened.

- Misc cleanup work

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;

USB: gadget: f_accessory: Clear accessory strings when USB is disconnected

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;

USB: gadget: f_accessory: Clear previous strings on ACCESSORY_GET_PROTOCOL

Clearing strings on disconnect does not work since we may receive
a disconnect on some devices when transitioning into accessory mode.
We require an accessory to send ACCESSORY_GET_PROTOCOL before
sending any strings, so any strings from a previous session will be cleared.

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;

USB: gadget: f_accessory: Clear disconnected flag when driver file is opened

Fixes a race condition that can occur when entering accessory mode.

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;

USB: gadget: f_accessory: Add string for accessory's unique serial number

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;

USB: gadget: f_accessory: Set bNumEndpoints to correct value of 2

Change-Id: I24f4e36f196d45436e0573301500c3b93215953d
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;

USB: gadget: f_accessory: Misc improvements and cleanup:

- Add URI string

- Replace type string with a description string

- Add a control call to retrieve accessory protocol version (currently 1)

- Driver read() and write() calls now fail after USB disconnect until
  driver file is closed and reopened.

- Misc cleanup work

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;

USB: gadget: f_accessory: Clear accessory strings when USB is disconnected

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;

USB: gadget: f_accessory: Clear previous strings on ACCESSORY_GET_PROTOCOL

Clearing strings on disconnect does not work since we may receive
a disconnect on some devices when transitioning into accessory mode.
We require an accessory to send ACCESSORY_GET_PROTOCOL before
sending any strings, so any strings from a previous session will be cleared.

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;

USB: gadget: f_accessory: Clear disconnected flag when driver file is opened

Fixes a race condition that can occur when entering accessory mode.

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;

USB: gadget: f_accessory: Add string for accessory's unique serial number

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;

USB: gadget: f_accessory: Set bNumEndpoints to correct value of 2

Change-Id: I24f4e36f196d45436e0573301500c3b93215953d
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
