<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/usb/serial, branch v3.13.4</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/usb/serial?h=v3.13.4</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/usb/serial?h=v3.13.4'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2014-02-06T19:33:53Z</updated>
<entry>
<title>USB: ftdi_sio: added CS5 quirk for broken smartcard readers</title>
<updated>2014-02-06T19:33:53Z</updated>
<author>
<name>Colin Leitner</name>
<email>colin.leitner@googlemail.com</email>
</author>
<published>2014-01-06T20:33:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9d4f3c7eb2692b07fda28465486fb155c8c46a04'/>
<id>urn:sha1:9d4f3c7eb2692b07fda28465486fb155c8c46a04</id>
<content type='text'>
commit c1f15196ac3b541d084dc80a8fbd8a74c6a0bd44 upstream.

Genuine FTDI chips support only CS7/8. A previous fix in commit
8704211f65a2 ("USB: ftdi_sio: fixed handling of unsupported CSIZE
setting") enforced this limitation and reported it back to userspace.

However, certain types of smartcard readers depend on specific
driver behaviour that requests 0 data bits (not 5) to change into a
different operating mode if CS5 has been set.

This patch reenables this behaviour for all FTDI devices.

Tagged to be added to stable, because it affects a lot of users of
embedded systems which rely on these readers to work properly.

Reported-by: Heinrich Siebmanns &lt;H.Siebmanns@t-online.de&gt;
Tested-by: Heinrich Siebmanns &lt;H.Siebmanns@t-online.de&gt;
Signed-off-by: Colin Leitner &lt;colin.leitner@gmail.com&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>USB: cypress_m8: fix ring-indicator detection and reporting</title>
<updated>2014-02-06T19:33:53Z</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2014-01-02T21:49:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=60b5c6f40e357b87e465ff8a94befb019f1bcc9e'/>
<id>urn:sha1:60b5c6f40e357b87e465ff8a94befb019f1bcc9e</id>
<content type='text'>
commit 440ebadeae9298d7de3d4d105342691841ec88d0 upstream.

Fix ring-indicator (RI) status-bit definition, which was defined as CTS,
effectively preventing RI-changes from being detected while reporting
false RI status.

This bug predates git.

Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>USB: serial: add support for iBall 3.5G connect usb modem</title>
<updated>2014-02-06T19:33:53Z</updated>
<author>
<name>Rahul Bedarkar</name>
<email>rahulbedarkar89@gmail.com</email>
</author>
<published>2014-01-02T15:27:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=efd921a4d74c1bf2d580593ee63dfe60fbe3ca79'/>
<id>urn:sha1:efd921a4d74c1bf2d580593ee63dfe60fbe3ca79</id>
<content type='text'>
commit 7d5c1b9c7cb5ec8e52b1adc65c484a923a8ea6c3 upstream.

Add support for iBall 3.5G connect usb modem.

$lsusb
Bus 002 Device 006: ID 1c9e:9605 OMEGA TECHNOLOGY

$usb-devices
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  6 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(&gt;ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1c9e ProdID=9605 Rev=00.00
S:  Manufacturer=USB Modem
S:  Product=USB Modem
S:  SerialNumber=1234567890ABCDEF
C:  #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

Signed-off-by: Rahul Bedarkar &lt;rahulbedarkar89@gmail.com&gt;
Suggested-by: Bjørn Mork &lt;bjorn@mork.no&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>usb: option: add new zte 3g modem pids to option driver</title>
<updated>2014-02-06T19:33:53Z</updated>
<author>
<name>张君</name>
<email>zjn77777@163.com</email>
</author>
<published>2013-12-18T07:37:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c2e054829425ea747cf150354413763b1fcb9db4'/>
<id>urn:sha1:c2e054829425ea747cf150354413763b1fcb9db4</id>
<content type='text'>
commit 4d90b819ae4c7ea8fd5e2bb7edc68c0f334be2e4 upstream.

Signed-off-by: Jun zhang &lt;zhang.jun92@zte.com.cn&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>USB: pl2303: fix data corruption on termios updates</title>
<updated>2014-02-06T19:33:52Z</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2013-12-29T18:22:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=90cf43ef61389b287bd0f0c4af65b1ba4dc7862f'/>
<id>urn:sha1:90cf43ef61389b287bd0f0c4af65b1ba4dc7862f</id>
<content type='text'>
commit 623c8263376c0b8a4b0c220232e7313d762cd0cc upstream.

Some PL2303 devices are known to lose bytes if you change serial
settings even to the same values as before. Avoid this by comparing the
encoded settings with the previsouly used ones before configuring the
device.

The common case was fixed by commit bf5e5834bffc6 ("pl2303: Fix mode
switching regression"), but this problem was still possible to trigger,
for instance, by using the TCSETS2-interface to repeatedly request
115201 baud, which gets mapped to 115200 and thus always triggers a
settings update.

Cc: Frank Schäfer &lt;fschaefer.oss@googlemail.com&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>usb: serial: zte_ev: move support for ZTE AC2726 from zte_ev back to option</title>
<updated>2013-12-09T21:14:12Z</updated>
<author>
<name>Dmitry Kunilov</name>
<email>dmitry.kunilov@gmail.com</email>
</author>
<published>2013-12-03T20:11:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=52d0dc7597c89b2ab779f3dcb9b9bf0800dd9218'/>
<id>urn:sha1:52d0dc7597c89b2ab779f3dcb9b9bf0800dd9218</id>
<content type='text'>
ZTE AC2726 EVDO modem drops ppp connection every minute when driven by
zte_ev but works fine when driven by option. Move the support for AC2726
back to option driver.

Signed-off-by: Dmitry Kunilov &lt;dmitry.kunilov@gmail.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: pl2303: fixed handling of CS5 setting</title>
<updated>2013-12-03T05:52:57Z</updated>
<author>
<name>Colin Leitner</name>
<email>colin.leitner@googlemail.com</email>
</author>
<published>2013-11-04T18:40:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a313249937820f8b1996133fc285efbd6aad2c5b'/>
<id>urn:sha1:a313249937820f8b1996133fc285efbd6aad2c5b</id>
<content type='text'>
This patch fixes the CS5 setting on the PL2303 USB-to-serial devices. CS5 has a
value of 0 and the CSIZE setting has been skipped altogether by the enclosing
if. Tested on 3.11.6 and the scope shows the correct output after the fix has
been applied.

Tagged to be added to stable, because it fixes a user visible driver bug and is
simple enough to backport easily.

Signed-off-by: Colin Leitner &lt;colin.leitner@gmail.com&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: ftdi_sio: fixed handling of unsupported CSIZE setting</title>
<updated>2013-12-03T05:52:57Z</updated>
<author>
<name>Colin Leitner</name>
<email>colin.leitner@googlemail.com</email>
</author>
<published>2013-11-05T17:02:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8704211f65a2106ba01b6ac9727cdaf9ca11594c'/>
<id>urn:sha1:8704211f65a2106ba01b6ac9727cdaf9ca11594c</id>
<content type='text'>
FTDI UARTs support only 7 or 8 data bits. Until now the ftdi_sio driver would
only report this limitation for CS6 to dmesg and fail to reflect this fact to
tcgetattr.

This patch reverts the unsupported CSIZE setting and reports the fact with less
severance to dmesg for both CS5 and CS6.

To test the patch it's sufficient to call

    stty -F /dev/ttyUSB0 cs5

which will succeed without the patch and report an error with the patch
applied.

As an additional fix this patch ensures that the control request will always
include a data bit size.

Signed-off-by: Colin Leitner &lt;colin.leitner@gmail.com&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: mos7840: correct handling of CS5 setting</title>
<updated>2013-12-03T05:52:57Z</updated>
<author>
<name>Colin Leitner</name>
<email>colin.leitner@googlemail.com</email>
</author>
<published>2013-11-08T21:52:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=78692cc3382e0603a47e1f2aaeffe0d99891994d'/>
<id>urn:sha1:78692cc3382e0603a47e1f2aaeffe0d99891994d</id>
<content type='text'>
This patch removes an erroneous check of CSIZE, which made it impossible to set
CS5.

Compiles clean, but couldn't test against hardware.

Signed-off-by: Colin Leitner &lt;colin.leitner@gmail.com&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: spcp8x5: correct handling of CS5 setting</title>
<updated>2013-12-03T05:52:57Z</updated>
<author>
<name>Colin Leitner</name>
<email>colin.leitner@googlemail.com</email>
</author>
<published>2013-11-08T21:53:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=711fbdfbf2bc4827214a650afe3f64767a1aba16'/>
<id>urn:sha1:711fbdfbf2bc4827214a650afe3f64767a1aba16</id>
<content type='text'>
This patch removes an erroneous check of CSIZE, which made it impossible to set
CS5.

Compiles clean, but couldn't test against hardware.

Signed-off-by: Colin Leitner &lt;colin.leitner@gmail.com&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
