Date: Thu, 1 Jul 2004 16:31:03 +0000 (UTC) From: Brian Feldman <green@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/palm/coldsync Makefile ports/palm/coldsync/files patch-libpconn_PConnection_usb.c Message-ID: <200407011631.i61GV3qd085418@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407011631.i61GV3qd085418>