lidsuspend in 11

Programming issues and discussion
Marv
Proficient
Posts: 81
Joined: 16 May 2013, 16:42

lidsuspend in 11

Postby Marv » 14 Sep 2013, 17:45

Works basically as in 8,9,10 on my fujitsu s6520 and fujutsu 6110/6120 laptops. Install acpid using pacman. Install pm-utils using pacman. Modify the /acpi/handler.sh file per attached, and set up starting acpid per attached. I call the acpid_load file in /etc/init.d from /root/.start.sh rather than in rc.conf so it is restarted if I restart X. Posting from 11 on the s6520, the core 2 duo machine. Suspend from the power button could also be set up easily by calling pm-suspend in the appropriate case in the handler.sh analagous to the call in the lid case. Conservative governor bonus in the attachment is what I use, called from the daemons line in /etc/rc.conf.
Attachments
lidsuspend.tar.gz
Scripts needed for lidsuspend in 10 and 11
(1.13 KiB) Downloaded 412 times

john3voltas
Expert
Posts: 266
Joined: 19 May 2013, 21:53

Re: lidsuspend in 11

Postby john3voltas » 05 Oct 2013, 10:55

Excellent work Marv :)


Return to “Scripting and Programming”

Who is online

Users browsing this forum: No registered users and 11 guests

cron