c++ - How to pass display output to serial port under Linux? -


we have 2 computer. fist computer's operating system linux( version( not important me) ) , operating system windows( version, don't care). connected via 9 pin serial port.

i want know how can change linux's default display output serial port instead of it's own monitor. want view linux outputs( first word of boot time ) via hyper terminal in windows xp.

my problem image

btw it's research future uses ! know there no easy solution doing this. maybe should compile linux again ! don't know. please give me suggestions.

it's feasible. easiest way put "getty" process on serial terminal, done editing /etc/inittab (there examples in there) , see login prompt via serial terminal , use (command-line) programs normally. historically, unix machines did primary way of working.

another option use "serial console", involves passing boot-time parameters kernel; required if want see startup messages on serial port.


edit: on newer linux distributions, it's not easy put "getty" on serial line, presumably because it's such old-fashioned thing do. outside of embedded devices, pretty nobody uses serial ports log in system more (most modern pcs don't have rs232 ports). example, fedora , ubuntu not use "init", else doesn't have inherent support running "getty". there way of doing don't know is; consult distributuon's documentation.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -