Android DataRouter Logcat错误消息 [英] Android datarouter logcat error message

查看:71
本文介绍了Android DataRouter Logcat错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我的logcat收到了此datarouter错误的垃圾邮件.任何可以帮助我解决此问题并告诉我为什么会发生的人吗?

So I get my logcat spammed by this datarouter error. Anyone who can help me to fix this issue and tell me why it happens?

哦,我尝试过重启手机和月食.

Oh I've tryed restarting phone and eclipse.

这似乎主要发生在我的Mac工作计算机上.

It seems to happen primarily on my Mac work computer.

以下是每30秒发出的完整垃圾邮件的日志:

Here is log of a complete spam it gives every 30 sec:

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 

推荐答案

这不是正常的错误,实际上完全不是错误.这是Android RIL(尤其是在Samsung设备上)呈现其调试日志的(愚蠢的?)方式.您看到的" DataRouter "曾经在较旧/其他电话/调制解调器中被分类为调试",并带有标签"AT".对于开发人员来说,这确实很混乱,他们没有意识到这些变化.最可能的原因是三星使用自己的协议与基带调制解调器通信,而不是与标准AT集通信,而AT则是在此过程中被解释的.

This is not a normal Error, in fact it is not an error at all. It is the (stupid?) way that the Android RIL (especially on Samsung devices) is presenting its debug logs. The "DataRouter" that you see, used to be classified as "Debug" and with the tag "AT" in older/other phones/modems. This is indeed very confusing to developers, unaware of these changes. Most likely because Samsung uses their own protocols to communicate with Baseband modem and not the standard AT set, which is interpreted somewhere along the way...

XDA线程是一个很好的参考: "如何使用AT命令与调制解调器通话"

A good reference is the XDA thread: "How to talk to the Modem with AT commands"

这篇关于Android DataRouter Logcat错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