-   Linux - Embedded & Single-board computer (
-   -   BusyBox - Serial Console Disable/Enable (

serdark 01-13-2008 05:46 PM

BusyBox - Serial Console Disable/Enable
I'm trying to disable the serial console on a wireless accesspoint device, and the kernel is configured to have serial console by default.

just modifying the etc/inittab doesn't work, changing "CONFIG_SERIAL_CONSOLE=y" to "CONFIG_SERIAL_CONSOLE=n" in the defconfig makes serial console disabled but this time serial port "/dev/ttyS0" doesn't seem to work right.

Any ideas on how i can get rid of the serial console and keep the serial port functioning?

Sorry if I couldn't make the problem clear,


theNbomr 01-15-2008 04:20 PM

You asked for ideas....
I will only hazard a guess that the state of the serial port has been altered in some way. You may be able to un-alter it with a tool such as stty. Can you post the output of

stty -a -F /dev/ttyS0
Here is the present output of the same command for a serial port on a desktop PC running a Redhat-ish Linux.

speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <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
-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

--- rod.

serdark 01-17-2008 05:36 AM

Sorry for the late reply,

BusyBox v1.00, doesn't have 'stty' command. I did no changes and somehow ttyS0 is alright now but the wireless driver can't be started now, I guess.

All times are GMT -5. The time now is 06:41 PM.