* 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
* Re: pcspkr only loaded after waking up from sleep
2018-04-19 19:33 ` Alex Kost
@ 2018-04-20 10:38 ` Pierre Neidhardt
2018-04-21 19:31 ` Chris Marusich
0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2018-04-20 10:38 UTC (permalink / raw)
To: Alex Kost; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
Just rebooted with my new pcspkr-less system configuration, and now I have
no sound at all!!
Weird... I'll keep investigating.
Otherwise a `xset -b` or `amixer set beep 0% mute` should be enough.
--
Pierre Neidhardt
[-- 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-20 10:38 ` Pierre Neidhardt
@ 2018-04-21 19:31 ` Chris Marusich
2018-04-22 6:07 ` Pierre Neidhardt
0 siblings, 1 reply; 7+ messages in thread
From: Chris Marusich @ 2018-04-21 19:31 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: Alex Kost, help-guix
[-- Attachment #1: Type: text/plain, Size: 414 bytes --]
Pierre Neidhardt <ambrevar@gmail.com> writes:
> Just rebooted with my new pcspkr-less system configuration, and now I have
> no sound at all!!
>
> Weird... I'll keep investigating.
> Otherwise a `xset -b` or `amixer set beep 0% mute` should be enough.
Apparently there are various ways to control the beep. Check out:
https://wiki.archlinux.org/index.php/PC_speaker#Disable_PC_Speaker
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pcspkr only loaded after waking up from sleep
2018-04-21 19:31 ` Chris Marusich
@ 2018-04-22 6:07 ` Pierre Neidhardt
0 siblings, 0 replies; 7+ messages in thread
From: Pierre Neidhardt @ 2018-04-22 6:07 UTC (permalink / raw)
To: Chris Marusich; +Cc: Alex Kost, help-guix
[-- Attachment #1: Type: text/plain, Size: 493 bytes --]
Chris Marusich <cmmarusich@gmail.com> writes:
> Pierre Neidhardt <ambrevar@gmail.com> writes:
>> Otherwise a `xset -b` or `amixer set beep 0% mute` should be enough.
>
> Apparently there are various ways to control the beep. Check out:
>
> https://wiki.archlinux.org/index.php/PC_speaker#Disable_PC_Speaker
Indeed, that's where I got the above two commands from! :)
--
Pierre Neidhardt
Harrison's Postulate:
For every action, there is an equal and opposite criticism.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ 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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.