LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-11-2010, 04:42 PM   #1
Stevithen
Member
 
Registered: Sep 2009
Distribution: Debian
Posts: 55

Rep: Reputation: 15
Audio disables after 11 secs when unused on battery power - How to stop this?


Is there an ACPI script or something?

Seems to occur only after the latest update.. Seems to disable ALSA after 11 seconds without sound and makes a loud cap-POP!! when sound starts again, i don't think that's worth what power it conserves so rather let it just stay on.
 
Old 03-14-2010, 03:23 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
This is probably controllable/settable using either the sysctl method (setting states by echoing commands into /sys/somewhere) or by using a module option in /etc/modprobe.d/alsa.conf or a similar file either pre-existing or of your own creation.

Either method depends mostly on what particular audio device (what sound chip) you are using, and which driver module, and also, it may help to tell us which Linux you are using (is it the SuSE Linux? You appear to have posted from a Solaris machine.).

If you know what sound driver you are using, you can query it for options that it accepts; as an example, if you have a sound chip that uses the snd_hda_intel driver (the Intel HDA driver) you would try:
Code:
shell# modinfo snd_hda_intel
and in the output, examine the lines beginning with "parm:" as these are "parameters" that the driver accepts. Maybe there's a power_save parameter (the snd_hda_intel module apparently does have such an option) which you could set to "0" for no power saving, or "10" for max power saving.

Sasha
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop processes when on battery to save power unihiekka Linux - Laptop and Netbook 7 10-12-2008 04:18 PM
battery power navarre9 Linux - Laptop and Netbook 5 04-10-2006 06:17 PM
Hang on Battery Power karunesh Linux - Laptop and Netbook 1 10-18-2005 09:45 PM
Laptop Battery power Ryan450 Linux - Laptop and Netbook 5 06-06-2004 07:31 PM
how to get battery power management wendallsan Linux - Laptop and Netbook 7 10-16-2003 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration