From owner-freebsd-usb@FreeBSD.ORG Mon Aug 3 08:47:32 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11FC9106566B; Mon, 3 Aug 2009 08:47:32 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 8731A8FC15; Mon, 3 Aug 2009 08:47:30 +0000 (UTC) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id n738lRnY065636; Mon, 3 Aug 2009 10:47:27 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.3/8.14.3) with ESMTP id n738mAOd001700; Mon, 3 Aug 2009 10:48:10 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.3/8.14.3/Submit) id n738mAPF001699; Mon, 3 Aug 2009 10:48:10 +0200 (CEST) (envelope-from marc) Date: Mon, 3 Aug 2009 10:48:10 +0200 From: Marc Fonvieille To: Hans Petter Selasky Message-ID: <20090803084809.GA1230@gothic.blackend.org> References: <20090728111131.GA1383@gothic.blackend.org> <20090802201523.GC1592@gothic.blackend.org> <20090802201816.GD1592@gothic.blackend.org> <200908030833.50464.hselasky@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200908030833.50464.hselasky@freebsd.org> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 8.0-BETA2 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-usb@freebsd.org Subject: Re: uvisor(4) and Palm Z22 under 8.X X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2009 08:47:32 -0000 On Mon, Aug 03, 2009 at 08:33:49AM +0200, Hans Petter Selasky wrote: > On Sunday 02 August 2009 22:18:16 Marc Fonvieille wrote: > > On Sun, Aug 02, 2009 at 10:15:23PM +0200, Marc Fonvieille wrote: > > > Attach for real the patch > > > > Sorry, I dunno why attachement is not working today, here's the patch: > > > > Hi, > > Can you verify that the driver works with 1024 byte buffers (RX+TX), and the > other changes made. The comment in the old driver does not apply any more. > > Alternativly, try: > > TX buffer 1024 bytes: > RX buffer 0 bytes (which makes it use wMaxPacketSize). > > Here are the results of various values: --- #define UVISORIBUFSIZE 0 #define UVISOROBUFSIZE 1024 install fails list OK backup OK --- #define UVISORIBUFSIZE 992 #define UVISOROBUFSIZE 32 install OK list fails backup fails --- --- #define UVISORIBUFSIZE 512 #define UVISOROBUFSIZE 512 install fails list OK backup fails --- --- #define UVISORIBUFSIZE 64 #define UVISOROBUFSIZE 960 install fails list OK backup OK --- --- #define UVISORIBUFSIZE 64 #define UVISOROBUFSIZE 32 install OK list OK backup OK --- For information: install: pilot-xfer -p /dev/cuaU0 -i ./foobar.pdb list: pilot-xfer -p /dev/cuaU0 -l backup: pilot-xfer -p /dev/cuaU0 -s foo -- Marc