特殊:Badtitle/NS100:NokiaEvolutionSyncing/Opensync:修订间差异
小 新页面: {{From|https://help.ubuntu.com/community/NokiaEvolutionSyncing/Opensync}} {{Languages|UbuntuHelp:NokiaEvolutionSyncing/Opensync}} == Installation == The following packages should be insta... |
小无编辑摘要 |
||
第77行: | 第77行: | ||
</nowiki></pre> | </nowiki></pre> | ||
so udev makes use of the rule. '''Plug the phone back in'''. | so udev makes use of the rule. '''Plug the phone back in'''. | ||
Now, finish off the configuration you started above | Now, finish off the configuration and change the following configuration options in the XML file you started editing above: | ||
* interface: Find the interface number for the SYNCML-SYNC service by running the command: | * interface: Find the interface number for the SYNCML-SYNC service by running the command: | ||
<pre><nowiki> | <pre><nowiki> | ||
syncml-obex-client -u | syncml-obex-client -u | ||
</nowiki></pre> | </nowiki></pre> | ||
* type 5 | * type: 5 | ||
==== Bluetooth ==== | ==== Bluetooth ==== | ||
If you're using Bluetooth, fill out: | If you're using Bluetooth, fill out: |
2010年5月19日 (三) 23:45的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/NokiaEvolutionSyncing/Opensync }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/af | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|Afrikaans| [[::NokiaEvolutionSyncing/Opensync/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/ar | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|العربية| [[::NokiaEvolutionSyncing/Opensync/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/az | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|azərbaycanca| [[::NokiaEvolutionSyncing/Opensync/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/bcc | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|جهلسری بلوچی| [[::NokiaEvolutionSyncing/Opensync/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/bg | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|български| [[::NokiaEvolutionSyncing/Opensync/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/br | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|brezhoneg| [[::NokiaEvolutionSyncing/Opensync/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/ca | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|català| [[::NokiaEvolutionSyncing/Opensync/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/cs | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|čeština| [[::NokiaEvolutionSyncing/Opensync/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/de | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|Deutsch| [[::NokiaEvolutionSyncing/Opensync/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/el | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|Ελληνικά| [[::NokiaEvolutionSyncing/Opensync/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/es | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|español| [[::NokiaEvolutionSyncing/Opensync/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/fa | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|فارسی| [[::NokiaEvolutionSyncing/Opensync/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/fi | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|suomi| [[::NokiaEvolutionSyncing/Opensync/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/fr | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|français| [[::NokiaEvolutionSyncing/Opensync/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/gu | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|ગુજરાતી| [[::NokiaEvolutionSyncing/Opensync/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/he | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|עברית| [[::NokiaEvolutionSyncing/Opensync/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/hu | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|magyar| [[::NokiaEvolutionSyncing/Opensync/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/id | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|Bahasa Indonesia| [[::NokiaEvolutionSyncing/Opensync/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/it | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|italiano| [[::NokiaEvolutionSyncing/Opensync/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/ja | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|日本語| [[::NokiaEvolutionSyncing/Opensync/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/ko | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|한국어| [[::NokiaEvolutionSyncing/Opensync/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/ksh | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|Ripoarisch| [[::NokiaEvolutionSyncing/Opensync/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/mr | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|मराठी| [[::NokiaEvolutionSyncing/Opensync/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/ms | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|Bahasa Melayu| [[::NokiaEvolutionSyncing/Opensync/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/nl | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|Nederlands| [[::NokiaEvolutionSyncing/Opensync/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/no | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|norsk| [[::NokiaEvolutionSyncing/Opensync/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/oc | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|occitan| [[::NokiaEvolutionSyncing/Opensync/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/pl | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|polski| [[::NokiaEvolutionSyncing/Opensync/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/pt | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|português| [[::NokiaEvolutionSyncing/Opensync/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/ro | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|română| [[::NokiaEvolutionSyncing/Opensync/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/ru | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|русский| [[::NokiaEvolutionSyncing/Opensync/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/si | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|සිංහල| [[::NokiaEvolutionSyncing/Opensync/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/sq | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|shqip| [[::NokiaEvolutionSyncing/Opensync/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/sr | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|српски / srpski| [[::NokiaEvolutionSyncing/Opensync/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/sv | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|svenska| [[::NokiaEvolutionSyncing/Opensync/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/th | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|ไทย| [[::NokiaEvolutionSyncing/Opensync/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/tr | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|Türkçe| [[::NokiaEvolutionSyncing/Opensync/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/vi | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|Tiếng Việt| [[::NokiaEvolutionSyncing/Opensync/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/yue | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|粵語| [[::NokiaEvolutionSyncing/Opensync/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/zh | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|中文| [[::NokiaEvolutionSyncing/Opensync/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/zh-hans | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|中文(简体)| [[::NokiaEvolutionSyncing/Opensync/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync | UbuntuHelp:NokiaEvolutionSyncing/Opensync | {{#if: | :}}NokiaEvolutionSyncing/Opensync}}/zh-hant | • {{#if: UbuntuHelp:NokiaEvolutionSyncing/Opensync|中文(繁體)| [[::NokiaEvolutionSyncing/Opensync/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:NokiaEvolutionSyncing/Opensync|:NokiaEvolutionSyncing/Opensync|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :NokiaEvolutionSyncing/Opensync/zh | | {{#ifexist: NokiaEvolutionSyncing/Opensync/zh | | {{#ifeq: {{#titleparts:NokiaEvolutionSyncing/Opensync|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:NokiaEvolutionSyncing/Opensync|1|-1|}} | zh | | }}
Installation
The following packages should be installed:
- multisync-tools (for the msynctool program)
- opensync-plugin-evolution (for the Evolution communication)
- opensync-plugin-syncml (for the Nokia side of the communication)
- libsyncml-utils (for syncml-obex-client)
Use System->Administration->Synaptic Package Manager to grab those, or for terminal users:
sudo aptitude install multisync-tools opensync-plugin-evolution opensync-plugin-syncml libsyncml-utils
Check your installation
To test if everything went ok type:
msynctool --listplugins
You should get:
Available options: syncml-http-server syncml-obex-client evo2-sync
Configuration
Group setup
Opensync is complicated. It requires you to define groups first; groups basically pair a device with an application. So the first thing to do is to create a group:
msynctool --addgroup nokia-evo
Next we need to add 2 members to our group, one for Evolution (using the evo2-sync plugin) and one for your phone (which uses the obex plugin).
msynctool --addmember nokia-evo evo2-sync msynctool --addmember nokia-evo syncml-obex-client
Now, you will need to set up the actually applications.
Configuring
Remember I said it was complicated? Well, the next step is to configure group members. The Evolution side doesn't need configuring, but you need to have run evolution successfully once as the user. The phone does need configuring, so run:
export EDITOR=gedit && msynctool --configure nokia-evo 2
The 2 at the end of the line indicates you're configuring the second member of the group. Once you run that, the text editor will be launched. This is XML, and it will scare you, but if you figure out how the file works, change the values that are there to:
- identifier: PC Suite
- version: 1
- wbxml: 1
- usestringtable: 1
- recvLimit: 10000
- maxObjSize: 10000
Don't change contact_db, calendar_db or note_db, and don't put in a username or password (perhaps unless you have one set up in the phone). You'll also need to configure some additional bits based on what connection you're using, as per the following sections:
USB
Poor you, you'll need to fix permissions for your USB device. First you should connect your device with the usb cable. Then make sure that the lsusb command lists your device:
dani@marvin:~> lsusb Bus 001 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 002 Device 059: ID 0421:040f Nokia Mobile Phones 6230 GSM Phone Bus 002 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000
Now, unplug the phone. Run
sudo gedit /etc/udev/rules.d/40-nokia-mobiles.rules
and put the following line in there:
BUS=="usb", SYSFS{idVendor}=="0421", SYSFS{idProduct}=="*", MODE="0660", GROUP="dialout" # This might work if the above doesn't :-( # SUBSYSTEM=="usb", ATTR{idVendor}=="0421", ATTR{idProduct}=="*", MODE="0660", GROUP="dialout"
Save and exit. Now run:
sudo /etc/init.d/udev reload
so udev makes use of the rule. Plug the phone back in. Now, finish off the configuration and change the following configuration options in the XML file you started editing above:
- interface: Find the interface number for the SYNCML-SYNC service by running the command:
syncml-obex-client -u
- type: 5
Bluetooth
If you're using Bluetooth, fill out:
- bluetooth_address: use the bluetooth applet or run
hcitool scan
and put the address (a MAC, like 00:10:f3:14:4f:50) there. - bluetooth_channel: if your channel wasn't listed in the syncing table, use sdptool browse and find the channel on which the "SyncML Server" service listens.
- type: set it to "2", for bluetooth
Syncing
Make sure the configuration has been updated using the command below:
msynctool --showgroup nokia-evo
If you encounter problems updating the configuration, try using a different editor (e.g. vi instead of gedit). That should be everything in terms of installing and configuration. Time to try to sync your phone. To do this type:
msynctool --sync nokia-evo
Alternatively you can start multisync0.90
graphical tool and do the syncing there. If
you did everything right, it should output a lot of noisy stuff and the contacts should be
synchronized. If not.. file a bug!
Related forums thread is:
[1]
Caveats
- The USB permissions are not easy to fix, and in at least one situation I encountered the first rule didn't work. It was also necessary to completely stop and start udevd to get it to update the permissions.
- The conflict resolution in msynctool is really hard to use and seems to report spurious conflicts based on UIDs. It may be easier to fix if you use the GUI app multisync0.90 (which lives in a package with that exact same name).
- On a couple of occasions, the syncing hangs after all the information has been transferred. This ends up requiring a control-C and means that the next syncs will be in "slow-sync" mode.
- This is not really a very good solution to synchronize a large volume of information between two phones: it's not very smart about resolving conflicts, in particular, and it seems to not realize that you've plugged in different phones (so you need to force slow-sync).