  Linux ACPI-HOWTO
  Ariel Glenn (ariel@columbia.edu)
  v 0.1c, 16 July 2000
  The Linux Japanese FAQ Project (JF@linux.or.jp)
  v 0.1cj, 24 December 2000

  ̕ Linux  ACPI hCõRpCCXg[юg
  ƁAAvP[VƂ̊֘AɂċLq܂B̍̕ŐVł
  http://www.columbia.edu/~ariel/acpi/acpi_howto.txt ł܂B
  ______________________________________________________________________

  ڎ

  1. ʓIȏƕKvȃn[hEFA
     1.1 ͂߂
     1.2 Copyright notice and disclaimer
     1.3 ̕ύX
     1.4 ŐV acpi hCo acpid pbP[W pmtools pbP[W͂ǂ Aǂł邩H
     1.5 oCizzœł邩H
     1.6 ǂ̃`bvZbgT|[gĂ邩H
     1.7 ǂ̃J[lT|[gĂ邩H
     1.8 ǂ BIOS T|[gĂ邩H
     1.9 Cɓ (T|[gĂȂ) VXe T|[ĝH
     1.10 ACPI \͂̉T|[gĂ邩H
     1.11 [OXgƑ̏

  2. RpCƃCXg[
     2.1 OƃJ[l̃ZbgAbv
     2.2 acpid  acpictl ̃rhƃCXg[
     2.3 pmtools ̃RpCƃCXg[
     2.4 hCoIvV
     2.5 VXe\[X̐ݒ

  3. ̑̃hCo
     3.1 proc GgƂ̎g
     3.2 /var/log/messages  'e820' ̃bZ[ẄӖ͉H

  4. fobÔƃvO~O
     4.1 hCo삵ĂȂBɂĉ𖾂邩H
     4.2 𗧂oO|[g̒o
     4.3 Linux ̃foCXhCol̂߂̎wj

  5. 
  6. NWbgƃCZX
     6.1 NWbg
     6.2 GNU Free Documentation License

  7. {ɂ

  ______________________________________________________________________

  1.  ʓIȏƕKvȃn[hEFA

  1.1.  ͂߂

  "Advanced Configuration and Power Interface" ̗ł ACPI  APM
  (Advanced Power Management) Ɏđ̂łB̎dl͓dǗ
  ɉĉxǗvOAhvCCxgƂ̋@\
  K肵Ă܂BȂA̕ ACPI4Linux O[v̍܂
  ̎vȍƂłdǗ@\ɏW܂B

  Linux ̂߂ ACPI T|[g͍ŋ߂̃J[lƂƂɋhCo
  ƁA acpid pbP[WɊ܂܂f[ƃNCAgApmtools ƌĂ
  ͂ƃfobÕc[W߂̂琬܂B̃pbP[W
  ƃhCo͂܂J̏iKłB肵\tgEFAƍlׂ
  ͂܂BgpOɁAׂ\hĂB
  ł̐l̃eXgƃfobOsA@\ǉĂ
  ̂ŁAɐiiɂȂł傤B񂠂Ȃ̗͓Y͑劽}
  I

  ̕ɂĂ̒ĂAӌ΁A ariel@columbia.edu 
  őĂBhCõoO|[g͑Ȃł\\hC
  õoO̕񍐕@̏ڍׂ̓ZNV 4.2 (𗧂oO|[g̒o) 
  QƂĂB

  1.2.  Copyright notice and disclaimer

  Copyright (c) 2000 Ariel T. Glenn

  Permission is granted to copy, distribute and/or modify this document
  under the terms of the GNU Free Documentation License, Version 1.1
  or any later version published by the Free Software Foundation;
  with no Invariant Sections, with no Front-Cover Texts, and with
  no Back-Cover Texts. A copy of the license is included in the section
  entitled "GNU Free Documentation License".

  This document is provided ``AS IS'', with no express or implied
  warranties.  Use the information in this document at your own risk.

  1.3.  ̕ύX

       0.1c  pmtest̃XNvgƃ[eBeB̕ǉ
             ACPI dl̃o[WԍC
             2.4.0-test3тȍ~̃J[lɊ܂܂hCȍǉ
             (V /proc C^[tF[XAV acpid @\̌A
             hCoIvV̕ύX)

  1.4.  ŐV acpi hCo acpid pbP[W pmtools pbP[W͂
   Aǂł邩H

  acpi hCo̍ŐVo[W͂ԐV Linux ̃J[lɊ܂
  ܂B̕Ă鎞_ł 2.4.0-test5-pre1 łBJ[l
  ftp://ftp.kernel.org/ ł܂B̂̃o[Wɂ̂ڂăh
  Cogpb`͂܂B

  ŐV acpid  2.4.0-test3 тȍ~̃J[l AML C^[v
  ^Lɂ̂̂ŁAacpid-071100.tar.gz łBłȂ̂
  acpid-052200.tar.gz łBŐV pmtools  pmtools-060600.tar.gz 
  BŐṼo[W
  http://www.geocities.com/SiliconValley/Hardware/3165/ A~[TCg
   http://phobos.fs.tum.de/acpi/download.html ł܂B
  ̃pbP[W͑S̃\[X܂݂܂B

  1.5.  oCizzœł邩H

  \\hCo͊JJ[lɊ܂܂Ă邾Ȃ̂ŁARpC
  ݂̃o[W͓ł܂Bacpid  pmtools JiK̃\tg
  EFAȂ̂œlɃoCizz͗pӂĂ܂B

  1.6.  ǂ̃`bvZbgT|[gĂ邩H

  _Iɂ́AACPI ɏ̓T|[g܂Bۂɂ́A
  ACPI ̂oׂĂ܂B̓IɌƁAhCoΏ
  Ƃ`bvZbg̎łقȓ\܂BhC
  o҂U镑̓IȃVXeF (ɋLq) 
  ȐU镑VXeF (ɋL)

  1.7.  ǂ̃J[lT|[gĂ邩H

  o[W 2.3.19 AJJ[l ACPI hCo܂܂悤ɂ
  ܂B2.2.x ̂߂Ɉxꂽpb`܂AV@
  \ǉĂ 2.2.x ɂ̂ڂĕύXspb`鎎݂͂
  ܂BẴpb`͂͂ł܂B

  1.8.  ǂ BIOS T|[gĂ邩H

  BIOS ̐Ђƃo[WBIOS T|[g ACPI ̔\͂̕\
  http://phobos.fs.tum.de/acpi/bios.sql ł܂B

  1.9.  Cɓ (T|[gĂȂ) VXe T|[g
  ̂H

  ȂpbP[WeXgAȂ ACPI BIOS ɂĂ̏J
  ҂ɑ邱Ƃł΁AɃT|[gł傤BȂ BIOS 
  ߂̐s̃R[hAo΁AɑT|[gł
  B:-)

  Ȃ BIOS ̔\͂𑪒肷@̓ZNV XXX QƂĂ
  B

  1.10.  ACPI \͂̉T|[gĂ邩H

  ݂̂ƂAhCoŃT|[g ACPI \͂́AX[v[h
  (S1)AW[Ap[It (S5) ݂̂łBɃT|[ĝ̓TX
  yhԂ̑̂̂\肳Ă܂\\TXyh񂵂Ȃ
  ́Asuspend-to-disk (nCol[V) Ȃǂ̑̃foCXhCo̍X
  VƓꂳKv邩łB

  1.11.  [OXgƑ̏

  ACPI hCoƂ̃T|[gpbP[W ACPI4Linux vWFNg̍
  ŁA ACPI4Linux vWFNg̃EFuTCg
  http://phobos.fs.tum.de/acpi/ ɂ܂B

  [UƊJ҂Qł郁[OXgĂ܂B̗
  "Subscribe" Ə[ acpi-request@phobos.fs.tum.de ɑ邩A
  [OXgւ̎Q̂߂̃EFuC^[tF[X
  http://phobos.fs.tum.de/mailman/listinfo/acpi ɂ̂łgp
  Qł܂B[OXg̃A[JCu
  http://phobos.fs.tum.de/pipermail/acpi/ ɂ܂B

  ACPI ̂̎dl̓EFu http://www.teleport.com/~acpi/ ɂ
  Bacpid Ŏgp AML C^[v^ ACPI RAR[h
   ACPI R|[lgA[LeN`̏ڍׂ́A
  ftp://download.intel.com/technology/iapc/downloads/cadoc100.zip 
  ł܂B

  2.  RpCƃCXg[

  2.1.  OƃJ[l̃ZbgAbv

  hCõo[W͂Q܂BЂƂ 2.4.0-test3 ÕJ
  [lɊ܂܂o[WłBȉAno-AML-interpreter o[W
  ĂԂƂɂ܂B 2.4.0-test3 сAȍ~̃J[l̃o[
  W CONFIG_ACPI_INTERPRETER  N Ɖso[WƓ
  ł (ȉ̃RtBO[VIvVYQƂ̂)BЂƂ
   2.4.0-test3 сAȍ~̃J[l CONFIG_ACPI_INTERPRETER 
  Y Ɖso[WłBȉAincludes-AML-interpreter o[
  WƌĂԂƂɂ܂B̃hLgǂނɓāAȂg
  phCoǂ̃o[WmĂKvł傤B

  ԐVJ[l (2.4.0-xxx) ɓ邱Ƃn߂ׂłB
  ̃J[l̃o[WɊ܂܂鏉̃hCõo[ẂAԐV
   acpid  pmtools Ƃ̓삪ۏ؂Ă܂B acpid 
  pmtools ̃pbP[Wœło[ẂAŐV̂̂܂
  B

  J[lrĥɕKvȂׂẴpbP[W̍XVKsĂ
   (̂߂̏񂪃J[l\[Xc[̒
  "Documentation/Changes" Ƃt@Cɂ܂̂ŁAQƂĂ
  )B Linux J[l̃rhɂĂ̂ƈʓI "Kernel-
  HOWTO" QƂĂBLinux HOWTO  Linux Documentation Project
  ܂ނ̃TCgňێĂ܂BLinux Documentation Project
   URL ́A http://www.ldp.org/ łB

  ACPI T|[ĝ߂ɂ́AJ[l̃rhKvłB CONFIG_ACPI I
  vV Y ƓĂB(̂Ƃ)IȃT|[głAX
  [v[hgݍ݂ꍇA CONFIG_ACPI_S1_SLEEP IvVɂ Y
  Ɠ΂łB APM T|[g𖳌ɂKv͂܂\\ACPI
  T|[g͎s APM T|[gƁAsĂJ[l
  IɃItɂ܂B 2.4.0-test3 ȍ~̃hCo̐VC^[
  tF[X̂ȂA CONFIG_ACPI_INTERPRETER  Y Ɠ΂
  łBɂA "AML interpreter" gݍ܂A
  /proc/sys/acpi C^[tF[Xɂ̕ύXs܂B

  RtBO[V̌ɁA̂悤ɃJ[lrhCXg[
  ĂB

  /proc/sys/acpi ̎邱ƂɂāAhCõeXgł܂\
  \ /proc/sys/acpi ݂ȂȂAԂJ[l\Ă
  ܂B݂ĂȂAȉ̂悤ɌȂ΂Ȃ܂B

  includes-AML-interpreter hCogĂꍇ

       /proc/sys/acpi/c2_exit_latency
       /proc/sys/acpi/c2_enter_latency
       /proc/sys/acpi/c3_exit_latency
       /proc/sys/acpi/c3_enter_latency
       /proc/sys/acpi/event

  no-AML-interpreter hCogĂꍇ

  /proc/sys/acpi/facp
  /proc/sys/acpi/dsdt
  /proc/sys/acpi/pm1_enable
  /proc/sys/acpi/gpe_enable
  /proc/sys/acpi/gpe_level
  /proc/sys/acpi/event
  /proc/sys/acpi/p_blk
  /proc/sys/acpi/p_lvl2_lat
  /proc/sys/acpi/p_lvl3_lat
  /proc/sys/acpi/enter_lvl2_lat
  /proc/sys/acpi/enter_lvl3_lat
  /proc/sys/acpi/s0_slp_typ
  /proc/sys/acpi/s1_slp_typ
  /proc/sys/acpi/s5_slp_typ.

  ǂ̃hCogĂĂAX[vIvVŃRpC
  A

       /proc/sys/acpi/sleep

  Ȃ΂Ȃ܂B

  no-AML-interpreter hCogĂȂ

       ̃R}hƂł܂B

       cat -v /proc/sys/acpi/facp | more

        'FACP' Ŏn܂AoCǧ̕ OEM \
       ܂BAꂪȂhCoBIOSKȃe
       [uƌƂȂ̂ŁA܂܂B
       ȂȂAu[gIvV (܂̓W[IvV)
       ̂ЂƂݒ肷Kv邩܂BɂĂ̓h
       CoIvṼZNVŋLqĂ܂B

  includes-AML-interpreter hCogĂȂ

       /proc Ɍׂ̂͂܂肠܂B/var/log/messages 
        'ACPI: ACPI support found' ̍s`FbNł܂\\
       sȂA FACP ܂ނׂẴe[u̓[h
       AAML namespace ̃[hlɐĂ܂BȂ
       A̍š̕ 'ACPI: enable failed' Ƃs
       ȂACxg SCI nh̐ݒ肩AACPI [hւ̃VXe
       ڍsŖ肪ƂӖ܂BȂ̂ŁAVXe
       ACPI Cxgł܂BOGĝƏڍׂȋc
       _̓ZNV XXX ɂ܂B

  2.2.  acpid  acpictl ̃rhƃCXg[

  ACPI T|[gJ[lrhAɓK؂ acpid ̃o[W
  _E[hĂBincludes-AML-interpreter hCog
  ĂȂ acpid-071100.tar.gz AႤȂ acpid-052200.tar.gz _E
  [hȂ΂Ȃ܂B

  pbP[WrhfBNg쐬܂Bcd ŃfBNg
  ɓAA[JCu unpack R}h^܂B

       zcat acpid-xxx.tar.gz | tar xvf -

  xxx ̓_E[hpbP[W̃o[WłB

  fBNgŁA

       ./configure

  Ɠ͂ƁApbP[W̍\s܂B

       make

  Ƃƃrhs

       make install

  ƂƃCXg[܂B̃CXg[fBNg
  /usr/local ł邱ƂɒӂĂ\\t@CCXg[
  ꏊ𑼂ɑIԂȂApbP[W̍\Ŏ̂悤ɂKv܂B

       ./configure --prefix=/new/place/to/put/them

       (󒍁F/new/place/to/put/them D݂̏ꏊɒuē͂
       ܂B)

  CXg[vO acpid  acpictl łBł́Aacpid
   /usr/local/sbin ɁAacpictl  /usr/local/bin ɒu܂B_
  ł man y[W͓łȂ̂ŁAꂼ̃vÕNBb
  NT}ɋLڂ܂B
  includes-AML-interpreter hCogĂȂA̍ǂł
  B

       acpid  ACPI CxgĎAf[ł\\[
       U̗v̊ĎƃhCoւ̑Ms܂Bȉ̃IvV
       󂯕t܂B

         -d ܂ --debug    tHAOhŃf[s
         -v ܂ --version  o[Wo

       acpictl  acpid ƒʐM邽߂̃[UNCAgłB
       ̃IvV󂯕t܂B

         -p ܂ --pid           acpid ̃vZX ID o
         -b ܂ --battery       dró\\̃IvV͐VhCo
                                   ł삵܂
         -i ܂ --intermediary  ̃vO acpid Ƃ̒

       ̂Ƃ intermediary IvV́A݉Ă܂
       :-)

  no-AML-interpreter hCogĂȂA̍ǂłB

       acpid  ACPI CxgĎAf[ł\\[
       U̗v̊ĎƃhCoւ̑Ms܂Bȉ̃IvV
       󂯕t܂B

         -d ܂ --debug    tHAOhŃf[s
         -t ܂ --trace    (Ȃ傫) fobOg[X̍쐬
         -v ܂ --version  o[Wo

       tty  debug IvVgp acpid ̎s
       ́AΘbŊẽR}hw肷邱Ƃ[Uɋ܂B
       R}h̃Xg debug [hɂ 'help' R}h^
       邱ƂŌ邱Ƃł܂B

       acpictl  acpid ƒʐM邽߂̃[UNCAgłB
       ̃IvV󂯕t܂B
         -p ܂ --pid           acpid ̃vZX ID o
         -b ܂ --battery       dro
         -i ܂ --intermediary  ̃vO acpid Ƃ̒

       ̂Ƃ intermediary IvV́A݉Ă܂
       :-)

  2.3.  pmtools ̃RpCƃCXg[

  pmtools pbP[Ŵ̃[eBeB̎sɂ perl Kv
  B

  mɈԐV pmtools ̃o[W_E[hĂBpb
  P[WrhfBNg쐬܂Bcd ŃfBNg̒
  AA[JCu unpack R}h^܂B

       zcat pmtools-xxx.tar.gz | tar xvf -

  xxx ̓_E[hpbP[W̃o[WłB

  fBNgŁA

       make

  Ɠ͂ƁApbP[W̃rhs܂B

  [eBeBCXg[@\͖񋟂ĂȂ̂ŁA蓮
  K؂ȏꏊɃ[eBeBRs[܂B

       cp acpianalyze/acpianalyze /usr/local/bin
       cp acpidisasm/acpidisasm /usr/local/bin
       cp acpidmp/acpidmp acpdmp/acpitbl acpidmp/acpxtract /usr/local/bin
       cp pmtest/pmtest /usr/local/bin

  ܂͍D݂̃fBNgɃCXg[ĂłB

  ̃pbP[W񋟂ĂȂ̂ŁANBbNT}ɋL
  ܂B

  acpidmp  root  suid ݒ肵ĎsȂ΂Ȃ܂ (}`[
  UVXeƂĉғĂȂAroot ŎsقłB
  ɂĂŃ}`[UVXeɊJJ[lCXg[Ă
  ́H)B

  acpidmp  ACPI BIOS ɂĒ񋟂e[u{Aw肳ꂽW
  o (stdout) Ƀ_v܂Be[u FACP, DSDT, RSDT ƖÂ
  Ă܂B̃e[u̓m肽̂ȂAACPI o[W 1.0b
  ̎dlĂBO^ acpidmp sꍇAe[u
  ׂĂ{AWo͂Ƀ_v܂B̏ꍇAR}hCł͉
  Ȃ RSDP 邱Ƃł܂B

  acpidmp ͐lԂǂݎo͂쐬܂Bǂ߂悤ɂɂ́Ap
  Cv acpidisasm ɓnKv܂B҂ Sony VAIO F420 ł̗
  ܂B

       acpidmp DSDT | acpidisasm

  쐬ꂽo͂

       00000000: Scope _PR_ (\_PR_)
       00000006:   Processor CPU0 (\_PR_.CPU0)
       0000000d:     0x00
       0000000e:     0x00008010
       00000012:     0x06
       00000013: Name _S0_ (\_S0_)
       00000018:   Package
       0000001a:     0x04
       0000001b:     0x05
       0000001d:     0x05
       0000001f:     0x00
       00000021:     0x00
       00000023: Name _S1_ (\_S1_)
       00000028:   Package
       0000002a:     0x04
       0000002b:     0x04
       0000002d:     0x04
       0000002f:     0x00
       00000031:     0x00
       00000033: Name _S3_ (\_S3_)
       00000038:   Package
       0000003a:     0x04
       ...

  ł (3800 s炢̏o͂̂ŁAxeĂł)B

  L DSDT e[u AML ̎ۂ̉ǌʂłB

  no-AML-interpeter hCogĂȂAAML Ńe[ũwb_
  ̎QƂƓo^̂߂ acpitbl gpł܂\\acpitbl  /proc Gg
  QƂ܂B /proc Gg̓J[l AML interpreter L
  ȂĂƗpł܂B҂ laptop ̗܂B

       acpitbl /proc/sys/acpi/dsdt

  Ƃ΁Ao͂

       Signature:        DSDT
       Length:           11841
       Revision:         0x01
       Checksum:         0x3c
       OEMID:            SONY
       OEM Table ID:     K1
       OEM Revision:     0x20000203
       Creator ID:       MSFT
       Creator Revision: 0x01000007

  ƂȂA dsdt e[ũwb_łB

  FACP e[u@Œׂ܂B

       acpitbl /proc/sys/acpi/facp

  ҂ laptop ł

  Signature:        FACP
  Length:           116
  Revision:         0x01
  Checksum:         0x12
  OEMID:            SONY
  OEM Table ID:     K1
  OEM Revision:     0x20000203
  Creator ID:       PTL
  Creator Revision: 0x000f4240
  FIRMWARE_CTRL:    0x03ffffc0
  DSDT:             0x03ffc924
  INT_MODEL:        0x00
  SCI_INT:          9
  SMI_CMD:          0x000000b2
  ACPI_ENABLE:      0xf0
  ACPI_DISABLE:     0xf1
  S4BIOS_REQ:       0xf2
  PM1a_EVT_BLK:     0x00008000
  PM1b_EVT_BLK:     0x00000000
  PM1a_CNT_BLK:     0x00008042
  PM1b_CNT_BLK:     0x00000000
  PM2_CNT_BLK:      0x00000022
  PM_TMR_BLK:       0x00008008
  GPE0_BLK:         0x0000800c
  GPE1_BLK:         0x00000000
  PM1_EVT_LEN:      4
  PM1_CNT_LEN:      2
  PM2_CNT_LEN:      1
  PM_TM_LEN:        4
  GPE0_BLK_LEN:     4
  GPE1_BLK_LEN:     0
  GPE1_BASE:        0
  P_LVL2_LAT:       10
  P_LVL3_LAT:       4097
  FLUSH_SIZE:       0
  FLUSH_STRIDE:     0
  DUTY_OFFSET:      1
  DUTY_WIDTH:       3
  DAY_ALRM:         0x0d
  MON_ALRM:         0x00
  CENTURY:          0x32
  Flags:            0x00000000

  ƌ܂BȂGg͂łAl͈قȂ邩
  ܂B

  ̕@ƂāAincludes-AML-interpreter hCogĂ
  A/proc ǂޑɁAԊm /dev/mem e[uǂނ
  ł܂B

       acpidmp FACP | acpitbl

  ƂƁAۂ̒lɔɋ߂ʂ
  BCONFIG_ACPI_INTERPRETER  Y Ɠꍇ̂ݗpł@łB

  pmtest ̓foCXhCo̍җpłB҂҂̃hCoɈقȂX
  [vԂ̃T|[gǉ鎞Ɏgp܂B

  pmtest  /proc Ɉȉ̃GgZbgAbvJ[lW[
  łB

       /proc/driver/pmtest/devices

  ̃C^[tF[XǂނƂŁAǂ̃foCXdǗ̂߂ɓo^
  Ă̂AāÃfoCXǂ̏Ԃɂ̂Aׂ邱Ƃ
  ܂BeX̃foCXɂāÂR̍ڂSoĂ܂B

       devicetype deviceid state

  state  0-3 ŁAD0-D3 ̃foCX̏ԂɑΉ܂B devicetype 
  0-5 ŁA/usr/include/linux/pm.h ɗ񋓂ꂽfoCX^CvɑΉ
  B deviceid  /usr/include/linux/pm.h ɋLڂꂽ̈ɑΉ
  ܂B

       /proc/driver/pmtest/control

  ̃t@CɏƂŁA/proc/driver/pmtest/devices ňꗗ\
  foCẌTXyh (D0-D3 ̈) ɒuƂł܂B
  /proc/driver/pmtest/devices Ɠ悤ɁAOq̂R̍
  ڂȂ΂Ȃ܂B

       devicetype deviceid state

  ܂ŐJ[lW[ pmtest 𒼐ڎgpɁA
  fBNg (ł /usr/local/bin) ɂ perl XNvg pmtest
  gׂłBȂH́AȒPA֗Aꂩ (قƂǂ
  R}h) foCX ID ƃ^Cv𐔒lɕϊȂĂłB

  insmod  rmmod Ȃ path ɂ邱ƂmFĂBXNv
  g root ŎsĂBpmtest ̓W[[hA^
  R}hsAꂩ烂W[A[hAƂĂeXg
  ͕֗Ȃ̂łB

  gp@F pmtest [OPTION] [TYPE] [ID]

    OPTION ͎̈łB
      -l                   foCẌꗗ\ (l)
      -d0                  foCXW[ (ACPI D0)
      -d1, -d2, -d3        foCXTXyh (ACPI D1-D3)

    TYPE ͎̈łB
      unknown PCI USB SCSI ISA system

    ID ͎̈łB
      keyboard serial irda floppy vga pcmcia
    邢 /usr/include/linux/pm.h ɂfoCX̐lw肵܂B

  ƂāF
    pmtest -l PCI           PCI Ƃēo^ꂽfoCẌꗗ\
    pmtest -d0 VGA          R\[W[ (悤)
    pmtest -d3 PCI 0x1234    PCI foCXTXyh

  (ACPI Itɂ) ҂ laptop ɂƁAȉ̂悤Ɍ܂B

         [root@devel2 pmtest]# ./pmtest -l
           VGA (D0)
           PCMCIA (D0)
           keyboard (D0)
           PCI 0x0 (D0)

  2.4.  hCoIvV

  includes-AML-interpreter hCogĂȂAs̃IvV
  ͂܂B

  no-AML-interpreter hCogĂȂAACPI hCo (W[
  ܂̓J[lu[gł) sɈȉ̃IvVT|[g
  (󒍁Fl̐͏ȗꂽꍇÃIvVZbgĂ
  ̂ItȂ̂Ӗ܂)B

     on AhCo ACPI foCXTg悤ɂ悤
        ܂B(l̓Zbg)

     off
        hCo ACPI foCX TAACPI Cxgs
        B /proc Gg쐬܂B̃IvV͎s
        ACPI 𖳌ɂ邽߂Ɏg܂BAPM ƂƂ ACPI RpC
        ĂȂÃIvV ACPI ItɂAAPM œdǗC
        xgł܂B (l̓It)

     tables
        ACPI BIOS ͂̃e[upӂĂ܂B̃e[u
        ́AႦ΁A\́AXe[^XWX^ւ̃|C^AX[vԂ
        ڍs邽߂̃WX^ւ̃|C^Ȁ܂ł܂BACPI
        CxgLɂAN߂ɁAhCo͂̃e[u
        g܂BʏÃ`bvZbg͂\͂ƃWX^
        ͂łABIOS pӂe[uĝmƎv
        ÃIvVZbg܂B (l̓It)

     chipset
        OL̃IvV tables Ǝ悤Ȃ̂ŁÃIvV́A
        m̃`bvZbg̃Xg̃`bvZbĝ߂炩ߗpӂ
        e[ugƁAhCoɓ`܂\\Ȃ̃foCX
        ̃Xgɂ̂ŁA BIOS pӂe[uԈႢł͂Ȃ
        ƎvĂꍇÃIvVgĂ݂ĂB݂
        IvVł̃IvVŃT|[g`bvZbg̃Xg
        PIIX4  VIA łB(l̓It)

     no-errata
        ACPI ̎ ()  root-level ACPI table header (RSDP) ̕ύX
         "J" ܂B_Iɂ́ÃIvV͂
        ̕ύX𖳎悤hCoɓ`͂łBۂɂ́A_
        hCõo[WŁÃIvV͎ĂȂ悤
        B

     copy-tables
        ̃IvVZbgĂƁAFACP  DSDT  ACPI ̃e[
        úA炪gOɃ̐VꏊɃRs[܂B
         ACPI BIOS ́AKvƂ܂B BIOS 
        memory map code ɂĂ܂mۂĂȂ low Ƀe[u
        u܂BRs[́AŎgƂ\ȃe[ȕ\ȃX
        ibvVbgƂۏ؂܂B
        /var/log/messages  "ACPI: unreserved memory @ 0xnn!" Ə
        A BIOS ̓Rs[̕Kv BIOS ł邱Ƃ킩܂B(
        lZbgɂ BIOS ̓XgŌ܂Ă܂B݂̃Xg
        Ɋ܂܂Ă̂ AMI łB BIOS ł̂̃IvV
        l̓ItłB)

     trust-tables
        ̃IvV͒ʏAOL copy-table IvVƈꏏɎg
        ܂BBIOS Amemory map code ɂĂ܂mۂĂȂ low
         ACPI e[uJ鎞ɁÃIvVg܂B
        OɑOLƓbZ[W܂Bx\\̃IvV
        gAe[uۂɑ݂ȂȂAJ[lpjbNN
        B (lZbgɂ BIOS ̓XgŌ܂Ă܂B݂
        ̃XgɊ܂܂Ă̂ AMI łB BIOS ł̂̃Iv
        V̊l̓ItłB)

     no-sci
        ̃IvVLȂAACPI ̂߂ irq gpALȃC
        xg⏈Cxg͂܂Bڂ΁Apm1x_evt,
        gpe0, gpe1 WX^ɑ΂ύXs܂BfobOړÎ
        ɃhCo ACPI e[u[hA̃Cxg
        ͂ȂɁÃIvVgƂł傤B(
        l̓It)

     no-c2, no-c3
        OɁAvZbT̓dԂ C2  C3 ̏Ԃɓ邱Ƃ
        Ȃ悤ɁA̃O[oϐZbg܂Bʂ̏
        ̊ԂɁAC2 (CPU ACh)  C3 (LbVXk[v𖳎
         CPU ACh) ̏Ԃ͗ƂLɂ܂B̃Iv
        VZbgƁÃXebv̓XLbv܂Bno-c2 Iv
        VZbgƁAC2 ԂɓȂȂ܂B no-c3 IvV
        ZbgƁAC3 ԂɓȂȂ܂B(l̓Itł)

     no-s1, no-s5
        ̃IvVZbgƁAS1  S5 ̃X[vԂɓ
        ܂B no-s1 IvVZbgƁAS1 Ԃ邢̓X[
        v[hɓȂȂ܂Bno-s5 IvVZbg
        ƁAS5(\tgIt) ԂɓȂȂ܂B(no-s5 ̊l̓It
        łBno-s1 ̊ĺAJ[lRtBO[V
        CONFIG_ACPI_S1_SLEEP `ĂȂȂZbgA`ȂI
        tłB)

  2.5.  VXe\[X̐ݒ

  pci hCo ACPI foCX̓K؂Ȋ݂ pin 邱Ƃł
  ȂȂu[gIvVƂāAJ[l pci=biosirq w肷Kv
  邩܂BʏJ[l IRQ [eBOe[û߂
  mۂꂽ̈̒ PCI ݂̂߂̃e[uT܂B
  Ae[uȂꍇApci=biosirq IvVZbg
  ΁AJ[l PCI BIOS 瓯𓾂悤Ƃ܂B

  ܂ȃP[X ACPI ݂ɃVXeɍ\̑̃foC
  XƏՓ˂Ă邩܂BՓ˂foCX𖳌ɂ邩A
  \邩Ă݂ĂB݂̏Փ˂`FbNɂ

       cat /proc/interrupts

  ƂȀo͂𒲂ׂĂB PCI foCX́AACPI foC
  XƊ݂L邱Ƃł܂\\ׂ̂ẴfoCX́A
  ݂̑̊gpȂ΂Ȃ܂BƂāA҂̃Tvo͂
  Lڂ܂B

       [ariel@devel2 kernel]$ cat /proc/interrupts
                CPU0
         0:  5416567  XT-PIC  timer
         1:    55261  XT-PIC  keyboard
         2:        0  XT-PIC  cascade
         3:   364126  XT-PIC  wvlan_cs
         8:        7  XT-PIC  rtc
         9:      134  XT-PIC  ACPI, Ricoh Co Ltd RL5c478, Ricoh Co Ltd RL5c478 (#2)
        12:   602159  XT-PIC  PS/2 Mouse
        13:        1  XT-PIC  fpu
        14:   129102  XT-PIC  ide0
        15:        9  XT-PIC  ide1
       NMI:        0
       ERR:        0

  /proc/pci ƒׂƁAQ Ricoh foCX PCI oX̃J[h
  oXubWɂ̂Ă܂B̂悤 PCI foCX͋Cyɓ
  ݂Lł܂B

  郆[U IRQ 13  ACPI  fpu Ăƕ񍐂Ă܂\
  \͖{̏Փ˂̃P[XŁAfoCX𐳏ɋ@\ȂAՓ˂
  Ȃ΂Ȃ܂B

  3.  ̑̃hCo

  3.1.  proc GgƂ̎g

  includes-AML-interpreter hCogĂȂA̍ǂł
  B

       /proc/sys/acpi/c2_exit_latency
       /proc/sys/acpi/c3_exit_latency

       ̓xQxR̃vZbT̃X[v (C2 
       C3) 甲o邽߂̑҂Ԃ\܂B́Â悤
       ɎgƂł܂B" df %n o߂܂ C2 ŃX[v
       (%n  C3 Ɉڍs܂ł̑҂ԂƂČςĂ
       )EEE"Bŏ͖ɐݒ肳܂AC2  C3 L
       鎞 FACP e[u̒lɂČ肳܂BhCo
        BIOS ̃e[uǂ߂AƂ炩ߒ` BIOS ̕ς
       ̃e[uMȂA̒l͖̂܂܂łB
       ̂Ƃ́AC2  C3 Ԃ𐳏ɗLɂ邽߂ɂ́Aő
       ȒlɕύXȂ΂Ȃ܂B

       /proc/sys/acpi/c2_enter_latency
       /proc/sys/acpi/c3_enter_latency

        C2  C3 ̃X[vԂɓ邽߂̑҂Ԃ\
       B͔ɒZ肵Ă܂Bŏ͗OŖ
       ȂĂ܂ (炱̏Ԃɂ́A͂ƗLɂ܂œ
       ܂)B

       /proc/sys/acpi/event

       ̃GgǂނƂŁABIOSɂĒʒmꂽ (LɂȂ
       Ă) ACPI CxgɊ֘Atꂽ 16 i邱Ƃ
       ܂B̃EBhE

       cat /proc/sys/acpi/event

       ƂA̃EBhEŗlXȃ{^ƃL[̑g
       ČĂB̂ ACPI CxgƂēo^
  Ă΁ACxg邱ƂłAǂ̂悤ɓo^Ă
  邩킩܂BhCoׂ͂ẴCxgLɂĂ͂
  B no-AML-interpreter hCỏŎgpł邷ׂ
  ̃CxgLɂ@͂܂BhCoɂēd
  {^LɂȂĂĂA /proc/sys/acpid/event 
  ̃CxgƂČ邾łB

       /proc/sys/acpi/sleep

       ɏƂ́AVXeX[vԂɒuݗB̕@
       ł\\̓I

       echo 1 > /proc/sys/acpi/sleep

       Ƃ΁AS1 ɓ܂B

       x\\OɁAsvȃvZXIĂB
       ЂƂAڊo߂̂ɑz肳ĂlXȃL[
       ƂVXe͔FȂ܂(҂̂̂́A
       ݂̃hCoŃL[ƂF܂)B

  no-AML-interpreter hCogĂȂA̍ǂłB

       ACPI  /proc GĝقƂǂ́Aʒmł\\
       ACPI CxgN̂Ɏg܂Bꂼʒm̏ڍׂ
       gLڂ܂B

       /proc/sys/acpi/facp

        FACP e[ũwb_ƃ{fBɃANZX邱Ƃ
       ܂BǂނƂŁAACPI ̔\͂ƌ݂̏Ԃ𕪂邽
       ɒłe[u邱Ƃł܂\\ƂŁAS
       ȃe[ũwb_ƃ{fB̍ւ (ʂ̓hCoɂ芮
       Ă܂) A̃WX^̒l̕ύXÂǂ炩ł
       ܂BFACP e[uǂ݁A𗝉邽߂ɂ́Apmtools
       pbP[Wgł傤B̃R}hsĂ
       B

  acpitbl /proc/sys/acpi/facp

       lԂ̓ǂ߂`Ńe[ũ_v\܂B

       /proc/sys/acpi/dsdt

        DSDT e[ũwb_ƃ{fBɃANZX邱Ƃ
       ܂BO͂܂Afacp Gg̒߂ƓƂ
       ܂Bdsdt Ggǂ݁A𗝉ɂ́ÃR}h
       sƂł傤B

       acpitbl /proc/sys/acpi/dsdt

       Ƃ΁Awb_A

       cat /proc/sys/acpi/dsdt | acpidisasm

       Ƃ (߂ꂽ) AML ǂ߂܂B

       /proc/sys/acpi/pm1_enable

       ̃GgǂނƂŁAǂ̓dǗCxgLɂ
       邩݂邱Ƃł܂BeX̃Cxg̓rbg}XNɑΉ
       Ă܂\\̃}XNɑΉl̃rbgZbgȂCx
       g͗LŁAItȂCxg͖łBACPI ̎ŃT|
       [gĂ邷ׂĂ̓dǗCxgLɂɂ́ÃG
       g "0xffffffff" ܂B̃GgĂ񂾏ꍇA
       Ԃl 0xffffffff ł͂܂BȂȂAׂĂ̒`
       ꂽCxgT|[gĂȂł (T|[g
       ꂽƂƁAׂẴrbg͎ĝȁH)B

  ǂ̃Cxgǂ̃rbg}XNɑΉ邩߂@
  ́EEE

       /proc/sys/acpi/gpe_enable

       ̃GgǂނƂŁAǂ̔ėpCxgLɂĂ
       ݂邱Ƃł܂BOq pm1_enable Ɠ@ł̃G
       g𑀍ł܂B

       ǂ̃Cxgǂ̃rbg}XNɑΉ邩߂@
       ́EEE

       /proc/sys/acpi/gpe_level

       ̃GgǂނƂŁAėpCxgǂ̃xȂ̂
       Ƃł܂\\̃GgɏƂ̓xύX邱
       ƂɂȂ܂ (ڍׂ̓ZNV 4.7 ̃`ChCxg
       rbgɂĂ̋LqĂ)B

       /proc/sys/acpi/event

       ̃GgǂނƂŁABIOSɂĒʒmꂽ (LɂȂ
       Ă) ACPI CxgɊ֘Atꂽ 16 i邱Ƃ
       ܂Bgp1_enable  pm1_enable  0xffffffff Ƃ
       ׂẴCxgLɂĂȂAň̃EBhE
       

       cat /proc/sys/acpi/event

       ƂA̃EBhEŗlXȃ{^ƃL[̑g
       ČĂB̂ ACPI CxgƂēo^
       Ă΁ACxg邱Ƃł܂BႦ΁ÁAd
       {^̕@łB

       ƂāA҂ Sony VAIO ŎsʂȉɎ܂B

       [root@devel2 kernel]# echo 0xffffffff > /proc/sys/acpi/pm1_enable
       [root@devel2 kernel]#  echo 0xffffffff > /proc/sys/acpi/gpe_enable
       [root@devel2 kernel]# cat /proc/sys/acpi/pm1_enable
       0x00000521
       [root@devel2 kernel]# cat /proc/sys/acpi/gpe_enable
       0x00000f01
       (press power button)
       [root@devel2 kernel]# cat /proc/sys/acpi/event
       0x00000001 0x00000000 0x0
       0x00000001 0x00000000 0x0
       0x00000000 0x00000200 0x0

       d{^̉Ƃ݂邱Ƃł܂\\ cat 
       Ō̍słB

       /proc/sys/acpi/p_blk

       (dlɂ) eX̃vZbT̂߂ɂ̈
       \\Ⴆ C2  C3 ̏ԂɃvZbTu悤ȁAv
       ZbT̐Ɏg܂BhCo͂uԂƂ炦ƈ
       ̃vZbTT|[gĂ܂̂ŁA /proc C^[
       tF[Xɂ͂̈̏ꏊ܂Bɒڏ
       Kv͐΂ɂ܂\\̃X[vԂ̏
       Ԃɐ؂芷鎞AhCo݂܂B

       /proc/sys/acpi/p_lvl2_lat
       /proc/sys/acpi/p_lvl3_lat

       ̓xQxR̃vZbT̃X[vԂ甲
       o邽߂̑҂Ԃ\܂B́Â悤ɎgƂ
       ł܂B" df %n o߂܂ C2 ŃX[v (%n  C3
       Ɉڍs܂ł̑҂ԂƂČςĂ)EEE"Bŏ
       ɐݒ肳܂AC2  C3 Lɂ鎞 FACP e
       [u̒lɂČ肳܂BhCo 'chipset' Iv
       VgpȂA̒l͖ɐݒ肳Aĕ
       X܂\\C2  C3 Ԃ𐳏ɗLɂ邽߂ɂ́A
       őÓȒlɕύXȂ΂Ȃ܂BlɁAhCoe[
       u邱ƂłA`bvZbg̎gps
       ȂAŒlݒ肵Ȃ΂Ȃ܂B

  /proc/sys/acpi/enter_lvl2_lat
  /proc/sys/acpi/enter_lvl3_lat

       ̓xQxR̃X[vԂɓ邽߂̑҂
       \܂B͔ɒZ肵Ă܂Bŏ͗OŖ
       ɂȂĂ܂ (炱̏Ԃɂ́A͂ƗLɂ
       ܂œ܂)B

       /proc/sys/acpi/s0_slp_typ
       /proc/sys/acpi/s1_slp_typ
       /proc/sys/acpi/s5_slp_typ

       ́A̏̌AɃVXeK؂ȃX[v
        (S0, S1, S5) ɒu߂ɁApm1a_cnt  pm1b_cnt ɋl
       ޕKv̂l\܂BhCo͂܂
       \\acpid  BIOS ʂĂQƂAhCo󂯎
       lɂĂݒ肷邩hCoɂ˂܂B acpid
       ɖ肪蒼ڂ̒lݒ肵ȂA`bvZbg
       ĐADSDT ̃_v ("acpidmp DSDT | acpidis-
       asm" ̃R}hg) ̏o͂猩邱Ƃł
       BDSDT ̃_v̂̍ɊւƂ͎̂悤Ȃ̂ɂ
       ܂B

       00000013: Name _S0_ (\_S0_)
       00000018:   Package
       0000001a:     0x04
       0000001b:     0x05
       0000001d:     0x05
       0000001f:     0x00
       00000021:     0x00
       00000023: Name _S1_ (\_S1_)
       00000028:   Package
       0000002a:     0x04
       0000002b:     0x04
       0000002d:     0x04
       0000002f:     0x00
       00000031:     0x00
       00000033: Name _S3_ (\_S3_)
       00000038:   Package
       0000003a:     0x04
       0000003b:     0x01
       0000003d:     0x01
       0000003f:     0x00
       00000041:     0x00

       o͂͂񑱂܂BeX̃GĝQԖڂƂRԖڂ̃oC
       ǵALɎO̒lɑΉ܂B

       acpid 삵ĂȂAacpid N /var/log/mes-
       sages ɏނ̒l邱Ƃł܂BƂāA
       ҂̃OGg͈ȉ̂悤ɂȂĂ܂B

       Jun 11 00:51:02 devel2 acpid: S0 SLP_TYP (0x0505)
       Jun 11 00:51:02 devel2 acpid: S1 SLP_TYP (0x0404)
       Jun 11 00:51:02 devel2 acpid: S2 not supported
       Jun 11 00:51:02 devel2 acpid: S3 SLP_TYP (0x0101)
       Jun 11 00:51:02 devel2 acpid: S4 SLP_TYP (0x0000)
       Jun 11 00:51:02 devel2 acpid: S5 SLP_TYP (0x0000)

       łA܂̐lQ𓾂܂A݂ proc Gg
       ł͂܂B

       /proc/sys/acpi/sleep

       ɏƂ́AVXeX[vԂɒuݗB̕@
       ł\\̓I

       echo 1 > /proc/sys/acpi/sleep

       Ƃ΁AS1 ɓ܂B

       x\\OɁAsvȃvZXIĂB
       ЂƂAڊo߂̂ɑz肳ĂlXȃL[
       ƂVXe͔FȂ܂(҂̂̂́A
       ݂̃hCoŃL[ƂF܂)B

  3.2.  /var/log/messages  'e820' ̃bZ[ẄӖ͉H

  /var/log/messages Ɏ̂悤ȃbZ[W邩܂B

       e820: 000000000000f800 @ 0000000003ff0000 (ACPI data)
       e820: 0000000000000800 @ 0000000003fff800 (ACPI NVS)

   15 ̃Tut@NV e820 ́AVXe}bvԂ
   BIOS NĂ܂B

  f[^̈́AlX ACPI e[u܂܂܂Be[u̎gpI
  ƂA OS ̗͂̈߂܂B

  NVS  Non-Volatile-Sleeping Memory ̗ł\\ S4 Ԃɓ
  O OS ۑƕs̈Ƃđz肳Ă܂B̗̈͌
  ߂܂B

  O ACPI ̃f[^̈悪ȂȂA͂ԂAhCoe[
  uȂƂ\܂Bǂɂ삵ĂƎv
  ȂAԂ`bvZbgŗL̏gĂ܂B̂߂Ƀu[gI
  vV݂邱Ƃł܂ (ڍׂ ZNV 2.4 Ă
  )B

  4.  fobÔƃvO~O

  4.1.  hCo삵ĂȂBɂĉ𖾂邩H

  includes-AML-interpreter hCogĂȂA̍ǂł
  B

       ŏɃhCosĂ邩H/proc/sys/acpi Gg
       `FbN邱ƂŊmFł܂B

       Gg΁AhCo BIOS ̂߂ ACPI e[uu
       A`bvZbgɊÂ̂H /var/log/messages
        'ACPI: support found' ̃bZ[W邩ǂŊm
       Fł܂\\̃bZ[W΁AhCo BIOS 
       e[u𓾂Ă܂B̃bZ[WȂƂAh
       Co͏A(PIIX4  VIA ̂߂ɂ炩ߒ`
       ) `bvZbgɊÂgĂ܂B

       e[ugpĂȂAĂ̂H

       acpidmp DSDT | acpidisasm

       

       acpidmp FACP | acpitbl

       ̃R}hg܂B

       d{^Ƃ ACPI CxgƂēo^Ă邩H
       `FbN̂߂

       cat /proc/sys/acpi/events

       ƂAĎĂ\\ꂩ̃EBhEŃp
       [{^܂BύX܂HOłȂlłH
        /var/log/messages  'ACPI: EC GPE' ̂悤ȃGg
       ܂H

       ́AƂ\Iȃ`FbNXgł\\\
       邱ƂĂ܂B

  no-AML-interpreter hCogĂȂA̍ǂłB

       ŏɃhCosĂ邩H/proc/sys/acpi Gg
       `FbN邱ƂŊmFł܂B

       Gg΁AhCo BIOS ̂߂ ACPI e[uu
       A`bvZbgɊÂ̂HhCo tables
       IvVgAhCoĂ邱ƂΊmF
       ܂B

       e[ugpĂȂAĂ̂H

       acpidmp DSDT | acpidisasm

       

       acpidmp FACP | acpitbl

       ̃R}hg܂B

       acpid NĂȂAɎ₵ĂAzXg~
       BdIt͎ۂɓ삵܂ (܂̓R\[ 'Power
  off' ƕ\̂܂܂ł)H

       d{^Ƃ ACPI CxgƂēo^Ă邩H
       `FbN̂߂

       echo "0xffffffff" > /proc/sys/acpi/pm1_enable
       echo 0xffffffff > /proc/sys/acpi/gpe_enable

       Ƃ܂B̎A̃EBhE

       cat /proc/sys/acpi/events

       ƂAĎĂ\\ꂩ̃EBhEŃp
       [{^܂BύX܂HOłȂlłH

       ́AƂ\Iȃ`FbNXgł\\\
       邱ƂĂ܂B

  4.2.  𗧂oO|[g̒o

  ACPI oO񍐂̂ł΁Aǂȉ̏܂łB

  1) gpĂVXȅ
     (}U[{[hA`bvZbgABIOSAVXex_)
  2) J[lO̊֘A
       dmesg | grep -iE 'version|acpi|apm|e820' > kernel.log
     ƂA֘As𓾂܂B
  3) ۂɌȍڍׂƉ\Ȃ炻̍Č@
  4) acpidmp ̏o
       acpidmp > acpidmp.log
     ƂA肵܂Bacpidmp  pmtools pbP[ẄꕔŃZNV 2.3 
     Ă܂B

  no-AML-interpreter hCogĂȂA

  5) fobOIvVLɂ acpid ̏o
       acpid -d >& acpid.log
     Ƃ肵܂Bacpid NbVꍇɌALɑウ
       acpid -dt >& acpid.log
     Ƃ肵tfobOg[X𑗂ĂB
     ӂĂB͔ɑ傫Ȃ܂B

  includes-AML-interpreter hCogĂȂA

  5) fobOIvVLɂ acpid ̏o
       acpid -d >& acpid.log
     Ƃ肵܂B

  6) oO|[gƃOt@C܂Ƃ߂܂B
       tar cvf - bugreport.txt *.log | gzip -9 > bug.tar.gz
     ƂA (Ytt@CD݂܂)  <tt/andy_henroid@yahoo.com/ 
     [܂B
  7) ACPI4Linux [OXg (<tt/acpi@phobos.fs.tum.de/) ɂoO|[g
     ]ׂłBłAOt@C͑ȂłB͂Ȃ
     傫A̐l MULTI-MEGABYTE MAILING LIST MESSAGES ̂߂ɖf
     ւ܂B

  4.3.  Linux ̃foCXhCol̂߂̎wj

  R[̂߂̒ǉ Documentation/pm.txt ̃t@CQƂĂ
  B̃R[́AAPM  ACPI ̂ǂ炩ƈꏏɓ삵܂B
  ȒPɐ܂B

  1. "pm_register" R[ɂAfoCX̊eX̃CX^Xo^
     B

  2. n[hEFAɃANZXO "pm_access" R[܂ (͊m
     Ƀn[hEFAN܂)B

  3. TXyh (ACPI D1-D3) ɈڍsOATXyh̃W
     [ (ACPI D0) ̌ɂȂ "pm_callback" ̓R[܂B

  4. foCXgpȂȂƂA"pm_dev_idle" R[܂ (R[
     邩͔CӂłAR[΃foCX̃ACho͉P
     )B

  5. A[hƂA"pm_unregister" R[ɂAfoCX𖢓o^
     ɂ܂B

  5.  

  6.  NWbgƃCZX

  6.1.  NWbg

  ̏̑ ACPI [OXgʂTɓ܂B
   Andy Henroid ̃[͂ԂLvȏłB̃hLg
  ̈ꕔ̓hCoɊ܂܂t@C pm.txt ė܂\
  \pm.txt  Andy ̓łBoO|[g̏́Aacpid pbP[W
  ƈꏏɒ񋟂镶玝ĂĂ܂B܂ Andy ɂ
  BMichael Johnson ɂoO|[g̓hCo悭Ŗ
  ɗ܂BŌɁAʂȂA͍ŏ̃htgn߂O̗[
  ̑ David Hinds  PCMCIA-HOWTO ̂ŁÃhL
  ĝ߂̘gg݂𓐂ł܂܂B

  6.2.  GNU Free Documentation License

                  GNU Free Documentation License
                     Version 1.1, March 2000

   Copyright (C) 2000  Free Software Foundation, Inc.
       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   Everyone is permitted to copy and distribute verbatim copies
   of this license document, but changing it is not allowed.

  0. PREAMBLE

  The purpose of this License is to make a manual, textbook, or other
  written document "free" in the sense of freedom: to assure everyone
  the effective freedom to copy and redistribute it, with or without
  modifying it, either commercially or noncommercially.  Secondarily,
  this License preserves for the author and publisher a way to get
  credit for their work, while not being considered responsible for
  modifications made by others.

  This License is a kind of "copyleft", which means that derivative
  works of the document must themselves be free in the same sense.  It
  complements the GNU General Public License, which is a copyleft
  license designed for free software.

  We have designed this License in order to use it for manuals for free
  software, because free software needs free documentation: a free
  program should come with manuals providing the same freedoms that the
  software does.  But this License is not limited to software manuals;
  it can be used for any textual work, regardless of subject matter or
  whether it is published as a printed book.  We recommend this License
  principally for works whose purpose is instruction or reference.

  1. APPLICABILITY AND DEFINITIONS

  This License applies to any manual or other work that contains a
  notice placed by the copyright holder saying it can be distributed
  under the terms of this License.  The "Document", below, refers to any
  such manual or work.  Any member of the public is a licensee, and is
  addressed as "you".

  A "Modified Version" of the Document means any work containing the
  Document or a portion of it, either copied verbatim, or with
  modifications and/or translated into another language.

  A "Secondary Section" is a named appendix or a front-matter section of
  the Document that deals exclusively with the relationship of the
  publishers or authors of the Document to the Document's overall subject
  (or to related matters) and contains nothing that could fall directly
  within that overall subject.  (For example, if the Document is in part a
  textbook of mathematics, a Secondary Section may not explain any
  mathematics.)  The relationship could be a matter of historical
  connection with the subject or with related matters, or of legal,
  commercial, philosophical, ethical or political position regarding
  them.

  The "Invariant Sections" are certain Secondary Sections whose titles
  are designated, as being those of Invariant Sections, in the notice
  that says that the Document is released under this License.

  The "Cover Texts" are certain short passages of text that are listed,
  as Front-Cover Texts or Back-Cover Texts, in the notice that says that
  the Document is released under this License.

  A "Transparent" copy of the Document means a machine-readable copy,
  represented in a format whose specification is available to the
  general public, whose contents can be viewed and edited directly and
  straightforwardly with generic text editors or (for images composed of
  pixels) generic paint programs or (for drawings) some widely available
  drawing editor, and that is suitable for input to text formatters or
  for automatic translation to a variety of formats suitable for input
  to text formatters.  A copy made in an otherwise Transparent file
  format whose markup has been designed to thwart or discourage
  subsequent modification by readers is not Transparent.  A copy that is
  not "Transparent" is called "Opaque".

  Examples of suitable formats for Transparent copies include plain
  ASCII without markup, Texinfo input format, LaTeX input format, SGML
  or XML using a publicly available DTD, and standard-conforming simple
  HTML designed for human modification.  Opaque formats include
  PostScript, PDF, proprietary formats that can be read and edited only
  by proprietary word processors, SGML or XML for which the DTD and/or
  processing tools are not generally available, and the
  machine-generated HTML produced by some word processors for output
  purposes only.

  The "Title Page" means, for a printed book, the title page itself,
  plus such following pages as are needed to hold, legibly, the material
  this License requires to appear in the title page.  For works in
  formats which do not have any title page as such, "Title Page" means
  the text near the most prominent appearance of the work's title,
  preceding the beginning of the body of the text.

  2. VERBATIM COPYING

  You may copy and distribute the Document in any medium, either
  commercially or noncommercially, provided that this License, the
  copyright notices, and the license notice saying this License applies
  to the Document are reproduced in all copies, and that you add no other
  conditions whatsoever to those of this License.  You may not use
  technical measures to obstruct or control the reading or further
  copying of the copies you make or distribute.  However, you may accept
  compensation in exchange for copies.  If you distribute a large enough
  number of copies you must also follow the conditions in section 3.

  You may also lend copies, under the same conditions stated above, and
  you may publicly display copies.

  3. COPYING IN QUANTITY

  If you publish printed copies of the Document numbering more than 100,
  and the Document's license notice requires Cover Texts, you must enclose
  the copies in covers that carry, clearly and legibly, all these Cover
  Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
  the back cover.  Both covers must also clearly and legibly identify
  you as the publisher of these copies.  The front cover must present
  the full title with all words of the title equally prominent and
  visible.  You may add other material on the covers in addition.
  Copying with changes limited to the covers, as long as they preserve
  the title of the Document and satisfy these conditions, can be treated
  as verbatim copying in other respects.

  If the required texts for either cover are too voluminous to fit
  legibly, you should put the first ones listed (as many as fit
  reasonably) on the actual cover, and continue the rest onto adjacent
  pages.

  If you publish or distribute Opaque copies of the Document numbering
  more than 100, you must either include a machine-readable Transparent
  copy along with each Opaque copy, or state in or with each Opaque copy
  a publicly-accessible computer-network location containing a complete
  Transparent copy of the Document, free of added material, which the
  general network-using public has access to download anonymously at no
  charge using public-standard network protocols.  If you use the latter
  option, you must take reasonably prudent steps, when you begin
  distribution of Opaque copies in quantity, to ensure that this
  Transparent copy will remain thus accessible at the stated location
  until at least one year after the last time you distribute an Opaque
  copy (directly or through your agents or retailers) of that edition to
  the public.

  It is requested, but not required, that you contact the authors of the
  Document well before redistributing any large number of copies, to give
  them a chance to provide you with an updated version of the Document.

  4. MODIFICATIONS

  You may copy and distribute a Modified Version of the Document under
  the conditions of sections 2 and 3 above, provided that you release
  the Modified Version under precisely this License, with the Modified
  Version filling the role of the Document, thus licensing distribution
  and modification of the Modified Version to whoever possesses a copy
  of it.  In addition, you must do these things in the Modified Version:

  A. Use in the Title Page (and on the covers, if any) a title distinct
     from that of the Document, and from those of previous versions
     (which should, if there were any, be listed in the History section
     of the Document).  You may use the same title as a previous version
     if the original publisher of that version gives permission.
  B. List on the Title Page, as authors, one or more persons or entities
     responsible for authorship of the modifications in the Modified
     Version, together with at least five of the principal authors of the
     Document (all of its principal authors, if it has less than five).
  C. State on the Title page the name of the publisher of the
     Modified Version, as the publisher.
  D. Preserve all the copyright notices of the Document.
  E. Add an appropriate copyright notice for your modifications
     adjacent to the other copyright notices.
  F. Include, immediately after the copyright notices, a license notice
     giving the public permission to use the Modified Version under the
     terms of this License, in the form shown in the Addendum below.
  G. Preserve in that license notice the full lists of Invariant Sections
     and required Cover Texts given in the Document's license notice.
  H. Include an unaltered copy of this License.
  I. Preserve the section entitled "History", and its title, and add to
     it an item stating at least the title, year, new authors, and
     publisher of the Modified Version as given on the Title Page.  If
     there is no section entitled "History" in the Document, create one
     stating the title, year, authors, and publisher of the Document as
     given on its Title Page, then add an item describing the Modified
     Version as stated in the previous sentence.
  J. Preserve the network location, if any, given in the Document for
     public access to a Transparent copy of the Document, and likewise
     the network locations given in the Document for previous versions
     it was based on.  These may be placed in the "History" section.
     You may omit a network location for a work that was published at
     least four years before the Document itself, or if the original
     publisher of the version it refers to gives permission.
  K. In any section entitled "Acknowledgements" or "Dedications",
     preserve the section's title, and preserve in the section all the
     substance and tone of each of the contributor acknowledgements
     and/or dedications given therein.
  L. Preserve all the Invariant Sections of the Document,
     unaltered in their text and in their titles.  Section numbers
     or the equivalent are not considered part of the section titles.
  M. Delete any section entitled "Endorsements".  Such a section
     may not be included in the Modified Version.
  N. Do not retitle any existing section as "Endorsements"
     or to conflict in title with any Invariant Section.

  If the Modified Version includes new front-matter sections or
  appendices that qualify as Secondary Sections and contain no material
  copied from the Document, you may at your option designate some or all
  of these sections as invariant.  To do this, add their titles to the
  list of Invariant Sections in the Modified Version's license notice.
  These titles must be distinct from any other section titles.

  You may add a section entitled "Endorsements", provided it contains
  nothing but endorsements of your Modified Version by various
  parties--for example, statements of peer review or that the text has
  been approved by an organization as the authoritative definition of a
  standard.

  You may add a passage of up to five words as a Front-Cover Text, and a
  passage of up to 25 words as a Back-Cover Text, to the end of the list
  of Cover Texts in the Modified Version.  Only one passage of
  Front-Cover Text and one of Back-Cover Text may be added by (or
  through arrangements made by) any one entity.  If the Document already
  includes a cover text for the same cover, previously added by you or
  by arrangement made by the same entity you are acting on behalf of,
  you may not add another; but you may replace the old one, on explicit
  permission from the previous publisher that added the old one.

  The author(s) and publisher(s) of the Document do not by this License
  give permission to use their names for publicity for or to assert or
  imply endorsement of any Modified Version.

  5. COMBINING DOCUMENTS

  You may combine the Document with other documents released under this
  License, under the terms defined in section 4 above for modified
  versions, provided that you include in the combination all of the
  Invariant Sections of all of the original documents, unmodified, and
  list them all as Invariant Sections of your combined work in its
  license notice.

  The combined work need only contain one copy of this License, and
  multiple identical Invariant Sections may be replaced with a single
  copy.  If there are multiple Invariant Sections with the same name but
  different contents, make the title of each such section unique by
  adding at the end of it, in parentheses, the name of the original
  author or publisher of that section if known, or else a unique number.
  Make the same adjustment to the section titles in the list of
  Invariant Sections in the license notice of the combined work.

  In the combination, you must combine any sections entitled "History"
  in the various original documents, forming one section entitled
  "History"; likewise combine any sections entitled "Acknowledgements",
  and any sections entitled "Dedications".  You must delete all sections
  entitled "Endorsements."

  6. COLLECTIONS OF DOCUMENTS

  You may make a collection consisting of the Document and other documents
  released under this License, and replace the individual copies of this
  License in the various documents with a single copy that is included in
  the collection, provided that you follow the rules of this License for
  verbatim copying of each of the documents in all other respects.

  You may extract a single document from such a collection, and distribute
  it individually under this License, provided you insert a copy of this
  License into the extracted document, and follow this License in all
  other respects regarding verbatim copying of that document.

  7. AGGREGATION WITH INDEPENDENT WORKS

  A compilation of the Document or its derivatives with other separate
  and independent documents or works, in or on a volume of a storage or
  distribution medium, does not as a whole count as a Modified Version
  of the Document, provided no compilation copyright is claimed for the
  compilation.  Such a compilation is called an "aggregate", and this
  License does not apply to the other self-contained works thus compiled
  with the Document, on account of their being thus compiled, if they
  are not themselves derivative works of the Document.

  If the Cover Text requirement of section 3 is applicable to these
  copies of the Document, then if the Document is less than one quarter
  of the entire aggregate, the Document's Cover Texts may be placed on
  covers that surround only the Document within the aggregate.
  Otherwise they must appear on covers around the whole aggregate.

  8. TRANSLATION

  Translation is considered a kind of modification, so you may
  distribute translations of the Document under the terms of section 4.
  Replacing Invariant Sections with translations requires special
  permission from their copyright holders, but you may include
  translations of some or all Invariant Sections in addition to the
  original versions of these Invariant Sections.  You may include a
  translation of this License provided that you also include the
  original English version of this License.  In case of a disagreement
  between the translation and the original English version of this
  License, the original English version will prevail.

  9. TERMINATION

  You may not copy, modify, sublicense, or distribute the Document except
  as expressly provided for under this License.  Any other attempt to
  copy, modify, sublicense or distribute the Document is void, and will
  automatically terminate your rights under this License.  However,
  parties who have received copies, or rights, from you under this
  License will not have their licenses terminated so long as such
  parties remain in full compliance.

  10. FUTURE REVISIONS OF THIS LICENSE

  The Free Software Foundation may publish new, revised versions
  of the GNU Free Documentation License from time to time.  Such new
  versions will be similar in spirit to the present version, but may
  differ in detail to address new problems or concerns. See
  http:///www.gnu.org/copyleft/.

  Each version of the License is given a distinguishing version number.
  If the Document specifies that a particular numbered version of this
  License "or any later version" applies to it, you have the option of
  following the terms and conditions either of that specified version or
  of any later version that has been published (not as a draft) by the
  Free Software Foundation.  If the Document does not specify a version
  number of this License, you may choose any version ever published (not
  as a draft) by the Free Software Foundation.
  ADDENDUM: How to use this License for your documents

  To use this License in a document you have written, include a copy of
  the License in the document and put the following copyright and
  license notices just after the title page:

        Copyright (c)  YEAR  YOUR NAME.
        Permission is granted to copy, distribute and/or modify this document
        under the terms of the GNU Free Documentation License, Version 1.1
        or any later version published by the Free Software Foundation;
        with the Invariant Sections being LIST THEIR TITLES, with the
        Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
        A copy of the license is included in the section entitled "GNU
        Free Documentation License".

  If you have no Invariant Sections, write "with no Invariant Sections"
  instead of saying which ones are invariant.  If you have no
  Front-Cover Texts, write "no Front-Cover Texts" instead of
  "Front-Cover Texts being LIST"; likewise for Back-Cover Texts.

  If your document contains nontrivial examples of program code, we
  recommend releasing these examples in parallel under your choice of
  free software license, such as the GNU General Public License,
  to permit their use in free software.

  7.  {ɂ

  |Ɋւ邲ӌ JF vWFNg <JF@linux.or.jp> ɘAĂ
  B

     v 0.1cj
        |: {_ <hng@ps.ksky.ne.jp>

        Z:
        㓡됰 <magotou@town.yachiyo.hyogo.jp>

