gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

my 6310 won't initialize


From: Ulrich Hopp
Subject: my 6310 won't initialize
Date: Sat, 28 Dec 2002 20:22:50 +0100
User-agent: KMail/1.4.3

Hi,

gnokii : latest version from CVS 0.5.0pre (28.12.2002)
Phone : Nokia 6310 V 4.10 04-01-02 NPE-4
Cabel : DLR3-3P
System SuSE 8.1 ( ftp update )

I believe that one reason for this is in fbus.c  at2fbus_serial_open and 
fbus_serial_open return true, that means err=1 =! GN_ERR_NONE. So no init 
string is sent to the phone.

When I set err=GN_ERR_NONE I got unrecognized frames, so something else must 
be wrong. Any hints for me ?

fbus.c:
##############################################
                break;
        case GN_CT_DLR3P:
                switch (try) {
                case 0:
                        err = at2fbus_serial_open(state);
                        break;
                case 1:
                        err = fbus_serial_open(1,state);
                        break;
                default:
                        err = GN_ERR_FAILED;
                        break;
                }
                break;
        default:
                err = GN_ERR_FAILED;
                break;
        }
        if (err != GN_ERR_NONE) {
                free(FBUSINST(state));
                FBUSINST(state) = NULL;
                return err;
        }


        /* Send init string to phone, this is a bunch of 0x55 characters. 
Timing is
           empirical. */
        /* I believe that we need/can do this for any phone to get the UART 
synced */

###########################################################
Never get here because err = 1 =! GN_ERR_NONE


Debug log :
#####################################
GNOKII Version 0.5.0pre
Opened configuration file /home/hopp/.gnokiirc
Added new section global
Adding key/value port//dev/ttyS1
Adding key/value model/6310
Adding key/value initlength/default
Adding key/value connection/dlr3p
Adding key/value bindir//usr/local/sbin/
Adding key/value use_locking/yes
Adding key/value serial_baudrate/115200
Adding key/value handshake/hardware
Added new section connect_script
Added new section disconnect_script
phone instance config:
model: 6310
port_device: /dev/ttyS1
connection_type: 2
init_length: 0
serial_baudrate: 115200
serial_write_usleep: -1
hardware_handshake: 1
require_dcd: 0
smsc_timeout: -1
connect_script:
disconnect_script: 
Connecting
Serial device: opening device /dev/ttyS1
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to high
Serial device: setting speed to 19200
Serial device: setting speed to 115200
Error in link initialisation: 1
Serial device: opening device /dev/ttyS1
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to low
Error in link initialisation: 1
Error in link initialisation: 1
Telephone interface init failed: Command failed. Quitting.
Serial device: closing device
#####################################################

regards
Uli



reply via email to

[Prev in Thread] Current Thread [Next in Thread]