Discussion:
[Synce-devel] Patch to synce-serial scripts
Scott W Gifford
2006-11-13 23:20:04 UTC
Permalink
Hello,

I've finally cleaned up the patches I've been using here for the last
few months. They add the following to the scripts included in
synce-serial:

* Support for starting directly from the command-line, with no
configuration:

synce-serial-start /dev/ttyUSB0

* Support for more than one PDA (up to about 126):

synce-serial-start /dev/ttyUSB0
synce-serial-start /dev/ttyUSB1

* Support for automatic configuration with udev (see README)

* Support for automatic configuration with hotplug (see README)

* More reliable detection of errors (scripts run under "sh -e")

I tested these with about 15 PDAs connected simultaneously, and
everything seems to work fine. I tried it on my laptop, running
Fedora Core 2 and Hotplug, and on a newer laptop with Fedora Core 5
and udev. I've been using these basic scripts since about March with
quite good reliability, though I did quite a bit of cleanup in the
last week.

I've attached a patch against 0.9.1. You can get an entire tarball
(for the next week or two at least) from here:

http://whereabouts.eecs.umich.edu/tmp/synce-serial-0.9.1-sg.tar.gz

Please let me know if you see any problems, or if there's anything
that would prevent incorporating these patches into the main release.

Thanks,

----Scott.

Loading...