What is the difference between these two modules
pcspkr: PC-Speaker driver
snd_pcsp: PC-Speaker driver
different tutorials call for different ones
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
pcspkr is the standard module; it allows you to control the PC speaker via the input layer. The canonical symlink is
/dev/input/by-path/platform-pcspkr-event-spkr. You can send events to the speaker by writing to it (most other input devices will produce events, which you read from the input device node). The PC speaker is very simple, basically it can play tones of a given frequency, which can be used for beeps with different pitches.
snd_pcsp is an attempt to the use this very limited hardware to produce full PCM sound. It appears as an ALSA device. It doesn't work very well, at least on my system; the sound is barely recognizable. I'd by surprised if a "tutorial calls for it".