APM and beep_enable
hallo,
i have the following problem:
normally (at least after booting the machine) sensors reports for the point "beep_enable" the value "Sound alarm disabled". but when the machine wakes up after a suspension (generated by "apm -s", which do a suspend to ram and switch off all fans as it is configured by me through the bios-setup) i get a permanent beeping. now sensors reports "Sound alarm enabled" for "beep_enable". my question is: how can i permanently switch "beep_enable" to "Sound alarm disabled"?
thanks for your efforts!
bye
thomas
Quoted 10 lines
Quoted 9 lines
normally (at least after booting the machine) sensors reports for the point "
beep_enable" the value "Sound alarm disabled". but when the machine wakes up after a suspension (generated by "apm -s", which do a suspend to ram and switch off all fans as it is configured by me through the bios-setup) i get a permanent beeping. now sensors reports "Sound alarm enabled" for "beep_enable". my question is: how can i permanently switch"beep_enable" to "Sound alarm disabled"?
Quoted 2 lines
If APM is changing the sensor settings than you can't permanently do anything without changing APM.
BTW, is there a way to enable or disable this beeping using sensors? I just took a look at the documentation and couldn't find anything related to it.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 7 lines
Quoted 5 lines
BTW, is there a way to enable or disable this beeping using sensors? I just took a look at the documentation and couldn't find anything related to it.
yes, i can simply do an echo of the following form:
Quoted 7 lines
echo "0 65536" >
/proc/sys/dev/sensors/w83627hf-isa-0290/beepand the beeping is disabled, but i must do it manually. it was my hope that the system execute any particular script after the return from a suspend (like the init-scheme during booting the machine, well resume is not a runlevel but...) so that i can do this in an convincing way. is there such a scheme?
Nice trick, I didn't know this one.
Well, I think there is a scheme, but as I seldom used APM myself (my laptop uses ACPI instead), I can't tell you more. What I am sure of is that it aint a lm_sensors related, but apm related, problem, so you should have more luck reading the apm documentation or asking on the apm mailing-list. All you need to look for is how to have arbitrary commands issued when the systems wakes up.
Hope that helps,
Good luck.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
If APM is changing the sensor settings than you can't permanently do anything without changing APM.
Quoted 18 lines · Thomas Siegel
hallo,
i have the following problem:
normally (at least after booting the machine) sensors reports for the point "
beep_enable" the value "Sound alarm disabled". but when the machine wakes up after a suspension (generated by "apm -s", which do a suspend to ram and switch off all fans as it is configured by me through the bios-setup) i get a permanent beeping. now sensors reports "Sound alarm enabled" for "beep_enable". my question is: how can i permanently switch "beep_enable" to "Sound alarm disabled"?thanks for your efforts!
bye
thomas