LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 01-13-2008, 05:46 PM   #1
serdark
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
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,




------
serdar
 
Old 01-15-2008, 04:20 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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
Code:
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.
Code:
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.
 
Old 01-17-2008, 05:36 AM   #3
serdark
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Original Poster
Rep: Reputation: 0
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.

Last edited by serdark; 02-26-2008 at 03:15 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
disable or enable a user from login powah Linux - Security 4 06-22-2007 05:05 AM
Disable/Enable network interface Edwardml Mandriva 5 10-19-2005 10:00 AM
looking for a enable/disable mouse command to X samel_tvom Linux - Hardware 2 03-03-2005 11:00 AM
enable disable Tuttle General 0 01-08-2005 04:21 PM
Disable/Enable Root Login @ Console ryanstrayer Linux - Security 4 01-18-2002 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration