Hi,
> > however, what if I
> > allocate
> > a 128byte buffer just for the sake of this example, and submit URBs with
> > 64 byte transfer buffers.
>
> I hope you're speaking only theoretically. A 64-byte transfer buffer is
yes, of course, I'm working currently with 5 ms buffers
> > For the fi
Hi,
How do you implement buffers for streaming USB data in a kernel driver?
For me, ring buffers would be an obvious choice, however, what if I
allocate
a 128byte buffer just for the sake of this example, and submit URBs with
64 byte transfer buffers. For the first bulk IN transfer, the 64 byte
a
Hi,
> Yes. You can do as many simultaneous transfers as you want, and they
> don't all have to be bulk -- they don't even all have to be for the same
> device!
Thank you, that's very good news ;)
> > Any other possibilities for simultaneous transfer apart from a kernel
> > driver using URBs?
Hi,
As it turned out, libusb is not thread safe and I cannot simultaneously
BULK read and write to my USB2.0/Full Speed device.
I've looked at devio.c (the code which is responsible for direct IOCTL
calls of usbdevfs), but couldnt really conclude anything about it..
maybe using the USBDEVFS_SUBMI
Hello,
I'm developing a USB2.0/Full Speed (12MBit) audio device for Linux which
needs high speed (>256Kbyes/sec)/low delay bidirectional data transfer.
To
ease development I'd prefer to skip driver development by implementing
some
device class, which already has a driver.
Currently I've made a p