root@OPNsense:~ # lsusbProtocol spec without prior Class and Subclass spec at line 23281Bus /dev/usb Device /dev/ugen2.2: ID 12d1:1f01 Huawei Technologies Co., Ltd. E353/E3131 (Mass storage mode)[truncated]
root@OPNsense:~ # usb_modeswitch -v 12d1 -p 1f01 -c /usr/local/share/usb_modeswitch/12d1:1f01Look for target devices ... No devices in target mode or class foundLook for default devices ... Found devices in default mode (1)Access device 002 on bus 002Get the current device configuration ...Current configuration number is 1Use interface number 0 with class 8Use endpoints 0x01 (out) and 0x81 (in)Using standard Huawei switching messageLooking for active drivers ... OK, driver detachedSet up interface 0Use endpoint 0x01 for message sending ...Trying to send message 1 to endpoint 0x01 ... OK, message successfully sentRead the response to message 1 (CSW) ... Response reading failed (error -99) Device is gone, skip any further commands-> Run lsusb to note any changes. Bye!
Bus /dev/usb Device /dev/ugen2.2: ID 12d1:14db Huawei Technologies Co., Ltd. E353/E3131
(cd0:umass-sim0:0:0:0): Error 5, Unretryable error(cd0:umass-sim0:0:0:0): cddone: got error 0x5 back(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error(cd0:umass-sim0:0:0:0): SCSI status: Check Condition(cd0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)(cd0:umass-sim0:0:0:0): Info: 0xdff(cd0:umass-sim0:0:0:0): Error 5, Unretryable error(cd0:umass-sim0:0:0:0): cddone: got error 0x5 back(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error(cd0:umass-sim0:0:0:0): SCSI status: Check Condition(cd0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)(cd0:umass-sim0:0:0:0): Info: 0xdff(cd0:umass-sim0:0:0:0): Error 5, Unretryable error(cd0:umass-sim0:0:0:0): cddone: got error 0x5 back(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d c1 00 00 04 00 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error(cd0:umass-sim0:0:0:0): SCSI status: Check Condition(cd0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)(cd0:umass-sim0:0:0:0): Info: 0xdc1(cd0:umass-sim0:0:0:0): Error 5, Unretryable error(cd0:umass-sim0:0:0:0): cddone: got error 0x5 back(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error(cd0:umass-sim0:0:0:0): SCSI status: Check Condition(cd0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)(cd0:umass-sim0:0:0:0): Info: 0xdff(cd0:umass-sim0:0:0:0): Error 5, Unretryable error(cd0:umass-sim0:0:0:0): cddone: got error 0x5 back(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error(cd0:umass-sim0:0:0:0): SCSI status: Check Condition(cd0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)(cd0:umass-sim0:0:0:0): Info: 0xdff(cd0:umass-sim0:0:0:0): Error 5, Unretryable error(cd0:umass-sim0:0:0:0): cddone: got error 0x5 backumass0: at uhub3, port 3, addr 2 (disconnected)cd0 at umass-sim0 bus 0 scbus2 target 0 lun 0cd0: <HUAWEI Mass Storage 2.3M> s/n 0123456789ABCDEF detached(cd0:umass-sim0:0:0:0): Periph destroyedumass0: detachedugen2.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus2 (disconnected)ugen2.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus2cdce0 on uhub3cdce0: <CDC Ethernet Control Model (ECM)> on usbus2ue0: <USB Ethernet> on cdce0ue0: Ethernet address: 00:1e:10:1f:00:00ugen2.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus2 (disconnected)cdce0: at uhub3, port 3, addr 2 (disconnected)cdce0: detached