Other *NIXThis forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Very simple question: how to add a serial port on old sysvr4(at&t 386 2.1)?
I have tried "mknod /dev/tty01 c 4 0" and create it,but is "dead".
Some suggestion?
Thanks
edit1: i see on fresh installation serial are recognized both
Last edited by camerabambai; 03-23-2015 at 09:15 PM.
It's been a long time but you need to edit /etc/inittab and insure you have the "getty" process assigned to the serial device (you can assign other functions to it for serial interfaces - getty prompts for login)
If you have man pages on the system look at:
man inittab
man getty
man init
I forget the exact syntax we used to use for making serial interfaces to other systems. All I really recall about that was we'd do redirect in and out of the device and usually set it to xon/xoff (software flow control) if possible or would cable it for hardware flow control (rts/cts pins in addition to others) if not pssible to do software flow control.
Thanks,Already know of getty,tty,inittab.
My problem is another,the serial is not recognized,only tty00(first serial)
is present.
I have tried to mknod,but when i try the test
echo "prova" > /dev/tty01,give me error
Thanks,Already know of getty,tty,inittab.
My problem is another,the serial is not recognized,only tty00(first serial)
is present.
I have tried to mknod,but when i try the test
echo "prova" > /dev/tty01,give me error
Check for IRQ and DMA conflicts, its usually the source of the errors you will get when trying to talk to a serial interface
Yes was irq conflict,virtualbox assign irq 4 on tty00 and irq 3 on the next tty!
mknod /dev/tty01 c 3 0
and echo prova > /dev/tty01
now works fine.
Thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.