Skip to content

Commit f9a96d2

Browse files
committed
Merge tag 'usb-serial-4.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus
Johan writes: USB-serial fixes for v4.5-rc5 Here are some new device ids. Signed-off-by: Johan Hovold <[email protected]>
2 parents 3c7dc6a + d061c1c commit f9a96d2

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

drivers/usb/serial/cp210x.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ static const struct usb_device_id id_table[] = {
163163
{ USB_DEVICE(0x1843, 0x0200) }, /* Vaisala USB Instrument Cable */
164164
{ USB_DEVICE(0x18EF, 0xE00F) }, /* ELV USB-I2C-Interface */
165165
{ USB_DEVICE(0x18EF, 0xE025) }, /* ELV Marble Sound Board 1 */
166+
{ USB_DEVICE(0x1901, 0x0190) }, /* GE B850 CP2105 Recorder interface */
167+
{ USB_DEVICE(0x1901, 0x0193) }, /* GE B650 CP2104 PMC interface */
166168
{ USB_DEVICE(0x1ADB, 0x0001) }, /* Schweitzer Engineering C662 Cable */
167169
{ USB_DEVICE(0x1B1C, 0x1C00) }, /* Corsair USB Dongle */
168170
{ USB_DEVICE(0x1BA4, 0x0002) }, /* Silicon Labs 358x factory default */

drivers/usb/serial/option.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ static void option_instat_callback(struct urb *urb);
315315
#define TOSHIBA_PRODUCT_G450 0x0d45
316316

317317
#define ALINK_VENDOR_ID 0x1e0e
318+
#define SIMCOM_PRODUCT_SIM7100E 0x9001 /* Yes, ALINK_VENDOR_ID */
318319
#define ALINK_PRODUCT_PH300 0x9100
319320
#define ALINK_PRODUCT_3GU 0x9200
320321

@@ -607,6 +608,10 @@ static const struct option_blacklist_info zte_1255_blacklist = {
607608
.reserved = BIT(3) | BIT(4),
608609
};
609610

611+
static const struct option_blacklist_info simcom_sim7100e_blacklist = {
612+
.reserved = BIT(5) | BIT(6),
613+
};
614+
610615
static const struct option_blacklist_info telit_le910_blacklist = {
611616
.sendsetup = BIT(0),
612617
.reserved = BIT(1) | BIT(2),
@@ -1122,6 +1127,8 @@ static const struct usb_device_id option_ids[] = {
11221127
{ USB_DEVICE(KYOCERA_VENDOR_ID, KYOCERA_PRODUCT_KPC650) },
11231128
{ USB_DEVICE(KYOCERA_VENDOR_ID, KYOCERA_PRODUCT_KPC680) },
11241129
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6000)}, /* ZTE AC8700 */
1130+
{ USB_DEVICE_AND_INTERFACE_INFO(QUALCOMM_VENDOR_ID, 0x6001, 0xff, 0xff, 0xff), /* 4G LTE usb-modem U901 */
1131+
.driver_info = (kernel_ulong_t)&net_intf3_blacklist },
11251132
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6613)}, /* Onda H600/ZTE MF330 */
11261133
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x0023)}, /* ONYX 3G device */
11271134
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x9000)}, /* SIMCom SIM5218 */
@@ -1645,6 +1652,8 @@ static const struct usb_device_id option_ids[] = {
16451652
{ USB_DEVICE(ALINK_VENDOR_ID, 0x9000) },
16461653
{ USB_DEVICE(ALINK_VENDOR_ID, ALINK_PRODUCT_PH300) },
16471654
{ USB_DEVICE_AND_INTERFACE_INFO(ALINK_VENDOR_ID, ALINK_PRODUCT_3GU, 0xff, 0xff, 0xff) },
1655+
{ USB_DEVICE(ALINK_VENDOR_ID, SIMCOM_PRODUCT_SIM7100E),
1656+
.driver_info = (kernel_ulong_t)&simcom_sim7100e_blacklist },
16481657
{ USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X060S_X200),
16491658
.driver_info = (kernel_ulong_t)&alcatel_x200_blacklist
16501659
},

0 commit comments

Comments
 (0)