<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/usb/serial, branch linux-2.6.23.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>USB: update sierra.c with latest device ids that are in 2.6.24-rc7</title>
<updated>2008-02-08T20:01:32+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2008-01-15T19:17:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=08d62c691a5417b713b02d9dcba8950f437a1287'/>
<id>08d62c691a5417b713b02d9dcba8950f437a1287</id>
<content type='text'>
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>USB: usbserial - fix potential deadlock between write() and IRQ</title>
<updated>2007-11-16T17:30:23+00:00</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2007-10-19T22:05:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=70ad1f56fd045f830191956fbf25058733d40b96'/>
<id>70ad1f56fd045f830191956fbf25058733d40b96</id>
<content type='text'>
patch acd2a847e7fee7df11817f67dba75a2802793e5d in mainline.

USB: usbserial - fix potential deadlock between write() and IRQ

usb_serial_generic_write() doesn't disable interrupts when taking port-&gt;lock,
and could therefore deadlock with usb_serial_generic_read_bulk_callback()
being called from interrupt, taking the same lock. Fix it.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Acked-by: Larry Finger &lt;larry.finger@lwfinger.net&gt;
Cc: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
patch acd2a847e7fee7df11817f67dba75a2802793e5d in mainline.

USB: usbserial - fix potential deadlock between write() and IRQ

usb_serial_generic_write() doesn't disable interrupts when taking port-&gt;lock,
and could therefore deadlock with usb_serial_generic_read_bulk_callback()
being called from interrupt, taking the same lock. Fix it.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Acked-by: Larry Finger &lt;larry.finger@lwfinger.net&gt;
Cc: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>USB: drivers/usb/serial/bus.c: Fix incompatible pointer type warning</title>
<updated>2007-09-11T14:48:17+00:00</updated>
<author>
<name>Satyam Sharma</name>
<email>satyam@infradead.org</email>
</author>
<published>2007-09-02T20:12:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=03fc370bdc1b31f3d09bd88d65bc50c03f450a9d'/>
<id>03fc370bdc1b31f3d09bd88d65bc50c03f450a9d</id>
<content type='text'>
drivers/usb/serial/bus.c: In function usb_serial_bus_deregister:
drivers/usb/serial/bus.c:185:
warning: passing argument 1 of free_dynids from incompatible pointer type

Above build warning comes when CONFIG_HOTPLUG=n because argument of
free_dynids() in serial/bus.c is a struct usb_serial_driver, not a
struct usb_driver. This is not a runtime bug, because the function
is an empty stub and never dereferences the passed pointer anyway.

Signed-off-by: Satyam Sharma &lt;satyam@infradead.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
drivers/usb/serial/bus.c: In function usb_serial_bus_deregister:
drivers/usb/serial/bus.c:185:
warning: passing argument 1 of free_dynids from incompatible pointer type

Above build warning comes when CONFIG_HOTPLUG=n because argument of
free_dynids() in serial/bus.c is a struct usb_serial_driver, not a
struct usb_driver. This is not a runtime bug, because the function
is an empty stub and never dereferences the passed pointer anyway.

Signed-off-by: Satyam Sharma &lt;satyam@infradead.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>USB: option: Add Dell HSDPA 5520 to driver</title>
<updated>2007-09-11T14:48:15+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2007-08-30T17:02:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=2c4cd1f13a658daacb4fe5ed88887675c31ae78f'/>
<id>2c4cd1f13a658daacb4fe5ed88887675c31ae78f</id>
<content type='text'>
This is based on information sent in by Christian Gothe.

Cc: Christian Gothe &lt;christian.gothe@kapelan.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is based on information sent in by Christian Gothe.

