Skip to contentSkip to conversation

USB: serial: cp210x: add Silicon Labs IDs for Windows Update

DISCUSSION Johan Hovold 1 participant 1 message Jun 18, 2018 USB

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Karoly Pados

Silicon Labs defines alternative VID/PID pairs for some chips that when used will automatically install drivers for Windows users without manual intervention. Unfortunately, these IDs are not recognized by the Linux module, so using these IDs improves user experience on one platform but degrades it on Linux. This patch addresses this problem.

How does this work; do these chips now come with the "windows update" PIDs, and the silabs drivers then reprogram them to use other PIDs once installed?

Is this documented somewhere?

Quoted 1 line

Now with mailing list in CC.

This kind of revision information should go below the cut-off line (---) below. I'll just remove it this time unless there's a resend.

Quoted 10 lines
---
 drivers/usb/serial/cp210x.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/usb/serial/cp210x.c +0 -0
index eb6c26cbe579..b1849f657e01 100644

drivers/usb/serial/cp210x.c static const struct usb_device_id id_table[] = { · line 146

Quoted 4 lines
drivers/usb/serial/cp210x.c +1 -0
@@ -143,8 +143,11 @@ static const struct usb_device_id id_table[] = {
 	{ USB_DEVICE(0x10C4, 0x8B34) }, /* Qivicon ZigBee USB Radio Stick */
 	{ USB_DEVICE(0x10C4, 0xEA60) }, /* Silicon Labs factory default */
 	{ USB_DEVICE(0x10C4, 0xEA61) }, /* Silicon Labs factory default */
+	{ USB_DEVICE(0x10C4, 0xEA63) }, /* Silicon Labs values for Windows Update support (CP2101-4/CP2102N) */

I may shorten this somewhat.

drivers/usb/serial/cp210x.c static const struct usb_device_id id_table[] = { · line 153

Quoted 7 lines
drivers/usb/serial/cp210x.c +2 -0
 	{ USB_DEVICE(0x10C4, 0xEA70) }, /* Silicon Labs factory default */
 	{ USB_DEVICE(0x10C4, 0xEA71) }, /* Infinity GPS-MIC-1 Radio Monophone */
+	{ USB_DEVICE(0x10C4, 0xEA7A) }, /* Silicon Labs values for Windows Update support (CP2105) */
+	{ USB_DEVICE(0x10C4, 0xEA7B) }, /* Silicon Labs values for Windows Update support (CP2108) */
 	{ USB_DEVICE(0x10C4, 0xF001) }, /* Elan Digital Systems USBscope50 */
 	{ USB_DEVICE(0x10C4, 0xF002) }, /* Elan Digital Systems USBwave12 */
 	{ USB_DEVICE(0x10C4, 0xF003) }, /* Elan Digital Systems USBpulse100 */

Thanks,
Johan
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html