2011-11-23 111 views
4

所以我得到我的logcat垃圾這個datarouter錯誤。任何人都可以幫助我解決這個問題並告訴我爲什麼會發生這種情況?Android datarouter logcat錯誤信息

哦,我試過重新啓動手機和日食。

編輯:它似乎主要發生在我的Mac工作電腦上。

下面是一個完整的垃圾郵件日誌它給了每30秒:

11-23 14:25:46.917: E/DataRouter(82): After the usb select 
11-23 14:25:46.917: E/DataRouter(82): Before checking the modem suspend state 
11-23 14:25:46.917: E/DataRouter(82): PDP is resumed now 
11-23 14:25:46.917: E/DataRouter(82): After checking the modem suspend state 
11-23 14:25:46.917: E/DataRouter(82): Path set is DATA_PATH_CHAR_MODEM 
11-23 14:25:46.917: E/DataRouter(82): Send [1] bytes to SMD. message:A 
11-23 14:25:46.917: E/DataRouter(82): Sending data to SMD: Len = [1] 
11-23 14:25:46.917: E/DataRouter(82): buffer = [A] 
11-23 14:25:46.917: E/DataRouter(82): Wrote 1 chars to EXTERNAL PORT fd=12 ch = 41 
11-23 14:25:46.917: E/DataRouter(82): Before the usb select 
11-23 14:25:46.929: E/DataRouter(82): After the usb select 
11-23 14:25:46.929: E/DataRouter(82): Before checking the modem suspend state 
11-23 14:25:46.929: E/DataRouter(82): PDP is resumed now 
11-23 14:25:46.929: E/DataRouter(82): After checking the modem suspend state 
11-23 14:25:46.929: E/DataRouter(82): Path set is DATA_PATH_CHAR_MODEM 
11-23 14:25:46.929: E/DataRouter(82): Send [1] bytes to SMD. message:T 
11-23 14:25:46.929: E/DataRouter(82): Sending data to SMD: Len = [1] 
11-23 14:25:46.929: E/DataRouter(82): buffer = [T] 
11-23 14:25:46.929: E/DataRouter(82): Wrote 1 chars to EXTERNAL PORT fd=12 ch = 54 
11-23 14:25:46.929: E/DataRouter(82): Before the usb select 
11-23 14:25:46.929: E/DataRouter(82): After the Modem Read select 
11-23 14:25:46.929: E/DataRouter(82): Read 1 chars from SMD Modem file fd = 12 
11-23 14:25:46.929: E/DataRouter(82): buf = A 
11-23 14:25:46.929: E/DataRouter(82): Wrote 1 chars to USB PORT fd=29 
11-23 14:25:46.929: E/DataRouter(82): buf=A 
11-23 14:25:46.929: E/DataRouter(82): Before the Modem Read select 
11-23 14:25:46.941: E/DataRouter(82): After the usb select 
11-23 14:25:46.941: E/DataRouter(82): Before checking the modem suspend state 
11-23 14:25:46.941: E/DataRouter(82): PDP is resumed now 
11-23 14:25:46.941: E/DataRouter(82): After checking the modem suspend state 
11-23 14:25:46.941: E/DataRouter(82): Path set is DATA_PATH_CHAR_MODEM 
11-23 14:25:46.941: E/DataRouter(82): Send [1] bytes to SMD. message: 

11-23 14:25:46.941: E/DataRouter(82): Sending data to SMD: Len = [1] 
11-23 14:25:46.941: E/DataRouter(82): buffer = [ 
] 
11-23 14:25:46.941: E/DataRouter(82): Wrote 1 chars to EXTERNAL PORT fd=12 ch = d 
11-23 14:25:46.941: E/DataRouter(82): Before the usb select 
11-23 14:25:46.949: E/DataRouter(82): After the Modem Read select 
11-23 14:25:46.949: E/DataRouter(82): Read 8 chars from SMD Modem file fd = 12 
11-23 14:25:46.949: E/DataRouter(82): buf = T 


11-23 14:25:46.949: E/DataRouter(82): OK 

11-23 14:25:46.949: E/DataRouter(82): Wrote 8 chars to USB PORT fd=29 
11-23 14:25:46.949: E/DataRouter(82): buf=T 


11-23 14:25:46.949: E/DataRouter(82): OK 

11-23 14:25:46.949: E/DataRouter(82): Before the Modem Read select 
11-23 14:25:46.953: E/DataRouter(82): After the usb select 
11-23 14:25:46.953: E/DataRouter(82): Before checking the modem suspend state 
11-23 14:25:46.953: E/DataRouter(82): PDP is resumed now 
11-23 14:25:46.953: E/DataRouter(82): After checking the modem suspend state 
11-23 14:25:46.953: E/DataRouter(82): Got command as string 
11-23 14:25:46.953: E/DataRouter(82): last char is 13 
11-23 14:25:46.953: E/DataRouter(82): last second char is 73 
11-23 14:25:46.953: E/DataRouter(82): IsDeviceManagerCmd buffer in usb = AT+CGMI 

11-23 14:25:46.953: E/DataRouter(82): Data Path Found is DATA_PATH_SMD 
11-23 14:25:46.953: E/DataRouter(82): Path set is DATA_PATH_SMD 
11-23 14:25:46.953: E/DataRouter(82): Send [8] bytes to SMD. message:AT+CGMI 

