您当前的位置:linuxsea -> 入门提高 -> 上网与多媒体

让“胖友”乐翻天,linux下palm同步初探
作者:linuxsea  来源:linux海洋  发布时间:2006-10-19 14:30:03  发布人:admin

减小字体 增大字体




  后来随着对linux的了解,我已经越来越喜欢linux了,尤其是我dos起家,对着命令行有着天生的爱好,因此对xp是越来越疏远。终于有一天我再也不能忍耐了~好,一定要研究出怎样在linux下同步palm~
  
  简单的查了一下论坛,发现linux下palm玩家真少埃,再查了一下tompda(palm玩家必去阿,小小做个广告,呵呵)palm玩家中linux用家也很少~不过我知道他们的版主之一猪哥用的是linux。因此我再一番捣鼓为果之后就在tompda发了个帖子询问,果然猪哥迅速的跳出来回答了(神速,肯定也是linux铁杆拥护者)
  j-pilot,短促有力的回答。于是我开始了再次探寻之路。
  
  首先,似乎所有的palm同步程序都是从pilot-link衍生拓展的(说错别怪我阿,初探么),因此首先你要有pilot-link网址在此:http://www.pilot-link.org/
  
  我下载的是源码,通过编译(./confiugre => make => makeinstall)之后……怎么运行阿……pilot-link?么有!p-link?么有!plink……?还是么有么有么有~~ 
  
  不管了,接着装上j-pilot,地址在此:http://www.jpilot.org/,编译安装(步骤同上)此处注意,j-pilot需要GTK+,glib和pilot-link(据说很多发行版本来就带了……不管我都装好了)
  
  在终端运行jpilot,程序出来了~荡荡当~按下程序中的同步……立刻出错,大致信息如下:
  安装完毕,启动,点同步按钮,console里面说:Gtk-CRITICAL **: file gtkitemfactory.c: line 1003 (gtk_item_factory_create_item): assertion `entry->path[0] == '/'' failed.
  pi_bind: 没有那个文件或目录
  pi_bind 非法 seek 操作
  检查您的串口和设置
  离开中,状态号是 SYNC_ERROR_BIND
  完成
  
  这个时候我都还没按palm的同步扭……寒……
  
  之后去/dev ls了一下,发现没有pilot这个东西~于是仔细度说明,如下:
  
  引用:
  
  2.4 Serial Port Setup
  
  When syncing, J-Pilot uses the port and speed settings out of the J-Pilot preferences screen. If the port is blank then J-Pilot will use the PILOTPORT environment variables, as does pilot-link. If these are blank also then J-Pilot will default to /dev/pilot. It is recommended, but not necessary to make a link from /dev/pilot to the correct serial port. So, if your cradle is on COM1, this is /dev/ttyS0 under Linux. You could execute the command
  
  ln -s /dev/ttyS0 /dev/pilot
  
  COM2 is /dev/ttyS1, and so on.
  
  The Linux serial ports cua[n] are going away. You should use the ttyS[n] ports instead.
  
  You must also give non-root users permissions to access the serial port. The command to do this is (as root)
  
  chmod 666 /dev/ttyS0
  
  for the first serial port, ttyS1, for the second, and so on.
  
  我将ttyUSB1和pilot做了个连接,ln -s /dev/ttyUSB1 /dev/pilot 再进入同步,一切搞定!哈哈,如果你作ttyUSB1没有反应,就换其他(012345都Try吧) 如果你用的是串口就按照说明里的ttyS0到多少的都尝试一下好了,总有一个适合你。
  
  随后同步,异常迅速的,j-pilot完成了同步,memo todo等都读出来了,不过好像没有notepad(随写版)的内容?不管了,已经很完美了。呵呵。
  
  安装软件点菜单中的文件,安装,然后可以安装pdb(资料文件)或者prc(程序文件)。不过似乎不能选择装到卡上?郁闷一下。不过也很好了。
  
  同步次序是:点程序内的同步,然后按palm同步底座(或者其他,胖友们肯定明白了)
  
  好了,初探到此为止.
  
  最后多说两句:建立/dev/pilot链接之后,gnome-pilot也工作了,我想用evolution应该也可以同步等,并且更好把?不过可惜我已经把他给删了,呵呵,不管了,总之各位可以继续深探。
  




[] [返回上一页] [打 印] [收 藏]
上一篇文章:TCPDUMP中文手册(1)
∷相关文章评论∷    (评论内容只代表网友观点,与本站立场无关!) [更多评论…]
· 使用与技巧
· 安装与配置
· 上网与多媒体

相关文章



© 2006-2008 Linuxsea.net, all rights reserved