Fwd: umodem (4) recognize a CDC-ACM device
Hans Petter Selasky
hselasky at c2i.net
Thu Jun 3 15:52:57 UTC 2010
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
> >
> > [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,
:-)
--HPS
More information about the freebsd-current
mailing list