magnus

Results 175 comments of magnus

Are you sure it is an MTP device? I would have hoped that an MTP device would not advertise itself as a device which supports scsi. https://github.com/magnusja/libaums/blob/e5a31e98b3241cee4086848f49a5a370938bdb71/libaums/src/main/java/me/jahnen/libaums/core/UsbMassStorageDevice.kt#L181-L190

I see. Then try what I suggested. Ignore the exception on first LUN and try the second. Maybe we are in luck. But the device not responding to the SCSI...

This doesnt look like you did what I suggested. Did you catch the exception in you application code? That wont work. Please fork and catch the exception in libaums to...

Hey @depau thanks a lot for your message. Generally, yes. This sounds like a great idea! I have to be honest though. My time but also my interests shifted in...

Yeah as you describe it it sounds very weird. Not sure if enlarging the buffer would be a quick fix? Maybe there is a bug that the `val = inBuffer`...

Depends on the flash drive. Oftentimes, some support larger ones, some do not. But anyways, the ScsiWrite and Read commands currently only support some smaller chunk sizes. See here, https://github.com/magnusja/libaums/blob/develop/libaum...

Not sure what you mean. This looks fine to me. No error? Still how you managed to have every file name twice in the same folder is remarkable

Use https://developer.android.com/studio/publish-library/upload-library ? (https://developer.android.com/studio/publish-library)

* Try not using `libusb` but the Android communication, does that work? * Try a different OTG adapter. Sometimes these are not the best for stable communication. Unfortunately, it looks...