个人工具

UbuntuHelp:PocketPCHowto

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月24日 (四) 15:21的版本 (新页面: {{From|https://help.ubuntu.com/community/PocketPCHowto}} {{Languages|UbuntuHelp:PocketPCHowto}} == Connect Ipaq == After connecting the PocketPC you should something like the following...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索


Connect Ipaq

After connecting the PocketPC you should something like the following when typing dmesg in a terminal (this works even if the PDA is powered off in the cradle):

[4312964.212000] usb 5-3.4: new full speed USB device using ehci_hcd and address 3
[4312966.410000] usbcore: registered new driver usbserial
[4312966.416000] drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
[4312966.419000] usbcore: registered new driver usbserial_generic
[4312966.419000] drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
[4312966.439000] drivers/usb/serial/usb-serial.c: USB Serial support registered for PocketPC PDA
[4312966.439000] drivers/usb/serial/ipaq.c: USB PocketPC PDA driver v0.5
[4312966.443000] ipaq 5-3.4:1.0: PocketPC PDA converter detected
[4312966.445000] usb 5-3.4: PocketPC PDA converter now attached to ttyUSB0
[4312966.445000] usbcore: registered new driver ipaq

Install SynCE

  • install the needed packages: synce-dccm synce-serial librra0-tools
  • leave the Serial interface as "/dev/ttyUSB0"
  • leave the default local ip address "192.168.131.102"
  • leave the default remote ip address "192.168.131.201"
  • set the IP-Address of your DNS server to "192.168.0.1"


Routine for using a pocket pc

  • Make sure ports 5678, 5679 and 990 are not blocked by a firewall
  • To make a connection to your pocket pc you need to run these command whilst it is powered on in the cradle:
dccm
sudo synce-serial-start

Depending on your pocket pc you may have to run the sudo synce-serial-start command within a few seconds of powering the pocket pc on.

You should get this response:

  • on the pc:

synce-serial-start is now waiting for your device to connect

  • on the ipaq:

the same window that jumps when connecting it to windows with activesync jumps now too, and it's connected


Synchronize data with evolution

  • install the required packages: multisync synce-multisync-plugin libmultisync-plugin-evolution libmultisync-plugin-backup
  • start Multisync (Applications -> Accessories -> Multisync)
    • File -> New Sync Pair
        • First plugin: SynCE Plugin
        • Second plugin: Ximian Evolution 2
        • Display Name: <whatever you what to call it>
        • Data types to synchronize: Calendar + Addressbook + Tasks
  • to disconnect the pocket pc:
        • Shutdown Multisync
        • "killall -HUP dccm" to kill the serial connection.
        • AS A LAST RESORT, run "synce-serial-abort", if the above command doesn't work.

Comment

1- STOP sl-modem-daemon :

PocketPC PDA ttyUSB1: PocketPC PDA converter now disconnected from ttyUSB1
ipaq 2-1:1.0: device disconnected

i find this is by sl-modem-daemon and i need to stop this to get it work!

  • TODO:
    • How can i use other ppp port like ppp1 not ppp0 like what the modem and pocket pc use now.

2- Show "Resync" button: from multisync options > show "Resync" button than use it to do sync it work with me like that 3-change the option on Ximian Evolution 2 -optional- to use address contact task from Evolution.

Troubleshooting

  • If you forget to run "dccm" before synce-serial-start, power off the pocket pc and run
sudo rmmod ipaq
sudo rmmod ehci_hcd
sudo rmmod uhci_hcd
sudo rmmod usbserial

Note: these must be run in a certain order, try a different order if it doesn't work.

  • If syncronisation still doesn't work, close multisync and then run
synce-matchmaker create 1

If 1 doesn't work, try 2.

Compatibilty

Devices that are known to work with this howto:

  • HP iPaq hx4150
  • HP iPaq rx3115
  • HP iPaq h2215/h2210
  • HP iPaq h1940
  • HP iPaq h1930
  • DELL Axim X3i & X30 & X50v
  • XDA IIs
  • i-mate JAM *new [windows ce 2003]
  • Acer n50 Premium
  • please add your devices to this list if it works for you

See also