* pcspkr only loaded after waking up from sleep
@ 2018-04-18 8:30 Pierre Neidhardt
2018-04-18 16:47 ` Alex Kost
0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2018-04-18 8:30 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 998 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pcspkr only loaded after waking up from sleep
2018-04-18 8:30 pcspkr only loaded after waking up from sleep Pierre Neidhardt
@ 2018-04-18 16:47 ` Alex Kost
2018-04-18 18:24 ` Pierre Neidhardt
0 siblings, 1 reply; 7+ messages in thread
From: Alex Kost @ 2018-04-18 16:47 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: help-guix
Pierre Neidhardt (2018-04-18 14:00 +0530) wrote:
> Anyways, I'd like to turn it off for good. Is the following the right
> way to go?
>
> (kernel-arguments '("modprobe.blacklist=pcspkr"))
Yes, it is. I recall I also needed to blacklist "snd_pcsp" module to get
rid of this annoying beep (so I have "modprobe.blacklist=pcspkr,snd_pcsp");
although it was several years ago, maybe it is not necessary anymore.
--
Alex
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pcspkr only loaded after waking up from sleep
2018-04-18 16:47 ` Alex Kost
@ 2018-04-18 18:24 ` Pierre Neidhardt
2018-04-19 19:33 ` Alex Kost
0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2018-04-18 18:24 UTC (permalink / raw)
To: Alex Kost; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 482 bytes --]
Alex Kost <alezost@gmail.com> writes:
>> (kernel-arguments '("modprobe.blacklist=pcspkr"))
>
> Yes, it is. I recall I also needed to blacklist "snd_pcsp" module to get
> rid of this annoying beep (so I have "modprobe.blacklist=pcspkr,snd_pcsp");
> although it was several years ago, maybe it is not necessary anymore.
Thanks! Any idea why the module does not load properly at boot time?
--
Pierre Neidhardt
The world will end in 5 minutes. Please log out.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pcspkr only loaded after waking up from sleep
2018-04-18 18:24 ` Pierre Neidhardt
@ 2018-04-19 19:33 ` Alex Kost
2018-04-20 10:38 ` Pierre Neidhardt
0 siblings, 1 reply; 7+ messages in thread
From: Alex Kost @ 2018-04-19 19:33 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: help-guix
Pierre Neidhardt (2018-04-18 23:54 +0530) wrote:
> Alex Kost <alezost@gmail.com> writes:
>
>>> (kernel-arguments '("modprobe.blacklist=pcspkr"))
>>
>> Yes, it is. I recall I also needed to blacklist "snd_pcsp" module to get
>> rid of this annoying beep (so I have "modprobe.blacklist=pcspkr,snd_pcsp");
>> although it was several years ago, maybe it is not necessary anymore.
>
> Thanks! Any idea why the module does not load properly at boot time?
Sorry, no idea :-)
--
Alex
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-04-22 6:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-18 8:30 pcspkr only loaded after waking up from sleep Pierre Neidhardt
2018-04-18 16:47 ` Alex Kost
2018-04-18 18:24 ` Pierre Neidhardt
2018-04-19 19:33 ` Alex Kost
2018-04-20 10:38 ` Pierre Neidhardt
2018-04-21 19:31 ` Chris Marusich
2018-04-22 6:07 ` Pierre Neidhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).