On Fri, 21 Apr 2017, Andreas Hartmann wrote: > Here it goes: > > [ 337.698916] usb 1-1.1: new high-speed USB device number 3 using ehci-pci > [ 337.808695] usb 1-1.1: New USB device found, idVendor=0cf2, idProduct=6250 > [ 337.808702] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=4 > [ 337.808706] usb 1-1.1: Product: UB6250 > [ 337.808709] usb 1-1.1: Manufacturer: ENE Flash > [ 337.808713] usb 1-1.1: SerialNumber: 606569746801 > [ 337.809148] ums_eneub6250 1-1.1:1.0: USB Mass Storage device detected > [ 337.810232] scsi host6: usb-storage 1-1.1:1.0 > [ 338.838194] usb 1-1.1: direct-loading ene-ub6250/sd_init1.bin > [ 339.021724] usb 1-1.1: direct-loading ene-ub6250/sd_init2.bin > [ 339.032399] scsi 6:0:0:0: Direct-Access USB2.0 CardReader 0100 PQ: 0 ANSI: 2 > [ 339.032654] sd 6:0:0:0: [sdb] 3985408 512-byte logical blocks: (2.04 GB/1.90 GiB) > [ 339.032697] sd 6:0:0:0: [sdb] Write Protect is off > [ 339.032698] sd 6:0:0:0: Attached scsi generic sg2 type 0 > [ 339.032704] sd 6:0:0:0: [sdb] Mode Sense: 0b 00 00 08 > [ 339.032736] sd 6:0:0:0: [sdb] No Caching mode page found > [ 339.032744] sd 6:0:0:0: [sdb] Assuming drive cache: write through > [ 339.118833] usb 1-1.1: reset high-speed USB device number 3 using ehci-pci > [ 339.322803] usb 1-1.1: reset high-speed USB device number 3 using ehci-pci > [ 339.526902] usb 1-1.1: reset high-speed USB device number 3 using ehci-pci > [ 339.730932] usb 1-1.1: reset high-speed USB device number 3 using ehci-pci > [ 339.934901] usb 1-1.1: reset high-speed USB device number 3 using ehci-pci > [ 340.138893] usb 1-1.1: reset high-speed USB device number 3 using ehci-pci > [ 340.252054] usb 1-1.1: direct-loading ene-ub6250/sd_rdwr.bin > Hope this helps! Oops -- I forgot to tell you to enable CONFIG_USB_STORAGE_DEBUG before rebuilding the driver! Well, you can do it this time around... In the meanwhile, I see another problem. The SCSI residue value is getting overwritten when new firmware is sent to the device. Like I said before, it's amazing this driver has ever worked. Please apply this patch on top of the previous one and let's see what happens. Alan Stern Index: usb-4.x/drivers/usb/storage/ene_ub6250.c =================================================================== --- usb-4.x.orig/drivers/usb/storage/ene_ub6250.c +++ usb-4.x/drivers/usb/storage/ene_ub6250.c @@ -1942,6 +1942,8 @@ static int ene_load_bincode(struct us_da bcb->CDB[0] = 0xEF; result = ene_send_scsi_cmd(us, FDIR_WRITE, buf, 0); + if (us->srb != NULL) + scsi_set_resid(us->srb, 0); info->BIN_FLAG = flag; kfree(buf); -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html