linux/drivers
Bjørn Mork 922e1fd380 net: qmi_wwan: add XS Stick W100-2 from 4G Systems
[ Upstream commit 68242a5a1e ]

Thomas reports
"
4gsystems sells two total different LTE-surfsticks under the same name.
..
The newer version of XS Stick W100 is from "omega"
..
Under windows the driver switches to the same ID, and uses MI03\6 for
network and MI01\6 for modem.
..
echo "1c9e 9b01" > /sys/bus/usb/drivers/qmi_wwan/new_id
echo "1c9e 9b01" > /sys/bus/usb-serial/drivers/option1/new_id

T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1c9e ProdID=9b01 Rev=02.32
S:  Manufacturer=USB Modem
S:  Product=USB Modem
S:  SerialNumber=
C:  #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
I:  If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

Now all important things are there:

wwp0s29f7u2i3 (net), ttyUSB2 (at), cdc-wdm0 (qmi), ttyUSB1 (at)

There is also ttyUSB0, but it is not usable, at least not for at.

The device works well with qmi and ModemManager-NetworkManager.
"

Reported-by: Thomas Schäfer <tschaefer@t-online.de>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2015-12-14 12:19:24 -05:00
..
accessibility printk: move braille console support into separate braille.[ch] files 2013-07-31 14:41:03 -07:00
acpi ACPI / init: Switch over platform to the ACPI mode later 2015-08-27 13:25:39 -04:00
amba PM / Domains: Move dev_pm_domain_attach|detach() to pm_domain.h 2014-09-30 01:16:44 +02:00
ata Add factory recertified Crucial M500s to blacklist 2015-09-22 15:20:20 -04:00
atm solos-pci: fix error return code 2014-11-23 14:29:44 -05:00
auxdisplay auxdisplay: ks0108: fix refcount 2015-10-27 22:14:50 -04:00
base mm: check if section present during memory block registering 2015-10-27 22:14:54 -04:00
bcma bcma: add another PCI ID of device with BCM43228 2014-10-23 14:02:06 -04:00
block xen-blkfront: check for null drvdata in blkback_changed (XenbusStateClosing) 2015-11-15 12:51:51 -05:00
bluetooth Bluetooth: ath3k: Add a new ID 0cf3:e006 to ath3k list 2015-08-27 13:26:00 -04:00
bus bus: arm-ccn: Fix node->XP config conversion 2015-07-03 23:02:13 -04:00
cdrom block,scsi: fixup blk_get_request dead queue scenarios 2014-08-28 10:03:46 -06:00
char hwmon: (dell-smm) Blacklist Dell Studio XPS 8100 2015-08-27 13:25:30 -04:00
clk clk: versatile: off by one in clk_sp810_timerclken_of_get() 2015-10-27 22:14:38 -04:00
clocksource clocksource: exynos_mct: Avoid blocking calls in the cpu hotplug notifier 2015-07-05 10:12:52 -04:00
connector connector: Use ktime_get_ns() 2014-07-23 10:18:07 -07:00
cpufreq intel_pstate: Fix overflow in busy_scaled due to long delay 2015-10-27 22:14:30 -04:00
cpuidle cpuidle: remove state_count field from struct cpuidle_device 2015-04-24 17:13:56 -04:00
crypto crypto: caam - fix memory corruption in ahash_final_ctx 2015-09-17 01:31:22 -04:00
dca dca: convert to idr_alloc() 2013-02-27 19:10:15 -08:00
devfreq PM / devfreq: exynos: Enable building exynos PPMU as module 2014-09-29 20:22:36 +09:00
dio m68k: don't export static inline functions 2009-12-06 11:18:28 +01:00
dma dmaengine: dw: properly read DWC_PARAMS register 2015-10-27 22:13:05 -04:00
dma-buf reservation: Remove shadowing local variable 'ret' 2015-03-23 21:02:50 -04:00
edac EDAC, ppc4xx: Access mci->csrows array elements properly 2015-09-16 10:00:40 -04:00
eisa Revert "EISA: Initialize device before its resources" 2014-01-17 14:57:29 -07:00
extcon extcon: gpio: Fix code cleanup 2014-09-22 16:48:47 +09:00
firewire firewire: cdev: prevent kernel stack leaking into ioctl arguments 2014-11-14 12:10:13 +01:00
firmware firmware: dmi_scan: Fix ordering of product_uuid 2015-06-10 13:42:36 -04:00
fmc Merge 3.14-rc5 into char-misc-next 2014-03-02 19:53:09 -08:00
gpio gpio: crystalcove: set IRQCHIP_SKIP_SET_WAKE for the irqchip 2015-07-03 23:02:23 -04:00
gpu drm/radeon: don't try to recreate sysfs entries on resume 2015-11-15 12:51:49 -05:00
hid HID: quirks: add QUIRK_NOGET for an other TPV touchscreen 2015-12-02 23:25:16 -05:00
hsi HSI changes for the v3.17 series 2014-08-06 20:06:14 -07:00
hv Drivers: hv: vmbus: Don't wait after requesting offers 2015-05-17 19:12:43 -04:00
hwmon hwmon: (nct6775) Swap STEP_UP_TIME and STEP_DOWN_TIME registers for most chips 2015-10-27 22:13:00 -04:00
hwspinlock hwspinlock: enable OMAP build for AM33xx, AM43xx & DRA7xx 2014-07-29 11:46:28 +03:00
i2c i2c: designware: Do not use parameters from ACPI on Dell Inspiron 7348 2015-11-13 13:18:58 -05:00
ide Merge branch 'for-3.18/drivers' of git://git.kernel.dk/linux-block 2014-10-18 12:12:45 -07:00
idle intel_idle: support additional Broadwell model 2015-08-27 13:26:06 -04:00
iio Revert "iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required" 2015-10-27 22:14:56 -04:00
infiniband IB/cm: Fix rb-tree duplicate free and use-after-free 2015-11-15 12:51:53 -05:00
input Input: zhenhua - ensure we have BITREVERSE 2015-12-03 09:57:24 -05:00
iommu iommu/amd: Handle integer overflow in dma_ops_area_alloc 2015-12-02 22:58:53 -05:00
ipack ipoctal: clear break interrupt as soon as it occurs 2014-09-23 23:26:42 -07:00
irqchip irqchip: sunxi-nmi: Fix off-by-one error in irq iterator 2015-07-03 12:34:47 -04:00
isdn isdn/gigaset: reset tty->receive_room when attaching ser_gigaset 2015-09-28 18:57:00 -04:00
leds leds / PM: fix hibernation on arm when gpio-led used with CPU led trigger 2015-07-03 23:02:15 -04:00
lguest x86: Clean up cr4 manipulation 2015-06-28 13:39:27 -04:00
macintosh windfarm: decrement client count when unregistering 2015-10-27 22:13:02 -04:00
mailbox Merge branch 'mailbox-for-linus' of git://git.linaro.org/landing-teams/working/fujitsu/integration 2014-10-21 11:21:19 -07:00
mcb mcb: Add support for shared PCI IRQs 2014-05-27 17:38:11 -07:00
md md/raid5: fix locking in handle_stripe_clean_event() 2015-11-15 12:51:53 -05:00
media [media] gscpa_m5602: use msecs_to_jiffies for conversions 2015-12-03 09:58:18 -05:00
memory AT91 reset, poweroff and ram drivers 2014-08-25 15:35:26 +02:00
memstick memstick: mspro_block: add missing curly braces 2015-05-17 19:12:28 -04:00
message mptfusion: prevent some memory corruption 2015-12-03 10:04:59 -05:00
mfd mfd: wm5110: Add register patch for rev E and above 2015-12-03 10:04:38 -05:00
misc cxl: Fix unbalanced pci_dev_get in cxl_probe 2015-10-27 09:33:08 -04:00
mmc mmc: core: fix race condition in mmc_wait_data_done 2015-10-07 10:19:43 -04:00
mtd UBI: return ENOSPC if no enough space available 2015-10-27 22:14:16 -04:00
net net: qmi_wwan: add XS Stick W100-2 from 4G Systems 2015-12-14 12:19:24 -05:00
nfc NFC: st21nfcb: remove st21nfcb_nci_i2c_disable 2015-07-03 23:02:25 -04:00
ntb ntb: Adding split BAR support for Haswell platforms 2014-10-17 07:08:51 -04:00
nubus kernel/printk: use symbolic defines for console loglevels 2014-06-04 16:54:17 -07:00
of of/address: Don't loop forever in of_find_matching_node_by_address(). 2015-10-27 22:14:51 -04:00
oprofile drivers/oprofile: Replace __get_cpu_var uses for address calculation 2014-08-26 13:45:46 -04:00
parisc Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-10-13 16:23:15 +02:00
parport parport: parport_pc: Implement architecture and device check to cut off false-positives 2014-09-23 23:14:28 -07:00
pci PCI: Add VPD function 0 quirk for Intel Ethernet devices 2015-12-02 22:35:50 -05:00
pcmcia Disable write buffering on Toshiba ToPIC95 2015-07-03 23:02:29 -04:00
phy phy: twl4030-usb: make runtime pm more reliable. 2015-08-20 17:33:10 -04:00
pinctrl pinctrl: mvebu: armada-38x: fix incorrect total number of GPIOs 2015-07-03 23:02:27 -04:00
platform hp-wmi: limit hotkey enable 2015-10-27 22:12:47 -04:00
pnp PNP: replace strnicmp with strncasecmp 2014-10-14 02:18:25 +02:00
power power: bq24190_charger: suppress build warning 2015-11-15 12:51:48 -05:00
powercap powercap / RAPL: change domain detection message 2014-09-03 01:29:00 +02:00
pps drivers/pps/clients/pps-gpio.c: remove redundant of_match_ptr 2013-11-13 12:09:35 +09:00
ps3 ps3-vuart: don't use PREPARE_WORK 2014-03-07 10:24:48 -05:00
ptp PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
pwm pwm: Changes for v3.18-rc1 2014-10-21 08:17:43 -07:00
rapidio PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
ras trace, RAS: Add eMCA trace event interface 2014-06-25 13:26:47 -07:00
regulator regulator: core: fix constraints output buffer 2015-07-03 23:02:25 -04:00
remoteproc remoteproc: da8xx: don't select CMA on no-MMU 2014-06-17 17:09:36 +02:00
reset reset: sunxi: fix spinlock initialization 2015-01-27 08:29:41 -08:00
rpmsg A small pull request consisting of: 2013-05-07 14:02:00 -07:00
rtc drivers/rtc/rtc-s3c.c: add .needs_src_clk to s3c6410 RTC data 2015-03-28 09:59:44 -04:00
s390 s390/3270: redraw screen on unsolicited device end 2015-12-02 22:59:03 -05:00
sbus Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc 2014-08-05 18:57:18 -07:00
scsi mvsas: Fix NULL pointer dereference in mvs_slot_task_free 2015-11-15 12:51:52 -05:00
sfi SFI / ACPI: Fix warnings reported during builds with W=1 2013-12-07 01:24:33 +01:00
sh drivers: sh: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:13 +02:00
sn Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
soc soc: versatile: Add terminating entry for realview_soc_of_match 2014-10-28 22:05:07 +01:00
spi spi: spi-pxa2xx: Check status register to determine if SSSR_TINT is disabled 2015-10-27 22:13:18 -04:00
spmi spmi: Remove duplicate inclusion of module.h 2014-07-10 15:22:13 -07:00
ssb SSB: fix Kconfig dependencies 2015-05-17 19:12:34 -04:00
staging iio: mxs-lradc: Fix temperature offset 2015-11-15 12:51:49 -05:00
target target/iscsi: Fix np_ip bracket issue by removing np_ip 2015-10-27 22:12:52 -04:00
tc TC: Handle device_register() errors. 2014-06-26 10:48:23 +01:00
thermal thermal: rcar: fix ENR register value 2015-08-27 13:26:01 -04:00
thunderbolt thunderbolt: Clear hops before overwriting 2014-08-26 14:54:48 -07:00
tty serial: 8250_pci: Add support for 12 port Exar boards 2015-11-15 12:51:53 -05:00
uio uio: Export definition of struct uio_device 2014-10-02 21:35:54 -07:00
usb usb: musb: fix cppi channel teardown for isoch transfer 2015-12-02 23:24:46 -05:00
uwb uwb: add an ASIE sysfs attribute to uwb_rc devices 2014-09-23 22:05:26 -07:00
vfio vfio-pci: Fix the check on pci device type in vfio_pci_probe() 2015-01-27 08:29:40 -08:00
vhost vhost/scsi: potential memory corruption 2015-11-15 12:51:53 -05:00
video fbdev: select versatile helpers for the integrator 2015-10-27 22:13:55 -04:00
virt drivers: clean-up prom.h implicit includes 2013-10-09 20:04:04 -05:00
virtio virtio-balloon: do not call blocking ops when !TASK_RUNNING 2015-04-16 20:11:27 -04:00
vlynq drivers/vlynq/vlynq.c: fix another resource size off by 1 error 2014-01-23 16:36:55 -08:00
vme vme: bridges: use pci_zalloc_consistent 2014-08-08 15:57:30 -07:00
w1 w1_therm reference count family data 2015-07-03 23:02:19 -04:00
watchdog watchdog: sunxi: fix activation of system reset 2015-10-27 22:12:58 -04:00
xen xen/gntdevt: Fix race condition in gntdev_release() 2015-08-27 13:25:25 -04:00
zorro zorro: Use ARRAY_SIZE 2014-07-11 10:38:02 +02:00
Kconfig soc: ti: add Keystone Navigator QMSS driver 2014-09-24 09:49:14 -04:00
Makefile Driver core patches for 3.17-rc1 2014-08-04 18:34:04 -07:00