4 ms·
once a developer from a company whose device i had bought, told me they couldn't support linux because every distribution had a different way to open a serial p
by bombolo 3y ago
once a developer from a company whose device i had bought, told me they couldn't support linux because every distribution had a different way to open a serial port and read data.
- eru 3y agoWouldn't that be handled mostly by the kernel, and they all more or less use the same kernel?
- taeric 3y agoIt is almost certainly handled by whatever library they are using to interface. And if they didn't pick one that is targeting linux, then that would be more work for them. That is, this is likely easily solvable, but it is most easily solvable at the beginning of a project by choice of base libraries. I can understand not wanting to change things after the fact for a presumably small user base.
- bombolo 3y agoAre you replying to something else? They claimed that they'd need a different implementation per distribution. Which makes no sense. It's just open()/ioctl_tty()/read()/write(), all of which are in the libc of every distribution that has ever existed since the 90s.
- taeric 3y agoFair, I'm putting charity to the claim and assuming that they coded against a Microsoft toolchain. That is, my assumption would not be that it was the different distros, but that is just an easy thing to say.
- bombolo 3y agoYep. But they are so completely ignorant about linux that they probably even believe that nonsense excuse is real.