I know the title of the question sounds a bit silly, but that's the best I could think of :)

As far as I understand, if I have some serial device connected with USB - let's say I connect my Arduino to my PC with a USB-to-serial adapter - now I can open /dev/ttyUSB0 with open() and read and write from/to the device. (correct me if I'm wrong there). Basically this is the same as using PuTTY in Windows.

My question is - from the point of view of the OS, is this a TTY? so is there a line discipline applied to the input and output that comes from/goes to the device?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.