Cc: Christian Gothe &lt;christian.gothe@kapelan.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>USB: option: Add a new device ID for the HUAWEI E220 HSDPA modem.</title>
<updated>2007-09-11T14:48:15+00:00</updated>
<author>
<name>Jaime Velasco Juan</name>
<email>jsagarribay@gmail.com</email>
</author>
<published>2007-09-07T18:06:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=a3209a0efc404cc4190b496bae247e7706371032'/>
<id>a3209a0efc404cc4190b496bae247e7706371032</id>
<content type='text'>
Signed-off-by: Jaime Velasco Juan &lt;jaime@singular.local&gt;
CC: Matthias Urlichs &lt;smurf@smurf.noris.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jaime Velasco Juan &lt;jaime@singular.local&gt;
CC: Matthias Urlichs &lt;smurf@smurf.noris.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>USB: ftdi_sio: add of a new product/manufacturer, TML</title>
<updated>2007-09-11T14:48:14+00:00</updated>
<author>
<name>Pierre Castella</name>
<email>pp.castella@gmail.com</email>
</author>
<published>2007-09-06T20:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=d7fde2d6729482e093b18a74fc24c4c2c0c61ca5'/>
<id>d7fde2d6729482e093b18a74fc24c4c2c0c61ca5</id>
<content type='text'>
I have added to a new product based on the FTDI 232R USB/Serial
transceiver, which is commercialized by The Mobility Lab. Here is a
trivial patch enclosed, against 2.6.22.6 kernel.

Signed-off-by: Pierre Castella &lt;pp.castella@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I have added to a new product based on the FTDI 232R USB/Serial
transceiver, which is commercialized by The Mobility Lab. Here is a
trivial patch enclosed, against 2.6.22.6 kernel.

Signed-off-by: Pierre Castella &lt;pp.castella@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>USB: oti6858: Remove broken ioctl code in -mm tree and also the broken fixes</title>
<updated>2007-09-11T14:48:13+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alan@lxorguk.ukuu.org.uk</email>
</author>
<published>2007-08-22T22:11:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=fa0e6721e7931f5bb0293db982b327b0dff97596'/>
<id>fa0e6721e7931f5bb0293db982b327b0dff97596</id>
<content type='text'>
This stuff is simply not needed.

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This stuff is simply not needed.

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>USB: Adding support for HTC Smartphones to ipaq</title>
<updated>2007-08-22T21:27:54+00:00</updated>
<author>
<name>Christian Heim</name>
<email>phreak@gentoo.org</email>
</author>
<published>2007-08-19T11:29:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=04cab1329336d4577d6638360c905e360934b425'/>
<id>04cab1329336d4577d6638360c905e360934b425</id>
<content type='text'>
This patch enables support for HTC Smartphones. The original patch is at
https://bugs.gentoo.org/show_bug.cgi?id=187522. Original author is Mike Doty
&lt;kingtaco@gentoo.org&gt;.

Signed-off-by: Christian Heim &lt;phreak@gentoo.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch enables support for HTC Smartphones. The original patch is at
https://bugs.gentoo.org/show_bug.cgi?id=187522. Original author is Mike Doty
&lt;kingtaco@gentoo.org&gt;.

Signed-off-by: Christian Heim &lt;phreak@gentoo.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>usb-serial: fix oti6858.c segfault in termios handling</title>
<updated>2007-08-22T21:27:48+00:00</updated>
<author>
<name>Thomas Viehmann</name>
<email>tv@beamnet.de</email>
</author>
<published>2007-07-25T08:21:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=a66639ab286250fe66b960c34ac91d0b2ee58a79'/>
<id>a66639ab286250fe66b960c34ac91d0b2ee58a79</id>
<content type='text'>
The oti6858 usb serial driver should use kernel_termios_to_user_termios/
user_termios_to_kernel_termios to avoid segfaults because the kernel
uses a structure differing from that of user space with a different
size.

Signed-off-by: Thomas Viehmann &lt;tv@beamnet.de&gt;
CC: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The oti6858 usb serial driver should use kernel_termios_to_user_termios/
user_termios_to_kernel_termios to avoid segfaults because the kernel
uses a structure differing from that of user space with a different
size.

Signed-off-by: Thomas Viehmann &lt;tv@beamnet.de&gt;
CC: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>USB: belkin_sa: avoid divide by zero error</title>
<updated>2007-08-22T21:27:46+00:00</updated>
<author>
<name>Andy Green</name>
<email>andy@warmcat.com</email>
</author>
<published>2007-08-09T19:19:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e48eb085aca2971a1249efbb68f33e9ebca1395e'/>
<id>e48eb085aca2971a1249efbb68f33e9ebca1395e</id>
<content type='text'>
The belkin_sa module has a problem coping with a 0 return from
tty_get_baud_rate() -- the subsequent BELKIN_SA_BAUD macro

drivers/usb/serial/belkin_sa.h:#define BELKIN_SA_BAUD(b) (230400/b)

