cvs commit: ports/palm/coldsync Makefile ports/palm/coldsync/files
patch-libpconn_PConnection_usb.c
Brian Feldman
green at FreeBSD.org
Thu Jul 1 09:32:53 PDT 2004
green 2004-07-01 16:31:03 UTC
FreeBSD ports repository
Modified files:
palm/coldsync Makefile
Added files:
palm/coldsync/files patch-libpconn_PConnection_usb.c
Log:
After many hours of fiddling with ugen and uvisor and coldsync and such,
I discovered that the only reason coldsync's ugen support doesn't work
out of the box for a Treo 270 (HandSpring Visor-based phone) is that
it uses a very low resolution sleep (one second) while waiting for USB
devices to appear in "transient" mode. Due to this, it almost always
misses the first packet in the HotSync, which comes from the Palm, and
after five seconds the entire process would time out.
Decrease the amount of time that is spent sleeping while waiting for USB
devices to appear so that it works every time.
(You probably do not want to try this without ugen(4) from yesterday
which will NOT panic when the USB device goes away before programs
with it open have closed their references.)
Approved by: maintainer
Revision Changes Path
1.30 +1 -1 ports/palm/coldsync/Makefile
1.1 +40 -0 ports/palm/coldsync/files/patch-libpconn_PConnection_usb.c (new)
More information about the cvs-all
mailing list