]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.4.140/usb-serial-cp210x-add-silicon-labs-ids-for-windows-update.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.4.140 / usb-serial-cp210x-add-silicon-labs-ids-for-windows-update.patch
CommitLineData
5922a299
GKH
1From 2f839823382748664b643daa73f41ee0cc01ced6 Mon Sep 17 00:00:00 2001
2From: Karoly Pados <pados@pados.hu>
3Date: Sat, 9 Jun 2018 13:26:08 +0200
4Subject: USB: serial: cp210x: add Silicon Labs IDs for Windows Update
5
6From: Karoly Pados <pados@pados.hu>
7
8commit 2f839823382748664b643daa73f41ee0cc01ced6 upstream.
9
10Silicon Labs defines alternative VID/PID pairs for some chips that when
11used will automatically install drivers for Windows users without manual
12intervention. Unfortunately, these IDs are not recognized by the Linux
13module, so using these IDs improves user experience on one platform but
14degrades it on Linux. This patch addresses this problem.
15
16Signed-off-by: Karoly Pados <pados@pados.hu>
17Cc: stable <stable@vger.kernel.org>
18Signed-off-by: Johan Hovold <johan@kernel.org>
19Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20
21---
22 drivers/usb/serial/cp210x.c | 3 +++
23 1 file changed, 3 insertions(+)
24
25--- a/drivers/usb/serial/cp210x.c
26+++ b/drivers/usb/serial/cp210x.c
27@@ -150,8 +150,11 @@ static const struct usb_device_id id_tab
28 { USB_DEVICE(0x10C4, 0x8B34) }, /* Qivicon ZigBee USB Radio Stick */
29 { USB_DEVICE(0x10C4, 0xEA60) }, /* Silicon Labs factory default */
30 { USB_DEVICE(0x10C4, 0xEA61) }, /* Silicon Labs factory default */
31+ { USB_DEVICE(0x10C4, 0xEA63) }, /* Silicon Labs Windows Update (CP2101-4/CP2102N) */
32 { USB_DEVICE(0x10C4, 0xEA70) }, /* Silicon Labs factory default */
33 { USB_DEVICE(0x10C4, 0xEA71) }, /* Infinity GPS-MIC-1 Radio Monophone */
34+ { USB_DEVICE(0x10C4, 0xEA7A) }, /* Silicon Labs Windows Update (CP2105) */
35+ { USB_DEVICE(0x10C4, 0xEA7B) }, /* Silicon Labs Windows Update (CP2108) */
36 { USB_DEVICE(0x10C4, 0xF001) }, /* Elan Digital Systems USBscope50 */
37 { USB_DEVICE(0x10C4, 0xF002) }, /* Elan Digital Systems USBwave12 */
38 { USB_DEVICE(0x10C4, 0xF003) }, /* Elan Digital Systems USBpulse100 */