* [x86_64] PC speaker doesn't work @ 2006-06-19 17:15 Piotr Kaczuba 2006-06-21 11:14 ` Piotr Kaczuba 0 siblings, 1 reply; 4+ messages in thread From: Piotr Kaczuba @ 2006-06-19 17:15 UTC (permalink / raw) To: linux-kernel 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [x86_64] PC speaker doesn't work 2006-06-19 17:15 [x86_64] PC speaker doesn't work Piotr Kaczuba @ 2006-06-21 11:14 ` Piotr Kaczuba 2006-06-21 19:00 ` Nick Warne 2006-06-22 9:02 ` [x86_64] " Andi Kleen 0 siblings, 2 replies; 4+ messages in thread From: Piotr Kaczuba @ 2006-06-21 11:14 UTC (permalink / raw) To: linux-kernel [-- Attachment #1: Type: text/plain, Size: 108 bytes --] It turned out that the following change is needed when the speaker is compiled as a module. Piotr Kaczuba [-- Attachment #2: pcspkr.diff --] [-- Type: text/plain, Size: 459 bytes --] diff -u -r linux.old/arch/x86_64/kernel/setup.c linux/arch/x86_64/kernel/setup.c --- linux.old/arch/x86_64/kernel/setup.c 2006-06-21 13:01:39.671274579 +0200 +++ linux/arch/x86_64/kernel/setup.c 2006-06-21 12:46:59.805517772 +0200 @@ -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) { ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PC speaker doesn't work 2006-06-21 11:14 ` Piotr Kaczuba @ 2006-06-21 19:00 ` Nick Warne 2006-06-22 9:02 ` [x86_64] " Andi Kleen 1 sibling, 0 replies; 4+ messages in thread From: Nick Warne @ 2006-06-21 19:00 UTC (permalink / raw) To: Piotr Kaczuba; +Cc: linux-kernel 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [x86_64] PC speaker doesn't work 2006-06-21 11:14 ` Piotr Kaczuba 2006-06-21 19:00 ` Nick Warne @ 2006-06-22 9:02 ` Andi Kleen 1 sibling, 0 replies; 4+ messages in thread From: Andi Kleen @ 2006-06-22 9:02 UTC (permalink / raw) To: Piotr Kaczuba; +Cc: linux-kernel Piotr Kaczuba <pepe@attika.ath.cx> writes: > It turned out that the following change is needed when the speaker is > compiled as a module. Added thanks. -Andi ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-06-22 9:02 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-06-19 17:15 [x86_64] PC speaker doesn't work Piotr Kaczuba 2006-06-21 11:14 ` Piotr Kaczuba 2006-06-21 19:00 ` Nick Warne 2006-06-22 9:02 ` [x86_64] " Andi Kleen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®