PC speaker doesn't work
Hello!
With 2.6.17 the PC speaker stopped working (2.6.16.20 was fine). The module pcspkr is loaded but dmesg doesn't show that it gets registered as 2.6.16 did:
input: PC Speaker as /class/input/input2
I saw a thread about the speaker issue a while ago in which a patch was posted that made it into 2.6.17 but somehow it doesn't seem to be enough. Am I missing something?
I'm running x86-64 kernel with 32-bit userspace if that should matter.
Please CC me as I'm not subscribed.
Piotr Kaczuba
It turned out that the following change is needed when the speaker is compiled as a module.
Piotr Kaczuba
arch/x86_64/kernel/setup.c +1 -1
@@ -1440,7 +1440,7 @@ .show = show_cpuinfo, }; -#ifdef CONFIG_INPUT_PCSPKR +#if defined(CONFIG_INPUT_PCSPKR ) || defined(CONFIG_INPUT_PCSPKR_MODULE )#include <linux/platform_device.h> static __init int add_pcspkr (void ) {
You know, I am glad you posted this, as my system bell stopped working ages ago and I didn't know why (I am on x86 though).
So this post is in case anybody else has this peculiar problem.
I didn't have a CONFIG_INPUT_PCSPKR in my .config, so investigated...
It is cunningly hidden in Device Drivers->Input device support->Miscellaneous devices->PC Speaker support
Then to get KDE to use it (I used KDE sound to *beep* before I sussed this tonight), even more peculiar configuration is required:
http://lists.kde.org/?l=kde-accessibility&m=110963809201407&w=2
All now works! I did really miss the beeps for some silly reason...
Nick
Quoted 2 lines · Piotr Kaczuba
It turned out that the following change is needed when the speaker is compiled as a module.
Added thanks.
-Andi