# /etc/init.d/serial start * Setting to ... setserial version 2.17, 27-Jan-2000 usage: setserial serial-device -abqvVWz [cmd1 [arg]] ... setserial -g [-abGv] device1 ... Available commands: (* = Takes an argument) (^ = can be preceded by a '^' to turn off the option) * port set the I/O port * irq set the interrupt * uart set UART type (none, 8250, 16450, 16550, 16550A, 16650, 16650V2, 16750, 16850, 16950, 16954) * baud_base set base baud rate (CLOCK_FREQ / 16) * divisor set the custom divisor (see spd_custom) * close_delay set the amount of time (in 1/100 of a second) that DTR should be kept low while being closed * closing_wait set the amount of time (in 1/100 of a second) that the serial port should wait for data to be drained while being closed. ^ fourport configure the port as an AST Fourport autoconfig automatically configure the serial port ^ auto_irq try to determine irq during autoconfiguration ^ skip_test skip UART test during autoconfiguration ^ sak set the break key as the Secure Attention Key ^ session_lockout Lock out callout port across different sessions ^ pgrp_lockout Lock out callout port across different process groups ^ callout_nohup Don't hangup the tty when carrier detect drops on the callout device ^ split_termios Use separate termios for callout and dailin lines ^ hup_notify Notify a process blocked on opening a dial in line when a process has finished using a callout line by returning EAGAIN to the open. ^ low_latency Minimize receive latency at the cost of greater CPU utilization. get_multiport Display the multiport configuration set_multiport Set the multiport configuration * rx_trigger Set RX trigger level (ESP-only) * tx_trigger Set TX trigger level (ESP-only) * flow_off Set hardware flow off level (ESP-only) * flow_on Set hardware flow on level (ESP-only) * rx_timeout Set receive timeout (ESP-only) * dma_channel Set DMA channel (ESP-only) spd_hi use 56kb instead of 38.4kb spd_vhi use 115kb instead of 38.4kb spd_shi use 230kb instead of 38.4kb spd_warp use 460kb instead of 38.4kb spd_cust use the custom divisor to set the speed at 38.4kb (baud rate = baud_base / custom_divisor) spd_normal use 38.4kb when a baud rate of 38.4kb is selected Use a leading '0x' for hex numbers. CAUTION: Using an invalid port can lock up your machine! [ !! ] Looking at the init-script shows the error: line 18: grep -v "^#\|^ \|^$|^stty" /etc/serial.conf | while read device args This should be grep -v "^#\|^ \|^$\|^stty" /etc/serial.conf | while read device args So it fails to ignore complete empty lines and thus runs "setserial -b" that creates this ugly output for every empty line of serial.conf.
http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/setserial/files/serial-2.17-r4?r1=1.1&r2=1.2 *** This bug has been marked as a duplicate of bug 206699 *** *** This bug has been marked as a duplicate of bug 206699 ***