On Fri, Jul 12, 2013 at 05:51:04AM +0000, WangChen wrote:
> I'm writing a driver for OSRFX2 learning board to test bulkloop
> read/write.

What's wrong with the existing usb-serial driver that can easily do
this?

> I think non-blocking write is good for such device due to
> the FX2 chipset has dual-buffer for bulk endpoints. I am just
> wondering if I also need to support blocking write IO due to I used to
> think from driver perspective, for example for the read/write
> operations, we need to support both blocking and nonblocking by
> default.

As you control the userspace interaction to the device, you can decide
on this, right?

Also, why even write a kernel driver at all for this, why not just use
libusb or usbfs directly from userspace?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to