LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-04-2008, 12:53 PM   #1
icecbr
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Ubuntu 8.04 or 8.10 - Help with serial ports...


Hello all,

I have installed Ubuntu 8.04 server on a pc and I have this problem:

on the pc there is the motherboards serial port and 2 pci cards with 2 serial ports each one, the sum is 5, but ubuntu recognises 4.

this is because in .config of the kernel its set this way:
CONFIG_SERIAL_8250_RUNTIME_UARTS=4


So, all I have to do is change this to:
CONFIG_SERIAL_8250_RUNTIME_UARTS=14

right?

to do it I have to recompile the whole kernel?
I ve tryied to with some guides I ve found but no luck!! only erros and faulty kernels..

any help apriciated
 
Old 12-07-2008, 02:44 AM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by icecbr View Post
Hello all,
to do it I have to recompile the whole kernel?
I ve tryied to with some guides I ve found but no luck!! only erros and faulty kernels..
The Ubuntu kernel is heavily patched by the Ubuntu developers. So to recompile the kernel it is probably best to use the current .config as a starting point, and just change that one item you need to change.
Here are some guides to compiling a kernel for Ubuntu:
http://www.howtoforge.com/kernel_compilation_ubuntu
https://help.ubuntu.com/community/Kernel/Compile

I don't know if there is an easier way to accomplish what you want to do without recompiling the kernel.
Here are some suggestions from the Ubuntu forums for getting multiple serial ports to work:
http://ubuntuforums.org/showthread.p...t=serial+ports
http://ubuntuforums.org/showthread.p...t=serial+ports

Oh, and welcome to the LQ forums!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need to block all ports and open only select ports on Ubuntu 7.1 Mr.J Linux - Networking 1 11-18-2008 02:45 AM
more then 4 serial ports mattsoftnet Linux - Hardware 15 09-23-2007 08:44 AM
serial ports pricej DamnSmallLinux 1 02-03-2006 03:21 AM
Can only use one of my serial ports steaktc Linux - Hardware 1 11-23-2005 06:07 AM
Serial ports KenHorse Programming 2 12-27-2004 08:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:16 AM.

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