Introduzione:
Salve a tutti dopo un anno e più, finalmente adesso funziona!
Stiamo parlando della sincronizzazione tra i cellulari e il nostro amato kdepim,la riuscita e dovuta soprattutto al raggiungimento della maturita del plugin di opensync per kdepim(era compatibile con il pim del 3.5 ma non del 4).
il concetto che sta alla base e sfruttare la grande modulabilità di opensync che farà da "intermediario" tra i nostri dispositivi e kdepim.
si puo procedere per due vie USB o BLUETOOTH, io prediligo la seconda visto che dobbiamo trasferire dati di piccolo "spessore", senza fili fa sempre comodo!
inizialmente durante i miei esperimenti, ho configurato il tutto con il terminale sfruttando ma visto che la nostra distro mette a disposizione anche multisinc gui procediamo per via grafica(per chi interessa potra sperimentare da terminale,basta digitare msynctool per avere una panoramica dei comandi)
questa guida e creata per il nokia 5800 ma e compaibile con tutti i dispositiivi che sfruttano syncml, in alternativa e possibile installare altri plugin, da centro di controllo installazione software, basta cercare libopensync-plugin
=Per cominciare:
installate i seguenti pacchetti:
urpmi libopensync-plugin-syncml libopensync-plugin-kdepim msynctool libsyncml multisync-gui
=Passo 1:
aprite multisync-gui, aggiungi gruppo, che io chiamero NOKIA
cliccate su modifica>aggiungi menbro
vi comparira la lista di tutti i plugin installati, selezioniamo in questo caso, Kde desktop e syncml over obex
il kdepim-plugin non ha bisogno di configurazione mentre il plugin syncml si
selezioniamolo, si aprira un documento xml
lasciamo di lato andiamo in un altro desktop se possibile
Siamo al bivio segui passo 2 per bluetooth e passo3 per USB
=passo 2:
appaia correttamente il cellulare con il PC e autorizza il pc a connettersi automaticamente al cellulare(conviene cercare i nuovi
dispositivi associati dal cellulare)
apri un terminale e digita: hcitool scan verra fuori qualcosa di questo genere
[ilario@Ilario ~]$ hcitool scan
Scanning ...
00:24:7D:74:20:5B Ilario
adesso digita per conoscere i servizi disponibili: sdptool browse(tuo mac addres)
dovtesti ottenere:
[ilario@Ilario ~]$ sdptool browse 00:24:7D:74:20:5B
Browsing 00:24:7D:74:20:5B ...
Service Name: AVRCP Target
Service Description: Audio Video Remote Control
Service Provider: Symbian Software Ltd.
Service RecHandle: 0x10000
Service Class ID List:
"AV Remote Target" (0x110c)
Protocol Descriptor List:
"L2CAP" (0x0100)
PSM: 23
"AVCTP" (0x0017)
uint16: 0x102
Profile Descriptor List:
"AV Remote" (0x110e)
Version: 0x0103
Service Name: PnP Information
Service RecHandle: 0x10001
Service Class ID List:
"PnP Information" (0x1200)
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Service Name: Phonebook access PSE
Service Provider: Symbian Software Ltd
Service RecHandle: 0x10002
Service Class ID List:
"Phonebook Access - PSE" (0x112f)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639:
0x656e
encoding:
0x6a
base_offset:
0x100
Profile Descriptor
List:
"Phonebook Access"
(0x1130)
Version:
0x0100
Service Name: Hands-Free Audio Gateway
Service RecHandle: 0x10003
Service Class ID List:
"Handsfree Audio Gateway" (0x111f)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 2
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Handsfree" (0x111e)
Version: 0x0105
Service Name: Headset Audio Gateway
Service RecHandle: 0x10004
Service Class ID List:
"Headset Audio Gateway" (0x1112)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 3
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Headset" (0x1108)
Version: 0x0100
Service Name: Audio Source
Service RecHandle: 0x10005
Service Class ID List:
"Audio Source" (0x110a)
Protocol Descriptor List:
"L2CAP" (0x0100)
PSM: 25
"AVDTP" (0x0019)
uint16: 0x100
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Advanced Audio" (0x110d)
Version: 0x0100
Service Name: AVRCP Controller
Service Description: Audio Video Remote Control
Service Provider: Symbian Software Ltd.
Service RecHandle: 0x10006
Service Class ID List:
"AV Remote" (0x110e)
Protocol Descriptor List:
"L2CAP" (0x0100)
PSM: 23
"AVCTP" (0x0017)
uint16: 0x102
Profile Descriptor List:
"AV Remote" (0x110e)
Version: 0x0103
Service RecHandle: 0x10007
Service Class ID List:
UUID 128: 00005557-0000-1000-8000-0002ee000001
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 4
Service Name: Dial-Up Networking
Service RecHandle: 0x10008
Service Class ID List:
"Dialup Networking" (0x1103)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 22
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100
Service Name: OBEX Object Push
Service RecHandle: 0x10009
Service Class ID List:
"OBEX Object Push" (0x1105)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 5
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"OBEX Object Push" (0x1105)
Version: 0x0100
Service Name: Imaging
Service RecHandle: 0x1000a
Service Class ID List:
"Imaging Responder" (0x111b)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 6
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Imaging" (0x111a)
Version: 0x0100
Service Name: SyncMLClient
Service RecHandle: 0x1000b
Service Class ID List:
UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 7
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"" (0x00000002-0000-1000-8000-0002ee000002)
Version: 0x0100
Service Name: OBEX File Transfer
Service RecHandle: 0x1000c
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 8
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"OBEX File Transfer" (0x1106)
Version: 0x0100
Service Name: Nokia OBEX PC Suite Services
Service RecHandle: 0x1000d
Service Class ID List:
UUID 128: 00005005-0000-1000-8000-0002ee000001
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 9
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"" (0x00005005-0000-1000-8000-0002ee000001)
Version: 0x0100
Service Name: Nokia SyncML Server
Service RecHandle: 0x1000f
Service Class ID List:
UUID 128: 00005601-0000-1000-8000-0002ee000001
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 10
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"" (0x00005601-0000-1000-8000-0002ee000001)
Version: 0x0100
Nella lista rintracciare SyncMLClient leggere il canale, in questo caso 7
adesso torniamo dove avevamo lasciato nel passo 2 cioe il file xml
editiamo come segue:
Citazione:[?xml version="1.0"?]
[config]
[!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected --]
[bluetooth_address]00:17:79:81:AA:01[/bluetooth_address]
[!-- (Only for bluetooth) The bluetooth channel to use. `sdptool browse $MAC` to search for the correct channel --]
[bluetooth_channel]11[/bluetooth_channel]
[!-- (Only for USB) The usb interface number of the SYNCML-SYNC target.
use syncml-obex-client -u (you will need access to the USB raw device)
to find it. --]
[interface][/interface]
[!-- The string that the plugin will use to identify itself. Some devices need a special string here. --]
[identifier]PC Suite[/identifier]
[!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 --]
[version]1[/version]
[!-- if the plugin should use wbxml --]
[wbxml]1[/wbxml]
[!-- The username to use. Leave empty to not require a username --]
[username][/username]
[!-- the password for the username --]
[password][/password]
[!-- sets the connection type to use. 5 means obex over usb, 2 means obex over bluetooth --]
[type]2[/type]
[!-- If wbxml is enabled, defines wether the wbxml should use string tables --]
[usestringtable]1[/usestringtable]
[!-- Never send ADD command, but send REPLACE (not needed normally) --]
[onlyreplace]0[/onlyreplace][!-- Workaround around for mobile phones which only use local timestamps and _no_ UTC timestamps! --]
[onlyLocaltime]0[/onlyLocaltime]
[!-- Sets the maximum allowed size in bytes of incoming messages (some device need this option set). Example: 10000 --]
[recvLimit]10000[/recvLimit]
[maxObjSize]0[/maxObjSize]
[!-- The name of the contacts db. Must be the same as the phones sends --]
[contact_db]Contacts[/contact_db]
[!-- The name of the calendar db. Must be the same as the phones sends --]
[calendar_db]Calendar[/calendar_db]
[!-- The name of the note db. Must be the same as the phones sends --]
[note_db]Notes[/note_db]
[/config]
Adesso vai al passo 4
passo 3:
digitate da terminale syncml-obex-client -u
otterrete qualcosa di simile:
[ilario@Ilario ~]$ syncml-obex-client -u
Superuser privileges are required to access complete USB information.
Found 2 USB OBEX interfaces
Interface 0:
Manufacturer: Nokia
Product: Nokia 5800 XpressMusic
Interface description: SYNCML-SYNC
Interface 1:
Manufacturer: Nokia
Product: Nokia 5800 XpressMusic
Interface description: PC Suite Services
Use '-u interface_number' to connect
L' interfaccia che ci interessa e la 0
editiamo il file xml come segue:
Citazione:[?xml version="1.0"?]
[config]
[!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected --]
[bluetooth_address][/bluetooth_address]
[!-- (Only for bluetooth) The bluetooth channel to use. `sdptool browse $MAC` to search for the correct channel --]
[bluetooth_channel][/bluetooth_channel]
[!-- (Only for USB) The usb interface number of the SYNCML-SYNC target.
use syncml-obex-client -u (you will need access to the USB raw device)
to find it. --]
[interface]0[/interface]
[!-- The string that the plugin will use to identify itself. Some devices need a special string here. --]
[identifier]PC Suite[/identifier]
[!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 --]
[version]1[/version]
[!-- if the plugin should use wbxml --]
[wbxml]1[/wbxml]
[!-- The username to use. Leave empty to not require a username --]
[username][/username]
[!-- the password for the username --]
[password][/password]
[!-- sets the connection type to use. 5 means obex over usb, 2 means obex over bluetooth --]
[type]5[/type]
[!-- If wbxml is enabled, defines wether the wbxml should use string tables --]
[usestringtable]1[/usestringtable]
[!-- Never send ADD command, but send REPLACE (not needed normally) --]
[onlyreplace]0[/onlyreplace][!-- Workaround around for mobile phones which only use local timestamps and _no_ UTC timestamps! --]
[onlyLocaltime]0[/onlyLocaltime]
[!-- Sets the maximum allowed size in bytes of incoming messages (some device need this option set). Example: 10000 --]
[recvLimit]10000[/recvLimit]
[maxObjSize]0[/maxObjSize]
[!-- The name of the contacts db. Must be the same as the phones sends --]
[contact_db]Contacts[/contact_db]
[!-- The name of the calendar db. Must be the same as the phones sends --]
[calendar_db]Calendar[/calendar_db]
[!-- The name of the note db. Must be the same as the phones sends --]
[note_db]Notes[/note_db]
[/config]
Adesso vai al passo 4
passo 4:
Possiamo chiudere e avviare dalla pagina principale di multisync-gui la sincronizzazione con aggiorna!
FINE!
Citazione:
Commenti
Inviato da Ilario il Lun, 25/01/2010 - 11:35.
Re: Sincronizzare i dispositivi mobili con KDE-PIM ...
Ciao!, non riesco ad inserire il file di configurazione xml
sui suggerimenti ho letto cosi
[/code]
ma mi continuano a comparire solo i paramentri inseriti e non tutto il file completo
Inviato da picard12 il Lun, 25/01/2010 - 19:22.
Re: Sincronizzare i dispositivi mobili con KDE-PIM ...
tu meriti un premio solo per lo sforzo.. ora provo a vedere se funge con il mio n78
Asus A8N-E;Opteron180X2/mandriva 2010.1Spring x64bit
VGA: Gigabyte gts250/1gb ddr3
Inviato da brightc il Lun, 25/01/2010 - 20:47.
Re: Sincronizzare i dispositivi mobili con KDE-PIM ...
Bella guida, Ilario, ho seguito le istruzioni ma con il mio n70 non riesco a sincronizzare: mi chiede il PIN su cellulare, ma PIN su PC a volte non compare.
Sto usando interfaccia bluetooth. Ovviamente, ho fatto l'accoppiamento e la comunicazione bluetooth funziona.
Qualcun altro ha un n70 ed è riuscito a fare la sincronizzazione?
Per la cronaca, il file di configurazione che non si legge è fatto così (sostituite [ con < e ] con >):
[?xml version="1.0"?]
[config]
[!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected --]
[bluetooth_address]00:17:79:81:AA:01[/bluetooth_address]
[!-- (Only for bluetooth) The bluetooth channel to use. `sdptool browse $MAC` to search for the correct channel --]
[bluetooth_channel]11[/bluetooth_channel]
[!-- (Only for USB) The usb interface number of the SYNCML-SYNC target. use syncml-obex-client -u (you will need access to the USB raw device) to find it. --]
[interface]0[/interface]
[!-- The string that the plugin will use to identify itself. Some devices need a special string here. --]
[identifier]PC Suite[/identifier]
[!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 --]
[version]1[/version]
[!-- if the plugin should use wbxml --]
[wbxml]1[/wbxml]
[!-- The username to use. Leave empty to not require a username --]
[username][/username]
[!-- the password for the username --]
[password][/password]
[!-- sets the connection type to use. 5 means obex over usb, 2 means obex over bluetooth --]
[type]2[/type]
[!-- If wbxml is enabled, defines wether the wbxml should use string tables --]
[usestringtable]1[/usestringtable]
[!-- Never send ADD command, but send REPLACE (not needed normally) --]
[onlyreplace]0[/onlyreplace]
[!-- Workaround around for mobile phones which only use local timestamps and _no_ UTC timestamps! --]
[onlyLocaltime]0[/onlyLocaltime]
[!-- Sets the maximum allowed size in bytes of incoming messages (some device need this option set). Example: 10000 --]
[recvLimit]10000[/recvLimit]
[maxObjSize]0[/maxObjSize]
[!-- The name of the contacts db. Must be the same as the phones sends --]
[contact_db]Contacts[/contact_db]
[!-- The name of the calendar db. Must be the same as the phones sends --]
[calendar_db]Calendar[/calendar_db]
[!-- The name of the note db. Must be the same as the phones sends --]
[note_db]Notes[/note_db]
[/config]
PS: sarebbe ora di mettere a posto l'editor su questo sito, accidenti, non si riesce a
leggere un bel niente!
Inviato da Ilario il Mar, 26/01/2010 - 10:50.
Re: Sincronizzare i dispositivi mobili con KDE-PIM ...
ciao, per il pin conviene farlo dal cellulare, kbluetooth ogni tanto fa cileca, prova e reimpostare kbluetooth togliendo i file di configurazione nella cartella .kde4/share/config della tua home rendi visibile il bluetoth dal pc e poi fai l' appaiamento dl cellulare, cosi dovrebbe comparire una finestra che ti chiede il pin digitato dal cellulare
per l' n70 sie non sbaglio si dovrebbe cambiare la versione di syncml con 0 anziche 1,e da provare comunque(ci vuole un attimo)
ciao!
Inviato da picard12 il Gio, 28/01/2010 - 22:33.
Re: Sincronizzare i dispositivi mobili con KDE-PIM ...
sto provando con il mio n78 e sono a metà:
mo i due plugin ma ho un errore :unable to connect one of two members.
Sicuramente si riferisce la plugin kdepim. Mi manca qualcosa?
edit:
cazzarola: ho visto che sincronizzava qualcosa dopo aver messo PC Suite ma dopo ritorna l'errorre
Asus A8N-E;Opteron180X2/mandriva 2010.1Spring x64bit
VGA: Gigabyte gts250/1gb ddr3
Inviato da Ilario il Ven, 29/01/2010 - 16:45.
Re: Sincronizzare i dispositivi mobili con KDE-PIM ...
mi sembra difficile che dal lato kdepim dia questi problemi,anche perche non necessita di nessuna configurazione, di solito e il lato cellulare, controla bene le inpostazioni, nella risposta dve e riportato i file di configurazione c'e un errore! leggi da quelli che ho postato, ho messo un po aposto la guida, per quello che si puo fare!
Inviato da picard12 il Sab, 30/01/2010 - 09:25.
Re: Sincronizzare i dispositivi mobili con KDE-PIM ...
domande banali:
con cosa si sincronizza?
forse è questo il problema,ovvero non ho il programma con cui sincronizzare...
Quale sarebbe l'errore che citi?
Nei prox giorni inizierò a leggermi un pò di documentazione di multisync...
hai suggerimenti a tal proposito?
Asus A8N-E;Opteron180X2/mandriva 2010.1Spring x64bit
VGA: Gigabyte gts250/1gb ddr3
Inviato da brightc il Sab, 30/01/2010 - 15:36.
Re: Sincronizzare i dispositivi mobili con KDE-PIM ...
Esegui multisync-gui da una console, così potrai vedere i messaggi di errore e capire quale dei due plugin da problemi.
Per sapere quali elementi sincronizzare e quali no, ci sono le caselle da spuntare nella schermata di configurazione del gruppo. Le impostazioni predefinite sono quelle di fare l'unione degli elementi di kontact e quelli del cellulare (particolarmente utile per la rubrica). Per unione, intendo che se un elemento è uguale da entrambe le parti ne prende uno solo, mentre gli elementi diversi sono presi da entrambe le parti.
Per curiosità, chi riesce a fare la sincronizzazione quale KDE4 ha installato?
Io ad esempio ho KDE4.3.4mib e non riesco.
Ilario quale KDE hai?
Inviato da Ilario il Sab, 30/01/2010 - 18:45.
Re: Sincronizzare i dispositivi mobili con KDE-PIM ...
ciao, l' errore era in una colonna dove anche per il bluetooth c'èra uno 0 (only usb!) e un numero più sotto che va messo 5 0 2 assecondo la connessione,
la mia mandriva e tutta official
Inviato da picard12 il Sab, 30/01/2010 - 20:25.
Re: Sincronizzare i dispositivi mobili con KDE-PIM ...
Received an entry 167 with data of size 8 from member 1. Changetype ADDED
Received an entry 168 with data of size 8 from member 1. Changetype ADDED
Member 1 of type syncml-obex-client had an error while getting changes: Forbidden (0x43)
Member 1 of type syncml-obex-client just disconnected
Member 2 of type kdepim-sync just disconnected
All clients have disconnected
The sync failed: Unable to read from one of the members
ecco l'errore.. proverò a vedere dove sta il problema..
EDIT: ho disattivato note ed è andato bene con kontatc...
Fighissimo....
Asus A8N-E;Opteron180X2/mandriva 2010.1Spring x64bit
VGA: Gigabyte gts250/1gb ddr3