Re: Fwd: umodem (4) recognize a CDC-ACM device

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Thu, 3 Jun 2010 17:57:03 +0200
On Thursday 03 June 2010 17:54:17 Hans Petter Selasky wrote:
> 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_at_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
> > > >

Hi,

Should be like this: Note the structure is called "bulk_min":

        static const uint16_t bulk_min[USB_SPEED_MAX] = {
                [USB_SPEED_LOW] = 8,
                [USB_SPEED_FULL] = 8,
                [USB_SPEED_HIGH] = 512,
                [USB_SPEED_VARIABLE] = 512,
                [USB_SPEED_SUPER] = 1024,
        };
--HPS
Received on Thu Jun 03 2010 - 13:59:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC