From 38e2a23077a739fa29f298e5a41822c56704ac25 Mon Sep 17 00:00:00 2001 From: kai-morich Date: Sat, 1 Jun 2024 16:38:28 +0200 Subject: [PATCH] Destroyed I was using a serial device and it was running fine, then I plugged in a wireless mouse, which caused my entire app to restart. (markdown) --- ...-which-caused-my-entire-app-to-restart..md | 55 ------------------- 1 file changed, 55 deletions(-) delete mode 100644 I-was-using-a-serial-device-and-it-was-running-fine,-then-I-plugged-in-a-wireless-mouse,-which-caused-my-entire-app-to-restart..md diff --git a/I-was-using-a-serial-device-and-it-was-running-fine,-then-I-plugged-in-a-wireless-mouse,-which-caused-my-entire-app-to-restart..md b/I-was-using-a-serial-device-and-it-was-running-fine,-then-I-plugged-in-a-wireless-mouse,-which-caused-my-entire-app-to-restart..md deleted file mode 100644 index 1e1453d..0000000 --- a/I-was-using-a-serial-device-and-it-was-running-fine,-then-I-plugged-in-a-wireless-mouse,-which-caused-my-entire-app-to-restart..md +++ /dev/null @@ -1,55 +0,0 @@ -I am using version 3.6.0, and I also tried to use version 3.7.2, but it didn’t work (version 3.7.2 has no logs). The specific logs are as follows: - - -2024-05-24 17:01:19.669 14718-14718 SerialInpu...putManager com.onecoder.seriallink I Stop requested -2024-05-24 17:01:19.671 14718-14718 UsbDeviceConnectionJNI com.onecoder.seriallink D close -2024-05-24 17:01:19.674 14718-14718 RC910SLActivity com.onecoder.seriallink E serialConnectStatus ---------- StatusDisonnected -2024-05-24 17:01:19.676 14718-14825 SerialInpu...putManager com.onecoder.seriallink W Run ending due to exception: Connection closed - java.io.IOException: Connection closed - at com.hoho.android.usbserial.driver.CommonUsbSerialPort.testConnection(CommonUsbSerialPort.java:162) - at com.hoho.android.usbserial.driver.CommonUsbSerialPort.read(CommonUsbSerialPort.java:213) - at com.hoho.android.usbserial.driver.CommonUsbSerialPort.read(CommonUsbSerialPort.java:172) - at com.hoho.android.usbserial.util.SerialInputOutputManager.step(SerialInputOutputManager.java:225) - at com.hoho.android.usbserial.util.SerialInputOutputManager.run(SerialInputOutputManager.java:203) - at java.lang.Thread.run(Thread.java:923) -2024-05-24 17:01:19.676 14718-14825 SerialInpu...putManager com.onecoder.seriallink I Stopped -2024-05-24 17:01:19.733 353-588 BufferQueueProducer surfaceflinger E [com.onecoder.seriallink/com.onecoder.seriallink.RC910SL.RC910SLActivity#0](id:1610000028e,api:0,p:-1,c:353) disconnect: not connected (req=1) -2024-05-24 17:01:19.733 14718-14745 libEGL com.onecoder.seriallink W EGLNativeWindowType 0xef2064d8 disconnect failed -2024-05-24 17:01:20.057 14718-14718 PYSerialApi com.onecoder.seriallink E getSerialDevice NO: ------ 1 -2024-05-24 17:01:20.057 14718-14718 RC910SLActivity com.onecoder.seriallink E 999999 serialInsertStatus ---------- true -2024-05-24 17:01:20.068 14718-14718 PYSerialApi com.onecoder.seriallink E getSerialDevice NO: ------ 1 -2024-05-24 17:01:20.068 14718-14718 RC910SLActivity com.onecoder.seriallink E Please call RC910SL SDK ! -2024-05-24 17:01:20.080 14718-14718 PYSerialApi com.onecoder.seriallink E getSerialDevice NO: ------ 1 -2024-05-24 17:01:20.088 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D interfaces: -2024-05-24 17:01:20.088 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=2,mSubclass=2,mProtocol=1,mEndpoints=[ - UsbEndpoint[mAddress=130,mAttributes=3,mMaxPacketSize=64,mInterval=16]] -2024-05-24 17:01:20.089 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D UsbInterface[mId=1,mAlternateSetting=0,mName=null,mClass=10,mSubclass=0,mProtocol=0,mEndpoints=[ - UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0] - UsbEndpoint[mAddress=1,mAttributes=2,mMaxPacketSize=64,mInterval=0]] -2024-05-24 17:01:20.089 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D trying default interface logic -2024-05-24 17:01:20.090 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D USB descriptor: -2024-05-24 17:01:20.091 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D 12 01 00 02 00 00 00 40 15 19 0F 52 00 01 01 02 03 01 -2024-05-24 17:01:20.092 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D 09 02 4B 00 02 01 04 C0 32 -2024-05-24 17:01:20.093 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D 08 0B 00 02 02 02 01 00 -2024-05-24 17:01:20.093 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D 09 04 00 00 01 02 02 01 00 -2024-05-24 17:01:20.094 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D 05 24 00 10 01 -2024-05-24 17:01:20.094 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D 05 24 01 03 01 -2024-05-24 17:01:20.095 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D 04 24 02 02 -2024-05-24 17:01:20.095 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D 05 24 06 00 01 -2024-05-24 17:01:20.096 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D 07 05 82 03 40 00 10 -2024-05-24 17:01:20.096 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D 09 04 01 00 02 0A 00 00 00 -2024-05-24 17:01:20.097 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D 07 05 81 02 40 00 00 -2024-05-24 17:01:20.098 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D 07 05 01 02 40 00 00 -2024-05-24 17:01:20.098 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D interface count=2, IAD=-1 -2024-05-24 17:01:20.098 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D no IAD fallback -2024-05-24 17:01:20.099 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D Control interface id 0 -2024-05-24 17:01:20.099 14718-14718 CdcAcmSerialDriver com.onecoder.seriallink D data interface id 1 -2024-05-24 17:01:20.100 14718-14718 UsbRequestJNI com.onecoder.seriallink D init -2024-05-24 17:01:20.109 14718-14834 SerialInpu...putManager com.onecoder.seriallink I Running ... -2024-05-24 17:01:20.207 14718-14732 oder.seriallin com.onecoder.seriallink I Background concurrent copying GC freed 31813(1414KB) AllocSpace objects, 0(0B) LOS objects, 24% free, 5414KB/7219KB, paused 99us total 101.401ms -2024-05-24 17:01:20.220 14718-14734 System com.onecoder.seriallink W A resource failed to call close. -2024-05-24 17:01:20.221 14718-14734 UsbRequestJNI com.onecoder.seriallink D close -2024-05-24 17:01:20.226 14718-14734 System com.onecoder.seriallink W A resource failed to call release. -2024-05-24 17:01:20.229 14718-14734 System com.onecoder.seriallink W A resource failed to call close. -2024-05-24 17:01:20.229 14718-14734 UsbRequestJNI com.onecoder.seriallink D close -2024-05-24 17:01:20.442 14718-14745 OpenGLRenderer com.onecoder.seriallink I Davey! duration=753ms; Flags=1, IntendedVsync=19002066928996, Vsync=19002550745653, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=19002565074685, AnimationStart=19002565079393, PerformTraversalsStart=19002565082893, DrawStart=19002778549601, SyncQueued=19002814402185, SyncStart=19002814818768, IssueDrawCommandsStart=19002815014268, SwapBuffers=19002819055476, FrameCompleted=19002820805101, DequeueBufferDuration=130542, QueueBufferDuration=1048917, GpuCompleted=18952290255702,