Rcjp's Weblog

September 1, 2006

FreeBSD palm-sync

Filed under: unix — rcjp @ 2:08 pm

Finally got round to thinking about syncing my palm with FreeBSD rather than having to reboot into Windows. So far, I like it much better than the graphical system I was using and it was suprisingly easy to set up. Just made sure I had the pilot-link port installed and added a file /usr/local/etc/devd/palm.conf containing


#
# Palm Pilot
#
attach 10 {
    device-name "ucom[0-9]+";
    //
    // matches Palm Pilot but not Handspring etc. see /usr/src/sys/dev/usb/usbdevs
    //
    match "vendor" "0x0830";
    action "/bin/ln -s $device-name /dev/pilot";
    action "/bin/chmod 0666 /dev/pilot";
};
detach 10 {
    device-name "ucom[0-9]+";
    action "rm -f /dev/pilot";
};

(I could have done something similar in /etc/usbd.conf but I think that is depricated) then just restart devd /etc/rc.d/devd restart and pressing the hotsync button gives me a /dev/pilot device for something like pilot-xfer -b ~/backup to backup my palm.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: