Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeout issue #238

Open
apple-corps opened this issue Apr 20, 2020 · 4 comments
Open

timeout issue #238

apple-corps opened this issue Apr 20, 2020 · 4 comments

Comments

@apple-corps
Copy link

Hello,

Just downloaded the latest appimage.

Android_File_Transfer-14cdedc-x86_64.AppImage
upload worker started 
current text color value:  0 , guessed theme:  "light" 
probing device...
probing device...
probing device...
probing device...
probing device...
probing device...
device found, opening session... 
10009 ms since the last poll call
timed out getting device info:  "timeout reaping usb urb" , retrying... 
10008 ms since the last poll call
timed out getting device info:  "timeout reaping usb urb" , retrying... 
got unknown urb: 0x7fff5fa5ab00 of size 1604692896
10008 ms since the last poll call
terminate called after throwing an instance of 'mtp::usb::TimeoutException'
  what():  timeout reaping usb urb
Aborted
@whoozle
Copy link
Owner

whoozle commented Jun 7, 2020

this is known issue and I suspect it's race condition in linux kernel. You can check with wireshark, ACK from device will appear when file closes. I never reported it to LKLM, but tried to find the problem myself and failed 😛

I'm not sure if appimage allows you to pass options, but if you figure out how, try resetting your device before opening by using -R option to android-file-transfer binary

@akvadrako
Copy link

I think I have a similar issue using AFT 3.9 with a Pixel 4a. I tried using the -R option before mounting, but I just get an error:

aft-mtp-mount -d /mnt/android/
probing device 06cb:00bd
error: Permission denied
probing device 04f2:b67c
error: Permission denied
probing device 8087:0aaa
error: Permission denied
probing device 062a:4102
error: Permission denied
probing device 18d1:4ee1
capabilities = 0x000001fd
page size = 4096
<zero-packet>
<no-packet-size-limit>
<bulk-scatter-gather>
<reap-after-disconnect>
<mmap>
<drop-privileges>
<unknown capability 0x180>
Device usb interface: 0:0, index: 0, enpoints: 3
read control 80 06 0300 0000
languages[4]:
00000000: 04 03 09 04                                     ....

descriptor[75]:
00000000: 12 01 20 03 00 00 00 09 d1 18 e1 4e 40 04 01 02 .. ........N@...
00000010: 03 01 09 02 39 00 01 01 04 c0 00 09 04 00 00 03 ....9...........
00000020: 06 01 01 05 07 05 81 02 00 04 00 06 30 06 00 00 ............0...
00000030: 00 07 05 01 02 00 04 00 06 30 06 00 00 00 07 05 .........0......
00000040: 82 03 1c 00 06 06 30 00 00 00 00                ......0....

read control 80 06 0305 0409
interface name[8]:
00000000: 08 03 4d 00 54 00 50 00                         ..M.T.P.

10006 ms since the last poll call
connect failed: timeout reaping usb urb

@akvadrako
Copy link

BTW, I works with jmtpfs, at least for a while.

@whoozle
Copy link
Owner

whoozle commented Oct 30, 2020

I think I have a similar issue using AFT 3.9

Can you try using master? there's quite a few bugfixes since then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants