特殊:Badtitle/NS100:NokiaEvolutionBluetoothSyncing:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第1行: 第1行:
{{From|https://help.ubuntu.com/community/NokiaEvolutionBluetoothSyncing}}
{{From|https://help.ubuntu.com/community/NokiaEvolutionBluetoothSyncing}}
{{Languages|UbuntuHelp:NokiaEvolutionBluetoothSyncing}}
{{Languages|UbuntuHelp:NokiaEvolutionBluetoothSyncing}}
=== Introduction ===
=== Introduction ===
This page is created to provide instructions, packages and configuration files for syncing Nokia phones with Evolution suite over bluetooth.  
This page is created to provide instructions, packages and configuration files for syncing Nokia phones with Evolution suite over bluetooth.  
This guide assumes you're using Dapper Drake Ubuntu version and uses '''highly unstable experimental''' tools. No warranties that it will work. Use it as good start to help gnokii.org and opensync.org people to deliver software.
This guide assumes you're using Dapper Drake Ubuntu version and uses '''highly unstable experimental''' tools. No warranties that it will work. Use it as good start to help gnokii.org and opensync.org people to deliver software.
=== Phones known to work ===
=== Phones known to work ===
So far this work has been tested on following phones:
So far this work has been tested on following phones:
Nokia 6310i
Nokia 6310i
=== Phones potentially working ===
=== Phones potentially working ===
These models are supported (ie. reported to work) by gnokii itself and so have great chance to work with gnokii OpenSync plugin:
These models are supported (ie. reported to work) by gnokii itself and so have great chance to work with gnokii OpenSync plugin:
 
* nk6100 driver:
**** nk6100 driver:
Nokia 6110, 6130, 6150, 6190
Nokia 6110, 6130, 6150, 6190
Nokia 5110, 5130, 5190
Nokia 5110, 5130, 5190
Nokia 3210, 3310, 3330, 3360, 3390, 3410
Nokia 3210, 3310, 3330, 3360, 3390, 3410
Nokia 8210, 8250, 8290, 8850
Nokia 8210, 8250, 8290, 8850
**** Nokia RPM-1 nk7110 driver:
* Nokia RPM-1 nk7110 driver:
Nokia 7110, 6210, 6250, 7190  
Nokia 7110, 6210, 6250, 7190  
**** nk6510 driver:
* nk6510 driver:
Nokia 3510(i), 3510i 3595
Nokia 3510(i), 3510i 3595
Nokia 5100
Nokia 5100
第33行: 第23行:
Nokia 7210, 7250, 7250i, 7600
Nokia 7210, 7250, 7250i, 7600
Nokia 8310  
Nokia 8310  
**** nk3110 driver:
* nk3110 driver:
Nokia 3110, 3810, 8110, 8110i  
Nokia 3110, 3810, 8110, 8110i  
**** nk6160 driver:
* nk6160 driver:
Nokia 5160, 6160, 6185  
Nokia 5160, 6160, 6185  
**** atgen driver:
* atgen driver:
AT mode compatible phones (namely Nokia 62X0, Nokia 7110, Nokia 8210, Nokia 6310, Nokia 6510 (you should expect all newer Nokia phones to work), Ericsson T39, Sony-Ericsson T68i, Siemens S25/SL45i/C55/M55/S55, Motorola Timeport P7389i (L series), C350, Bosch 908/909 are known to work)  
AT mode compatible phones (namely Nokia 62X0, Nokia 7110, Nokia 8210, Nokia 6310, Nokia 6510 (you should expect all newer Nokia phones to work), Ericsson T39, Sony-Ericsson T68i, Siemens S25/SL45i/C55/M55/S55, Motorola Timeport P7389i (L series), C350, Bosch 908/909 are known to work)  
**** gnapplet driver:
* gnapplet driver:
Symbian series60 based phones (namely Nokia 3650, Nokia 3660, Nokia 6600, Nokia 7650, Siemens SX1 are known to work)  
Symbian series60 based phones (namely Nokia 3650, Nokia 3660, Nokia 6600, Nokia 7650, Siemens SX1 are known to work)  
For exact instructions please refert to [http://wiki.gnokii.org/index.php/Config Gnokii's Wiki]
For exact instructions please refert to [http://wiki.gnokii.org/index.php/Config Gnokii's Wiki]
=== Bluetooth configuration ===
=== Bluetooth configuration ===
First step is to install bluez-utils package if it is not already installed in your system.
First step is to install bluez-utils package if it is not already installed in your system.
<pre><nowiki>
<pre><nowiki>
apt-get install bluez-utils
apt-get install bluez-utils
</nowiki></pre>
</nowiki></pre>
This packages unfortunately isn't working correctly out of the box and some additional steps are required. First you need to create your own pinwrapper script instead of the one supplied by the package. This file is needed to have PIN based verification between phone an computer working.  
This packages unfortunately isn't working correctly out of the box and some additional steps are required. First you need to create your own pinwrapper script instead of the one supplied by the package. This file is needed to have PIN based verification between phone an computer working.  
Create /usr/bin/mypinwrapper file with following content:
Create /usr/bin/mypinwrapper file with following content:
<pre><nowiki>
<pre><nowiki>
第61行: 第43行:
echo "PIN:1234"
echo "PIN:1234"
</nowiki></pre>
</nowiki></pre>
The actual PIN can and obviously should be changed.
The actual PIN can and obviously should be changed.
Second step is to change /etc/bluetooth/hcid.conf file:
Second step is to change /etc/bluetooth/hcid.conf file:
<pre><nowiki>
<pre><nowiki>
options {
options {
第73行: 第52行:
pin_helper  /usr/bin/mypinwrapper;
pin_helper  /usr/bin/mypinwrapper;
}
}
device {
device {
name "%h-%d";
name "%h-%d";
第83行: 第61行:
}
}
</nowiki></pre>
</nowiki></pre>
At this point you should be able to detect your phone with following command:
At this point you should be able to detect your phone with following command:
<pre><nowiki>
<pre><nowiki>
hcitool scan
hcitool scan
</nowiki></pre>
</nowiki></pre>
It should return your phone MAC address and its name.
It should return your phone MAC address and its name.
=== Gnokii configuration ===
=== Gnokii configuration ===
Since we have bluetooth working it's now time to install gnokii suite. You need to download latest version from gnokii homepage, the one in dapper repository is too old.
Since we have bluetooth working it's now time to install gnokii suite. You need to download latest version from gnokii homepage, the one in dapper repository is too old.
Packages for Dapper are available at:
Packages for Dapper are available at:
[http://gnokii.org/download/gnokii/binaries/ubuntu/6.04/]
[http://gnokii.org/download/gnokii/binaries/ubuntu/6.04/]
You need to install at least:
You need to install at least:
<code><nowiki>gnokii, libgnokii2</nowiki></code>
<code><nowiki>gnokii, libgnokii2</nowiki></code>
Once you have gnokii installed, it's time to create its configuration file. Sample configuration file is supplied with package, copy it to your home directory with following command:
Once you have gnokii installed, it's time to create its configuration file. Sample configuration file is supplied with package, copy it to your home directory with following command:
<code><nowiki> zcat /usr/share/doc/gnokii/examples/gnokiirc.gz > ~/.gnokiirc </nowiki></code>
<code><nowiki> zcat /usr/share/doc/gnokii/examples/gnokiirc.gz > ~/.gnokiirc </nowiki></code>
There are few important settings in that file that you need to adjust:
There are few important settings in that file that you need to adjust:
* '''port =''' your phone's mac address here
* '''port =''' your phone's mac address here
* '''model =''' consult gnokii.org what is model for your phone, for 6310i put 6510 here
* '''model =''' consult gnokii.org what is model for your phone, for 6310i put 6510 here
* '''connection = bluetooth'''
* '''connection = bluetooth'''
You may also change '''debug=''' to '''on''' or '''off''' depending what you need. For normal use leave it to off and in case of troubles turn it on. Debug output will help you get some support from gnokii guys.
You may also change '''debug=''' to '''on''' or '''off''' depending what you need. For normal use leave it to off and in case of troubles turn it on. Debug output will help you get some support from gnokii guys.
At this point with bluetooth and gnokii configured, you should be able to connect to your phone with gnokii. To test it use following command:
At this point with bluetooth and gnokii configured, you should be able to connect to your phone with gnokii. To test it use following command:
<code><nowiki>gnokii --identify</nowiki></code>
<code><nowiki>gnokii --identify</nowiki></code>
If everything is ok you should be asked by your phone whether to connect to your computer then asked for a PIN (the one you put in /usr/bin/mypinwrapper). After that gnokii should give you information about your phone, for example:
If everything is ok you should be asked by your phone whether to connect to your computer then asked for a PIN (the one you put in /usr/bin/mypinwrapper). After that gnokii should give you information about your phone, for example:
<pre><nowiki>
<pre><nowiki>
第122行: 第89行:
Wersja        : V 7.00
Wersja        : V 7.00
</nowiki></pre>
</nowiki></pre>
=== OpenSync & MultiSync installation ===
=== OpenSync & MultiSync installation ===
Neither OpenSync nor MultiSync are available in dapper repository. The package MultiSync which can be found there is an old version and has to '''removed''' before proceeding.
Neither OpenSync nor MultiSync are available in dapper repository. The package MultiSync which can be found there is an old version and has to '''removed''' before proceeding.
Latest packages compiled for Dapper are available at this address:
Latest packages compiled for Dapper are available at this address:
[http://users.vlo.gda.pl/~szuwarek/files/linux/gnokii-sync]
[http://users.vlo.gda.pl/~szuwarek/files/linux/gnokii-sync]
You should download them and install in following order:
You should download them and install in following order:
1. libopensync0
1. libopensync0
第138行: 第100行:
5. multisync
5. multisync
6. multisync-gui
6. multisync-gui
Note: libopensync-plugin-gnokii is a packaged created from svn repository. It's in alpha state, not released officialy yet.
Note: libopensync-plugin-gnokii is a packaged created from svn repository. It's in alpha state, not released officialy yet.
To test if everything went ok type:
To test if everything went ok type:
<pre><nowiki>
<pre><nowiki>
msynctool --listplugins
msynctool --listplugins
</nowiki></pre>
</nowiki></pre>
You should get:
You should get:
<pre><nowiki>
<pre><nowiki>
第153行: 第112行:
file-sync
file-sync
</nowiki></pre>
</nowiki></pre>
=== MultiSync configuration ===
=== MultiSync configuration ===
In order to sync your phone calendar with evolution you have to create a so called group first.
In order to sync your phone calendar with evolution you have to create a so called group first.
<pre><nowiki>
<pre><nowiki>
msynctool --addgroup nokia-evo
msynctool --addgroup nokia-evo
</nowiki></pre>
</nowiki></pre>
Next we need to add 2 member to our group, the gnokii plugin and evolution plugin.
Next we need to add 2 member to our group, the gnokii plugin and evolution plugin.
<pre><nowiki>
<pre><nowiki>
msynctool --addmember nokia-evo evo2-sync
msynctool --addmember nokia-evo evo2-sync
msynctool --addmember nokia-evo gnokii-sync
msynctool --addmember nokia-evo gnokii-sync
</nowiki></pre>
</nowiki></pre>
The last step is to configure group members. To configure evolution plugin type:
The last step is to configure group members. To configure evolution plugin type:
<pre><nowiki>
<pre><nowiki>
export EDITOR=gedit && msynctool --configure nokia-evo 1
export EDITOR=gedit && msynctool --configure nokia-evo 1
</nowiki></pre>
</nowiki></pre>
Text editor will be launched. Paste following lines into it:
Text editor will be launched. Paste following lines into it:
<pre><nowiki>
<pre><nowiki>
第184行: 第135行:
</config>
</config>
</nowiki></pre>
</nowiki></pre>
Once you're done save and exit.
Once you're done save and exit.
This will tell the evolution opensync plugin where to look for your evolution calendar and also to skip addressbook and tasks, because gnokii plugin can't handle them right now.
This will tell the evolution opensync plugin where to look for your evolution calendar and also to skip addressbook and tasks, because gnokii plugin can't handle them right now.
You have evolution part configured. To configure gnokii plugin type:
You have evolution part configured. To configure gnokii plugin type:
<pre><nowiki>
<pre><nowiki>
export EDITOR=gedit && msynctool --configure nokia-evo 2
export EDITOR=gedit && msynctool --configure nokia-evo 2
</nowiki></pre>
</nowiki></pre>
Same rules apply as with evolution part, but configuration file should look like this:
Same rules apply as with evolution part, but configuration file should look like this:
<pre><nowiki>
<pre><nowiki>
第202行: 第149行:
</config>
</config>
</nowiki></pre>
</nowiki></pre>
That should be everything in terms of installing and configuration
That should be everything in terms of installing and configuration
=== Syncing ===
=== Syncing ===
Finally you can sync your phone. To do this type:
Finally you can sync your phone. To do this type:
<pre><nowiki>
<pre><nowiki>
msynctool --sync nokia-evo
msynctool --sync nokia-evo
</nowiki></pre>
</nowiki></pre>
Alternatively you can start <code><nowiki>multisync0.90</nowiki></code> graphical tool and do the syncing there.
Alternatively you can start <code><nowiki>multisync0.90</nowiki></code> graphical tool and do the syncing there.
=== Final notes ===
=== Final notes ===
Keep in mind that OpenSync and MultiSync tools are under heavy development. The major component that whole story possible, the gnokii opensync plugin isn't even released yet. However, it is working and the more people test, the better this software will be.
Keep in mind that OpenSync and MultiSync tools are under heavy development. The major component that whole story possible, the gnokii opensync plugin isn't even released yet. However, it is working and the more people test, the better this software will be.
Related forums thread is:
Related forums thread is:
[http://www.ubuntuforums.org/showthread.php?t=145289]
[http://www.ubuntuforums.org/showthread.php?t=145289]

2007年11月30日 (五) 20:51的版本

{{#ifexist: :NokiaEvolutionBluetoothSyncing/zh | | {{#ifexist: NokiaEvolutionBluetoothSyncing/zh | | {{#ifeq: {{#titleparts:NokiaEvolutionBluetoothSyncing|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:NokiaEvolutionBluetoothSyncing|1|-1|}} | zh | | }}

Introduction

This page is created to provide instructions, packages and configuration files for syncing Nokia phones with Evolution suite over bluetooth. This guide assumes you're using Dapper Drake Ubuntu version and uses highly unstable experimental tools. No warranties that it will work. Use it as good start to help gnokii.org and opensync.org people to deliver software.

Phones known to work

So far this work has been tested on following phones: Nokia 6310i

Phones potentially working

These models are supported (ie. reported to work) by gnokii itself and so have great chance to work with gnokii OpenSync plugin:

  • nk6100 driver:

Nokia 6110, 6130, 6150, 6190 Nokia 5110, 5130, 5190 Nokia 3210, 3310, 3330, 3360, 3390, 3410 Nokia 8210, 8250, 8290, 8850

  • Nokia RPM-1 nk7110 driver:

Nokia 7110, 6210, 6250, 7190

  • nk6510 driver:

Nokia 3510(i), 3510i 3595 Nokia 5100 Nokia 6020, 6100, 6170, 6230, 6310(i), 6360, 6510 Nokia 6610(i), 6650, 6800, 6810, 6820, 6820b, 6610i, 6230 Nokia 7210, 7250, 7250i, 7600 Nokia 8310

  • nk3110 driver:

Nokia 3110, 3810, 8110, 8110i

  • nk6160 driver:

Nokia 5160, 6160, 6185

  • atgen driver:

AT mode compatible phones (namely Nokia 62X0, Nokia 7110, Nokia 8210, Nokia 6310, Nokia 6510 (you should expect all newer Nokia phones to work), Ericsson T39, Sony-Ericsson T68i, Siemens S25/SL45i/C55/M55/S55, Motorola Timeport P7389i (L series), C350, Bosch 908/909 are known to work)

  • gnapplet driver:

Symbian series60 based phones (namely Nokia 3650, Nokia 3660, Nokia 6600, Nokia 7650, Siemens SX1 are known to work) For exact instructions please refert to Gnokii's Wiki

Bluetooth configuration

First step is to install bluez-utils package if it is not already installed in your system.

apt-get install bluez-utils

This packages unfortunately isn't working correctly out of the box and some additional steps are required. First you need to create your own pinwrapper script instead of the one supplied by the package. This file is needed to have PIN based verification between phone an computer working. Create /usr/bin/mypinwrapper file with following content:

#!/bin/sh
echo "PIN:1234"

The actual PIN can and obviously should be changed. Second step is to change /etc/bluetooth/hcid.conf file:

options {
autoinit    yes;
security    auto;
pairing     multi;
pin_helper  /usr/bin/mypinwrapper;
}
device {
name "%h-%d";
class 0x3e0100;
iscan enable;
pscan enable;
lm accept;
lp rswitch,hold,sniff,park;
}

At this point you should be able to detect your phone with following command:

hcitool scan

It should return your phone MAC address and its name.

Gnokii configuration

Since we have bluetooth working it's now time to install gnokii suite. You need to download latest version from gnokii homepage, the one in dapper repository is too old. Packages for Dapper are available at: [1] You need to install at least: gnokii, libgnokii2 Once you have gnokii installed, it's time to create its configuration file. Sample configuration file is supplied with package, copy it to your home directory with following command: zcat /usr/share/doc/gnokii/examples/gnokiirc.gz > ~/.gnokiirc There are few important settings in that file that you need to adjust:

  • port = your phone's mac address here
  • model = consult gnokii.org what is model for your phone, for 6310i put 6510 here
  • connection = bluetooth

You may also change debug= to on or off depending what you need. For normal use leave it to off and in case of troubles turn it on. Debug output will help you get some support from gnokii guys. At this point with bluetooth and gnokii configured, you should be able to connect to your phone with gnokii. To test it use following command: gnokii --identify If everything is ok you should be asked by your phone whether to connect to your computer then asked for a PIN (the one you put in /usr/bin/mypinwrapper). After that gnokii should give you information about your phone, for example:

GNOKII wersja 0.6.12
IMEI           : xxxxxxxxxxxxxxxxxxxxx
Producent      : Nokia
Model          : NPL-1
Wersja         : V 7.00

OpenSync & MultiSync installation

Neither OpenSync nor MultiSync are available in dapper repository. The package MultiSync which can be found there is an old version and has to removed before proceeding. Latest packages compiled for Dapper are available at this address: [2] You should download them and install in following order: 1. libopensync0 2. opensyncutils 3. python2.4-opensync 4. libopensync-plugin-* 5. multisync 6. multisync-gui Note: libopensync-plugin-gnokii is a packaged created from svn repository. It's in alpha state, not released officialy yet. To test if everything went ok type:

msynctool --listplugins

You should get:

Available options:
evo2-sync
gnokii-sync
file-sync

MultiSync configuration

In order to sync your phone calendar with evolution you have to create a so called group first.

msynctool --addgroup nokia-evo

Next we need to add 2 member to our group, the gnokii plugin and evolution plugin.

msynctool --addmember nokia-evo evo2-sync
msynctool --addmember nokia-evo gnokii-sync

The last step is to configure group members. To configure evolution plugin type:

export EDITOR=gedit && msynctool --configure nokia-evo 1

Text editor will be launched. Paste following lines into it:

<?xml version="1.0"?>
<config>
<address_path/>
<calendar_path>file:///home/Your_User_Name/.evolution/calendar/local/system</calendar_path>
<tasks_path/>
</config>

Once you're done save and exit. This will tell the evolution opensync plugin where to look for your evolution calendar and also to skip addressbook and tasks, because gnokii plugin can't handle them right now. You have evolution part configured. To configure gnokii plugin type:

export EDITOR=gedit && msynctool --configure nokia-evo 2

Same rules apply as with evolution part, but configuration file should look like this:

<config>
<connection>bluetooth</connection>
<port> <u>phone mac here, same as in .gnokiirc</u> </port>
<model> <u>phone model here. same as in .gnokiirc</u> </model>
</config>

That should be everything in terms of installing and configuration

Syncing

Finally you can sync your phone. To do this type:

msynctool --sync nokia-evo

Alternatively you can start multisync0.90 graphical tool and do the syncing there.

Final notes

Keep in mind that OpenSync and MultiSync tools are under heavy development. The major component that whole story possible, the gnokii opensync plugin isn't even released yet. However, it is working and the more people test, the better this software will be. Related forums thread is: [3]