acassis commented on issue #15595: URL: https://github.com/apache/nuttx/issues/15595#issuecomment-2603156003
@JianyuWang0623 thank you very much! This is the debug output: ``` $ adb -s 1234 shell ls /dev/ 01-20 16:58:07.731 79930 79930 D adb : adb_trace.cpp:187 Android Debug Bridge version 1.0.41 01-20 16:58:07.731 79930 79930 D adb : adb_trace.cpp:187 Version 34.0.4-debian 01-20 16:58:07.731 79930 79930 D adb : adb_trace.cpp:187 Installed as /usr/lib/android-sdk/platform-tools/adb 01-20 16:58:07.731 79930 79930 D adb : adb_trace.cpp:187 Running on Linux 6.8.0-51-generic (x86_64) 01-20 16:58:07.731 79930 79930 D adb : adb_trace.cpp:187 01-20 16:58:07.731 79930 79930 D adb : adb_client.cpp:400 adb_query: host-serial:1234:features 01-20 16:58:07.731 79930 79930 D adb : adb_client.cpp:358 adb_connect: service: host-serial:1234:features 01-20 16:58:07.731 79930 79930 D adb : adb_client.cpp:160 _adb_connect: host:version 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:107 writex: fd=3 len=16 30303063686f73743a76657273696f6e 000chost:version 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:81 readx: fd=3 wanted=4 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:97 readx: fd=3 wanted=4 got=4 4f4b4159 OKAY 01-20 16:58:07.731 79930 79930 D adb : adb_client.cpp:194 _adb_connect: return fd 3 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:81 readx: fd=3 wanted=4 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:97 readx: fd=3 wanted=4 got=4 30303034 0004 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:81 readx: fd=3 wanted=4 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:97 readx: fd=3 wanted=4 got=4 30303239 0029 01-20 16:58:07.731 79930 79930 D adb : adb_client.cpp:160 _adb_connect: host-serial:1234:features 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:107 writex: fd=3 len=29 30303139686f73742d73657269616c3a 0019host-serial: [truncated] 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:81 readx: fd=3 wanted=4 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:97 readx: fd=3 wanted=4 got=4 4f4b4159 OKAY 01-20 16:58:07.731 79930 79930 D adb : adb_client.cpp:194 _adb_connect: return fd 3 01-20 16:58:07.731 79930 79930 D adb : adb_client.cpp:376 adb_connect: return fd 3 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:81 readx: fd=3 wanted=4 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:97 readx: fd=3 wanted=4 got=4 30303033 0003 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:81 readx: fd=3 wanted=3 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:97 readx: fd=3 wanted=3 got=3 636d64 cmd 01-20 16:58:07.731 79930 79930 D adb : commandline.cpp:763 shell -e 0x7e t=3 use_shell_protocol=false shell_type_arg=pty 01-20 16:58:07.731 79930 79930 D adb : commandline.cpp:763 01-20 16:58:07.731 79930 79930 D adb : adb_client.cpp:358 adb_connect: service: shell:ls /dev/ 01-20 16:58:07.731 79930 79930 D adb : adb_client.cpp:160 _adb_connect: shell:ls /dev/ 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:107 writex: fd=3 len=26 30303136686f73743a74706f72743a73 0016host:tport:s [truncated] 01-20 16:58:07.731 79930 79930 D adb : adb_client.cpp:119 Switch transport in progress: host:tport:serial:1234 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:81 readx: fd=3 wanted=4 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:97 readx: fd=3 wanted=4 got=4 4f4b4159 OKAY 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:81 readx: fd=3 wanted=8 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:97 readx: fd=3 wanted=8 got=8 0500000000000000 ........ 01-20 16:58:07.731 79930 79930 D adb : adb_client.cpp:133 Switch transport success 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:107 writex: fd=3 len=18 303030657368656c6c3a6c73202f6465 000eshell:ls /de [truncated] 01-20 16:58:07.731 79930 79930 D adb : adb_io.cpp:81 readx: fd=3 wanted=4 ``` From nsh side, same error: ``` NuttShell (NSH) NuttX-12.8.0 nsh> adbd adb_check_frame_magic (27): invalid frame magic adb_uv_on_data_available (188): bad header: terminated (data) adb_hal_run (77): uv_loop exit 0 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org