Messages in this thread | | | Date | Thu, 2 Dec 2004 08:11:01 -0500 (EST) | From | linux-os <> | Subject | Re: keyboard timeout |
| |
On Wed, 1 Dec 2004, Alan Cox wrote:
> On Mer, 2004-12-01 at 22:29, linux-os wrote: >> If Linux 2.6.9 is booted on a 40 MHz `486 with the standard >> ISA clock of 14.3 MHz (yes that's the standard), the kernel >> will complain about a keyboard timeout for every key touched! > > 8.33Mhz. The delays should be correct but given that just about all > hardware under 15 years old doesn't care (I think the last thing to care > was the digital hi-note laptop) it is possible that the new input code > has a tiny missing delay somewhere. Having said that I have specifically > audited the input keyboard driver for such problems in 2.6.5 or so and > found only one (which is fixed) > > Nor should the ISA bus speed matter - the uController chugs along at > about 2Mhz and the delays it needs are a bit longer than just ISA > cycles.
From original IBM specification... "...8284A Clock generator clock generator supplies the multiphase clock signals that are needed to drive the microprocessor and the peripherals. Its base frequency is 14.31818 MHz....."
14.31818 / 3 = 4.7727... MHz (the original CPU clock frequency) 14.31818 / 12 = 1.1931... frequency fed to 8253 PIT and keyboard controller.
... etc...
Low power clones, designed to use very low power __still__ use these low frequencies. These frequencies were chosen by ME because they can derive from the 3.579545 MHz color sugarier frequency that was used in color television. The early PCs were expected to be connected to color TV.
FYI 3.579545 (NTSC color sub-carrier frequency) is 14.31818 / 4. I know all these numbers by heart because I had to defend them over several murderous design reviews in Boca Raton. Modern motherboards generate the PIT and keyboard frequencies (also the UART input) using other methods, but these low frequencies are still in use. And, yes the keyboard MUST have a longer timeout regardless of your "audit". Thanks for the help.
Cheers, Dick Johnson Penguin : Linux version 2.6.9 on an i686 machine (5537.79 BogoMips). Notice : All mail here is now cached for review by John Ashcroft. 98.36% of all statistics are fiction. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |