]> git.proxmox.com Git - pve-kernel.git/commitdiff
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:31:10 +0000 (15:31 +0100)
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>
debian/rules

index 24f027fe1f50be24dfc5229b00a9fde483469b39..d344d4c1cc42f09b7307b530b5026f8cff9e08ac 100755 (executable)
@@ -27,6 +27,7 @@ PVE_CONFIG_OPTS= \
 -m CONFIG_CEPH_FS \
 -m CONFIG_BLK_DEV_NBD \
 -m CONFIG_BLK_DEV_RBD \
+-d CONFIG_SND_PCSP \
 -m CONFIG_BCACHE \
 -m CONFIG_JFS_FS \
 -m CONFIG_HFS_FS \