From owner-cvs-all@FreeBSD.ORG Thu Jul 1 16:32:53 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCEAE16A4CE; Thu, 1 Jul 2004 16:32:53 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B603B43D2D; Thu, 1 Jul 2004 16:32:53 +0000 (GMT) (envelope-from green@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i61GV3AK085419; Thu, 1 Jul 2004 16:31:03 GMT (envelope-from green@repoman.freebsd.org) Received: (from green@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i61GV3qd085418; Thu, 1 Jul 2004 16:31:03 GMT (envelope-from green) Message-Id: <200407011631.i61GV3qd085418@repoman.freebsd.org> From: Brian Feldman Date: Thu, 1 Jul 2004 16:31:03 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/palm/coldsync Makefile ports/palm/coldsync/files patch-libpconn_PConnection_usb.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 16:32:53 -0000 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)