|author||Stas Sergeev <firstname.lastname@example.org>||2008-05-16 12:10:03 +0200|
|committer||Takashi Iwai <email@example.com>||2008-05-19 12:04:35 +0200|
snd-pcsp: adjust help texts to frighten users
Added the warning text to the help of snd-pcsp about the possible problem with this driver so that user can know of the problem in advance. Also, removed the obsoleted text about ancient pc-speaker patch in CONFIG_SOUND help. Signed-off-by: Stas Sergeev <firstname.lastname@example.org> Signed-off-by: Takashi Iwai <email@example.com>
Diffstat (limited to 'sound')
2 files changed, 12 insertions, 7 deletions
diff --git a/sound/Kconfig b/sound/Kconfig
index b2a2db47aff..4247406160e 100644
@@ -28,11 +28,6 @@ config SOUND
and read <file:Documentation/sound/oss/README.modules>; the module
will be called soundcore.
- I'm told that even without a sound card, you can make your computer
- say more than an occasional beep, by programming the PC speaker.
- Kernel patches and supporting utilities to do that are in the pcsp
- package, available at <ftp://ftp.infradead.org/pub/pcsp/>.
diff --git a/sound/drivers/Kconfig b/sound/drivers/Kconfig
index 379bcb07446..d7ff2880986 100644
@@ -5,7 +5,7 @@ menu "Generic devices"
- tristate "PC-Speaker support"
+ tristate "PC-Speaker support (READ HELP!)"
depends on PCSPKR_PLATFORM && X86_PC && HIGH_RES_TIMERS
depends on INPUT
depends on SND
@@ -18,11 +18,21 @@ config SND_PCSP
You can compile this as a module which will be called snd-pcsp.
+ WARNING: if you already have a soundcard, enabling this
+ driver may lead to a problem. Namely, it may get loaded
+ before the other sound driver of yours, making the
+ pc-speaker a default sound device. Which is likely not
+ what you want. To make this driver play nicely with other
+ sound driver, you can add this into your /etc/modprobe.conf:
+ options snd-pcsp index=2
You don't need this driver if you only want your pc-speaker to beep.
You don't need this driver if you have a tablet piezo beeper
in your PC instead of the real speaker.
- It should not hurt to say Y or M here in all other cases.
+ Say N if you have a sound card.
+ Say M if you don't.
+ Say Y only if you really know what you do.