Open fgpzen opened 6 years ago
Hey there,
sorry for the late response.
So in general changing, some constants is probably not a good idea, especially when you do not know what they mean.
According to this document (http://www.usblyzer.com/usb-mass-storage-class-msc-decoder.htm) a 6 means SFF-8070i. My library only supports SCSI transparent command set.
That said, it is weird that it seems to work (at least partly). Unfortunately, I do not have time at the moment to look into this, so I would suggest that you do some research about SFF-8070i.
Thank you!
Alright. Did anyone figured out how to work with 8070i?
Hey, I got some problems when using Usbfileman (example applicatoin):
Figure 1-1: Figure 1-2:
Code position: https://github.com/magnusja/libaums/blob/develop/libaums/src/main/java/com/github/mjdev/libaums/UsbMassStorageDevice.java#L138
Figure 2-1: Figure 2-2,2-3 Compare System File Explorer: Figure 2-4: Figure 2-5:
Frozen code: boolean claim = deviceConnection.claimInterface(usbInterface, true);
Frozen code position: https://github.com/magnusja/libaums/blob/develop/libaums/src/main/java/com/github/mjdev/libaums/UsbMassStorageDevice.java#L222
Figure 3-1:
Figure 4-1: Figure 4-2: Figure 4-3:
Code: massStorageDevices = UsbMassStorageDevice.getMassStorageDevices(this);
Code position: https://github.com/magnusja/libaums/blob/develop/app/src/main/java/com/github/mjdev/libaums/usbfileman/MainActivity.java#L726