]> git.proxmox.com Git - pve-kernel.git/commit
disable alsa snd pcspkr module
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 12 Nov 2019 12:49:19 +0000 (13:49 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 12 Nov 2019 14:45:32 +0000 (15:45 +0100)
commitb1cf66bce12bae9cae548e8384db54a8eb7e2bda
tree134b990b678775ca95bb0bba8526368c88508b2e
parent584fbee1dd8480f42c537bdc107bddc2a7db3e47
disable alsa snd pcspkr module

The PC speaker (beeper) can only be managed by one module, and there
are two which could do so. The very basic INPUT_PCSPKR, and the more
advanced SND_PCSP which allows it to be used as primitive ALSA
soundcard, which for Proxmox Server projects, and all modern
workstations is not much of use.

As they both were aliased to the "pcspkr" module name, and used the
same internal driver name (being a replacment of the other), one
would get the following error message when both are loaded:
"Error: Driver 'pcspkr' is already registered, aborting..."
in the kernel log. This happens as by default both are tried to get
loaded. We do not want the more complex ALSA one, so disable that.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit b481f897703f27387e3dd43fe6bfb21ca3553f14)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/rules