<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/usb/serial, branch v3.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.0</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2011-06-27T20:46:44Z</updated>
<entry>
<title>USB: Add new FT232H chip to drivers/usb/serial/ftdi_sio.c</title>
<updated>2011-06-27T20:46:44Z</updated>
<author>
<name>Uwe Bonnes</name>
<email>bon@elektron.ikp.physik.tu-darmstadt.de</email>
</author>
<published>2011-06-17T15:30:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=309427b6351b763917caac3e4b2ab5651df99823'/>
<id>urn:sha1:309427b6351b763917caac3e4b2ab5651df99823</id>
<content type='text'>
appended patch adds support for the new FTDI FT232H chip. This chip is a
single channel version of the dual FT2232H/quad FT4232H, coming with it's
own default PID 0x6014 (FT2232H uses the same PID 0x6010 like FT2232C,
FT4232H has also it's own PID).

The patch was checked on an UM232H module and a terminal program with TX/RX
shorted to that typing in the terminal reproduced the characters.

Signed-off-by: Uwe Bonnes &lt;bon@elektron.ikp.physik.tu-darmstadt.de&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>USB: TI 3410/5052 USB Serial Driver: Fix mem leak when firmware is too big.</title>
<updated>2011-06-14T21:20:30Z</updated>
<author>
<name>Jesper Juhl</name>
<email>jj@chaosbits.net</email>
</author>
<published>2011-06-13T20:50:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=357f45db920393aac983a137bd74095f612d5a01'/>
<id>urn:sha1:357f45db920393aac983a137bd74095f612d5a01</id>
<content type='text'>
If the size of the firmware exceeds TI_FIRMWARE_BUF_SIZE we'll leak 'fw_p'
by failing to call release_firmware().
This patch fixes the leak.

Signed-off-by: Jesper Juhl &lt;jj@chaosbits.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>USB: serial: add another 4N-GALAXY.DE PID to ftdi_sio driver</title>
<updated>2011-06-08T20:48:30Z</updated>
<author>
<name>Steffen Sledz</name>
<email>sledz@dresearch-fe.de</email>
</author>
<published>2011-06-07T12:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a26d31cef06f43a76327c21235e75450869df2b8'/>
<id>urn:sha1:a26d31cef06f43a76327c21235e75450869df2b8</id>
<content type='text'>
E.g. newer CAN 2.0 A/B &lt;=&gt; USB 2.0 converters report idProduct=f3c2.

Signed-off-by: Steffen Sledz &lt;sledz@dresearch-fe.de&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Revert "USB: option: add ID for ZTE MF 330"</title>
<updated>2011-06-07T22:03:37Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2011-06-07T22:03:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3095ec895fd5ec19a7cb60b5cbfa766d68a74a24'/>
<id>urn:sha1:3095ec895fd5ec19a7cb60b5cbfa766d68a74a24</id>
<content type='text'>
This reverts commit a559d2c8c1bf652ea2d0ecd6ab4a250fcdb37db8.

Turns out that device id 0x1d6b:0x0002 is a USB hub, which causes havoc
when the option driver tries to bind to it.

So revert this as it doesn't seem to be needed at all.

Thanks to Michael Tokarev and Paweł Drobek for working on resolving this
issue.

Cc: Paweł Drobek &lt;pawel.drobek@gmail.com&gt;
Cc: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
Cc: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>USB: option Add blacklist for ZTE K3765-Z (19d2:2002)</title>
<updated>2011-06-06T22:58:57Z</updated>
<author>
<name>Torsten Hilbrich</name>
<email>torsten.hilbrich@secunet.com</email>
</author>
<published>2011-06-06T13:39:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7e8e62e4a5d26e4cb45f25dddd093837d75616c2'/>
<id>urn:sha1:7e8e62e4a5d26e4cb45f25dddd093837d75616c2</id>
<content type='text'>
The funtion option_send_status times out when sending USB messages
to the interfaces 0, 1, and 2 of this UMTS stick. This results in a
5s timeout in the function causing other tty operations to feel very
sluggish.

This patch adds a blacklist entry for these 3 interfaces on the ZTE
K3765-Z device.

I was also able to reproduce the problem with v2.6.38 and v2.6.39.

This is very similar to a problem fixed in

commit 7a89e4cb9cdaba92f5fbc509945cf4e3c48db4e2
Author: Herton Ronaldo Krzesinski &lt;herton.krzesinski@canonical.com&gt;
Date:   Wed Mar 9 09:19:48 2011 +0000

    USB: serial: option: Apply OPTION_BLACKLIST_SENDSETUP also for ZTE MF626

Signed-off-by: Torsten Hilbrich &lt;torsten.hilbrich@secunet.com&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>option: add Prolink PH300 modem IDs</title>
<updated>2011-06-06T22:58:15Z</updated>
<author>
<name>Dan Williams</name>
<email>dcbw@redhat.com</email>
</author>
<published>2011-06-06T21:55:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5c3e4076ee8253c1e3688d10653ddee47a03b0db'/>
<id>urn:sha1:5c3e4076ee8253c1e3688d10653ddee47a03b0db</id>
<content type='text'>
Simple ID addition.

Signed-off-by: Dan Williams &lt;dcbw@redhat.com&gt;
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>option: add Alcatel X200 to sendsetup blacklist</title>
<updated>2011-06-06T22:58:14Z</updated>
<author>
<name>Dan Williams</name>
<email>dcbw@redhat.com</email>
</author>
<published>2011-06-06T21:22:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=15badbcc8eede58b0d7e53a3acde1c90a7b6e40e'/>
<id>urn:sha1:15badbcc8eede58b0d7e53a3acde1c90a7b6e40e</id>
<content type='text'>
This modem really wants sendsetup blacklisted for interfaces 0 and 1,
otherwise the kernel hardlocks for about 10 seconds while waiting for
the modem's firmware to respond, which it of course doesn't do.

A slight complication here is that TCT (who owns the Alcatel brand) used
the same USB IDs for the X200 as the X060s despite the devices having
completely different firmware and AT command sets, so we end up adding
the X060s to the blacklist at the same time.  PSA to OEMs: don't use the
same USB IDs for different devices.  Really.  It makes your kittens cry.

Signed-off-by: Dan Williams &lt;dcbw@redhat.com&gt;
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>option: add Zoom 4597 modem USB IDs</title>
<updated>2011-06-06T22:58:14Z</updated>
<author>
<name>Dan Williams</name>
<email>dcbw@redhat.com</email>
</author>
<published>2011-06-06T21:08:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cdacb598fe7ab85de80908c818dd7d66a2971117'/>
<id>urn:sha1:cdacb598fe7ab85de80908c818dd7d66a2971117</id>
<content type='text'>
Uses Longcheer-based firmware and AT command set.

Signed-off-by: Dan Williams &lt;dcbw@redhat.com&gt;
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>USB: option: add support for Huawei E353 device</title>
<updated>2011-05-17T18:20:22Z</updated>
<author>
<name>Marcin Gałczyński</name>
<email>marcin@galczynski.pl</email>
</author>
<published>2011-05-15T09:41:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=610ba42f29c3dfa46a05ff8c2cadc29f544ff76d'/>
<id>urn:sha1:610ba42f29c3dfa46a05ff8c2cadc29f544ff76d</id>
<content type='text'>
I am sharing patch to the devices/usb/serial/option.c. This allows
operation of Huawei E353 broadband modem using the “option” driver. The
patch simply adds new constant with proper product ID and an entry to
usb_device_id. I worked on the 2.6.38.6 sources. Tested on Dell inspiron
1764 (i3 core cpu) and brand new Huawei E353 modem, Fedora 15 beta.

Looking at the type of change, i doubt it has potential to introduce
problems in other parts of kernel or the driver itself.

Signed-off-by: Marcin Galczynski &lt;marcin@galczynski.pl&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>drivers/usb/serial/opticon.c: Release resources on kmalloc failure</title>
<updated>2011-05-13T22:51:08Z</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2011-05-13T15:30:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b0795bbf6dc6bd0a7a37d9d1ef4558e9e2b0acd6'/>
<id>urn:sha1:b0795bbf6dc6bd0a7a37d9d1ef4558e9e2b0acd6</id>
<content type='text'>
Several resources have been allocated before this kmalloc failure, and thus
they should be released in this error handling code, as done in nearby
error handling code.

The semantic match that finds this problem is:
(http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@r exists@
local idexpression urb;
statement S;
position p1,p2;
@@

urb = usb_alloc_urb@p1(...);
... when != urb
if (urb == NULL) S
... when != urb
(
return &lt;+...urb...+&gt;;
|
return@p2 ...;
)

@script:python@
p1 &lt;&lt; r.p1;
p2 &lt;&lt; r.p2;
@@

cocci.print_main("",p1)
cocci.print_secs("",p2)
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
