2012-04-30 131 views
1
Razer的V3I調制解調器檢測錯誤

請幫我,我上運行的bearerboxKannel的與摩托羅拉

[[email protected] sbin]# ./bearerbox -v 1 /usr/local/smskannel.conf 
2012-04-30 11:56:28 [13417] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 
2012-04-30 11:56:28 [13417] [0] WARNING: DLR: using default 'internal' for storage type. 
2012-04-30 11:56:28 [13417] [0] INFO: DLR using storage type: internal 
2012-04-30 11:56:28 [13417] [0] INFO: HTTP: Opening server at port 13003. 
2012-04-30 11:56:28 [13417] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 
2012-04-30 11:56:28 [13417] [0] INFO: Set SMS resend frequency to 60 seconds. 
2012-04-30 11:56:28 [13417] [0] INFO: SMS resend retry set to unlimited. 
2012-04-30 11:56:28 [13417] [0] INFO: DLR rerouting for smsc id <FAKE> disabled. 
2012-04-30 11:56:28 [13417] [0] INFO: DLR rerouting for smsc id <(null)> disabled. 
2012-04-30 11:56:28 [13417] [0] INFO: AT2[/dev/ttyACM0]: configuration doesn't show modemtype. will autodetect 
2012-04-30 11:56:28 [13417] [0] INFO: ---------------------------------------- 
2012-04-30 11:56:28 [13417] [0] INFO: Kannel bearerbox II version 1.4.3 starting 
2012-04-30 11:56:28 [13417] [7] INFO: AT2[/dev/ttyACM0]: opening device 
2012-04-30 11:56:28 [13417] [0] INFO: MAIN: Start-up done, entering mainloop 
2012-04-30 11:56:31 [13417] [7] INFO: AT2[/dev/ttyACM0]: speed set to 115200 
2012-04-30 11:56:33 [13417] [7] INFO: AT2[/dev/ttyACM0]: Closing device 
2012-04-30 11:56:33 [13417] [7] INFO: AT2[/dev/ttyACM0]: detect speed is 115200 
2012-04-30 11:56:33 [13417] [7] INFO: AT2[/dev/ttyACM0]: opening device 
2012-04-30 11:56:34 [13417] [7] INFO: AT2[/dev/ttyACM0]: speed set to 115200 
2012-04-30 11:56:36 [13417] [7] PANIC: AT2[/dev/ttyACM0]: Cannot detect modem and generic not found 
2012-04-30 11:56:36 [13417] [7] PANIC: ./bearerbox(gw_panic+0xc2) [0x80cc0e2] 
2012-04-30 11:56:36 [13417] [7] PANIC: ./bearerbox [0x806ca62] 
2012-04-30 11:56:36 [13417] [7] PANIC: ./bearerbox [0x806d5f1] 
2012-04-30 11:56:36 [13417] [7] PANIC: ./bearerbox [0x80c2971] 
2012-04-30 11:56:36 [13417] [7] PANIC: /lib/libpthread.so.0 [0xb9649b] 
2012-04-30 11:56:36 [13417] [7] PANIC: /lib/libc.so.6(clone+0x5e) [0xaed42e] 

我使用使用帶紅帽USB電纜摩托羅拉的Razer V3I收到此錯誤。該設備還可以在/ dev的檢測爲ttyACM0 這是我smskannel.conf


group = core 
admin-port = 13003 
smsbox-port = 13004 
admin-password = bar 
#status-password = foo 
#admin-deny-ip = "" 
#admin-allow-ip = "" 
#log-file = "/tmp/kannel.log" 
#log-level = 0 
box-deny-ip = "*.*.*.*" 
box-allow-ip = "127.0.0.1" 
#unified-prefix = "+923,0092,0;+,00" 
#access-log = "/tmp/access.log" 
#store-file = "kannel.store" 
#ssl-server-cert-file = "cert.pem" 
#ssl-server-key-file = "key.pem" 
#ssl-certkey-file = "mycertandprivkeyfile.pem" 

#--------------------------------------------- 
# SMSC CONNECTIONS 

group = smsc 
smsc = fake 
smsc-id = FAKE 
port = 10000 
connect-allow-ip = 127.0.0.1 

#this is for Motorola Razer V3i 

group = smsc 
smsc = at 
modemtype = auto 
device=/dev/ttyACM0 
my-number = 00923478847037 
sms-center= 00923455000010 
connect-allow-ip = 127.0.0.1 
log-level = 0 

#-----------------Modem Group------------ 
group = modems 
id = Motorola 
name = "Motorola" 
init-string = "AT+C=1" 
need-sleep = true 
enable-mms = true 
speed = 115200 
message-storage = "SM" 


#--------------------------------------------- 
# SMSBOX SETUP 
# 


group = smsbox 
bearerbox-host = 127.0.0.1 
sendsms-port = 13013 
global-sender = 13013 
#sendsms-chars = "-" 
#log-file = "/tmp/smsbox.log" 
#log-level = 0 
#access-log = "/tmp/access.log" 

#--------------------------------------------- 
# SEND-SMS USERS 


group = sendsms-user 
username = tester 
password = foobar 
#user-deny-ip = "" 
#user-allow-ip = "" 

#--------------------------------------------- 
# SERVICES 


group = sms-service 
keyword = nop 
text = "You asked nothing and I did it!" 


group = sms-service 
keyword = default 
text = "No service specified" 

請幫我

+0

也很抱歉粘貼太多,但我無法找到其他方式 –

回答

1

試試這個初始化字符串:

init-string = "AT+CMEE=2;+CNMI=3,1,0,0,0". 

它適用於我的Motorola Razr2 v8:我可以發送和接收消息。 This guy建議我提供的解決方案,它適用於他的Razr v3。

有關AT命令和解釋的完整列表,我發現this reference非常有用。

+0

非常感謝你的兄弟。我在一個月前解決了這個問題.....真的很自豪,像你這樣的人總是在那裏分享他們的知識.... .....是的,我用同樣的字符串它爲我工作 –

+0

如何你能解決它@MahtabRasheed? – Aleister