> Am 12.07.2018 um 09:27 schrieb Stefan Bethke <s...@lassitu.de>: > > The other device I’m having trouble with is a Huawei E3272 LTE stick. In it’s > default mode, it shows up as a umass device; using usb_modeswitch, it can be > configured as a serial modem or an CDC ethernet device. > [root@apu2 ~]# lsusb > Bus /dev/usb Device /dev/ugen0.2: ID 12d1:1f01 Huawei Technologies Co., Ltd. > E353/E3131 (Mass storage mode) > Bus /dev/usb Device /dev/ugen1.2: ID 0438:7900 Advanced Micro Devices, Inc. > Bus /dev/usb Device /dev/ugen0.1: ID 0000:0000 > Bus /dev/usb Device /dev/ugen1.1: ID 0000:0000 > Going through a bus-powered USB2 hub does not improve the situation:
ugen0.2: <vendor 0x05e3 USB2.0 Hub> at usbus0 uhub3 on uhub1 uhub3: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/9.01, addr 1> on usbus0 uhub3: 4 ports with 4 removable, self powered ugen0.3: <HUAWEI Technology HUAWEI Mobile> at usbus0 umass0 on uhub3 umass0: <HUAWEI Technology HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2> on u umass0: SCSI over Bulk-Only; quirks = 0x0100 umass0:2:0: Attached to scbus2 (about 10 seconds delay here) (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command cd0 at umass-sim0 bus 0 scbus2 target 0 lun 0 cd0: <HUAWEI Mass Storage 2.31> Removable CD-ROM SCSI-2 device cd0: 40.000MB/s transfers cd0: 128MB (65536 2048 byte sectors) cd0: quirks=0x10<10_BYTE_ONLY> (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 ff 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 erro (cd0:umass-sim0:0:0:0): Info: 0xffff (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): 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 erro (cd0:umass-sim0:0:0:0): Info: 0xffff (cd0:umass-sim0:0:0:0): Error 5, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x5 back /usr/local/sbin/usb_modeswitch -v 12d1 -p 1f01 -V 12d1 -P 1001 -M 55534243000000000000000000000011060000000000000000000000000000 umass0: at uhub3, port 4, addr 2 (disconnected) cd0 at umass-sim0 bus 0 scbus2 target 0 lun 0 cd0: <HUAWEI Mass Storage 2.31> detached (cd0:umass-sim0:0:0:0): Periph destroyed umass0: detached usb_modeswitch continues to be not happy: Look for target devices ... No devices in target mode or class found Look for default devices ... Found devices in default mode (1) Access device 002 on bus 000 Get the current device configuration ... Current configuration number is 1 Use interface number 0 with class 8 Use endpoints 0x01 (out) and 0x81 (in) Looking for active drivers ... OK, driver detached Set up interface 0 Use endpoint 0x01 for message sending ... Trying to send message 1 to endpoint 0x01 ... Sending the message returned error -7. Try to continue Read the response to message 1 (CSW) ... Response reading failed (error -7) Device is gone, skip any further commands -> Run lsusb to note any changes. Bye! Stefan -- Stefan Bethke <s...@lassitu.de> Fon +49 151 14070811 _______________________________________________ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"