Hi, It's about permission or privilege issue. You need to run Kannel is super user or root. But before you do that, make sure the modem is properly detected. Huawei E220 act as a GSM Modem and a storage device on first detection. You need to re detect it by executing : modprobe -r uhci_hcd modprobe uhci_hcd Once again above command must be run as a super user or root
Regards, Willy On Thu, 2008-04-17 at 14:14 +0200, Samir Mazzawi wrote: > Hi, > > I am trying to run kannel with a Huaweei E220 modem do anyone know if > this works? > > 2008-04-12 01:24:02 [4014] [6] ERROR: AT2[/dev/ttyUSB0]: open failed! ERRNO=13 > 2008-04-12 01:24:02 [4014] [6] ERROR: System error 13: Permission denied > 2008-04-12 01:24:02 [4014] [6] INFO: AT2[/dev/ttyUSB0]: opening device > 2008-04-12 01:24:03 [4014] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 57600 > > I fixed the permission error and it looks like it starts to open > device but messages is just in que. > > My modems.conf: > > # Modems configuration > # > # Example and default values > # > # group = modems > # id = "my-id" > # name = "my-name" > # detect-string = "MODEM" > # detect-string2 = "" [Default] > # init-string = "AT+CNMI=1,2,0,0,0" [Default] > # speed = 9600 [Default] > # enable-hwhs = "AT+IFC=2,2" [Default] > # need-sleep = false [Default] > # no-pin = false [Default] > # no-smsc = false [Default] > # sendline-sleep = 100 [Default, miliseconds] > # keepalive-cmd = "AT" [Default] > # broken = false [Default] > # message-storage = "SM" > # enable-mms = false [Default] > > > # If modemtype=auto, try everyone and defaults to this one > group = modems > id = generic > name = "Generic Modem" > > > group = modems > id = keegan > name = Keegan > detect-string = "KEEGAN" > speed = 115200 > no-pin = true > no-smsc = true > #message-storage = "SM" > enable-hwhs = "AT+IFC=2,2" > enable-mms = true > reset-string = "ATZ" > #init-string = "AT+CNMI=0,0,0,0,0" > #init-string = "AT+CMGF=1" > > group = modems > id = wavecom > name = Wavecom > detect-string = "WAVECOM" > > group = modems > id = premicell > name = Premicell > detect-string = "PREMICEL" > no-pin = true > no-smsc = true > > group = modems > id = siemens_tc35 > name = "Siemens TC35" > detect-string = "SIEMENS" > detect-string2 = "TC35" > init-string = "AT+CNMI=1,2,0,1,1" > speed = 19200 > enable-hwhs = "AT\\Q3" > need-sleep = true > > group = modems > id = siemens_m20 > name = "Siemens M20" > detect-string = "SIEMENS" > detect-string2 = "M20" > speed = 19200 > enable-hwhs = "AT\\Q3" > keepalive-cmd = "AT+CBC;+CSQ" > need-sleep = true > > group = modems > id = siemens_sl45 > name = "Siemens SL45" > detect-string = "SIEMENS" > detect-string2 = "SL45" > init-string = "AT+CNMI=1,2,2,2,1" > keepalive-cmd = "AT+CBC;+CSQ" > speed = 19200 > enable-hwhs = "AT\\Q3" > need-sleep = true > message-storage = "SM" > > group = modems > id = nokiaphone > name = "Nokia Phone" > detect-string = "Nokia Mobile Phone" > need-sleep = true > keepalive-cmd = "AT+CBC;+CSQ" > enable-mms = true > > group = modems > id = falcom > name = "Falcom" > detect-string = "Falcom" > #no-smsc = true > > group = modems > id = ericsson_r520m > name = "Ericsson R520m" > detect-string = "R520m" > init-string = "AT+CNMI=3,2,0,0" > > group = modems > id = ericsson_t68 > name = "Ericsson T68" > detect-string = "T68" > init-string = "AT+CNMI=3,3" > keepalive-cmd = "AT+CBC;+CSQ" > broken = true > > group = modems > id = sonyericsson_gr47 > name = "Sony Ericsson GR47" > detect-string = "GR47" > message-storage = "ME" > # use this init-string for non sim-buffering > init-string = "AT+CNMI=3,2,0,0" > # use this init-string for sim-buffering > #init-string = "AT+CNMI=3,1,0,0" > reset-string = "ATZ" > broken = true > > group = modems > id = alcatel > name = "Alcatel" > detect-string = "Alcatel" > init-string = "AT+CNMI=3,2,0,0" > > group = modems > id = sonyericsson_T630-T628 > name = "Sony Ericsson T630-T628? > init-string = "AT+CNMI=2,3,2,0,0;+CMGF=0? > keepalive-cmd = "AT+CBC;+CSQ;+CMGF=0? > broken = true > > -- [sangprabv] http://www.sangprabv.web.id http://www.binbit.co.id
