libaums icon indicating copy to clipboard operation
libaums copied to clipboard

After plugging in the USB disk, direct init error

Open HeartHappy opened this issue 5 years ago • 7 comments

E/MainActivity: error setting up device
    com.github.mjdev.libaums.driver.scsi.UnitNotReady: Device is not ready (Unsuccessful ScsiTestUnitReady Csw status)
        at com.github.mjdev.libaums.driver.scsi.ScsiBlockDevice.init(ScsiBlockDevice.kt:100)
        at com.github.mjdev.libaums.UsbMassStorageDevice.setupDevice(UsbMassStorageDevice.kt:156)
        at com.github.mjdev.libaums.UsbMassStorageDevice.init(UsbMassStorageDevice.kt:114)
        at com.github.mjdev.libaums.usbfileman.MainActivity.setupDevice(MainActivity.java:761)
        at com.github.mjdev.libaums.usbfileman.MainActivity.discoverDevice(MainActivity.java:745)
        at com.github.mjdev.libaums.usbfileman.MainActivity.onCreate(MainActivity.java:697)
        at android.app.Activity.performCreate(Activity.java:7009)
        at android.app.Activity.performCreate(Activity.java:7000)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
        at android.app.ActivityThread.-wrap11(Unknown Source:0)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6494)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
        at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:108)

HeartHappy avatar Aug 06 '19 03:08 HeartHappy

Does this work with version 0.6.0 ?

magnusja avatar Aug 06 '19 09:08 magnusja

作者都提醒你升级最新版本哦

edit by @depau, gtranslated The author reminds you to upgrade to the latest version

kingiis avatar Oct 23 '19 02:10 kingiis

I'm also facing same error. When I connect the usb for second time after giving all the permissions it will not show me any pop up. But not able to proceed because of the above error.

Kindly help me out?

kgsharathkumar avatar Dec 02 '19 13:12 kgsharathkumar

Unplugging the usb device does not help? This should reset the device usually.

magnusja avatar Dec 02 '19 23:12 magnusja

It didn't work. It is showing the below error exactly.

Device is not ready (Unsuccessful ScsiTestUnitReady Csw status).

This is happening every second time on words when I insert the usb after giving all the permissions.

kgsharathkumar avatar Dec 03 '19 07:12 kgsharathkumar

Maybe related to #209 still looking into fixing this though ..

magnusja avatar Dec 09 '19 14:12 magnusja

device.init();//初始化
Device is not ready (Unsuccessful ScsiTestUnitReady Csw status).

edit by @depau, gtranslated comment above: //initialization

kiss2sky avatar Jan 02 '20 10:01 kiss2sky