요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
============
APM or ACPI?
============
If you have a relatively recent x86 mobile, desktop, or server system,
odds are it supports either Advanced Power Management (APM) or
Advanced Configuration and Power Interface (ACPI). ACPI is the newer
of the two technologies and puts power management in the hands of the
operating system, allowing for more intelligent power management than
is possible with BIOS controlled APM.
The best way to determine which, if either, your system supports is to
build a kernel with both ACPI and APM enabled (as of 2.3.x ACPI is
enabled by default). If a working ACPI implementation is found, the
ACPI driver will override and disable APM, otherwise the APM driver
will be used.
No, sorry, you cannot have both ACPI and APM enabled and running at
once. Some people with broken ACPI or broken APM implementations
would like to use both to get a full set of working features, but you
simply cannot mix and match the two. Only one power management
interface can be in control of the machine at once. Think about it..
User-space Daemons
------------------
Both APM and ACPI rely on user-space daemons, apmd and acpid
respectively, to be completely functional. Obtain both of these
daemons from your Linux distribution or from the Internet (see below)
and be sure that they are started sometime in the system boot process.
Go ahead and start both. If ACPI or APM is not available on your
system the associated daemon will exit gracefully.
===== =======================================
apmd http://ftp.debian.org/pool/main/a/apmd/
acpid http://acpid.sf.net/
===== =======================================
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
APM과 ACPI의 차이
1-10비교적 최신 x86 mobile, desktop, server system은 대개 Advanced Power Management(APM) 또는 Advanced Configuration and Power Interface(ACPI)를 지원합니다.
ACPI는 더 새로운 기술이며 power management를 BIOS가 아니라 operating system에 맡깁니다. 따라서 BIOS가 제어하는 APM보다 지능적인 power management가 가능합니다.
Power management의 주도권이 핵심 차이입니다.
============
APM or ACPI?
============
If you have a relatively recent x86 mobile, desktop, or server system,
odds are it supports either Advanced Power Management (APM) or
Advanced Configuration and Power Interface (ACPI). ACPI is the newer
of the two technologies and puts power management in the hands of the
operating system, allowing for more intelligent power management than
is possible with BIOS controlled APM.
Kernel의 interface 선택
11-23System이 무엇을 지원하는지 확인하는 가장 좋은 방법은 ACPI와 APM을 모두 enable한 kernel을 build하는 것입니다. 2.3.x부터 ACPI는 기본 enable입니다.
동작하는 ACPI 구현이 발견되면 ACPI driver가 APM을 override하고 disable합니다. 그렇지 않으면 APM driver를 사용합니다.
ACPI와 APM을 동시에 실행할 수는 없습니다. 구현 하나가 깨져 다른 쪽 기능과 섞고 싶더라도 두 interface를 mix-and-match할 수 없습니다. Machine의 power management는 한 번에 하나의 interface만 제어할 수 있습니다.
둘 다 build해도 runtime에는 하나만 machine을 제어합니다.
The best way to determine which, if either, your system supports is to
build a kernel with both ACPI and APM enabled (as of 2.3.x ACPI is
enabled by default). If a working ACPI implementation is found, the
ACPI driver will override and disable APM, otherwise the APM driver
will be used.
No, sorry, you cannot have both ACPI and APM enabled and running at
once. Some people with broken ACPI or broken APM implementations
would like to use both to get a full set of working features, but you
simply cannot mix and match the two. Only one power management
interface can be in control of the machine at once. Think about it..
User-space daemon
24-36APM과 ACPI가 완전히 동작하려면 각각 user-space daemon `apmd`와 `acpid`가 필요합니다. Linux distribution 또는 원문 링크에서 받아 boot 과정에 시작해야 합니다.
두 daemon을 모두 시작해도 됩니다. System에서 대응하는 ACPI 또는 APM interface를 사용할 수 없으면 해당 daemon은 정상적으로 종료합니다.
Kernel이 선택한 interface에 대응하는 daemon만 계속 동작합니다.
User-space Daemons
------------------
Both APM and ACPI rely on user-space daemons, apmd and acpid
respectively, to be completely functional. Obtain both of these
daemons from your Linux distribution or from the Internet (see below)
and be sure that they are started sometime in the system boot process.
Go ahead and start both. If ACPI or APM is not available on your
system the associated daemon will exit gracefully.
===== =======================================
apmd http://ftp.debian.org/pool/main/a/apmd/
acpid http://acpid.sf.net/
===== =======================================
요약·해설
apm-acpi.rst:1-36ACPI와 APM을 함께 build할 수는 있지만 runtime에는 하나만 machine을 제어합니다. 정상 ACPI가 있으면 APM을 disable하고, 각 interface는 user-space daemon으로 event 처리를 완성합니다.