In the latest usb_modeswitch version 1.0.5, the source code
usb_modeswitch.c
line 437
Code: Select all
specialMode = DetachStorageOnly + HuaweiMode + SierraMode + SonyMode;
if ( specialMode > 1 ) {
SHOW_PROGRESS("Invalid mode combination. Check your configuration. Aborting.\n\n");
exit(1);
}
There are E169 and E220 in my hand, both can't work in this way.
Because I always use config to do mode switch, so when I update to version 1.0.5(from very old version 0.9.4@@), I find out this problem quickly.
Now my solution is to change config
DetachStorageOnly=1 => DetachStorageOnly=0
Is there any consideration on this check code?
If this is necessary, I suggest the usb_modeswitch.conf should also disable the Huawei product's DetachStorageOnly value.
thanks~