My laptop only rings the error bell (the PC speaker) after waking up
from sleep.  It does not after a fresh boot.  Or maybe the issue happens
at random.

It seems that pcspkr fails to register properly on boot:

--8<---------------cut here---------------start------------->8---
> dmesg | grep pcspkr
[    2.109740] input: PC Speaker as /devices/platform/pcspkr/input/input5
[    2.127371] Error: Driver 'pcspkr' is already registered, aborting...
[    2.281487] Error: Driver 'pcspkr' is already registered, aborting...
...
[19213.561915] Modules linked in: msr [...] pcspkr [...]
--8<---------------cut here---------------end--------------->8---

19213 is after waking up from sleep, the modules get re-linked I
suppose.  It works from then on.

Anyways, I'd like to turn it off for good.  Is the following the right
way to go?

  (kernel-arguments '("modprobe.blacklist=pcspkr"))

--
Pierre Neidhardt

Anti-trust laws should be approached with exactly that attitude.

Attachment: signature.asc
Description: PGP signature

Reply via email to