performs a divide with it leading to the following divide error:

usb 3-1: Belkin / Peracom / GoHubs USB Serial Adapter converter now attached to ttyUSB0
PM: Adding info for No Bus:usbdev3.3_ep81
PM: Adding info for No Bus:usbdev3.3_ep01
PM: Adding info for No Bus:usbdev3.3_ep82
divide error: 0000 [#1]
SMP
Modules linked in: vfat fat iwl3945 mac80211 cfg80211 belkin_sa usbserial usb_storage autofs4 vmnet(P) vmmon(P) aes nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables cpufreq_ondemand acpi_cpufreq video output sbs button dock battery ac arc4 snd_hda_intel ecb blkcipher snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss sr_mod snd_mixer_oss rtc_cmos cdrom iTCO_wdt iTCO_vendor_support snd_pcm rtc_core snd_timer serio_raw b44 ssb rtc_lib parport ata_piix snd soundcore snd_page_alloc mii ata_generic sg ahci libata sd_mod scsi_mod ext3 jbd mbcache ehci_hcd ohci_hcd uhci_hcd
CPU:    1
EIP:    0060:[&lt;f8dd1747&gt;]    Tainted: P        VLI
EFLAGS: 00010246   (2.6.23-rc1 #1)
EIP is at belkin_sa_set_termios+0x18e/0x5b9 [belkin_sa]
eax: 00038400   ebx: 00000000   ecx: 00000000   edx: 00000000
esi: 00038400   edi: 00001cb2   ebp: de49adb0   esp: de49ad6c
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process minicom (pid: 7306, ti=de49a000 task=eed6c3b0 task.ti=de49a000)
Stack: d85c74f0 00000046 00000002 00000001 d85c74f0 d85c74f0 00000246 c887c658
       00000001 00000cb0 00000001 00000084 00000000 d01b58c0 f6ba10e0 de49ade8
       de49ae40 de49add0 f8e2526b d85c74b8 ca6e6dbc de49ae40 d85c746c eded72e8
Call Trace:
 [&lt;c0405f35&gt;] show_trace_log_lvl+0x1a/0x2f
 [&lt;c0405fe5&gt;] show_stack_log_lvl+0x9b/0xa3
 [&lt;c04061a5&gt;] show_registers+0x1b8/0x289
 [&lt;c0406389&gt;] die+0x113/0x246
 [&lt;c0622f98&gt;] do_trap+0x8a/0xa3
 [&lt;c04068dc&gt;] do_divide_error+0x85/0x8f
 [&lt;c0622d6a&gt;] error_code+0x72/0x78
 [&lt;f8e2526b&gt;] serial_set_termios+0x86/0x8d [usbserial]
 [&lt;c0542d33&gt;] set_termios+0x309/0x34c
 [&lt;c0542ece&gt;] n_tty_ioctl+0x158/0x4ba
 [&lt;c054030b&gt;] tty_ioctl+0xc78/0xcd6
 [&lt;c048aea0&gt;] do_ioctl+0x50/0x67
 [&lt;c048b100&gt;] vfs_ioctl+0x249/0x25c
 [&lt;c048b15c&gt;] sys_ioctl+0x49/0x61
 [&lt;c0404ed2&gt;] sysenter_past_esp+0x5f/0x99
 =======================
Code: 85 c0 79 14 c7 44 24 04 67 1c dd f8 c7 04 24 d4 1e dd f8 e8 96 99 65 c7 8b 46 04 be 00 84 03 00 e8 47 11 77 c7 31 d2 89 c1 89 f0 &lt;f7&gt; f1 66 85 c0 89 c1 b8 01 00 00 00 0f 44 c8 8b 45 d8 85 db 8b
EIP: [&lt;f8dd1747&gt;] belkin_sa_set_termios+0x18e/0x5b9 [belkin_sa] SS:ESP 0068:de49ad6c

The small patch below should take care of this situation.  Note that my
kernel was tainted (vmware) but the problem will occur if
tty_get_baud_rate() ever returns zero and should be taken care of.

Signed-off-by: Andy Green &lt;andy@warmcat.com&gt;
Cc: William Greathouse &lt;wgreathouse@smva.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The belkin_sa module has a problem coping with a 0 return from
tty_get_baud_rate() -- the subsequent BELKIN_SA_BAUD macro

drivers/usb/serial/belkin_sa.h:#define BELKIN_SA_BAUD(b) (230400/b)

performs a divide with it leading to the following divide error:

usb 3-1: Belkin / Peracom / GoHubs USB Serial Adapter converter now attached to ttyUSB0
PM: Adding info for No Bus:usbdev3.3_ep81
PM: Adding info for No Bus:usbdev3.3_ep01
PM: Adding info for No Bus:usbdev3.3_ep82
divide error: 0000 [#1]
SMP
Modules linked in: vfat fat iwl3945 mac80211 cfg80211 belkin_sa usbserial usb_storage autofs4 vmnet(P) vmmon(P) aes nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables cpufreq_ondemand acpi_cpufreq video output sbs button dock battery ac arc4 snd_hda_intel ecb blkcipher snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss sr_mod snd_mixer_oss rtc_cmos cdrom iTCO_wdt iTCO_vendor_support snd_pcm rtc_core snd_timer serio_raw b44 ssb rtc_lib parport ata_piix snd soundcore snd_page_alloc mii ata_generic sg ahci libata sd_mod scsi_mod ext3 jbd mbcache ehci_hcd ohci_hcd uhci_hcd
CPU:    1
EIP:    0060:[&lt;f8dd1747&gt;]    Tainted: P        VLI
EFLAGS: 00010246   (2.6.23-rc1 #1)
EIP is at belkin_sa_set_termios+0x18e/0x5b9 [belkin_sa]
eax: 00038400   ebx: 00000000   ecx: 00000000   edx: 00000000
esi: 00038400   edi: 00001cb2   ebp: de49adb0   esp: de49ad6c
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process minicom (pid: 7306, ti=de49a000 task=eed6c3b0 task.ti=de49a000)
Stack: d85c74f0 00000046 00000002 00000001 d85c74f0 d85c74f0 00000246 c887c658
       00000001 00000cb0 00000001 00000084 00000000 d01b58c0 f6ba10e0 de49ade8
       de49ae40 de49add0 f8e2526b d85c74b8 ca6e6dbc de49ae40 d85c746c eded72e8
Call Trace:
 [&lt;c0405f35&gt;] show_trace_log_lvl+0x1a/0x2f
 [&lt;c0405fe5&gt;] show_stack_log_lvl+0x9b/0xa3
 [&lt;c04061a5&gt;] show_registers+0x1b8/0x289
 [&lt;c0406389&gt;] die+0x113/0x246
 [&lt;c0622f98&gt;] do_trap+0x8a/0xa3
 [&lt;c04068dc&gt;] do_divide_error+0x85/0x8f
 [&lt;c0622d6a&gt;] error_code+0x72/0x78
 [&lt;f8e2526b&gt;] serial_set_termios+0x86/0x8d [usbserial]
 [&lt;c0542d33&gt;] set_termios+0x309/0x34c
 [&lt;c0542ece&gt;] n_tty_ioctl+0x158/0x4ba
 [&lt;c054030b&gt;] tty_ioctl+0xc78/0xcd6
 [&lt;c048aea0&gt;] do_ioctl+0x50/0x67
 [&lt;c048b100&gt;] vfs_ioctl+0x249/0x25c
 [&lt;c048b15c&gt;] sys_ioctl+0x49/0x61
 [&lt;c0404ed2&gt;] sysenter_past_esp+0x5f/0x99
 =======================
Code: 85 c0 79 14 c7 44 24 04 67 1c dd f8 c7 04 24 d4 1e dd f8 e8 96 99 65 c7 8b 46 04 be 00 84 03 00 e8 47 11 77 c7 31 d2 89 c1 89 f0 &lt;f7&gt; f1 66 85 c0 89 c1 b8 01 00 00 00 0f 44 c8 8b 45 d8 85 db 8b
EIP: [&lt;f8dd1747&gt;] belkin_sa_set_termios+0x18e/0x5b9 [belkin_sa] SS:ESP 0068:de49ad6c

The small patch below should take care of this situation.  Note that my
kernel was tainted (vmware) but the problem will occur if
tty_get_baud_rate() ever returns zero and should be taken care of.

Signed-off-by: Andy Green &lt;andy@warmcat.com&gt;
Cc: William Greathouse &lt;wgreathouse@smva.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
</feed>
