Re: wrong number of serial port detected

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

 



From: Russell King <[email protected]>
To: Jason Dravet <[email protected]>
CC: [email protected]
Subject: Re: wrong number of serial port detected
Date: Thu, 8 Dec 2005 10:54:26 +0000

On Wed, Dec 07, 2005 at 09:02:03PM -0600, Jason Dravet wrote:
> >As for your 64 VT tty device nodes - these "devices" are created
> >dynamically when the device node is opened.  The act of opening the
> >device node is defined to be the creation event.  If the device node
> >did not exist, there would be no way to create _any_ virtual terminals.
>
> I thought there were only 7 tty devices (Ctrl-F1 to Ctrl-F7) for local
> system login?  Ctrl-F7 being for Xwindows.  Did I miss something?

If you look in the "init" configuration file, /etc/inittab, you'll
see lines similar to these:

The /etc/inittab file is where I got the number 7 from (6 tty plus 1 Xwindows). I have to change the inittab everytime I install FC since they switched to graphical boot (FC does not like my monitor). Let me see if I got this right: Is the reason 64 tty devices exist similiar to the reason you gave me about the 32 serial ports? You create all the nodes so they can be used at anytime. If there were only the 6 tty nodes created then if you want to direct your logger to tty12, you would first have to create that node and then tty12 could be used. If this is true how are the other 52 tty devices accessed? I don't have a F13 or F44 keys on my keyboard.

I like the idea of the patch that Dave Jones created. The question I have is with all of this plug and play stuff in our PCs shouldn't it be possible to get the correct number of ports, ask the bios or the pci bus or something?

Thanks,
Jason


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux