ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
xstarcd
帖子: 28
注册时间: 2008-11-21 17:18

ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#1

帖子 xstarcd » 2009-05-03 20:18

参考很多前人的说明才得以成功,以下只是自己在ubuntu 9.04的安装记录:

1、ubuntu 9.04需自行安装odccm:

代码: 全选

sudo apt-get install odccm
(odccm - Daemon to keep a connection to Windows Mobile device,9.04未带,需自行安装)

2. 安装synce包(好像不用添加以前文档中指定的源)

代码: 全选

sudo apt-get install synce-hal librra-tools librapi2-tools synce-trayicon
(似乎并不需要synce-hal包,且安装synce-hal时,会自动卸载掉odccm,造成同步无法成功,重新安装odccm后即可正常同步。)

3. 安装opensynce支持包

代码: 全选

sudo apt-get install multisync-tools opensync-plugin-evolution opensync-plugin-synce
4.下载配置文件(经测试可不用执行这步)

代码: 全选

	mkdir ~/.synce
	wget -O ~/.synce/syncengine.conf.xml http://synce.svn.sf.net/svnroot/synce/releases/0.11.1/sync-engine/config/config.xml
5. 连接pda,运行snyc引擎:

代码: 全选

synce-sync-engine
运行后可用synce-pls命令查看是否可查看到pda信息。如果能看到你设备上的文件列表,那么恭喜你,你已经成功连接至你的设备。
若出现下面的错误,请检查是否已安装odccm服务,或可重启odccm服务解决(sudo /etc/init.d/odccm restart)

6. 配置同步关系

代码: 全选

	synce-create-partnership "Linux desktop" "Contacts,Calendar,Tasks,Files"
	msynctool --addgroup synce-sync
	msynctool --addmember synce-sync synce-opensync-plugin
	msynctool --addmember synce-sync evo2-sync
7.console同步命令:

代码: 全选

msynctool --sync synce-sync
8.另外有个gui同步工具:

代码: 全选

   1) sudo apt-get install multisync0.90
   2) multisync0.90
9.以后每次同步步骤:
a. 联接pda
b. 运行synce-sync-engine
c. 运行multisync0.90,刷新
d. 同步完成后,用Ctrl+C关闭synce-sync-engine。
e. 断开pda联接
上次由 xstarcd 在 2009-08-16 18:02,总共编辑 3 次。
xstarcd
帖子: 28
注册时间: 2008-11-21 17:18

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#2

帖子 xstarcd » 2009-05-19 11:33

前几天因调试PXE安装Windows,在工作电脑上安装了samba服务,今天发现无法与手机同步问题,情况如下:

1、ifconfig查个eth1未获得IP、或获得IP后又丢失。
2、dmesg中包括一条错误信息:
[ 5839.057905] rndis_host 1-3:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
3、运行synce-pls很长时间才提示:
代码:

代码: 全选

synce-pls
** Message: Hal reports no devices connected

** (process:6135): WARNING **: synce_info_from_odccm: Failed to get a connection for My_Diamond: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
synce-pls: Could not find configuration at path '(Default)'
临时解决办法,用dhclient重启获取IP地址:

代码: 全选

sudo dhclient eth1
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/80:00:60:0f:e8:00
Sending on LPF/eth1/80:00:60:0f:e8:00
Sending on Socket/fallback
DHCPREQUEST of 169.254.2.2 on eth1 to 255.255.255.255 port 67
DHCPACK of 169.254.2.2 from 169.254.2.1
* Reloading /etc/samba/smb.conf smbd only
头像
Allen1st
帖子: 404
注册时间: 2008-11-08 9:28

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#3

帖子 Allen1st » 2009-05-19 11:44

好文,顶起。
凸-_-
xfy445001981
帖子: 1
注册时间: 2009-01-30 14:16

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#4

帖子 xfy445001981 » 2009-07-09 12:50

好文 正好解决我的问题
ywxuan
帖子: 21
注册时间: 2008-11-15 22:06

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#5

帖子 ywxuan » 2009-07-20 17:27

