uvisor(4) and Palm Z22 under 8.X
Marc Fonvieille
blackend at freebsd.org
Mon Aug 3 08:47:32 UTC 2009
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
More information about the freebsd-usb
mailing list