On 19-04-2010 11:54, Roger Oberholtzer wrote:
On Mon, 2010-04-19 at 11:38 +0100, Rui Santos wrote:
stty to setup all serial options, like baudrate, handshaking, etc. Something like: stty -F /dev/ttyUSB0 9600 raw -echo
That helped. I see that stty reports that the ports are set as I expect:
speed 38400 baud; rows 0; columns 0; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8 -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl -echoke
So, setserial is not useful for these devices.
Your comments on the drivers is of course correct. However, it does not apply in my case, The drivers only need to be on the computer with the USB end of the cable. The computer on the serial port side just writes to its RS-232 port as always. I have used NULL-modem cables with this kernel before and it works fine. The reason I am trying these new cables is that I need to have more of these than I have serial ports on the server. USB offers this scale. Also, I only need to have one USB cable go from the place with the diskless farm to the server.
You are correct. I assumed you were trying to connect them on the server side.
So, I still wonder where the serial port data is going. There are no messages at all in /var/log/messages with complaints from the USB drivers. But is no news really good news?
Can you still receive data from your server by using the old method ? If so, you can always check you physical COM settings through the method above and try to mimic it on your USB one... -- Rui Santos http://www.ruisantos.com/ Veni, vidi, Linux! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org