我用的多普达S900C,操作系统是Windows Mobile 6.1,按照楼主的方法作乐,但Ubuntu不能识别我的手机,郁闷。。。
282204446
帖子: 11
注册时间: 2009-01-07 14:24

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#6

帖子 282204446 » 2009-07-21 23:28

好文章 顶起来
xstarcd
帖子: 28
注册时间: 2008-11-21 17:18

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#7

帖子 xstarcd » 2009-08-15 21:26

今天用ubuntu 9.04 amd64与wm6.1同步未能成功,只能先记录下来再说了。

synce-pls

** (process:5054): CRITICAL **: synce_info_from_hal: Failed to get a connection for /org/freedesktop/Hal/devices/net_80_00_60_0f_e8_00: My_Diamond: Rejected send message, 1 matched rules; type="method_call", sender=":1.54" (uid=1000 pid=5054 comm="synce-pls ") interface="org.freedesktop.Hal.Device.Synce" member="RequestConnection" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=2742 comm="/usr/sbin/hald "))

** (process:5054): WARNING **: synce_info_from_odccm: Failed to get devices: The name org.synce.odccm was not provided by any .service files
synce-pls: Could not find configuration at path '(Default)'
xstarcd
帖子: 28
注册时间: 2008-11-21 17:18

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#8

帖子 xstarcd » 2009-08-15 21:31

ywxuan 写了:我用的多普达S900C,操作系统是Windows Mobile 6.1,按照楼主的方法作乐,但Ubuntu不能识别我的手机,郁闷。。。
ubuntu中的rndis mod直接可以识别到的,在系统中会增加一个网卡(一般是eth1),并获到IP地址:169.254.2.2,可以ping通169.254.2.1(手机)的。
xstarcd
帖子: 28
注册时间: 2008-11-21 17:18

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#9

帖子 xstarcd » 2009-08-16 17:45

xstarcd 写了:今天用ubuntu 9.04 amd64与wm6.1同步未能成功,只能先记录下来再说了。

synce-pls

** (process:5054): CRITICAL **: synce_info_from_hal: Failed to get a connection for /org/freedesktop/Hal/devices/net_80_00_60_0f_e8_00: My_Diamond: Rejected send message, 1 matched rules; type="method_call", sender=":1.54" (uid=1000 pid=5054 comm="synce-pls ") interface="org.freedesktop.Hal.Device.Synce" member="RequestConnection" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=2742 comm="/usr/sbin/hald "))

** (process:5054): WARNING **: synce_info_from_odccm: Failed to get devices: The name org.synce.odccm was not provided by any .service files
synce-pls: Could not find configuration at path '(Default)'
似乎synce-hal与odccm有冲突,安装synce-hal时,会将odccm卸载掉,重新安装odccm后(会自动卸载synce-pal),用synce-pls就可正常查看wm6.1上的文件目录了。
头像
jss87324
帖子: 24
注册时间: 2009-05-31 11:21

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#10

帖子 jss87324 » 2009-08-17 13:36

终于找到了解决办法,谢谢楼主了!
mevyen
帖子: 1
注册时间: 2009-08-18 0:57

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#11

帖子 mevyen » 2009-08-18 0:59

多谢lz了 解了我的燃眉之急! :em11
头像
MH11160
帖子: 48
注册时间: 2009-05-10 10:10

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#12

帖子 MH11160 » 2009-08-18 9:18

这个还是要顶一下的现在数据线不在身边等有机会也试试
头像
xinen007
帖子: 159
注册时间: 2008-05-28 21:32
来自: 豫南小苏州
联系:

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#14

帖子 xinen007 » 2009-11-03 20:42

这个方法挺好的,我成功了,只是不知道在那里管理手机文件阿
免费vpn,翻墙必备-->http://vcup.in/j9a
------------------------------------------------------→

320G/2G
Intel core i3 330M 2.13GHz
Nvidia GT 325M 128bit/512M

Ubuntu 10.04+VMware 7.1.0
Super126
帖子: 557
注册时间: 2008-03-30 8:46
来自: 江西吉安

Re: ubuntu 9.04与Windows Mobile同步成功,注意须安装odccm包...

#15

帖子 Super126 » 2010-06-14 19:23

不识别中文文件夹
回复