Not for kernel-code, but usefull for testers/users:
udev-rules/usb_modeswitch
/lib/udev/rules.d/40-usb_modeswitch.rules
# ZTE MF821DO2
ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0325", RUN+="usb_modeswitch '%b/%k'"
/usr/share/usb_modeswitch/19d2:0325
# ZTE MF821DO2
DefaultVendor= 0x19d2
DefaultProduct= 0x0325
TargetVendor= 0x12d1
TargetProduct=0x0326
MessageContent="5553424302000000000000000000061b000000020000000000000000000000"
Thomas
--
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