11-23 14:25:46.953: E/DataRouter(82): Sending data to SMD: Len = [8] 
11-23 14:25:46.953: E/DataRouter(82): buffer = [AT+CGMI 
] 
11-23 14:25:46.953: E/DataRouter(82): Wrote 8 chars to EXTERNAL PORT fd=12 ch = 41 
11-23 14:25:46.953: E/DataRouter(82): Before the usb select 
11-23 14:25:46.957: E/DataRouter(82): After the Modem Read select 
11-23 14:25:46.957: E/DataRouter(82): Read 8 chars from SMD Modem file fd = 12 
11-23 14:25:46.957: E/DataRouter(82): buf = AT+CGMI 

11-23 14:25:46.957: E/DataRouter(82): Wrote 8 chars to USB PORT fd=29 
11-23 14:25:46.957: E/DataRouter(82): buf=AT+CGMI 

11-23 14:25:46.957: E/DataRouter(82): Before the Modem Read select 
11-23 14:25:46.960: E/DataRouter(82): After the Modem Read select 
11-23 14:25:46.960: E/DataRouter(82): Read 11 chars from SMD Modem file fd = 12 
11-23 14:25:46.960: E/DataRouter(82): buf = 

11-23 14:25:46.960: E/DataRouter(82): SAMSUNG 

11-23 14:25:46.960: E/DataRouter(82): Wrote 11 chars to USB PORT fd=29 
11-23 14:25:46.960: E/DataRouter(82): buf= 

11-23 14:25:46.960: E/DataRouter(82): SAMSUNG 

11-23 14:25:46.960: E/DataRouter(82): Before the Modem Read select 
11-23 14:25:46.960: E/DataRouter(82): After the Modem Read select 
11-23 14:25:46.960: E/DataRouter(82): Read 6 chars from SMD Modem file fd = 12 
11-23 14:25:46.960: E/DataRouter(82): buf = 

11-23 14:25:46.960: E/DataRouter(82): OK 

11-23 14:25:46.960: E/DataRouter(82): Wrote 6 chars to USB PORT fd=29 
11-23 14:25:46.960: E/DataRouter(82): buf= 

11-23 14:25:46.960: E/DataRouter(82): OK 

11-23 14:25:46.960: E/DataRouter(82): Before the Modem Read select 
11-23 14:25:46.964: E/DataRouter(82): After the usb select 
11-23 14:25:46.964: E/DataRouter(82): Before checking the modem suspend state 
11-23 14:25:46.964: E/DataRouter(82): PDP is resumed now 
11-23 14:25:46.964: E/DataRouter(82): After checking the modem suspend state 
11-23 14:25:46.964: E/DataRouter(82): Got command as string 
11-23 14:25:46.964: E/DataRouter(82): last char is 13 
11-23 14:25:46.964: E/DataRouter(82): last second char is 77 
11-23 14:25:46.964: E/DataRouter(82): IsDeviceManagerCmd buffer in usb = AT+CGMM 

11-23 14:25:46.964: E/DataRouter(82): Data Path Found is DEVICE MANAGER 
11-23 14:25:46.964: E/DataRouter(82): Path set is DATA_PATH_DR_DEVICE_MANAGER 
11-23 14:25:46.964: E/DataRouter(82): Message:AT+CGMM 

11-23 14:25:46.964: E/DataRouter(82): processing AT command of length 8 
11-23 14:25:46.964: E/DataRouter(82): -------- buffer is =AT+CGMM 

11-23 14:25:46.964: E/DataRouter(82): CGMM Request 
11-23 14:25:46.964: E/DataRouter(82): [ro.product.model]: [GT-I9000] 
11-23 14:25:46.964: E/DataRouter(82): write [16] bytes of data to USB fd[29] 
11-23 14:25:46.964: E/DataRouter(82): write [6] bytes of data to USB fd[29] 
11-23 14:25:46.964: E/DataRouter(82): Before the usb select 

回答

5

這不是一個正常的錯誤,實際上它是錯誤的。 Android RIL(特別是在三星設備上)展示其調試日誌是(愚蠢的)方式。您看到的「DataRouter」,曾經被分類爲「調試」,並在舊版/其他電話/調制解調器中標記爲「AT」。這對開發者來說確實非常混亂,不知道這些變化。很可能是因爲三星採用自己的協議與基帶調制解調器,而不是標準的AT集,這是沿途某處解釋溝通......

一個很好的參考,XDA線程: 「How to talk to the Modem with AT commands

+0

應該指出_DataRouter_消息來自_drexe_二進制文件,而@消息來自舊的_rild_守護進程AFAIR。 – not2qubit

+0

因爲我發佈了升級我的Linux開發盒,所以我從三星手機中收到了大量這些消息。它不會那麼麻煩,但是它們超出了日誌消息的環形緩衝區,並且我一直丟失相關的消息。最重要的是 - 這實際上是最糟糕的問題:它把KDE搞砸了。隨着時間的推移,GUI的響應越來越少,所以我不得不在某個時候強制重啓。如果有人能告訴我一個解決這個問題的方法,那將是非常棒的。如何直接在手機上靜音DataRouter? – tiguchi

2

您可以使用篩選器忽略它。使用此正則表達式(在eclipse):

tag:^((?!DataRouter).*)$ 

或這在命令行:

adb logcat DataRouter:S 
+1

謝謝已經在使用:)但它不回答問題是什麼原因? – Warpzit