usb: option: add ZD Incorporated HSPA modem
authorJanne Snabb <snabb@epipe.com>
Wed, 28 Dec 2011 19:36:00 +0000 (19:36 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jan 2012 19:29:42 +0000 (11:29 -0800)
commit3ff8999cb9dabcac0cbb8a778f79fb991f2358c8
tree14576f7cfdf79525da3574f6a47ba46572e51298
parentb4868343c4dde5315ffebc08de71ddffdd1460d8
usb: option: add ZD Incorporated HSPA modem

commit 3c8c9316710b83e906e425024153bf0929887b59 upstream.

Add support for Chinese Noname HSPA USB modem which is apparently
manufactured by a company called ZD Incorporated (based on texts in the
Windows drivers).

This product is available at least from Dealextreme (SKU 80032) and
possibly in India with name Olive V-MW250. It is based on Qualcomm
MSM6280 chip.

I needed to also add "options usb-storage quirks=0685:7000:i" in modprobe
configuration because udevd or the kernel keeps poking the embedded
fake-cd-rom which fails and causes the device to reset. There might be
a better way to accomplish the same. usb_modeswitch is not needed with
this device.

Signed-off-by: Janne Snabb <snabb@epipe.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/option.c