Hi,

On Mon, Jul 12, 2010 at 8:20 PM, Hans Petter Selasky
<hsela...@freebsd.org>wrote:

> On Monday 12 July 2010 19:22:28 Peer Stritzinger wrote:
> > However the read always returns 0.
> >
> > Tried different buffer sizes etc.
> Hi,
>
> Maybe you are missing to set the short transfer OK flag.
>
> Else I recommend using LibUSB.
>
> --HPS
>

Did'nt set this flag (not doing any ioctls on the ugen device at all).

However I did try matching either the max packetlen, or the read buffer size
with the actual bytes sent, so I thought it shouldn't matter.

I'll move on to libusb and not waste any more time with the raw interfaces.

Thanks
-- Peer
_______________________________________________
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