gnokii-users
[Top][All Lists]
Advanced

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

nokia 3510i - dont work (usb cable)


From: Rafal Maj
Subject: nokia 3510i - dont work (usb cable)
Date: Thu, 13 Oct 2005 05:29:17 +0200
User-agent: Debian Thunderbird 1.0.7 (X11/20051001)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


/etc/gnokiirc

is

port = /dev/ttyS0
model = 6510
connection = dau9p
(other settings are default, only debugging)


address@hidden:~# file /dev/ttyS0
/dev/ttyS0: character special (4/64)
address@hidden:~# file /dev/ttyS1
/dev/ttyS1: character special (4/65)
address@hidden:~# file /dev/ttyS2
/dev/ttyS2: character special (4/66)
address@hidden:~# cat /dev/ttyS0

address@hidden:~# cat /dev/ttyS1

address@hidden:~# cat /dev/ttyS2
cat: /dev/ttyS2: Input/output error

ttyS1 is actually the Palmtop, and it is working o.k.
address@hidden:~# file /dev/pilot
/dev/pilot: symbolic link to `/dev/ttyS1'


connecting the usb is:

[4299801.698000] hub 3-0:1.0: state 5 ports 8 chg 0000 evt ff80
[4299801.698000] ehci_hcd 0000:00:02.2: GetStatus port 7 status 001803
POWER sig=j CSC CONNECT
[4299801.698000] hub 3-0:1.0: port 7, status 0501, change 0001, 480 Mb/s
[4299801.802000] hub 3-0:1.0: debounce: port 7: total 100ms stable 100ms
status 0x501
[4299801.853000] ehci_hcd 0000:00:02.2: port 7 full speed --> companion
[4299801.853000] ehci_hcd 0000:00:02.2: GetStatus port 7 status 003001
POWER OWNER sig=se0 CONNECT
[4299801.853000] hub 3-0:1.0: port_wait_reset: err = -107
[4299801.853000] ehci_hcd 0000:00:02.2: GetStatus port 8 status 003802
POWER OWNER sig=j CSC
[4299801.853000] hub 3-0:1.0: port 8, status 0000, change 0001, 12 Mb/s
[4299801.853000] ehci_hcd 0000:00:02.2: GetStatus port 8 status 003802
POWER OWNER sig=j CSC
[4299801.879000] ehci_hcd 0000:00:02.2: GetStatus port 8 status 003802
POWER OWNER sig=j CSC
[4299801.905000] ehci_hcd 0000:00:02.2: GetStatus port 8 status 003802
POWER OWNER sig=j CSC
[4299801.931000] ehci_hcd 0000:00:02.2: GetStatus port 8 status 003802
POWER OWNER sig=j CSC
[4299801.957000] ehci_hcd 0000:00:02.2: GetStatus port 8 status 003802
POWER OWNER sig=j CSC

[...]

[4299803.413000] ehci_hcd 0000:00:02.2: GetStatus port 8 status 003802
POWER OWNER sig=j CSC
[4299803.413000] hub 3-0:1.0: debounce: port 8: total 1500ms stable 0ms
status 0x0
[4299803.413000] hub 3-0:1.0: connect-debounce failed, port 8 disabled
[4299803.413000] hub 1-0:1.0: state 5 ports 4 chg 0000 evt 0010
[4299803.413000] ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [3]
= 0x00010101 CSC PPS CCS
[4299803.413000] hub 1-0:1.0: port 4, status 0101, change 0001, 12 Mb/s
[4299803.517000] hub 1-0:1.0: debounce: port 4: total 100ms stable 100ms
status 0x101
[4299803.579000] ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [3]
= 0x00100103 PRSC PPS PES CCS
[4299803.590000] usb 1-4: new full speed USB device using ohci_hcd and
address 4
[4299803.653000] ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [3]
= 0x00100103 PRSC PPS PES CCS
[4299803.678000] usb 1-4: ep0 maxpacket = 8
[4299803.685000] usb 1-4: new device strings: Mfr=0, Product=0,
SerialNumber=0
[4299803.685000] usb 1-4: hotplug
[4299803.688000] usb 1-4: adding 1-4:1.0 (config #1, interface 0)
[4299803.688000] usb 1-4:1.0: hotplug
[4299804.546000] usbcore: registered new driver usbserial
[4299804.556000] drivers/usb/serial/usb-serial.c: USB Serial support
registered for Generic
[4299804.565000] usbserial_generic 1-4:1.0: usb_probe_interface
[4299804.565000] usbserial_generic 1-4:1.0: usb_probe_interface - got id
[4299804.565000] usbcore: registered new driver usbserial_generic
[4299804.565000] drivers/usb/serial/usb-serial.c: USB Serial Driver core
v2.0
[4299804.595000] drivers/usb/serial/usb-serial.c: USB Serial support
registered for PL-2303
[4299804.604000] pl2303 1-4:1.0: usb_probe_interface
[4299804.604000] pl2303 1-4:1.0: usb_probe_interface - got id
[4299804.605000] pl2303 1-4:1.0: PL-2303 converter detected
[4299804.608000] usb 1-4: PL-2303 converter now attached to ttyUSB0
[4299804.608000] usbcore: registered new driver pl2303
[4299804.608000] drivers/usb/serial/pl2303.c: Prolific PL2303 USB to
serial adaptor driver v0.12


my telephone is turned on, doing nothing, and connected to PC via this
usb cable (that goes under battery)



ok, now lets run:

address@hidden:~# gnokii --identify
GNOKII Version 0.6.8
LOG: debug mask is 0x1
LOG: rlpdebug mask is 0x1
LOG: xdebug mask is 0x1
phone instance config:
model: 6510
port_device: /dev/ttyS0
connection_type: 1
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 200
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 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
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


is it o.k.?


now to download the phonebook,


address@hidden:~# gnokii --getphonebook ON 1
GNOKII Version 0.6.8
LOG: debug mask is 0x1
LOG: rlpdebug mask is 0x1
LOG: xdebug mask is 0x1
phone instance config:
model: 6510
port_device: /dev/ttyS0
connection_type: 1
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 200
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 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
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
Reading phonebook location (1)
Message sent: 0x03 / 0x0012
00 01 00 07 01 01 00 01 02 07 00 00 00 00 00 01 |
00 00                                           |
SM_Block: exiting the retry loop
Message sent: 0x03 / 0x0012
00 01 00 07 01 01 00 01 02 07 00 00 00 00 00 01 |
00 00                                           |
SM_Block: exiting the retry loop
Message sent: 0x03 / 0x0012
00 01 00 07 01 01 00 01 02 07 00 00 00 00 00 01 |
00 00                                           |
SM_Block: exiting the retry loop
Error: Command timed out.
Serial device: closing device


it seems it failed...

how to fix it?


Now with
~  connection = dlr3p
in gnokiirc - very simmilar, the changes:

address@hidden:~# diff -uar gnokii.phone.dau9p gnokii.phone.dlr3p
- --- gnokii.phone.dau9p  2005-10-13 05:03:04.996422568 +0200
+++ gnokii.phone.dlr3p  2005-10-13 04:56:44.033337760 +0200
@@ -5,7 +5,7 @@
~ phone instance config:
~ model: 6510
~ port_device: /dev/ttyS0
- -connection_type: 1
+connection_type: 2
~ init_length: 0
~ serial_baudrate: 19200
~ serial_write_usleep: -1
@@ -18,8 +18,23 @@
~ sm_retry: off
~ Connecting
~ 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
~ 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 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                               |

also ends in timeout...

Thanks in advice
















-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDTdSKjs40vfLccrERAi9NAJwI62qH14jcWK0iuETXZKhL1ziGgACgj/Lw
M9C86bJiRtHhPsLxVzlaJx0=
=YhTo
-----END PGP SIGNATURE-----




reply via email to

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