Implementing tight time constraints for read/write with USB serial (ftdi_sio)

Thomas Bracht Laumann Jespersen laumann.thomas at gmail.com
Wed Sep 5 07:07:14 EDT 2018


On Wed, 5 Sep 2018 at 12:49, Greg KH <greg at kroah.com> wrote:
> Do not use USB for anything that you have to do that is deterministic.
> Unless you can handle dropping data on the floor (like USB audio will
> do).  Other than that, why not just use the bus-specific hardware
> controller for this type of bus to monitor and read the data?  That
> hardware is available, right?

Got it. We _could_ probably handle dropping data, but our solution would then
have to constantly reconnect to the network. I think that'd just be a major
headache.

Yes, there is hardware for this, but we wanted to see if we'd be able to solve
this primarily in software. We already have one these: [0]. The unfortunate
thing is that all the available software is Windows-based :-) There are no Linux
drivers, but hey, maybe I'll finally get to write a kernel driver :D

[0] https://www.thorsis.com/en/industrial-automation/usb-interfaces/profibus/ispro-usbx12/

Thanks!

-- Thomas



More information about the Kernelnewbies mailing list