Re: x86-32-config: why is pc-speaker an input device?

From: Valdis . Kletnieks
Date: Fri Feb 15 2008 - 16:56:35 EST


On Fri, 15 Feb 2008 13:19:11 PST, Linda Walsh said:
> I'm wondering how the generic, builtin PC-Speaker (config option
> "INPUT_PCSPKR") can be used as an input device.
>
> If it can not be used for input, why is it under the input config section:
>
> "Device Drivers"
> + -> "Input Device Support"
> + -> "Miscellaneous devices"
> + -> "PC Speaker Support"
>
> When booting, it is "enumerated" as an input device: (from dmesg)
>
> input: PC Speaker as /devices/platform/pcspkr/input/input2
>
> Just trying to figure out the rationale behind the choice...

The last time around for this question, I was half-paying attention, and
the rationale sounded like "We had an input device framework, no output
device framework, and too many bad shrooms to do something comprehensible".

(This is such a *frequent* FAQ, even all the time since 2.6.0 escaped, that
maybe we need to add a 3-4 line explain to the Kconfig 'help' stanza for
CONFIG_INPUT_PCSPKR - although for some reason, INPUT_SPARCSPKR and
INPUT_M68K_BEEP don't seem to cause the same questions....)

Attachment: pgp00000.pgp
Description: PGP signature