{"action":"closed","issue":{"url":"https://api.github.com/repos/mjdev/libaums/issues/10","repository_url":"https://api.github.com/repos/mjdev/libaums","labels_url":"https://api.github.com/repos/mjdev/libaums/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/mjdev/libaums/issues/10/comments","events_url":"https://api.github.com/repos/mjdev/libaums/issues/10/events","html_url":"https://github.com/mjdev/libaums/issues/10","id":125467091,"number":10,"title":"Issue to Access USB Mass Storage over Type C","user":{"login":"anuragcm","id":10110998,"avatar_url":"https://avatars.githubusercontent.com/u/10110998?v=3","gravatar_id":"","url":"https://api.github.com/users/anuragcm","html_url":"https://github.com/anuragcm","followers_url":"https://api.github.com/users/anuragcm/followers","following_url":"https://api.github.com/users/anuragcm/following{/other_user}","gists_url":"https://api.github.com/users/anuragcm/gists{/gist_id}","starred_url":"https://api.github.com/users/anuragcm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuragcm/subscriptions","organizations_url":"https://api.github.com/users/anuragcm/orgs","repos_url":"https://api.github.com/users/anuragcm/repos","events_url":"https://api.github.com/users/anuragcm/events{/privacy}","received_events_url":"https://api.github.com/users/anuragcm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mjdev/libaums/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mjdev/libaums/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"mjdev","id":1659457,"avatar_url":"https://avatars.githubusercontent.com/u/1659457?v=3","gravatar_id":"","url":"https://api.github.com/users/mjdev","html_url":"https://github.com/mjdev","followers_url":"https://api.github.com/users/mjdev/followers","following_url":"https://api.github.com/users/mjdev/following{/other_user}","gists_url":"https://api.github.com/users/mjdev/gists{/gist_id}","starred_url":"https://api.github.com/users/mjdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjdev/subscriptions","organizations_url":"https://api.github.com/users/mjdev/orgs","repos_url":"https://api.github.com/users/mjdev/repos","events_url":"https://api.github.com/users/mjdev/events{/privacy}","received_events_url":"https://api.github.com/users/mjdev/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-01-07T19:23:42Z","updated_at":"2016-02-09T20:36:48Z","closed_at":"2016-02-09T20:36:48Z","body":"Hello,\r\n\r\nI am developing an application to access USB mass storage connected to Android phone. I am using libaums library. When I run application in devices with micro USB interface, I am able to access and explore the drive. When I run application in device with USB Type C connector (Nexus 5X and Nexus 6P), I face the issue. I am seeing the follwing exception in the logcat. \r\n\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : error setting up device\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : java.io.IOException: reading failed!\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat com.test.libaums.driver.scsi.ScsiBlockDevice.transferCommand(ScsiBlockDevice.java:144)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat com.test.libaums.driver.scsi.ScsiBlockDevice.init(ScsiBlockDevice.java:77)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat com.test.libaums.UsbMassStorageDevice.setupDevice(UsbMassStorageDevice.java:312)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat com.test.libaums.UsbMassStorageDevice.init(UsbMassStorageDevice.java:268)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat com.test.kt.TYPEC.setupDevice(TYPEC.java:409)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat com.test.kt.TYPEC.access$600(TYPEC.java:92)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat com.test.kt.TYPEC$7.onReceive(TYPEC.java:315)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:881)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat android.os.Handler.handleCallback(Handler.java:739)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat android.os.Looper.loop(Looper.java:148)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat android.app.ActivityThread.main(ActivityThread.java:5417)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat java.lang.reflect.Method.invoke(Native Method)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n01-06 12:03:29.181 30348 30348 E TYPEC     : \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\n\r\nIt looks like device doesn't respond to SCSI inquiry.\r\n\r\nAny help to resolve the issue is highly appreciated.\r\n\r\nThanks,\r\nAnu"}}