How to control I/O in Linux?


 
Thread Tools Search this Thread
Top Forums Programming How to control I/O in Linux?
# 1  
Old 10-21-2002
How to control I/O in Linux?

Do anyone know how to program to control I/O - through RS 232?
For example VC++, inport & outport.
Any comment?
# 2  
Old 10-25-2002
Have you tried to control your I/O through you bios? If not, once you boot your computer, hit F1 or delete, some older models will tell you to hit F2, to go into your Bios utilities. Then go to your power source. it will have I/O set up, and CPU cooling.Then run your program through this set up.
# 3  
Old 10-26-2002
The following algorithm works on Unix OS , I hope it does so on Linux.

First open the non modem control com port by issusing open ( ) function.Then save the current serial port settings by tcgetattr( ) function.Now intialize the terminal settings and all control characters for the port.Clean the line and activate the settings for the port.In an conditional loop do read/write operation.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

I need to make a control panel for a Linux script

has anyone got experience using jsch? Does it give me a prompt when I run a command/ print result back to me. I need to send commands to a linux database like restart,shutdown,stop database caching etc. But in java I want to build a GUI I can use. TO call database commands. and do these... (3 Replies)
Discussion started by: Samuel12
3 Replies

2. Linux

How to add ^M (control M) in Linux

I would like to add ^M (CTRL V CTRL M) to all lines of the file. This is easy using unix2dos command in SunOS, unix2dos commands appends ^M for all the lines in SUnOS but I dont see the same beahaviou in Linux. My files on Linu'x to be added with ^M at the end of each line. is there any... (3 Replies)
Discussion started by: LinuxLearner
3 Replies

3. UNIX for Advanced & Expert Users

How can I remotely take unix/linux tty control!?

Hello everyone!. I am wondering if it is possible to take control of a tty session???!!!. For example: imagine you are running a command in a unix server that will take 12 hours to compleate... now, imagine you are at your home and you want to check how the command is performing or if errors... (2 Replies)
Discussion started by: dragonov7
2 Replies

4. Linux

how to setup a virtual IP to control 2 server load for linux

Hi anyone know how to setup a setup a virtual IP to control 2 server load for linux? i only have 2 server, i don want to buy another just for the load balance... is there a way to do it? Sumemr (0 Replies)
Discussion started by: summerpeh
0 Replies

5. UNIX for Advanced & Expert Users

Access Control Lists for Linux (Redhat 7.2)

Hi, Does anyone know if Redhat 7.2 allows for file access control lists as you can in Solaris ? And if so, can you give me the basic command as I'm having trouble finding documentation on this. Thanx (1 Reply)
Discussion started by: ianf
1 Replies
Login or Register to Ask a Question