Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2009 10:48:10 +0200
From:      Marc Fonvieille <blackend@freebsd.org>
To:        Hans Petter Selasky <hselasky@freebsd.org>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: uvisor(4) and Palm Z22 under 8.X
Message-ID:  <20090803084809.GA1230@gothic.blackend.org>
In-Reply-To: <200908030833.50464.hselasky@freebsd.org>
References:  <20090728111131.GA1383@gothic.blackend.org> <20090802201523.GC1592@gothic.blackend.org> <20090802201816.GD1592@gothic.blackend.org> <200908030833.50464.hselasky@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090803084809.GA1230>