ok running with the "phonet" driver, I managed to copy all data from the specific vCard (this was not possible before), still it says that the command has "failed" at the end.
# cat test.cvf | gnokii --phone 5 --writephonebook -m ME -n 833 -vGNOKII Version 0.6.31LOG: debug mask is 0x1Config read from file /root/.gnokiirc.phone instance config:model = 6510port = usbpn0connection = phonetinitlength = defaultserial_baudrate = 19200serial_write_usleep = -1handshake = softwarerequire_dcd = 0smsc_timeout = 10rfcomm_channel = 0sm_retry = 0Connectingoverrun: 1010 0Serial device: opening device usbpn0Getting model...Message sent: 0x1b / 0x000600 01 00 07 01 00 |Message received: 0x1b / 0x003a00 00 00 08 00 01 58 34 00 30 56 20 30 37 2e 31 | X4 0V 07.130 0a 32 35 2d 30 33 2d 31 30 0a 52 4d 2d 36 33 | 0 25-03-10 RM-6338 0a 28 63 29 20 4e 6f 6b 69 61 20 20 20 20 20 | 8 (c) Nokia20 20 20 20 20 20 20 0a 48 00 | HReceived message type 1bmodel length: 6Received model RM-638strings[0] = BEGIN:VCARDstrings[1] = VERSION:2.1strings[2] = FN:Test Testerstrings[3] = N:Tester;Test;;;strings[4] = EMAIL;TYPE=INTERNET:address@hiddenstrings[5] = TEL;TYPE=CELL:+450123456789strings[6] = TEL;TYPE=CELL:+950123456789strings[7] = item1.URL:http\://www.google.com/profiles/546513246513249897654strings[8] = item1.X-ABLabel:PROFILEstrings[9] = END:VCARDReading phonebook location 833 from memory 0x05Message sent: 0x03 / 0x001200 01 00 07 01 01 00 01 02 05 00 00 00 00 03 41 | A00 00 |Message received: 0x03 / 0x000e45 0d 00 08 00 01 0f 00 00 08 33 00 00 00 | E 3Received message type 03Writing phonebook entry Test Tester...Message sent: 0x03 / 0x00b200 01 00 0b 00 01 01 00 00 10 02 05 03 41 00 00 | A00 00 00 00 00 05 07 00 00 1c ff 16 00 54 00 65 | T e00 73 00 74 00 20 00 54 00 65 00 73 00 74 00 65 | s t T e s t e00 72 1e 00 00 08 ff 01 00 55 08 00 00 30 ff 2a | r U 0 *00 74 00 65 00 73 00 74 00 2e 00 74 00 65 00 73 | t e s t . t e s00 74 00 65 00 72 00 40 00 67 00 6d 00 61 00 69 | t e r @ g m a i00 6c 00 2e 00 63 00 6f 00 6d 0b 00 00 24 ff 03 | l . c o m $00 00 00 1a 00 2b 00 34 00 35 00 30 00 31 00 32 | + 4 5 0 1 200 33 00 34 00 35 00 36 00 37 00 38 00 39 0b 00 | 3 4 5 6 7 8 900 24 ff 03 00 00 00 1a 00 2b 00 39 00 35 00 30 | $ + 9 5 000 31 00 32 00 33 00 34 00 35 00 36 00 37 00 38 | 1 2 3 4 5 6 7 800 39 | 9Message received: 0x03 / 0x000e00 00 00 0c 00 01 0f 00 00 08 3d 00 00 00 | =Received message type 03response 0x10 error 0x3dWriting failed. Falling back to a new method.Misconfiguration in the phone table detected.Please report to gnokii ml (address@hidden).Model (null) ((null)) is series40 3rd+ Edition.Writing phonebook entry Test Tester...Message sent: 0x03 / 0x00ae00 01 00 0b 00 01 01 00 00 10 02 05 03 41 00 00 | A00 00 00 00 00 05 47 00 00 12 ff 0c 00 54 00 65 | G T e00 73 00 74 00 65 00 72 46 00 00 0e ff 08 00 54 | s t e rF T00 65 00 73 00 74 08 00 00 30 ff 2a 00 74 00 65 | e s t 0 * t e00 73 00 74 00 2e 00 74 00 65 00 73 00 74 00 65 | s t . t e s t e00 72 00 40 00 67 00 6d 00 61 00 69 00 6c 00 2e | r @ g m a i l .00 63 00 6f 00 6d 0b 00 00 24 ff 03 00 00 00 1a | c o m $00 2b 00 34 00 35 00 30 00 31 00 32 00 33 00 34 | + 4 5 0 1 2 3 400 35 00 36 00 37 00 38 00 39 0b 00 00 24 ff 03 | 5 6 7 8 9 $00 00 00 1a 00 2b 00 39 00 35 00 30 00 31 00 32 | + 9 5 0 1 200 33 00 34 00 35 00 36 00 37 00 38 00 39 | 3 4 5 6 7 8 9Message received: 0x03 / 0x001e00 00 00 0c 00 02 04 00 00 10 04 00 03 41 00 00 | A08 7f 05 00 00 00 7e 00 00 08 00 00 00 03 | ~Received message type 03Write Succeeded: memory type: ME, loc: 833, name: Test Tester, number:Write failed (Data format is not valid.): memory type: ME, loc: 834, name: , number:Serial device: closing deviceaddress@hidden:/home/nass/workstuff/dev/gnokii/gnokii# by removing the same kernel modules and executing the same command with dku2libusb
# cat test.cvf | gnokii --phone 2 --writephonebook -m ME -n 832 -v
GNOKII Version 0.6.31
LOG: debug mask is 0x1
Config read from file /root/.gnokiirc.
phone instance config:
model = 6510
port = 1
connection = dku2libusb
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Connecting
overrun: 1010 0
Serial device: opening device USB
Ignoring extra header, type 171, length 5
Found FBUS interface
Ignoring extra header, type 171, length 5
Found FBUS interface
Ignoring extra header, type 171, length 5
Found FBUS interface
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Serial device: closing device
Telephone interface init failed: Command timed out.
Quitting.
Command timed out.