Difference between pages "Package:ACPI Daemon" and "Form:Organization"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m
 
 
Line 1: Line 1:
{{Ebuild
<noinclude>
|Summary=Daemon for Advanced Configuration and Power Interface
__NOTOC__
|CatPkg=sys-power/acpid
|Maintainer=
|Homepage=http://sourceforge.net/projects/acpid2/
|Repository=Gentoo Portage Tree
}}
=== What is ACPI? ===
<blockquote>
"In computing, the Advanced Configuration and Power Interface (ACPI) specification provides an open standard for device configuration and power management by the operating system." ([http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface Wikipedia])
</blockquote>


=== What is acpid? ===
== Add a New Organization ==
<blockquote>
"ACPID is a completely flexible, totally extensible daemon for delivering ACPI events. It listens on a file (''<code>/proc/acpi/event</code>'') and when an event occurs, executes programs to handle the event. The programs it executes are configured through a set of configuration files, which can be dropped into place by packages or by the admin." ([http://acpid.sourceforge.net/ acpid Sourceforge])
</blockquote>


== Preparing to install ==
{{#forminput:form=Organization|query string=namespace=Organization}}
=== Kernel configuration ===
</noinclude><includeonly>
Before we are ready to emerge acpid, it is a good idea to modify a few things in the kernel. If you have not modified your kernel before, you may want to check out the following page on configuring a kernel manually (page to be added..).
{{{for template|Organization}}}
{{TableStart}}
<tr><th class="active">Homepage</th><td> {{{field|Homepage|property=Homepage|input type=text|placeholder=Specify your organization's Web site URL.}}} </td></tr>
<tr><th class="active">Summary</th><td> {{{field|Summary|property=Summary|input type=textarea|placeholder=Summary of your organization.}}} </td></tr>
<tr><th class="active">Funtoo-related Services</th><td> {{{field|Funtoo services|property=Funtoo services|input type=textarea|placeholder=What Funtoo-related services do you offer?}}} </td></tr>
<tr><th class="active">Services</th><td> {{{field|Services|property=Services|input type=textarea|placeholder=What is a general summary of your full service offerings?}}} </td></tr>
{{TableEnd}}


{{kernelop|title=Power management and ACPI options|desc=
== Location ==
[*] ACPI (Advanced Configuration and Power Interface) Support
}}


==== Optional: Other ACPI features ====
{{TableStart}}
Below are the locations and short descriptions of the function of different ACPI options in the kernel. In the majority of cases, you do not have to alter any of these to have a functional ACPI system.  
<tr><th class="active">Geographic Coordinates</th><td>
This section can be used to identify your geographic location. Enter the name of the location (either as an address or in City, State format) into the ''second field'', and click '''Look up Coordinates'''. Geographic Coordinates will then be automatically be placed in the first field.


* '''AC Adapter'''
{{{field
{{kernelop|title=Power management and ACPI options --->|desc=
| Geoloc
ACPI (Advanced Configuration and Power Interface) Support --->
| input type=googlemaps
      < > AC Adapter
| height=300
}}
| width=100%
| autozoom=off
| zoom=2
}}} </td></tr>
<tr><th class="active">Location name</th><td>{{{field|Location name|list}}}</td></tr>
{{TableEnd}}


{{fancynote| If you have a system that can switch between being plugged into AC and using a battery (i.e. a laptop), you should compile this option into your kernel.}}
{{{end template}}}


*  '''Battery'''
== Documentation ==
{{kernelop
|Power management and ACPI options --->|desc=
ACPI (Advanced Configuration and Power Interface) Support --->
      < > Battery
}}
{{fancynote| As its name would suggest, this option adds or removes support for the battery. More specifically, through /proc/acpi/battery. If you have a laptop or other mobile system, you should probably compile this into your kernel.}}


* '''Button'''
Enter documentation or extended information for the organization below.  If you need to add more complex wikitext, use the "Edit" button after saving this page, and enter your wiki text at the bottom. This allows you to provide rich documentation content for the repository.
{{kernelop|title=Power management and ACPI options|desc=
ACPI (Advanced Configuration and Power Interface) Support --->
      < > Button
}}
{{fancynote| This driver handles power, sleep, and other buttons. This driver is recommended because it is necessary for software controlled power-off.}}


* '''Video'''
{{{standard input|free text|rows=30}}}
{{kernelop|title=Power management and ACPI options|desc=
ACPI (Advanced Configuration and Power Interface) Support --->
      < > Video
}}  
{{fancynote| Implements ACPI extensions for integrated graphics devices. Also adds support for setting up a video output. }}


* '''Fan'''
{{{for template|OrganizationFooter}}}
{{kernelop|title=Power management and ACPI options|desc=
{{{end template}}}
ACPI (Advanced Configuration and Power Interface) Support --->
      < > Fan
}}


{{fancynote| Allows user-controlled applications to control fan speeds and access status of fans. }}
{{{standard input|summary}}}


* '''Dock'''
{{{standard input|minor edit}}} {{{standard input|watch}}}
{{kernelop|title=Power management and ACPI options|desc=
ACPI (Advanced Configuration and Power Interface) Support --->
      [ ] Dock
}}
{{fancynote| Builds support in the kernel for docking stations like the Dell Module Bay and the IBM Ultrabay. }}


* '''Processor'''
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
{{kernelop|title=Power management and ACPI options|desc=
ACPI (Advanced Configuration and Power Interface) Support --->
      < > Processor
}}
{{fancynote| Helps save power while processor is idling and is required by several cpufreq drivers.}}
 
* '''Processor Aggregator'''
{{kernelop|title=Power management and ACPI options|desc=
ACPI (Advanced Configuration and Power Interface) Support --->
      < > Processor Aggregator
}}
 
{{fancynote| Allows the host system to practice logical processor idling (a way to reduce power consumption)}}
 
* '''Thermal Zone'''
{{kernelop|title=Power management and ACPI options|desc=
ACPI (Advanced Configuration and Power Interface) Support --->
      < > Thermal Zone
}}
{{fancynote| Enables support for ACPI thermal zones. It is encouraged to enable this option, as your system may be damaged without it. }}
 
== USE Flags ==
{| class="wikitable" style="margin: 1em auto;" width=80%
! width="20%" | Use flag
! width="10%" | Default
! width="10%" | Recommended
! width="60%" | Description
|-
| style="text-align:center;" | selinux
| style="text-align:center;" | No
| style="text-align:center; background-color: red;" | No, unless enabled by profile changes
| style="text-align:center;" | !!Internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur.
|}
 
== Installing acpid ==
=== Emerging ===
After configuring the kernel power management options, we are ready to install {{Package|sys-power/acpid}}. To install acpid, run the following command:
<console>
###i## emerge acpid
</console>
 
=== Adding to rc ===
After you have finished emerging acpid, you may want to add it to the list of rc services to be started with your system at boot.
<console>
###i## rc-update add acpid default
* service acpid added to runlevel default
</console>
Then, run the following to start acpid:
<console>
###i## rc
* starting acpid ...
</console>
[[Category:System]]
[[Category:First Steps]]
{{EbuildFooter}}

Revision as of 21:57, January 7, 2015


Add a New Organization