Hi Thank you again for your response. I
changes the configuration file as you said and I get the following: this is
repeated a few times and I was not able to get you the amount of times the same
messages kept repeating, sorry.
……
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
[Echo cancelled]
SM_Block: exiting the retry loop
Serial device: opening device /dev/ttyACM0
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
Switching to FBUS mode
Serial device: setting speed to 115200
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
[Echo cancelled]
SM_Block: exiting the retry loop
Identifying...
Message sent: 0x1b / 0x0005
00 01 00 00
41
| A
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
[Echo cancelled]
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
[Echo cancelled]
SM_Block: exiting the retry loop
IMEI
: (unknown)
Manufacturer : Nokia
Model
: (unknown)
Revision :
(unknown)
Serial device: closing device
From:
address@hidden
[mailto:address@hidden On Behalf Of rishi pathak
Sent: 02 February 2007 05:23
To: Discussion forum for gnokii
users.
Subject: Re: can not get gnokii to
work
Sorry that I did'nt mentioned the whole thing.
As you can see when you set port to /dev/ttyACMo , gnokii could detect the device and
gets some response.Keep the port as /dev/ttyACMo and then use connection =
serial.
The port configuration is right.
Regards--
Rishi Pathak
On 2/1/07, address@hidden <address@hidden> wrote:
Hi
Thank You for your response. i changed the connection to serial and i got the
following message:
GNOKII Version 0.6.12
LOG: debug mask is 0x1
phone instance config:
model: 6680
port_device: /dev/ttyS0
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 1000
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Serial device: opening device /dev/ttyS0
Message sent: 0x01 / 0x0002
00
01
|
SM_Block: exiting the retry loop
Message sent: 0x01 / 0x0002
00
01
|
SM_Block: exiting the retry loop
Message sent: 0x01 / 0x0002
00
01
|
SM_Block: exiting the retry loop
Telephone interface init failed: Command timed out.
Quitting.
I then changed my model to a more standard one 6510 and got the following
GNOKII Version 0.6.12
LOG: debug mask is 0x1
phone instance config:
model: 6510
port_device: /dev/ttyS0
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 1000
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Connecting
Serial device: opening device /dev/ttyS0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to low
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00
|
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
SM_Block: exiting the retry loop
Serial device: opening device /dev/ttyS0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
SM_Block: exiting the retry loop
Serial device: opening device /dev/ttyS0
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
Switching to FBUS mode
Serial device: setting speed to 115200
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
SM_Block: exiting the retry loop
Identifying...
Message sent: 0x1b / 0x0005
00 01 00 00
41 |
A
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
SM_Block: exiting the retry loop
IMEI : (unknown)
Manufacturer : Nokia
Model : (unknown)
Revision : (unknown)
Serial device: closing device
Quoting rishi pathak < address@hidden>:
> Try
> connection=serial
>
> On 2/1/07, Homayoun Ahmed <address@hidden
> wrote:
> >
> > Hi guys
> >
> >
> >
> > I seem to have fallen at the first hurdle with gnokii. After
installing
> > the program I then went about connecting my nokia 6680 to my laptops
usb
> > port with the cable that came with the phone.
> >
> >
> >
> > I am running fedora core 5 as a vmware. When I connect the device it
> > appears up on /dev as ttyACM0. I used the following for my
configuration
> > file:
> >
> >
> >
> > port = /dev/ttyACMo
> >
> > model = 6680
> >
> > connection = dku2
> >
> >
> >
> > I used dku2 for connection as I did not know which one to use. When I
type
> > in gnokii idetify
> >
> >
> >
> > GNOKII Version 0.6.12
> >
> > LOG: debug mask is 0x1
> >
> > phone instance config:
> >
> > model: 6680
> >
> > port_device: /dev/ttyACM0
> >
> > connection_type: 0
> >
> > init_length: 0
> >
> > serial_baudrate: 19200
> >
> > serial_write_usleep: -1
> >
> > hardware_handshake: 0
> >
> > require_dcd: 0
> >
> > smsc_timeout: 1000
> >
> > connect_script:
> >
> > disconnect_script:
> >
> > rfcomm_cn: 1
> >
> > sm_retry: off
> >
> > Serial device: opening device /dev/ttyACM0
> >
> > Message sent: 0x01 / 0x0002
> >
> > 00
01
|
> >
> > Message received: 0x01 / 0x0002
> >
> > 00
01
|
> >
> > Received message type 01
> >
> > gnokii: pkt.c:55: buffer_expand: Assertion `buf->size >=
buf->offs + len'
> > failed.
> >
> > Aborted
> >
> >
> >
> > So I changed the port to the default for the configuration file to
ttyS0
> >
> >
> >
> > I then ran the same command and I got the following:
> >
> >
> >
> > GNOKII Version 0.6.12
> >
> > LOG: debug mask is 0x1
> >
> > phone instance config:
> >
> > model: 6680
> >
> > port_device: /dev/ttyS0
> >
> > connection_type: 9
> >
> > init_length: 0
> >
> > serial_baudrate: 19200
> >
> > serial_write_usleep: -1
> >
> > hardware_handshake: 0
> >
> > require_dcd: 0
> >
> > smsc_timeout: 1000
> >
> > connect_script:
> >
> > disconnect_script:
> >
> > rfcomm_cn: 1
> >
> > sm_retry: off
> >
> > Telephone interface init failed: Function or connection type not
supported
> > by the phone.
> >
> > Quitting.
> >
> >
> >
> > I then tried changing the connection to "connection =
dlr3p" but had no
> > luck
> >
> >
> >
> > Could someone help me. Thank you in advance for any help
> >
> > _______________________________________________
> > gnokii-users mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/gnokii-users
> >
> >
>
--
_______________________________________________
gnokii-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gnokii-users