Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 229237 Details for
Bug 317273
sys-power/acpid-2.0.4 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
acpid-2.0.4-default.sh
acpid-2.0.4-default.sh (text/plain), 1.19 KB, created by
Pacho Ramos
on 2010-04-26 12:37:44 UTC
(
hide
)
Description:
acpid-2.0.4-default.sh
Filename:
MIME Type:
Creator:
Pacho Ramos
Created:
2010-04-26 12:37:44 UTC
Size:
1.19 KB
patch
obsolete
>#!/bin/sh ># /etc/acpi/default.sh ># Default acpi script that takes an entry for all actions > >set $* > >group=${1%%/*} >action=${1#*/} >device=$2 >id=$3 >value=$4 > >log_unhandled() { > logger "ACPI event unhandled: $*" >} > >case "$group" in > button) > case "$action" in > power) > /etc/acpi/powerbtn.sh > ;; > > # if your laptop doesnt turn on/off the display via hardware > # switch and instead just generates an acpi event, you can force > # X to turn off the display via dpms. note you will have to run > # 'xhost +local:0' so root can access the X DISPLAY. > #lid) > # xset dpms force off > # ;; > > *) log_unhandled $* ;; > esac > ;; > > ac_adapter) > case "$value" in > # Add code here to handle when the system is unplugged > # (maybe change cpu scaling to powersave mode). For > # multicore systems, make sure you set powersave mode > # for each core! > #*0) > # cpufreq-set -g powersave > # ;; > > # Add code here to handle when the system is plugged in > # (maybe change cpu scaling to performance mode). For > # multicore systems, make sure you set performance mode > # for each core! > #*1) > # cpufreq-set -g performance > # ;; > > *) log_unhandled $* ;; > esac > ;; > > *) log_unhandled $* ;; >esac
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 317273
:
229203
| 229237 |
229239