¤j³¡¥÷ªº¥iÄ⦡¨t²Î¡A©Î¬Æ¦Ü«Ü¦h®à¤W«¬¹q¸£³£¦³¤ä´© APM¡A¥ý¶i¯à·½ºÞ²z ¬[ºc¡C ¥»³¹¸`¦b½Í¦p¦ó¦b§Aªº Linux ®Ö¤ß¤º±Ò°Ê APM ªº¤ä´©¡C ¨º¨Ç¨Ï¥Î Linux «Ü¦³¸gÅ窺¤H¥i¯à·|ı±o¥»³¹¸`«ÜµL²á¦Ó·Qn¸õ¨ì¤U¤@³¹¸`¡C
§Ú¤£·Q¦b³o¨à¸Ô²Ó½Í³oÓÃD¥Ø¡A½Ð¬Ý¬Ý¦b
http://www.cs.utexas.edu/users/kharker/linux-laptop/apm.html
¤ºªº Linux APM ÅX°Êµ{¦¡ºô¶ ¦³¸Ô²Óªº¸ê°T¡C§A©Ò»Ýnª¾
¹Dªº¬O¡A¦³¤F APM ªº¨ó§U¡A·í¨S¦³Ô£»ò¨Æn°µ®É CPU ¥i¥H§i¶D BIOS ¨ÓÅý
BIOS ´x±±¥¦¦Ûªº¸`¬Ù¯à·½±¹¬I¡A¤ñ¦p»¡Ä~Äò°Ê§@®É¡Abios ·|¦Û¤vt³d³¡¥÷
ªº¯à·½¸`¬Ù¡Ð¨Ò¦p¡A°§C CPU ®É¯ß¡BÃö³¬µwºÐ¡BÃö±¼¿Ã¹õªºI¥úµ¥µ¥¡C
Apm ÁÙt³d `` ¨t²ÎÄa¸m '' (©ÎºÙ `` ºÎı '') ¼Ò¦¡¥H¤Î `` Äa¸m¨ìºÏºÐ
'' (©ÎºÙ `` ¥V¯v '') ¼Ò¦¡¡C ¥t¤@«Ü´Îªº¯SÂI¡AÁöµM¨Ã¤£¬O«Ü«n¡A¦ý¦]
¬° apm ªº¨ó§U¡Ashutdown -h
¨Ã¤£¤î·|°±¤î§Aªº¨t²Î¦Ó¥BÁÙ·|±N¥¦µ¹
Ãö¾÷®@!
(ÃD¥~¸Ü¡A ¤j³¡¥÷ªº Linux ¨t²Î±N shutdown -r
©ñ¦b¥¦Ìªº
/etc/inittab
¤º¡A¥Î°µ¹ï¬M¨ì«ö¨ì control-alt-delete ²Õ¦XÁä
®É°Ê§@¡C §Ú¸û³ßÅw±N shutdown -h
©ñ¦b³o¨à¡A ©Ò¥H·í§ÚÌ«ö¤F³oÓ
CTL+ALT+DEL ²Õ¦XÁä®É¡A§Úªºµ§°O¹q¸£´N¥u²³æ¦a±N¥¦¦Û¤vÃö¾÷¡C)
¨Ã¤£¬O©Ò¦³ªº»s³y°Ó³]p¤F¥¿½Tªº apm bios¡A ¤]¦]¦¹¦³¨Çµ§°O¹q¸£¦b¨Ï¥Î Linux apm ÅX°Êµ{¦¡®É·|¦³¨Ç³Â·Ð¡C(¦pªG§Aªº¾÷¾¹¦b¨Ï¥Î apm ®É¦³°ÝÃD¡A ¤j³¡¥÷·|¦b Linux ±Ò°Ê®É©Î±qÄa¸m«ªð®É·|¦³Âê¦í¤£°Êªº±¡§Î )¡C ¦pªG§A ¨Ã¤£½T©w¡A½ÐÀ˵ø Linux µ§°O¹q¸£ºô¶¤¤¦³Ãö§Aªº¹q¸£«¬¸¹ªº¸ê®Æ¡C
«D±`²³æ¡Ð¥u»Ý«·s½sĶ Linux ®Ö¤ßµ{¦¡¡C ¦pªG§A¤£ª¾¹D¦p¦ó°µ¡A½Ð¾\Ū Kernel-HOWTO¡C
·í«Øºc¤â½Z°õ¦æ¨ì ``character devices'' ³oÓ¦a¤è®É¡A ¦b®Ö¤ß 2.0.30 ª© (§t ) ¥H¤W¹ï©ó§¹¾ãªº apm bios ¤ä´©³]©w¦p¤U:
Advanced Power Management BIOS support: Yes
Ignore USER SUSPEND: No
Enable PM at boot time: Yes
Make CPU Idle calls when idle: Yes
Enable console blanking using APM: Yes
Power off on shutdown: Yes
½Ð¾\Ū«Øºc¤â½Zªº»²§U¤å¥ó¡Cùر¦³»¡¨ìþӿﶵ¬O°µÔ£»ò¥Îªº²Ó¸`¡A©Ò¥H ¦b³o¨à§Ú´N¤£¦AÂØz¤F¡C
¦pªG§Aªº¨t²Î¨Ã¨S¦³§¹¾ã¦a¤ä´© apm bios ªº¼Ð·Ç¡A¿ï¶µ¤¤¦³¨Ç¶µ¥Ø¥i¯à·| Åý§Aªº¨t²Î·í¾÷¡C §A¥i´ú¸Õ©Ò¦³ªº apm ¯SÂI»P·sªº®Ö¤ßªº°t¦Xª¬ªp¡A³o¼Ë §Y¥i½T©w¬O§_©Ò¦³À³¸Ó¦³ªº³£¥i¥¿±`¤u§@¤F¡C
(
* ³Æµù * Ãö©ó±±¨î¥xÅܦ¨
ªÅ¥Õ: David Bateman §i¶D§Ú»¡¡A ¦b¨Ï¥Î XFree 3.2 ª©®É¤d¸U¤£n±N¥¦¥´
¶}:
`` ¥¦ªº¯gª¬¬O·í X ±Ò°Ê®É¾ãӿùõ·|Åܦ¨ªÅ¥Õ¡A³q±`¥un«öÓÁä§Y¥iײz
³oÓª¬ªp¡C ³o¬Oӫܤp¦ý«Ü°Q¤H¹½ªº°ÝÃD¡C¤U¤@ª©ªº XFree ±N·|¹ï«Ü¦hªº
µ§°O¹q¸£ªº´¹¤ù¦³«Ü¦nªº DPMS ¤ä´©¡A ¨ä¤¤À³¸Ó¥]¸ÜÃö±¼ LCD ªºµ{¦¡½X¡C
§A¥i¬d¬d¬Ý¦b XFree 3.2A ¤º¦³Ãö©ó xset
ªº man ¶¡CDavid ÁÙ»¡§A
ªº¿Ã¹õªºI¥ú¤§¹Ø©R§¹¥þ¨ú¨M©ó¥¦³Q¶}Ãöªº¦¸¼Æ¦h¹è: `` ³o´N¬O¹q¦À¹Ø©R
»P¿Ã¹õI¥ú¹Ø©R¤§¶¡³½»Pºµ´xµLªkݱoªº¨Æ¤F¡C'')
( q¥¿: ¨Ï¥Î XFree 3.3 ®É³oÓ°ÝÃD¤´¦b§Úªºµ§°O¹q¸£¤Wµo¥Í¡C¦³¤H §i¶D§Ú¥H«áªº®Ö¤ßª©¥»´N·|×¥¿³oÓ°ÝÃD¤F¡C)
¦b«·s½sĶ®Ö¤ß¤§«á¡A ½Ð¤Å§Ñ°O«·s½sĶ Linux ªº pcmcia ÅX°Êµ{¦¡¡C
¤j³¡¥÷ÀHµÛ Linux ¨ÑÀ³°Óª©¥»©Òªþªº½sĶ«eªº pcmcia ÅX°Êµ{¦¡³£§â¹ï©ó apm ªº¤ä´©µ¹Ãö³¬¡A¦]¦¹ bios ´NµLªk¥s§Aªº¤¶±¥d±N¤§Ãö³¬ªº¡C
¥t¥~¡A¦pªG§A¤É¯Å¤F·sªº®Ö¤ßª©¥»¦Ó§AªºÂ®֤߬O»P¼Ò²Õª©¥»¸ê°T³o¶µ¥´¶} ®É³Q½sĶªº (³oӿﶵ¥i¦b®Ö¤ß«Øºcªº ``loadable module support( ¥i ¸ü¤J¼Ò²Õ¤ä´©'' ¤@³¹¤¤§ä¨ì )¡C
½Ð¾\Ū PCMCIA-HOWTO¡AùØÀY¦³Ãö©ó¦p¦ó½sĶÅX°Êµ{¦¡ªº«ü¤Þ©Î¬O¨ì
http://hyper.stanford.edu/HyperNews/get/pcmcia/home.html
ªº Linux PCMCIA drivers homepage ºô¶¤¤´M§ä¡C
²{¦b§A¤w¸g¦w¸Ë¤F APM ¤ä´©¤F¡A½Ð¨ì Linux APM drivers page ºô¶
¤¤§â apmd
®M¥ó§ì¨ú¤U¨Ó¡C §A¤]³\¨Ã¤£»Ýn¥¦¡A¦ý¬OÓ¦n¥Îµ{¦¡ªº¶°
µ²¡Capmd
ºëÆF·|°O¿ý§Aªº¹q¦Àªº²ß©Ê¨Ã¥BÁÙ·|¦b¹qÀ£§C®É¶]¥X¨Óĵ§i
§A¡Capm
©R¥O·|¨Ï¥Î¤@Ó shell ©R¥O¨ÓÄa¸m§Aªº¨t²Î¡A¦Ó xapm
·|Åã¥Ü¥X§Aªº¹q¦Àªºª¬ºA¡C
(¶¶±a¤@´£¡A ¦pªG§Aªº pcmcia ¥d±qÄa¸mª¬ºA¤U¦^ÂЮɦ³°ÝÃD¡A§A¥i¥H¬d¬Ý
¬Ý¥t¤@Ó´À¥N apmd
®M¥óªºµ{¦¡¦b
http://www.cut.de/bkr/linux/apmd/apmd.html
¤º¡C¥¦·|¦b¨t²ÎÄa¸m«e§â pcmcia ÅX°Êµ{¦¡¨ø¤U¡A¦Ó¦b«ì´_®É±N³o¨Ç¼Ò²Õ«
¸ü¤J¡C)
Grant Taylor ª±¤F¤@°}¤l apmd
®M¥ó¡A ¥L¦³¤@¨Ç¦³§U¯qªº¤p¯µ³Z¡C
¥Lµo²{¥Lªºµ§°O¹q¸£ªº±qÄa¸m¦^´_®É¡A µwºÐ·|§Ñ¤F¥¦¦Û¤w¦b hdparm
-S
ªº«Ý©R®É¶¡: `` ¨C¦¸¦^´_®É§Ú·|קï apmd
¨Ó«·s³]©w³oÓ³]©w
¡C³o¤]³\¬O¦b¯S©w¨t²Î¤W¤~·|µo¥Í¡A¦ý³o»ò°µ¬O«Ü«nªº......''
(³Æµù: ¦b§Úªºµ§°O¹q¸£¤W¡Abios t³dµwºÐªº«Ý©R¥H¤Î«ì´_쥻ªº¼Æ¾Ú¡A©Ò ¥H§ÚµLªk´ú¸Õ¬O§_³oÓ¤p°ÝÃD¬O¨t²Î¯S©wªº¡C¦pªG³oÓ¤p°ÝÃD§A¤]¹J¨ì¡A½Ð µ¹§ÚÓ°T®§§a¡C )
Grant ÁÙ¦³Ó«Ü´Îªº¤p¯µ³Z¥i¨Ï¥Î
XFree86 ®M¥ó
¥H¤Î apmd
®M¥óªº¨ó§UÅý¿Ã¹õÅܪťաA§A¥i¥H¦b¨º¨à§ä¨ì¡C
¦pªG§Aªº¹q¸£ªº bios ¨Ã¤£¤ä´©¥ô¦óªº¸`¬Ù¯à·½ªº³]©w (´Nºâ¬O«Ü«¬¥B¨S
¦³ apm ¤ä´©ªº¦Ü¤Ö¤]¥i¥H³]©w¥iÅýµwºÐ¥H¤Î¿Ã¹õ°µ«Ý©Rª¬ºA )¡A §A¥i¥H¨Ï
¥Î hdparm -S
¨Ó©w¸q§AªºµwºÐªº«Ý©R®É¶¡¡C³o¼Ë´N«Ü¦³À°§U¤F¡A¦]¬°
µwºÐªº°Ê§@¬Onªá¶O³\¦h¹q¤Oªº¡C §Aªº¨t²ÎÀ³¸Ón¦w¸Ë hdparm
¡A¦]
¦¹½Ð¨Ï¥Î man hdparm
¨ÓŪ¤@Ū³oÓ©R¥Oªº»yªk¡C