Mailinglist Archive: opensuse (807 mails)

< Previous Next >
Re: [opensuse] serial -> USB converter on openSUSE 11.2
  • From: Philippe Andersson <pan@xxxxxxxxxxxxx>
  • Date: Mon, 19 Apr 2010 13:52:25 +0200
  • Message-id: <4BCC43F9.8090707@xxxxxxxxxxxxx>
Hello Roger,

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.

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?

I don't know whether you tried this already or not, but I've always had
good results using minicom with those devices/cables. I use a TrendNET
TU-S9 USB to serial adaptor.

HTH

Cheers. Bye.

Ph. A.

--

*Philippe Andersson*
Unix System Administrator
IBA Particle Therapy |
Tel: +32-10-475.983
Fax: +32-10-487.707
eMail: pan@xxxxxxxxxxxxx
<http://www.iba-worldwide.com>


< Previous Next >
Follow Ups