Re: [PATCH 1/1] USB: Added quirk to recognize GE0301 3G modem as an interface.

From: BjÃrn Mork
Date: Wed Mar 13 2013 - 14:51:29 EST


manoj.iyer@xxxxxxxxxxxxx writes:

> +/* Reported by Timo Aaltonen <tjaalton@xxxxxxxxxx> */
> +UNUSUAL_DEV( 0x0af0, 0x7011, 0x0000, 0x9999,
> + "Option",
> + "Mass Storage",
> + USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
> + 0 ),
> +
> /* Reported by F. Aben <f.aben@xxxxxxxxxx>
> * This device (wrongly) has a vendor-specific device descriptor.
> * The entry is needed so usb-storage can bind to it's mass-storage


This device is already supported by the default usb_modeswitch
configuration:

bjorn@nemi:~$ tar zxOvf /usr/share/usb_modeswitch/configPack.tar.gz 0af0:7011
0af0:7011
# Option HSO device

TargetClass=0xff

MessageContent="55534243785634120100000080000601000000000000000000000000000000"

NoDriverLoading=1


Install the usb-modeswitch package and you're done. No need to patch
the kernel for this.


BjÃrn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/