On Sat, May 06, 2006 at 01:14:43PM -0400, David A. Desrosiers wrote:
> Call it whatever you want, as long as it is in /rules.d/ there, and as
Actually, you need to make sure your file gets parsed before any of the
others, which means it needs to be alphanumerically before any existing
files in the directory. The reason for this is that udev will use the
first matching rule it finds. 10-visor.rules is a good choice, because
it will get processed before 50-udev.rules, which is where all the udev
defaults are, by convention.
> long as it has this line in it (all on one line):
>
> BUS="usb" SYSFS{product}="Palm Handheld*" KERNEL="ttyUSB*" MODE="666"
> SYMLINK="pilot"
Be sure to add a RUN parameter if you want to get one-touch syncing.
For example:
BUS="usb", SYSFS{product}="Palm Handheld*", KERNEL="ttyUSB*",
MODE="666", SYMLINK="pilot", GROUP="usb", RUN="/bin/su - jday -c
'/usr/bin/jpilot -s'"
That should all be on one line, and of course you should replace "jday"
with your username, and verify that the path to jpilot is correct.
Jason
--
Jason Day jasonday at
http://jasonday.home.att.net worldnet dot att dot net
"Of course I'm paranoid, everyone is trying to kill me."
-- Weyoun-6, Star Trek: Deep Space 9
More information about the jpilot mailing list