From: Matthew Smith on 10 Oct 2009 22:10 Hi folks I'm trying to get this machine running Lenny to suspend to disc when I press the power button. The problem that I'm having is that modifying /etc/acpi/powerbtn.sh or /etc/acpi/powerbtn-acpi-support.sh seems to have no effect. After restarting acpid, pressing the button has no effect at all - neither the one in the original version of the file (do a shutdown) nor mine. Same issue with the lid. Thought I'd have a look in /var/log to see what events are being picked up, but can find no acpi events being logged in either messages, syslog, daemon.log, kern.log or appearing in dmesg, for that matter. I know that I must have some acpi support here as I'm able to look at my battery info through /proc/acpi/battery/BAT1/state. If it's relevant, I'm running the 2.6.30-bpo.1-amd64, which I need for wlan support. Ideas? Cheers M -- Matthew Smith Smiffytech - Technology Consulting & Web Application Development Business: http://www.smiffytech.com/ Blog/personal: http://www.smiffysplace.com/ LinkedIn: http://www.linkedin.com/in/smiffy Skype: msmiffy Twitter: @smiffy -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Matthew Smith on 11 Oct 2009 22:10 Quoth green at 2009-10-12 11:10... > Perhaps you need to look at acpid(8). Find out what the initscript is using, > and try running acpid manually with some of --debug, --foreground, --logevents. Thanks, will do once I've got the machine re-installed. I plan to do more with acpi (like running s2disk when the battery gets to a certain level) so really need to get that logging sorted. Cheers M -- Matthew Smith Smiffytech - Technology Consulting & Web Application Development Business: http://www.smiffytech.com/ Blog/personal: http://www.smiffysplace.com/ LinkedIn: http://www.linkedin.com/in/smiffy Skype: msmiffy Twitter: @smiffy -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: green on 12 Oct 2009 09:40 Matthew Smith wrote at 2009-10-11 21:04 -0500: > I plan to do more with acpi (like running s2disk when the battery gets > to a certain level) so really need to get that logging sorted. In case you are interested, sleepd will do that for you.
From: Alex Samad on 12 Oct 2009 17:40 On Mon, Oct 12, 2009 at 12:34:15PM +1030, Matthew Smith wrote: > Quoth green at 2009-10-12 11:10... > > Perhaps you need to look at acpid(8). Find out what the initscript is using, > > and try running acpid manually with some of --debug, --foreground, --logevents. > > Thanks, will do once I've got the machine re-installed. > > I plan to do more with acpi (like running s2disk when the battery gets > to a certain level) so really need to get that logging sorted. > maybe have alook at acpi_listen to see if acpi is getting the event > Cheers > > M > -- "Compassionate conservatism [is] most importantly, making sure that government is not the answer to people's problems." - George W. Bush 12/05/1998
From: Matthew Smith on 12 Oct 2009 18:10 Quoth Alex Samad at 2009-10-13 08:06... > maybe have alook at acpi_listen to see if acpi is getting the event Thanks - sounds like an easier way than wading through logs. Another useful programme for my toolkit. Cheers M -- Matthew Smith Smiffytech - Technology Consulting & Web Application Development Business: http://www.smiffytech.com/ Blog/personal: http://www.smiffysplace.com/ LinkedIn: http://www.linkedin.com/in/smiffy Skype: msmiffy Twitter: @smiffy -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
|
Next
|
Last
Pages: 1 2 Prev: virtualbox: RTR3Init failed with rc=-1912 (rc=-1912) Next: Computer overheating |