Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2007 21:31:50 +0800
From:      "Xiaofan Chen" <xiaofanc@gmail.com>
To:        "Hans Petter Selasky" <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: OpenUSB for FreeBSD?
Message-ID:  <a276da400711170531t51b0b1fdodf821d781b67a3f9@mail.gmail.com>
In-Reply-To: <200711171231.46307.hselasky@c2i.net>
References:  <a276da400711111902v36856882m428d495ce208e559@mail.gmail.com> <200711170938.28339.hselasky@c2i.net> <a276da400711170306q38bf1698lfe92e450ce9291a@mail.gmail.com> <200711171231.46307.hselasky@c2i.net>

index | next in thread | previous in thread | raw e-mail

On Nov 17, 2007 7:31 PM, Hans Petter Selasky <hselasky@c2i.net> wrote:
> On Saturday 17 November 2007, Xiaofan Chen wrote:
> > On Nov 17, 2007 4:38 PM, Hans Petter Selasky <hselasky@c2i.net> wrote:
> > > > Could you be a bit more specific? I know there are some missing calls
> > > > in FreeBSD. And I have problems with libusb interrupt write with the
> > > > default kernel (hangs). It is documented here.
> > > > http://lists.freebsd.org/pipermail/freebsd-usb/2007-November/004128.htm
> > > >l But I am not so sure if it is a libusb problem or the kernel USB
> > > > driver problem.
> > >
> > > The problem about clear stall on the interrupt endpoint is a pure device
> > > problem. Your USB device must re-queue any lost interrupt packets after
> > > clear stall!
> >
> > Sorry but that problem does not occur using the HPS stack but the stock
> > FreeBSD 7 Current kernel (actually in FreeBSD 6.1 and 6.2 as well
> > last time I tried it). Under HPS stack, it works.
> >
> > And I remember that Warner said that the Current kernel does not clear
> > stall. Quote from
> > http://lists.freebsd.org/pipermail/freebsd-usb/2007-July/003751.html Warner
> > Losh wrote:
> > "Remind me when is this clear endpoint stall sent?  In 7.x we don't
> > send one on pipe open unless the device is quirked to require one.  On
> > RELENG_6, at least as of today, we never send one on the open."
> >
>
> Ok, but is that with or without that patch I sent you for Ugen ?
>

I need the single line patch for ugen. I understand that the
firmware may still have the bug dealing with clear endpoint stall.

It is documented here:
http://mcuee.blogspot.com/2007/11/pk2cmd-ported-to-linux.html

Xiaofan


home | help

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