PC speaker dead in 2.5.40?
Configuring a kernel with Sound support with either OSS or ALSA, I still get nothing from my PC speaker. Works fine under 2.4.18.
Quoted 3 lines · Steve Dover
Configuring a kernel with Sound support with either OSS or ALSA, I still get nothing from my PC speaker. Works fine under 2.4.18.
Look under all the submenus in the Input section of "menuconfig" for the speaker entry and enable it.
There's a good technical reason why the speaker is an input device, but hiding it in the menus is *bad*.
Quoted 5 lines
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/
Signature · 4 lines
Joseph Fannin [email protected] "Anyone who quotes me in their sig is an idiot." -- Rusty Russell.
Quoted 9 lines · Joseph Fannin
Quoted 3 lines
Configuring a kernel with Sound support with either OSS or ALSA, I still get nothing from my PC speaker. Works fine under 2.4.18.
Look under all the submenus in the Input section of "menuconfig" for the speaker entry and enable it.
There's a good technical reason why the speaker is an input device, but hiding it in the menus is *bad*.
Send me a patch that fixes this - if you know how.
Signature · 2 lines
Vojtech Pavlik SuSE Labs
Quoted 6 lines · Vojtech Pavlik
On Mon, Oct 07, 2002 at 03:08:57AM -0400, Joseph Fannin wrote:
...Quoted 2 lines
There's a good technical reason why the speaker is an input device, but hiding it in the menus is *bad*.
Send me a patch that fixes this - if you know how.
IMHO the problem istn't to make a patch, it's more a "policy" question:
The problem is that from the point of view of a _user_ it's quite surprising to see the speaker support at the input devices - and if the speaker doesn't work you wouldn't search for an option under "Input device support". From a programmers point of view "Input device support" might be the best place but it will produce much confusion among many users. Is it perhaps possible to move the speaker support to "Character devices"?
TIA
Adrian
Signature · 3 lines
You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox
Quoted 2 lines · Adrian Bunk
Is it
perhaps possible to move the speaker support to "Character devices"?
Or how about putting it under "Sound"? Seems logical to me.
Chris
Quoted 6 lines · Vojtech Pavlik
Quoted 4 lines · Joseph Fannin
Quoted 3 lines
Configuring a kernel with Sound support with either OSS or ALSA, I still get nothing from my PC speaker. Works fine under 2.4.18.
Quoted 7 lines
Quoted 5 lines
Look under all the submenus in the Input section of "menuconfig" for the speaker entry and enable it.
There's a good technical reason why the speaker is an input device, but hiding it in the menus is *bad*.
Send me a patch that fixes this - if you know how.
Okay, find the attached patch against 2.5.40 which creates a new "PC Speaker" submenu -- it's clearly labeled, and higher up on the screen when running make menuconfig.
Signature · 2 lines
Joseph Fannin [email protected]
drivers/input/Config.in +1 -0
@@ -32,6 +32,7 @@ if [ "$CONFIG_INPUT" != "n" ]; then source drivers/input/keyboard/Config.in source drivers/input/mouse/Config.in + source drivers/input/speaker/Config.in source drivers/input/joystick/Config.in source drivers/input/touchscreen/Config.in source drivers/input/misc/Config.in
drivers/input/Makefile +1 -0
@@ -20,6 +20,7 @@ obj-$(CONFIG_INPUT_MOUSE) += mouse/ obj-$(CONFIG_INPUT_JOYSTICK) += joystick/ obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/ +obj-$(CONFIG_INPUT_SPEAKER) += speaker/ obj-$(CONFIG_INPUT_MISC) += misc/ # The global Rules.make.
drivers/input/misc/Config.help +0 -23
@@ -6,29 +6,6 @@ If unsure, say Y. -CONFIG_INPUT_PCSPKR - Say Y here if you want the standard PC Speaker to be used for - bells and whistles. - - If unsure, say Y. - - This driver is also available as a module ( = code which can be - inserted in and removed from the running kernel whenever you want). - The module will be called pcspkr.o. If you want to compile it as a - module, say M here and read <file:Documentation/modules.txt>. - -CONFIG_INPUT_SPARCSPKR - Say Y here if you want the standard Speaker on Sparc PCI systems - to be used for bells and whistles. - - If unsure, say Y. - - This driver is also available as a module ( = code which can be - inserted in and removed from the running kernel whenever you want). - The module will be called pcspkr.o. If you want to compile it as a - module, say M here and read <file:Documentation/modules.txt>. - - CONFIG_INPUT_UINPUT Say Y here if you want to support user level drivers for input subsystem accessible under char device 10:223 - /dev/input/uinput.
drivers/input/misc/Config.in +0 -4
@@ -4,8 +4,4 @@ bool 'Misc' CONFIG_INPUT_MISC -dep_tristate ' PC Speaker support' CONFIG_INPUT_PCSPKR $CONFIG_INPUT $CONFIG_INPUT_MISC -if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then - dep_tristate ' SPARC Speaker support' CONFIG_INPUT_SPARCSPKR $CONFIG_INPUT $CONFIG_INPUT_MISC -fi dep_tristate ' User level driver support' CONFIG_INPUT_UINPUT $CONFIG_INPUT $CONFIG_INPUT_MISC
drivers/input/misc/Makefile +0 -2
@@ -4,8 +4,6 @@ # Each configuration option enables a list of files. -obj-$(CONFIG_INPUT_SPARCSPKR) += sparcspkr.o -obj-$(CONFIG_INPUT_PCSPKR) += pcspkr.o obj-$(CONFIG_INPUT_UINPUT) += uinput.o # The global Rules.make.
drivers/input/misc/pcspkr.c +0 -94
94 lines not on this page · raw message
drivers/input/misc/sparcspkr.c +0 -189
189 lines not on this page · raw message
drivers/input/speaker/Config.help +29 -0
@@ -0,0 +1,29 @@ +CONFIG_INPUT_SPEAKER + Say Y here, and a list available PC speaker drivers will be + displayed. These are not drivers for soundcards but for the + simple PC speaker "beeps". This option doesn't affect the kernel. + + If unsure, say Y. + +CONFIG_INPUT_PCSPKR + Say Y here if you want the standard PC Speaker to be used for + bells and whistles. + + If unsure, say Y. + + This driver is also available as a module ( = code which can be + inserted in and removed from the running kernel whenever you want). + The module will be called pcspkr.o. If you want to compile it as a + module, say M here and read <file:Documentation/modules.txt>. + +CONFIG_INPUT_SPARCSPKR + Say Y here if you want the standard Speaker on Sparc PCI systems + to be used for bells and whistles. + + If unsure, say Y. + + This driver is also available as a module ( = code which can be + inserted in and removed from the running kernel whenever you want). + The module will be called pcspkr.o. If you want to compile it as a + module, say M here and read <file:Documentation/modules.txt>. +
drivers/input/speaker/Config.in +11 -0
@@ -0,0 +1,11 @@ +# +# Input misc drivers configuration +# + +bool 'PC speakers' CONFIG_INPUT_SPEAKER + +dep_tristate ' PC Speaker support' CONFIG_INPUT_PCSPKR $CONFIG_INPUT $CONFIG_INPUT_SPEAKER +if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then + dep_tristate ' SPARC Speaker support' CONFIG_INPUT_SPARCSPKR $CONFIG_INPUT $CONFIG_INPUT_SPEAKER +fi +
drivers/input/speaker/Makefile +12 -0
@@ -0,0 +1,12 @@ +# +# Makefile for the input speaker drivers. +# + +# Each configuration option enables a list of files. + +obj-$(CONFIG_INPUT_SPARCSPKR) += sparcspkr.o +obj-$(CONFIG_INPUT_PCSPKR) += pcspkr.o + +# The global Rules.make. + +include $(TOPDIR)/Rules.make
drivers/input/speaker/pcspkr.c +94 -0
94 lines not on this page · raw message
drivers/input/speaker/sparcspkr.c +189 -0
189 lines not on this page · raw message
Quoted 3 lines · Steve Dover
Configuring a kernel with Sound support with either OSS or ALSA, I still get nothing from my PC speaker. Works fine under 2.4.18.
make menuconfig
input_device_support->misc->pc_speaker_support.
Switch it on.
Rob
Re: PC speaker dead in 2.5.40? (resend)
In reply to Vojtech PavlikQuoted 6 lines · Vojtech Pavlik
Quoted 4 lines · Joseph Fannin
Quoted 3 lines
Configuring a kernel with Sound support with either OSS or ALSA, I still get nothing from my PC speaker. Works fine under 2.4.18.
Quoted 7 lines
Quoted 5 lines
Look under all the submenus in the Input section of "menuconfig" for the speaker entry and enable it.
There's a good technical reason why the speaker is an input device, but hiding it in the menus is *bad*.
Send me a patch that fixes this - if you know how.
Resend of this little patch -- vger didn't like the last one, I think. This creates a new "PC Speaker" submenu -- it's clearly marked and higher up on the "make menuconfig" screen rather than hidden away under "misc".
Signature · 4 lines
Joseph Fannin [email protected] "Anyone who quotes me in their sig is an idiot." -- Rusty Russell.
drivers/input/Config.in +1 -0
@@ -32,6 +32,7 @@ if [ "$CONFIG_INPUT" != "n" ]; then source drivers/input/keyboard/Config.in source drivers/input/mouse/Config.in + source drivers/input/speaker/Config.in source drivers/input/joystick/Config.in source drivers/input/touchscreen/Config.in source drivers/input/misc/Config.in
drivers/input/Makefile +1 -0
@@ -20,6 +20,7 @@ obj-$(CONFIG_INPUT_MOUSE) += mouse/ obj-$(CONFIG_INPUT_JOYSTICK) += joystick/ obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/ +obj-$(CONFIG_INPUT_SPEAKER) += speaker/ obj-$(CONFIG_INPUT_MISC) += misc/ # The global Rules.make.
drivers/input/misc/Config.help +0 -23
@@ -6,29 +6,6 @@ If unsure, say Y. -CONFIG_INPUT_PCSPKR - Say Y here if you want the standard PC Speaker to be used for - bells and whistles. - - If unsure, say Y. - - This driver is also available as a module ( = code which can be - inserted in and removed from the running kernel whenever you want). - The module will be called pcspkr.o. If you want to compile it as a - module, say M here and read <file:Documentation/modules.txt>. - -CONFIG_INPUT_SPARCSPKR - Say Y here if you want the standard Speaker on Sparc PCI systems - to be used for bells and whistles. - - If unsure, say Y. - - This driver is also available as a module ( = code which can be - inserted in and removed from the running kernel whenever you want). - The module will be called pcspkr.o. If you want to compile it as a - module, say M here and read <file:Documentation/modules.txt>. - - CONFIG_INPUT_UINPUT Say Y here if you want to support user level drivers for input subsystem accessible under char device 10:223 - /dev/input/uinput.
drivers/input/misc/Config.in +0 -4
@@ -4,8 +4,4 @@ bool 'Misc' CONFIG_INPUT_MISC -dep_tristate ' PC Speaker support' CONFIG_INPUT_PCSPKR $CONFIG_INPUT $CONFIG_INPUT_MISC -if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then - dep_tristate ' SPARC Speaker support' CONFIG_INPUT_SPARCSPKR $CONFIG_INPUT $CONFIG_INPUT_MISC -fi dep_tristate ' User level driver support' CONFIG_INPUT_UINPUT $CONFIG_INPUT $CONFIG_INPUT_MISC
drivers/input/misc/Makefile +0 -2
@@ -4,8 +4,6 @@ # Each configuration option enables a list of files. -obj-$(CONFIG_INPUT_SPARCSPKR) += sparcspkr.o -obj-$(CONFIG_INPUT_PCSPKR) += pcspkr.o obj-$(CONFIG_INPUT_UINPUT) += uinput.o # The global Rules.make.
drivers/input/misc/pcspkr.c +0 -94
94 lines not on this page · raw message
drivers/input/misc/sparcspkr.c +0 -189
189 lines not on this page · raw message
drivers/input/speaker/Config.help +29 -0
@@ -0,0 +1,29 @@ +CONFIG_INPUT_SPEAKER + Say Y here, and a list available PC speaker drivers will be + displayed. These are not drivers for soundcards but for the + simple PC speaker "beeps". This option doesn't affect the kernel. + + If unsure, say Y. + +CONFIG_INPUT_PCSPKR + Say Y here if you want the standard PC Speaker to be used for + bells and whistles. + + If unsure, say Y. + + This driver is also available as a module ( = code which can be + inserted in and removed from the running kernel whenever you want). + The module will be called pcspkr.o. If you want to compile it as a + module, say M here and read <file:Documentation/modules.txt>. + +CONFIG_INPUT_SPARCSPKR + Say Y here if you want the standard Speaker on Sparc PCI systems + to be used for bells and whistles. + + If unsure, say Y. + + This driver is also available as a module ( = code which can be + inserted in and removed from the running kernel whenever you want). + The module will be called pcspkr.o. If you want to compile it as a + module, say M here and read <file:Documentation/modules.txt>. +
drivers/input/speaker/Config.in +11 -0
@@ -0,0 +1,11 @@ +# +# Input misc drivers configuration +# + +bool 'PC speakers' CONFIG_INPUT_SPEAKER + +dep_tristate ' PC Speaker support' CONFIG_INPUT_PCSPKR $CONFIG_INPUT $CONFIG_INPUT_SPEAKER +if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then + dep_tristate ' SPARC Speaker support' CONFIG_INPUT_SPARCSPKR $CONFIG_INPUT $CONFIG_INPUT_SPEAKER +fi +
drivers/input/speaker/Makefile +12 -0
@@ -0,0 +1,12 @@ +# +# Makefile for the input speaker drivers. +# + +# Each configuration option enables a list of files. + +obj-$(CONFIG_INPUT_SPARCSPKR) += sparcspkr.o +obj-$(CONFIG_INPUT_PCSPKR) += pcspkr.o + +# The global Rules.make. + +include $(TOPDIR)/Rules.make
drivers/input/speaker/pcspkr.c +94 -0
94 lines not on this page · raw message
drivers/input/speaker/sparcspkr.c +189 -0
189 lines not on this page · raw message