View Single Post
Old 11-02-04, 03:00 PM   #1 (permalink)
tdavis
Aximsite Prospect
 
Join Date: Aug 2004
Posts: 2
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
using SynCE/Linux-2.6/Axim x30h
I'm using centos/RHEL3, with a 2.6 linux kernel. Hotplug version is 2003-08-05

The following assumes you have a working 2.6 kernel, a working USB system, pppd install, ppp modules in the kernel, and the ipaq USB module compiled.

1) Install synce from http://synce.sf.net. do configure and install it according to the documentation. Do not forget to configure the PPP system.

2) Edit /etc/modprobe.conf, and add:

Code:
# dell axim x30h.  for x3, use 0x4002, and x5 use 0x4001
options ipaq vendor=0x431c product=0x4003
3) create /etc/hotplug/synce.usermap

Code:
synce 0x0003 0x413c 0x4003 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
4) create /etc/hotplug/usb/synce

Code:
#!/bin/bash

export time=`date +"%b %d %X"`
export uname=`uname -n`

echo "$time $uname $0: iPAQ added" >> /var/log/synce
synce-serial-abort >> /dev/null
synce-serial-start >> /var/log/synce

:> $REMOVER
echo "export time=\`date +\"%b %d %X\"\`" >> $REMOVER
echo "export uname=\`uname -n\`" >> $REMOVER
echo "echo \"\$time \$uname $0: iPAQ removed\" >> /var/log/synce" >> $REMOVER
chmod +x $REMOVER
5) chmod a+x /etc/hotplug/usb/synce

6) modprobe ipaq

7) if your running iptables, either

a) stop filtering
b) add tcp port 5679 to your filter list. On a RH distro, you can do this by editing /etc/sysconfig/iptables and adding the following after the icmp line:

-A RH-Firewall-1-INPUT -p tcp --destination-port 5679 -j ACCEPT

and then do:

service iptables restart

7) attach your axim.

8) start 'dccm' as a user.

9) do a 'pstatus' command.

Watch your syslog, it may take several tries for it to connect.
tdavis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links