最近几天一直困扰于如何用串口连接linux服务器 在rhel5.4-x86服务器设置如下: 1.在grub里面 添加root console=ttyS0,9600 console=tty0 2.在inittab里面 添加S0:2345:respawn:/sbin/agetty -L ttyS0 9600 vt100 3.在/etc/securetty 里添加ttyS0 4.在/etc/sysconfig/kudzu 里修改SAFE=yes 5.reboot client 和server 用NULL modem Cable 连接 现象:无论我用putty 还是secureCRT,还是超级终端都无法连接(连接的速率都是9600,线也没...
by sky_hacker - Linux系统管理 - 2009-09-30 22:33:42 阅读(4795) 回复(14)
读串口的时候需要注意: Whenever possible, do not loop reading single characters to get a complete string. When I did this, I lost characters, whereas a read for the whole string did not show any errors. 对于Canonical Input: A line is by default terminated by a NL (ASCII LF), an end of file, or an end of line character. A CR (the DOS/Windows default end-of-line) will not terminate a line with the ...
http://fanqiang.chinaunix.net/program/netpro/2001-05-02/1959.shtml http://www.comptechdoc.org/os/linux/programming/c/linux_pgcserial.html Free linux books: http://www.techbooksforfree.com/linux.shtml 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/45211/showart_377006.html
我在linux下 用 ttyS0 连接一个传感器,想通过 serial port来配置这个传感器。 关键是,我是linux新手。不知道用什么办法才可以在linux下通过serial port来配置。 各位大大救命。 我的Email: [email]phoenix.1911@hotmail.com[/email]
利用串口终端作为linux控制台,可以免去额外的键盘,显示卡和显示器,同时可将linux主机作为一个任意用途的嵌入式黑匣。 将串口终端连接到计算机的串口上并不困难,可以参考linux的HOWTO文档和以及inittab和agetty的帮助信息。这里扼要地说一下。 首先,准备好一根null modem 电缆. 其次,在文件/etc/inittab 增加下面一行。[注:如果你不采用 agetty程序,采用其他的程序如like getty_ps ,应用正确的命令语...
Hi, How can I enable the linux Early Debug Message. I have one mpc8568mds board, there is nothing coming out after the uboot starts the kernel. Where the serial port is defined in the kernel(2.6.26)? I would like to know the debug information as early as possible form the serial port. Thanks,
iPhone/iPod Touch serial port Tutorial By Collin Meyer (TheRain) 12-09-2007
DISCLAIMER: Interfacing electronically to the Iphone has the
potential to cause severe damage to your Iphone or cause your Iphone to
become non-functional. By following this tutorial you take sole
responsibility and under...
如果将vmware 的serial port设置为“使用com1”的话在其它机子上连接到我的串口是可以访问vmware linux的。那现在能不能用vmware的named pipe不用串口线,在我本机上访问vmware 的linux?谢谢
[color="#3d0099"]Carol: 已获原作者简体中文翻译授权。 为避免重复劳动,愿意参与翻译的朋友请直接与我联系 puccacarol AT hotmail DOT com 原文名称:serial Programming Guide for POSIX Operating Systems 此翻译为初稿,语言较粗糙,不断完善中。。。 欢迎大家提出宝贵意见。 This chapter covers advanced serial programming techniques using the ioctl(2) and select(2) system calls. serial port IOCTLs In Chapter 2,...
VMware Workstation 3.2 Features | Documentation | Knowledge Base | Discussion Forums Prev Contents Last Next Using serial ports The following sections describe how to use serial ports with VMware Workstation: Using a serial port on the Host Computer Using a File on the Host Computer Connecting an Application on the Host to a V...
1. Sun ELC and SLC CPU serial ports: The Sun part number is for the ELC serial port splitter cable is X985Q. The SLC serial port splitter cable is Sun part # 530-1667. The pinout below is from the May 1993 Sun FE Handbook. Pin Signal port Pin Signal port----------------- ----------------- 2 TD A 13 CTS B 3 RD A 14 TD B 4 RTS A ...