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
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to