[arch-general] Laptop beeps after resuming from suspension
Hi folks, I have an encounter with a small but annoying problem. After typing pm-suspend and then resuming my laptop, it sometimes beeps, which never happens if I haven't ever suspend it. For example, when I type too much backspace in VIM, it beeps; when I push the shutdown button, it beeps; when I type Page Down button at the end of the text, it beeps, too. Could you please tell me how to shut its beeping? Thanks, Thomas
On 11.02.2011 06:19, Thomas Dean wrote:
Hi folks,
I have an encounter with a small but annoying problem.
After typing pm-suspend and then resuming my laptop, it sometimes beeps, which never happens if I haven't ever suspend it.
For example, when I type too much backspace in VIM, it beeps; when I push the shutdown button, it beeps; when I type Page Down button at the end of the text, it beeps, too.
Could you please tell me how to shut its beeping?
Thanks, Thomas
It probably loads the pcspkr module. Adding !pcspkr to the modules array in rc.conf might fix it. Otherwise, a rmmod pcspkr in a post-sleep hook in /etc/pm/sleep.d/50-pcspkr (chmod +x it) might workaround it. -- Sven-Hendrik
It probably loads the pcspkr module. Adding !pcspkr to the modules array in rc.conf might fix it. Otherwise, a rmmod pcspkr in a post-sleep hook in /etc/pm/sleep.d/50-pcspkr (chmod +x it) might workaround it.
The only mudule I load is cpufreq.
On Fri, 2011-02-11 at 16:18 +0800, Thomas Dean wrote:
It probably loads the pcspkr module. Adding !pcspkr to the modules array in rc.conf might fix it. Otherwise, a rmmod pcspkr in a post-sleep hook in /etc/pm/sleep.d/50-pcspkr (chmod +x it) might workaround it.
The only mudule I load is cpufreq.
You need to blacklist pcspkr
On Fri, 2011-02-11 at 16:25 +0800, Ng Oon-Ee wrote:
On Fri, 2011-02-11 at 16:18 +0800, Thomas Dean wrote:
It probably loads the pcspkr module. Adding !pcspkr to the modules array in rc.conf might fix it. Otherwise, a rmmod pcspkr in a post-sleep hook in /etc/pm/sleep.d/50-pcspkr (chmod +x it) might workaround it.
The only mudule I load is cpufreq.
You need to blacklist pcspkr
Thank you. Could you please describe what pcspkr is used for? Will there be any problem arising after I blacklist it.
On Fri, Feb 11, 2011 at 10:24 AM, Thomas Dean <tdean9db@gmail.com> wrote:
On Fri, 2011-02-11 at 16:25 +0800, Ng Oon-Ee wrote:
On Fri, 2011-02-11 at 16:18 +0800, Thomas Dean wrote:
It probably loads the pcspkr module. Adding !pcspkr to the modules
array
in rc.conf might fix it. Otherwise, a rmmod pcspkr in a post-sleep hook in /etc/pm/sleep.d/50-pcspkr (chmod +x it) might workaround it.
The only mudule I load is cpufreq.
You need to blacklist pcspkr
Thank you. Could you please describe what pcspkr is used for? Will there be any problem arising after I blacklist it.
No. Have a look at the wiki page [1]. [1] https://wiki.archlinux.org/index.php/Disable_PC_Speaker_Beep -- Cédric Girard
On Fri, 2011-02-11 at 10:31 +0100, Cédric Girard wrote:
On Fri, Feb 11, 2011 at 10:24 AM, Thomas Dean <tdean9db@gmail.com> wrote:
On Fri, 2011-02-11 at 16:25 +0800, Ng Oon-Ee wrote:
On Fri, 2011-02-11 at 16:18 +0800, Thomas Dean wrote:
It probably loads the pcspkr module. Adding !pcspkr to the modules
array
in rc.conf might fix it. Otherwise, a rmmod pcspkr in a post-sleep hook in /etc/pm/sleep.d/50-pcspkr (chmod +x it) might workaround it.
The only mudule I load is cpufreq.
You need to blacklist pcspkr
Thank you. Could you please describe what pcspkr is used for? Will there be any problem arising after I blacklist it.
No. Have a look at the wiki page [1].
[1] https://wiki.archlinux.org/index.php/Disable_PC_Speaker_Beep
Will this affect my listening to music by Rhythmbox?
On Fri, Feb 11, 2011 at 10:45 AM, Thomas Dean <tdean9db@gmail.com> wrote:
Will this affect my listening to music by Rhythmbox?
Why don't you try it and figure it by yourself? Anyway, the answer is no. The PC speaker is not the same as the speaker used to listen to music or other advanced sound. -- Cédric Girard
On Fri, 2011-02-11 at 10:59 +0100, Cédric Girard wrote:
On Fri, Feb 11, 2011 at 10:45 AM, Thomas Dean <tdean9db@gmail.com> wrote:
Will this affect my listening to music by Rhythmbox?
Why don't you try it and figure it by yourself?
Anyway, the answer is no. The PC speaker is not the same as the speaker used to listen to music or other advanced sound.
Well, thank you very much. The problem has been solved perfectly. Disabling it doesn't affect Rhythmbox. But I'm still thinking why it doesn't beep if I don't suspend my computer :-) Is this one of the mysteries in the world?
participants (4)
-
Cédric Girard
-
Ng Oon-Ee
-
Sven-Hendrik Haase
-
Thomas Dean