Re: Ack! Only 4 uarts with FC6!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 27, 2006 at 11:07:59PM -0700, Brian Mury wrote:

 > Ok, I'm curious. Is the 4 ports just a default number that is used
 > regardless of whether or not they actually exist?

Yes.

 > Why aren't the 3rd and
 > 4th ports that are in /dev without the kernel parameter usable

dunno.

 > (since
 > all it seems to do is tell the kernel how many ports to use)? And why do
 > I need this at all since I didn't need it in FC 1 through 5?

because some people wanted to be able to use 32 port serial cards and the like,
and due to the way the serial core works, you compile it for a maximum number
of uarts, and udev then creates that many /dev entries regardless of whether
they exist or not.  Some people (typically people without cards with lots of ports)
complained when they had all those useless /dev entries, and different people
complained when the default was set so low it wouldn't allow them to use their
'lots of serial ports' devices.

So the boot time switch came to be, which allows you to set it up to a maximum
of what the old compile-time limit is set to.

Serial device port allocation isn't the most straightforward thing, there are
all sorts of funny corner cases.  Another common misconception is that the ttyS
nodes are allocated sequentially, but the IO port that the serial port is mapped
to is what determines which /dev/ttyS node it ends up with.
So having ttyS0, ttyS1, ttyS12, ttyS13 and no other nodes is possible for eg.

	Dave

-- 
http://www.codemonkey.org.uk

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux