Problems with USB Palm sync
Anish Mistry
amistry at am-productions.biz
Tue Oct 17 22:02:00 UTC 2006
On Tuesday 17 October 2006 16:29, Jonathan Arnold wrote:
> Has anyone had any luck using pilot-link to sync JPilot to a Palm
> device via the USB? I'm trying to sync my Handspring Visor and it
> just doesn't seem to be noticing it. I have the following in my
> /dev/usbd.conf file:
First you shouldn't be using usbd.conf. You should be using devd.conf
and devfs.rules.
Disable usbd.
Add to devd.conf:
attach 0 {
device-name "ugen[0-9]+";
match "vendor" "0x082d";
match "product" "0x0100";
match "release" "0x0100";
action "/usr/local/sbin/pilot-sync-ugen.sh $device-name";
};
Setup devfs.rules if you have yet to do it:
http://am-productions.biz/docs/devfs.rules.php
Add your user to the operator group or change the mode to 0666 below.
Add to devfs.rules:
add path 'ugen*' group operator
add path 'ugen*' mode 0660
In /usr/local/sbin/pilot-sync-ugen.sh:
#!/bin/sh
#
JPILOT=/usr/X11R6/bin/jpilot-sync
JPILOT_USER=your_username_here
export JPILOT_HOME=/home/$JPILOT_USER
PILOTPORT=usb:/dev/$1
COMMAND=`echo $JPILOT -p $PILOTPORT -b`
# run command ie. (sync)
/usr/bin/su $JPILOT_USER -c "$COMMAND"
--
Anish Mistry
amistry at am-productions.biz
AM Productions http://am-productions.biz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061017/c212118e/attachment.pgp
More information about the freebsd-questions
mailing list