tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Potential problem with reading data from usb devices with ugen(4)



On 09/24/15 15:52, Brian Buhrow wrote:
On Sep 24, 12:00pm, Nick Hudson wrote:
} Are you sure about this? I'm not sure why ugen_bulkra_intr doesn't start
} a new transfer, but see below.
}
} I wonder if
}
}          http://nxr.netbsd.org/xref/src/sys/dev/usb/ugen.c#697
}          http://nxr.netbsd.org/xref/src/sys/dev/usb/ugen.c#1221
}
} needs USBD_SHORT_XFER_OK adding to the flags arg.
}
} UGEN_DEBUG output will help?
}
} Nick

	I forgot to mention the libusb1 calls do request the
USB_SET_SHORT_XFER via ioctl(2).
This doesn't matter / help here as UGEN_SHORT_OK is ignored for UGEN_BULK_{RA,WB}

Can you try the idea?

Thanks,
Nick


Home | Main Index | Thread Index | Old Index