Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am a newbie to linux and drivers and I'm hoping I could get some help with a serial port question I have.
I have noticed that Linux installs TTY on all serial ports and USB ports, by default. This means evreything has to go through a TTY layer before it is passed through to the serial port. I have read a few tutorials and articles on that, and I think I understand that.
My question is, is there any possible way to not use TTY for serial port access? To send data in "RAW" mode?
The reason for this question is, if I understand the concept of TTY correctly, TTY requires a carriage return newline (\r\n) to send the data through to the serial port. Without the newline the data won't be transmitted.
This poses a major headache for my existing programs I am trying to port to Linux from other OS's. I have external devices that write to serial port without issuing newline. If the data is not actually sent out some of my existing codes will not function properly.
Can anybody help me out with understanding this and how I can actually work around this please?