Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 2010 17:54:17 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org
Cc:        Marcelo/Porks <marcelorossi@gmail.com>, Garrett Cooper <yanefbsd@gmail.com>
Subject:   Re: Fwd: umodem (4) recognize a CDC-ACM device
Message-ID:  <201006031754.17053.hselasky@c2i.net>
In-Reply-To: <201006031750.08693.hselasky@c2i.net>
References:  <AANLkTinuhcIfsFvowzbsDJWy-gqob40oNxUPN-OvXc2E@mail.gmail.com> <AANLkTin2MsQIb3cDhKl9GYjZlOCyyCDMW36dbKmSLXoI@mail.gmail.com> <201006031750.08693.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 03 June 2010 17:50:08 Hans Petter Selasky wrote:
> On Thursday 03 June 2010 16:22:33 Marcelo/Porks wrote:
> > On Wed, Jun 2, 2010 at 1:25 PM, Hans Petter Selasky <hselasky@c2i.net>
> 
> wrote:
> > > Hi,
> > >
> > > The problem is that LOW speed does not support BULK transfers according
> > > to the USB specification. I guess we could switch that support on,
> > > though I'd rather stick with the spec.
> > >
> > > Try changing this line in:
> > >
> > > src/sys/dev/usb/usb_transfer.c
> > >
> > >                [USB_SPEED_LOW] = 0,    /* not supported */
> > > Into:
> > >
> > >                [USB_SPEED_LOW] = 8,    /* not supported according to
> > > USB spec. */
> >
> > Hi, Thanks again for the reply.
> >
> > I changed this line [1], but the result was the same:
> 
> Hi,
> 
> You also need to update this structure above:
> 
>         [UE_BULK] = {
>                 [USB_SPEED_LOW] = {.fixed = {0, 0, 0, 0}},      /* invalid
>  */
> 
> Change it into:
> 
> 	8, 8, 8, 8,
> 

Oops, that seems to be some old code. Forget that patch. I will have another 
look. And you are sure you built a new kernel and usb module with the initial 
patch above?

--HPS



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