As long as you're not able to open the device from a regular terminal,
there's no sense in trying to use it with kannel. You need to solve the
connectivity issue first.

Regards,

Alejandro

On Tue, Oct 27, 2009 at 9:01 AM, st2forget <[email protected]> wrote:

>
> Dear all,
> I've try root user, some other terminal, super user terminal... but it's no
> use. Thought that it's because my phone :(. or maybe it's because device
> busy or cannot get information of Nokia N70 ME :(
>
> Alejandro Guerrieri wrote:
> >
> > Have you tried from minicom or any other terminal client?
> >
> > Regards,
> >
> > Alejandro
> >
> > On Mon, Oct 26, 2009 at 10:36 AM, sangprabv <[email protected]> wrote:
> >
> >> If it is about permission then try to be root, it should fix it. If it
> >> does then try to look for any appropriate permission setting ;)
> >>
> >>
> >>
> >>
> >> Willy
> >>
> >>
> >> On Mon, 2009-10-26 at 00:38 -0700, st2forget wrote:
> >> > Hi all, I have same problem here, I also change permission for
> >> /dev/ttyACM0
> >> > but Kannel still get Generic Error and could'nt initialize device. Is
> >> there
> >> > any solution for this?
> >> >
> >> >
> >> > st2forget wrote:
> >> > >
> >> > > Hi all, i'm having trouble with Kannel and Nokia N70 Music Edition.
> I
> >> > > wonder if Kannel can read that phone or not? :(.
> >> > > Here is my situation:
> >> > >
> >> > > 2009-10-17 01:13:21 [7238] [6] INFO: AT2[N70]: opening device
> >> > > 2009-10-17 01:13:21 [7238] [0] INFO: Adding interface *
> >> > > 2009-10-17 01:13:21 [7238] [0] INFO:
> >> > > ----------------------------------------
> >> > > 2009-10-17 01:13:21 [7238] [0] INFO: Kannel bearerbox II version
> >> 1.4.3
> >> > > starting
> >> > > 2009-10-17 01:13:21 [7238] [0] INFO: MAIN: Start-up done, entering
> >> > > mainloop
> >> > > 2009-10-17 01:13:22 [7238] [6] INFO: AT2[N70]: speed set to 115200
> >> > > 2009-10-17 01:13:24 [7238] [6] INFO: AT2[N70]: Closing device
> >> > > 2009-10-17 01:13:24 [7238] [6] INFO: AT2[N70]: detect speed is
> 115200
> >> > > 2009-10-17 01:13:24 [7238] [6] INFO: AT2[N70]: opening device
> >> > > 2009-10-17 01:13:25 [7238] [6] INFO: AT2[N70]: speed set to 115200
> >> > > 2009-10-17 01:13:27 [7238] [6] INFO: AT2[N70]: Closing device
> >> > > 2009-10-17 01:13:27 [7238] [6] INFO: AT2[N70]: opening device
> >> > > 2009-10-17 01:13:28 [7238] [6] INFO: AT2[N70]: Logging in
> >> > > 2009-10-17 01:13:29 [7238] [6] INFO: AT2[N70]: init device
> >> > > 2009-10-17 01:13:29 [7238] [6] INFO: AT2[N70]: speed set to 115200
> >> > > 2009-10-17 01:13:30 [7238] [6] ERROR: AT2[N70]: Generic error: ERROR
> >> > > 2009-10-17 01:13:30 [7238] [6] ERROR: AT2[N70]: Initialization of
> >> device
> >> > > failed.
> >> > > 2009-10-17 01:13:30 [7238] [6] INFO: AT2[N70]: Closing device
> >> > > 2009-10-17 01:13:30 [7238] [6] ERROR: AT2[N70]: Couldn't connect
> >> (retrying
> >> > > in 10 seconds).
> >> > >
> >> > > It seems that Kannel entered mainloop and could listen to mobile
> >> phone,
> >> > > but when it set speed for mobile, there is and error occured. Is
> >> there
> >> any
> >> > > way to configure or install package for my phone to detect kannel?
> Or
> >> any
> >> > > way to update kannel to detect my phone co'z it's Nokia N70 Music
> >> Edition,
> >> > > not N70.
> >> > >
> >> > > Here is my Kannel.conf file:
> >> > >
> >> > > group = core
> >> > > admin-port = 13000
> >> > > admin-password = hoanggia
> >> > > admin-deny-ip = "*.*.*.*"
> >> > > admin-allow-ip = "127.0.0.1"
> >> > > smsbox-port = 13001
> >> > > wapbox-port = 13002
> >> > > wdp-interface-name = "*"
> >> > > log-file = "/var/log/kannel/bearerbox.log"
> >> > > box-deny-ip = "*.*.*.*"
> >> > > box-allow-ip = "127.0.0.1"
> >> > >
> >> > > group = wapbox
> >> > > bearerbox-host = localhost
> >> > > log-file = "/var/log/kannel/wapbox.log"
> >> > >
> >> > > #group = smsc
> >> > > #smsc = at
> >> > > #modemtype = auto
> >> > > #device=/dev/ttyACM0
> >> > > #my-number = 123123123123 #The my-number field contains the number
> of
> >> > > #your GSM modem’s SIM chip
> >> > > ##log-level = 0
> >> > >
> >> > > group = smsc
> >> > > smsc = at
> >> > > smsc-id = N70
> >> > > device = /dev/ttyACM0
> >> > > my-number = 0983040785
> >> > > modemtype = nokiaphone # phone type
> >> > > speed = 0
> >> > > connect-allow-ip = "127.0.0.1"
> >> > > #sms-center = "+84980200030"
> >> > >
> >> > > group = modems
> >> > > id = nokiaphone
> >> > > name = "Nokia N70"
> >> > > detect-string = "Nokia"
> >> > > init-string =  "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" #use sudo
> >> wvdialconf
> >> > > /etc/wvdial.conf
> >> > > keepalive-cmd = "AT+CBC;+CSQ"
> >> > > #detect-string2 = N70
> >> > > speed = 0
> >> > > need-sleep = true
> >> > > #pin = 1111
> >> > >
> >> > > group = modems
> >> > > id = wavecome
> >> > > name = Wavecom
> >> > > detect-string = "WAVECOM"
> >> > >
> >> > > group = smsbox
> >> > > bearerbox-host = 127.0.0.1
> >> > > sendsms-port = 13013
> >> > > sendsms-chars = "0123456789+"
> >> > > log-file = "/etc/kannel/smsbox.log"
> >> > > #global-sender = 123123123123
> >> > > log-level = 0
> >> > >
> >> > > group = sendsms-user
> >> > > username = baochau
> >> > > password = hoanggia
> >> > > concatenation= true
> >> > > max-messages = 10
> >> > >
> >> > > group = sms-service
> >> > > keyword = ""
> >> > > keyword-regex = .*
> >> > > catch-all = yes
> >> > > max-messages = 0
> >> > > get-url = "http://localhost/php.php?phone=%p&text=%a";
> >> > >
> >> > >
> >> >
> >>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/GENERIC%3A-ERROR-when-openning-device-tp25930608p26073623.html
> Sent from the Kannel - User mailing list archive at Nabble.com.
>
>
>

Reply via email to