I said to try /dev/ttyACM0 not /dev/tty8.

----- Original Message ----- 
  From: Rajeev Agarwal 
  To: Nikos Balkanas 
  Cc: [email protected] 
  Sent: Friday, December 11, 2009 11:08 AM
  Subject: Re: Sony Ericsson for Kannel


  But after installing minicom  i get 

  minicom: cannot open /dev/tty8: Permission denied



  2009/12/11 Rajeev Agarwal <[email protected]>

    After installing wvdial i get the following


    raj...@insi:~/Desktop$ wvdial
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
    OK
    --> Modem initialized.
    --> Configuration does not specify a valid phone number.
    --> Configuration does not specify a valid login name.
    --> Configuration does not specify a valid password.
    raj...@insi:~/Desktop$ 




    2009/12/11 Nikos Balkanas <[email protected]>

      Hi,

      What is cdc_acm? It doesn't look like a modem. What do you have connected 
to your PC?

      Next step is to use minicom or wvdial and connect to /dev/ttyACM0. In 
minicom issue an AT command. It should reply with an AT.

      BR,
      Nikos
        ----- Original Message ----- 
        From: Rajeev Agarwal 
        To: Nikos Balkanas 
        Cc: [email protected] 
        Sent: Friday, December 11, 2009 10:41 AM
        Subject: Re: Sony Ericsson for Kannel


        hi!

        after dmesg | grep tty i got the following

        [    0.004000] console [tty0] enabled
        [    1.276807] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
        [    1.277100] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
        [10283.432323] cdc_acm 8-2:1.0: ttyACM0: USB ACM device
        [10387.225333] cdc_acm 8-1:1.0: ttyACM0: USB ACM device
        [10570.342537] cdc_acm 8-2:1.0: ttyACM0: USB ACM device


        how do i decode the above stuff???


        2009/12/11 Nikos Balkanas <[email protected]>

          Hi,

          If it is not a modem you cannot use it as an SMSc. And without an 
SMSc you cannot send/receive SMS.

          As Isaac suggested, with your modem connected to your server, after 
rebooting, do:


          If you don't get anything, your mobile is not a modem, and you cannot 
use it. To send/receive SMS you will have to either get an SMSc connection or 
get a GPRS modem.

          BR,
          Nikos
            ----- Original Message ----- 
            From: Rajeev Agarwal 
            To: Nikos Balkanas 
            Cc: [email protected] 
            Sent: Friday, December 11, 2009 10:22 AM
            Subject: Re: Sony Ericsson for Kannel


            hi
             yes the mobile does have a USB port.

            If it is not modem should i remove the modem details from the conf 
file?

            btw have a look at this

            raj...@insi:~/Desktop$ ls -lrt /dev/ttyA*
            crw-rw---- 1 root dialout 166, 0 2009-12-11 12:44 /dev/ttyACM0



            2009/12/11 Nikos Balkanas <[email protected]>

              Hi,

              If the mobile is not detected by the OS, you won't need an init 
string. Simply put the mobile is not a modem.

              Does the mobile feature a USB or serial port?

              BR,
              Nikos
                ----- Original Message ----- 
                From: Rajeev Agarwal 
                To: Isaac Sanni-Thomas 
                Cc: [email protected] 
                Sent: Friday, December 11, 2009 9:25 AM
                Subject: Re: Sony Ericsson for Kannel


                that ain't working!

                how to i get the init string?


                2009/12/11 Isaac Sanni-Thomas <[email protected]>



                  On 12/11/2009 05:45 AM, Rajeev Agarwal wrote:

                    Hi!

                    I was wondering is it possible to use a Sony Ericsson W 
580i phone as a
                    modem for sending sms?



                  I havent used a Sony Ericsson but rather a Nokia.
                  However you can setup the modem group and smsc group as shown 
in the user guide.
                  To be sure the phone can be used, do this:
                  Connect the phone to the computer and as root do this
                  r...@your-computer#dmesg|grep -i "Sony"
                  r...@your-computer#tail -n30 /var/log/messages|grep -i "Sony"

                  You must see a link to the device file /dev/ttyACM0 or 
something similar which shows connection to your phone.
                  Configure kannel accordingly to use the device file that 
points to your phone. Read the user manual on configuring group=modems 
group=smsc for using phones as virtual smsc.

                    Regards

                    Rajeev.













Reply via email to