Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2006 18:01:36 -0400
From:      Anish Mistry <amistry@am-productions.biz>
To:        freebsd-questions@freebsd.org
Cc:        Jonathan Arnold <jdarnold@buddydog.org>
Subject:   Re: Problems with USB Palm sync
Message-ID:  <200610171801.44321.amistry@am-productions.biz>
In-Reply-To: <eh3eh6$aag$1@sea.gmane.org>
References:  <eh3eh6$aag$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart16829542.u2yAZlI8SV
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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:
=46irst you shouldn't be using usbd.conf.  You should be using devd.conf=20
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=3D/usr/X11R6/bin/jpilot-sync
JPILOT_USER=3Dyour_username_here
export JPILOT_HOME=3D/home/$JPILOT_USER
PILOTPORT=3Dusb:/dev/$1
COMMAND=3D`echo $JPILOT -p $PILOTPORT -b`
# run command ie. (sync)
/usr/bin/su $JPILOT_USER -c "$COMMAND"

=2D-=20
Anish Mistry
amistry@am-productions.biz
AM Productions http://am-productions.biz/

--nextPart16829542.u2yAZlI8SV
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQBFNVLIxqA5ziudZT0RApuBAJ9xoRby0BCZmEZbKOCiDGh+dpXTNACglQxc
W0ttxuJJCa0XlDWZ9O+y2po=
=u8iU
-----END PGP SIGNATURE-----

--nextPart16829542.u2yAZlI8SV--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610171801.44321.amistry>