I have seen some versions of Slackware that do not use the serial.conf
correctly.  I just took the easy route and put the setserial command
in /etc/rc.d/rc.local.

Eric

On Thu, Jan 18, 2001 at 08:40:26AM -0600, John Komp wrote:
> 
> Thanks for the help so far. Lots of people got the buffer flush issue
> figured out. Phil gets the prize for mentioning setvbuf. By changing
> printf from line buffering to no buffering all is well.
> 
> Unfortunately no one had an answer to my more pressing problem of
> getting the serial port to initalize properly. The boot process doesn't
> appear to be using serial.conf yet it would also appear that setserial
> is not running in automatic mode and rewriting serial.conf either. I'd
> appreciate some pointers in how to follow the Slackware boot process to
> figure out who is setting things up improperly so I can fix them.
> 
> Thanks again for all the help.
> 
> -John
> 
> >>> tclug-list-request at mn-linux.org 01/17/01 06:26PM >>>
> 
> 
> My serial port investigation continues. Here's the premise again...
> 
> I've got an embedded system that dumps chars and strings to a serial
> port. I've attached a Slackware 7.1 Toshiba 430 CDT laptop to the
> other
> end of the serial cable.  When the system streams a string of chars
> the
> linux box doesn't get anything but if I send individual chars they are
> received by the linux box.
> 
> When I send 'setserial -ga /dev/ttyS0' it tells me my UART is a
> 16550A.
> If I change this to a 16550 everything works fine. I looked at
> /etc/serial.conf and it is defining the port as a 16450. Who's really
> controlling this and how do I get it set properly?
> 
> 
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list
>