1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
|
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2011-09-05 14:12+0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):6
msgid "Power Management Guide"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(author:title):8
msgid "Author"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(mail:link):9
msgid "earthwings@gentoo.org"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(mail):9
msgid "Dennis Nienhüser"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(author:title):11 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(author:title):14
msgid "Editor"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(mail:link):12
msgid "chriswhite@gentoo.org"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(mail):12
msgid "Chris White"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(mail:link):15
msgid "nightmorph"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(abstract):18
msgid "Power Management is the key to extend battery run time on mobile systems like laptops. This guide assists you setting it up on your laptop."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(version):27
msgid "4"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(date):28
msgid "2011-08-17"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):31
msgid "Introduction"
msgstr ""
#. Remove this note after 6 months - ETA 01/02/2012
#. By then, we can assume that OpenRC migrations are not that frequent
#. anymore and this note can be dropped.
#. ~ Sven Vermeulen
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(impo):41
msgid "Since the introduction of OpenRC, the <c>pmg_switch_runlevel.sh</c> script needs to be updated. If you have issues after the OpenRC upgrade, please update this script according to this guide."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):47
msgid "Capacity and lifetime of laptop batteries have improved much in the last years. Nevertheless modern processors consume much more energy than older ones and each laptop generation introduces more devices hungry for energy. That's why Power Management is more important than ever. Increasing battery run time doesn't necessarily mean buying another battery. Much can be achieved applying intelligent Power Management policies."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):59
msgid "A Quick Overview"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):62
msgid "Please notice that this guide describes Power Management for <e>laptops</e>. While some sections might also suite for <e>servers</e>, others do not and may even cause harm. Please do not apply anything from this guide to a server unless you really know what you are doing."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):69
msgid "As this guide has become rather long, here's a short overview helping you to find your way through it."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):74
msgid "The <uri link=\"#doc_chap2\">Prerequisites</uri> chapter talks about some requirements that should be met before any of the following device individual sections will work. This includes BIOS settings, kernel configuration and some simplifications in user land. The following three chapters focus on devices that typically consume most energy - processor, display and hard drive. Each can be configured separately. <uri link=\"#doc_chap3\">CPU Power Management</uri> shows how to adjust the processor's frequency to save a maximum of energy without losing too much performance. A few different tricks prevent your hard drive from working unnecessarily often in <uri link=\"#doc_chap5\">Disk Power Management</uri> (decreasing noise level as a nice side effect). Some notes on graphics cards, Wireless LAN and USB finish the device section in <uri link=\"#doc_chap6\">Power Management For Other Devices</uri> while another chapter is dedicated to the (rather experimental) <uri link=\"#doc_chap7\">sleep states</uri>. Last not least <uri link=\"#doc_chap8\">Troubleshooting</uri> lists common pitfalls."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):95
msgid "Power Budget For Each Component"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(figure:link):99
msgid "/images/energy-budget.png"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(figure:short):99
msgid "Which component consumes how much energy?"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(figure:caption):99
msgid "Power budget for each component"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):101
msgid "Nearly every component can operate in different states - off, sleep, idle, active to name a few - consuming a different amount of energy. Major parts are consumed by the LCD display, CPU, chipset and hard drives. Often one is able to activate OS-independent Power Management in the BIOS, but an intelligent setup in the operating system adapting to different situations can achieve much more."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):114
msgid "Prerequisites"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):118
msgid "Before discussing the details of making individual devices Power Management aware, make sure certain requirements are met. After controlling BIOS settings, some kernel options want to be enabled - these are in short ACPI, sleep states and CPU frequency scaling. As power saving most of the time comes along with performance loss or increased latency, it should only be enabled when running on batteries. That's where a new runlevel <e>battery</e> comes in handy."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):130
msgid "The BIOS Part"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):133
msgid "First have a look into your BIOS Power Management settings. The best way is to combine BIOS and operating system policies, but for the moment it's better to disable most of the BIOS part. This makes sure it doesn't interfere with your policies. Don't forget to re-check BIOS settings after you configured everything else."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):144
msgid "Setting USE Flags"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):147
msgid "Please check that the <c>acpi</c> USE flag is set in <path>/etc/make.conf</path>. Other USE flags that might be interesting for your system are <c>apm</c>, <c>lm_sensors</c>, <c>nforce2</c>, <c>nvidia</c>, <c>pmu</c>. See <path>/usr/portage/profiles/use*.desc</path> for details. If you forgot to set one of these flags, you can recompile affected packages using the <c>--newuse</c> flag in <c>emerge</c>, see <c>man emerge</c>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):159
msgid "Configuring The Kernel"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):162
msgid "ACPI (Advanced Configuration and Power Interface) support in the kernel is still work in progress. Using a recent kernel will make sure you'll get the most out of it."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):168
msgid "There are different kernel sources in Portage. I'd recommend using <c>gentoo-sources</c> or <c>tuxonice-sources</c>. The latter contains patches for TuxOnIce, see the chapter about <uri link=\"#doc_chap7\">sleep states</uri> for more details. When configuring the kernel, activate at least these options:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):175
msgid "Minimum kernel setup for Power Management (Kernel 2.6)"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):175
#, no-wrap
msgid "\nPower management and ACPI options --->\n[*] Power Management support\n [ ] Software Suspend\n\n ACPI( Advanced Configuration and Power Interface ) Support --->\n [ ] Deprecated /proc/acpi/ files\n [*] AC Adapter\n [*] Battery\n <M> Button\n <M> Video\n [ ] Generic Hotkey\n <M> Fan\n <M> Processor\n <M> Thermal Zone\n < > ASUS/Medion Laptop Extras\n < > IBM ThinkPad Laptop Extras\n < > Toshiba Laptop Extras\n (0) Disable ACPI for systems before Jan 1st this year\n [ ] Debug Statements\n [*] Power Management Timer Support\n < > ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)\n\n CPU Frequency Scaling --->\n [*] CPU Frequency scaling\n [ ] Enable CPUfreq debugging\n < > CPU frequency translation statistics\n [ ] CPU frequency translation statistics details\n Default CPUFreq governor (userspace)\n <*> 'performance' governor\n <*> 'powersave' governor\n <*> 'ondemand' cpufreq policy governor\n <*> 'conservative' cpufreq governor\n <*> CPU frequency table helpers\n <M> ACPI Processor P-States driver\n <*> <i>CPUFreq driver for your processor</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):213
msgid "Decide yourself whether you want to enable Software Suspend, and Sleep States (see below). If you own an ASUS, Medion, IBM Thinkpad or Toshiba laptop, enable the appropriate section."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):219
msgid "The kernel has to know how to enable CPU frequency scaling on your processor. As each type of CPU has a different interface, you've got to choose the right driver for your processor. Be careful here - enabling <c>Intel Pentium 4 clock modulation</c> on a Pentium M system will lead to strange results for example. Consult the kernel documentation if you're unsure which one to take."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):227
msgid "Compile your kernel, make sure the right modules get loaded at startup and boot into your new ACPI-enabled kernel. Next run <c>emerge sys-power/acpid</c> to get the acpi daemon. This one informs you about events like switching from AC to battery or closing the lid. Make sure the modules are loaded if you didn't compile them into the kernel and start acpid by executing <c>/etc/init.d/acpid start</c>. Run <c>rc-update add acpid default</c> to load it on startup. You'll soon see how to use it."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):237
msgid "Installing acpid"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):237
#, no-wrap
msgid "\n# <i>emerge sys-power/acpid</i>\n# <i>/etc/init.d/acpid start</i>\n# <i>rc-update add acpid default</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):246
msgid "Creating A \"battery\" Runlevel"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):249
msgid "The default policy will be to enable Power Management only when needed - running on batteries. To make the switch between AC and battery convenient, create a runlevel <c>battery</c> that holds all the scripts starting and stopping Power Management."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(note):256
msgid "You can safely skip this section if you don't like the idea of having another runlevel. However, skipping this step will make the rest a bit trickier to set up. The next sections assume a runlevel <c>battery</c> exists."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):262
msgid "Creating a battery runlevel"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):262
#, no-wrap
msgid "\n# <i>cd /etc/runlevels</i>\n# <i>cp -a default battery</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):267
msgid "Finished. Your new runlevel <c>battery</c> contains everything like <c>default</c>, but there is no automatic switch between both yet. Time to change it."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):276
msgid "Reacting On ACPI Events"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):279
msgid "Typical ACPI events are closing the lid, changing the power source or pressing the sleep button. An important event is changing the power source, which should cause a runlevel switch. A small script will take care of it."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):285
msgid "First you need a script which changes the runlevel to <c>default</c> respectively <c>battery</c> depending on the power source. The script uses the <c>on_ac_power</c> command from <c>sys-power/pm-utils</c> - make sure the package is installed on your system."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):292
msgid "Installing pm-utils"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):292
#, no-wrap
msgid "\n# <i>emerge pm-utils</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):296
msgid "You are now able to determine the power source by executing <c>on_ac_power && echo AC available || echo Running on batteries</c> in a shell. The script below is responsible for changing runlevels. Save it as <path>/etc/acpi/actions/pmg_switch_runlevel.sh</path>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):303
msgid "/etc/acpi/actions/pmg_switch_runlevel.sh"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):303
#, no-wrap
msgid "\n#!/bin/bash\n\n# BEGIN configuration\nRUNLEVEL_AC=\"default\"\nRUNLEVEL_BATTERY=\"battery\"\n\nif [ -x /usr/bin/logger ]; then\n LOGGER=\"/usr/bin/logger -s -p daemon.info -t /etc/acpi/actions/pmg_switch_runlevel.sh\"\nelse\n LOGGER=\"/bin/echo\"\nfi\n\nON_AC_POWER=/usr/bin/on_ac_power\n# END configuration\n\n\nif [ ! -d \"/etc/runlevels/${RUNLEVEL_AC}\" ]\nthen\n ${LOGGER} \"${0}: Runlevel ${RUNLEVEL_AC} does not exist. Aborting.\"\n exit 1\nfi\n\nif [ ! -d \"/etc/runlevels/${RUNLEVEL_BATTERY}\" ]\nthen\n ${LOGGER} \"${0}: Runlevel ${RUNLEVEL_BATTERY} does not exist. Aborting.\"\n exit 1\nfi\n\nif ${on_ac_power}\nthen\n if [[ \"$(rc-status --runlevel)\" != \"${RUNLEVEL_AC}\" ]]\n then\n ${LOGGER} \"Switching to ${RUNLEVEL_AC} runlevel\"\n /sbin/rc ${RUNLEVEL_AC}\n fi\nelif [[ \"$(rc-status --runlevel)\" != \"${RUNLEVEL_BATTERY}\" ]]\nthen\n ${LOGGER} \"Switching to ${RUNLEVEL_BATTERY} runlevel\"\n /sbin/rc ${RUNLEVEL_BATTERY}\nfi\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):346
msgid "Dont forget to run <c>chmod +x /etc/acpi/actions/pmg_switch_runlevel.sh</c> to make the script executable. The last thing that needs to be done is calling the script whenever the power source changes. That's done by catching ACPI events with the help of <c>acpid</c>. First you need to know which events are generated when the power source changes. The events are called <c>ac_adapter</c> and <c>battery</c> on most laptops, but it might be different on yours."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):356
msgid "Determining ACPI events for changing the power source"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):356
#, no-wrap
msgid "\n# <i>tail -f /var/log/messages | grep \"ACPI event\"</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):360
msgid "Run the command above and pull the power cable. You should see something like this:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):365
msgid "Sample output for power source changes"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):365
#, no-wrap
msgid "\n[Tue Sep 20 17:39:06 2005] ACPI event \"ac_adapter AC 00000080 00000000\"\n[Tue Sep 20 17:39:06 2005] ACPI event \"battery BAT0 00000080 00000001\"\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):370
msgid "The interesting part is the quoted string after <c>ACPI event</c>. It will be matched by the event line in the files you are going to create below. Don't worry if your system generates multiple events or always the same. As long as any event is generated, runlevel changing will work."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):377
msgid "/etc/acpi/events/pmg_ac_adapter"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):377
#, no-wrap
msgid "\n<comment># replace \"ac_adapter\" below with the event generated on your laptop</comment>\n<comment># For example, ac_adapter.* will match ac_adapter AC 00000080 00000000</comment>\nevent=ac_adapter.*\naction=/etc/acpi/actions/pmg_switch_runlevel.sh %e\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):384
msgid "/etc/acpi/events/pmg_battery"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):384
#, no-wrap
msgid "\n<comment># replace \"battery\" below with the event generated on your laptop</comment>\n<comment># For example, battery.* will match battery BAT0 00000080 00000001</comment>\nevent=battery.*\naction=/etc/acpi/actions/pmg_switch_runlevel.sh %e\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):391
msgid "Finally acpid has to be restarted to recognize the changes."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):395
msgid "Finishing runlevel switching with acpid"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):395
#, no-wrap
msgid "\n# <i>/etc/init.d/acpid restart</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):399
msgid "Give it a try: Plug AC in and out and watch syslog for the \"Switching to AC mode\" or \"Switching to battery mode\" messages. See the <uri link=\"#doc_chap8\">Troubleshooting section</uri> if the script is not able to detect the power source correctly."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):406
msgid "Due to the nature of the event mechanism, your laptop will boot into runlevel <c>default</c> regardless of the AC/battery state. This is fine when running from AC, but we'd like to boot into the battery runlevel otherwise. One solution would be to add another entry to the boot loader with the parameter <c>softlevel=battery</c>, but it's likely to forget choosing it. A better way is faking an ACPI event in the end of the boot process and letting <path>pmg_switch_runlevel.sh</path> script decide whether a runlevel change is necessary. Create a <path>/etc/local.d/battery.start</path> file with the following contents:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):418
msgid "Runlevel adjustment at boot time through local.d/battery.start"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):418
#, no-wrap
msgid "\n#!/bin/sh\n<comment># Fake acpi event to switch runlevel if running on batteries</comment>\n/etc/acpi/actions/pmg_switch_runlevel.sh \"battery/battery\"\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):424
msgid "Don't forget to mark the file as executable (<c>chmod +x /etc/local.d/battery.start</c>). Prepared like this you can activate Power Management policies for individual devices."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):435
msgid "CPU Power Management"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):439
msgid "Mobile processors can operate at different frequencies. Some allow changing voltage as well. Most of the time your CPU doesn't need to run at full speed and scaling it down will save much energy - often without any performance decrease."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):449
msgid "Some Technical Terms"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):452
msgid "CPU frequency scaling brings up some technical terms that might be unknown to you. Here's a quick introduction."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):457
msgid "First of all, the kernel has to be able to change the processor's frequency. The <b>CPUfreq processor driver</b> knows the commands to do it on your CPU. Thus it's important to choose the right one in your kernel. You should already have done it above. Once the kernel knows how to change frequencies, it has to know which frequency it should set. This is done according to the <b>policy</b> which consists of a <b>CPUfreq policy</b> and a <b>governor</b>. A CPUfreq policy are just two numbers which define a range the frequency has to stay between - minimal and maximal frequency. The governor now decides which of the available frequencies in between minimal and maximal frequency to choose. For example, the <b>powersave governor</b> always chooses the lowest frequency available, the <b>performance governor</b> the highest one. The <b>userspace governor</b> makes no decision but chooses whatever the user (or a program in userspace) wants - which means it reads the frequency from <path>/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed</path>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):474
msgid "This doesn't sound like dynamic frequency changes yet and in fact it isn't. Dynamics however can be accomplished with various approaches. For example, the <b>ondemand governor</b> makes its decisions depending on the current CPU load. The same is done by various userland tools like <c>cpudyn</c>, <c>cpufreqd</c>, <c>powernowd</c> and many more. ACPI events can be used to enable or disable dynamic frequency changes depending on power source."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):486
msgid "Setting The Frequency"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):489
msgid "Decreasing CPU speed and voltage has two advantages: On the one hand less energy is consumed, on the other hand there is thermal improvement as your system doesn't get as hot as running on full speed. The main disadvantage is obviously the loss of performance. Decreasing processor speed is a trade off between performance loss and energy saving."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(note):497
msgid "Not every laptop supports frequency scaling. If unsure, have a look at the list of supported processors in the <uri link=\"#doc_chap8\">Troubleshooting</uri> section to verify yours is supported."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):503
msgid "It's time to test whether CPU frequency changing works. Let's install another tool: <c>sys-power/cpufrequtils</c>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):508
msgid "Checking CPU frequency"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):508
#, no-wrap
msgid "\n# <i>emerge cpufrequtils</i>\n# <i>cpufreq-info</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):513
msgid "Here is an example output:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):517
msgid "Sample output from cpufreq-info"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):517
#, no-wrap
msgid "\ncpufrequtils 0.3: cpufreq-info (C) Dominik Brodowski 2004\nReport errors and bugs to linux@brodo.de, please.\nanalyzing CPU 0:\n driver: centrino\n CPUs which need to switch frequency at the same time: 0\n hardware limits: 600 MHz - 1.40 GHz\n available frequency steps: 600 MHz, 800 MHz, 1000 MHz, 1.20 GHz, 1.40 GHz\n available cpufreq governors: conservative, ondemand, powersave, userspace, performance\n current policy: frequency should be within 924 MHz and 1.40 GHz.\n The governor \"performance\" may decide which speed to use\n within this range.\n current CPU frequency is 1.40 GHz.\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):532
msgid "Now play around with <c>cpufreq-set</c> to make sure frequency switching works. Run <c>cpufreq-set -g ondemand</c> for example to activate the ondemand governor and verify the change with <c>cpufreq-info</c>. If it doesn't work as expected, you might find help in the <uri link=\"#doc_chap8\">Troubleshooting section</uri> in the end of this guide."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):540
msgid "<c>cpufrequtils</c> can operate in an automatic mode (when you use the <b>ondemand</b> governor), you can also switch to the <b>userspace</b> governor if you want to manually set a specific speed. You can also statically set your CPU to its highest or lowest frequency by using the <b>performance</b> and <b>powersave</b> governors, respectively."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):548
msgid "Changing CPU speeds"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):548
#, no-wrap
msgid "\n<comment>(Set the highest available frequency)</comment>\n# <i>cpufreq-set -g performance</i>\n<comment>(Set the lowest available frequency)</comment>\n# <i>cpufreq-set -g powersave</i>\n<comment>(Set a specific frequency)</comment>\n# <i>cpufreq-set -g userspace</i>\n# <i>cpufreq-set -f 2.00ghz</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):561
msgid "Other CPU Speed Utilities"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):564
msgid "While <c>cpufrequtils</c> may be the best all-around program, there are some other choices available in Portage. The following table gives a quick overview of available CPU speed utilities. It's roughly separated in three categories <b>kernel</b> for approaches that only need kernel support, <b>daemon</b> for programs that run in the background and <b>graphical</b> for programs that provide a GUI for easy configuration and changes."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(th):575
msgid "Name"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(th):576
msgid "Category"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(th):577
msgid "Switch decision"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(th):578
msgid "Kernel governors"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(th):579
msgid "Further governors"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(th):580
msgid "Comments"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):583
msgid "'ondemand' governor"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):584 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):598
msgid "Kernel"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):585 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):599 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):614 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):640 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):664
msgid "CPU load"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):586 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):587 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):600 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):601
msgid "N.A."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):588
msgid "Chooses maximal frequency on CPU load and slowly steps down when the CPU is idle. Further tuning through files in <path>/sys/devices/system/cpu/cpu0/cpufreq/ondemand/</path>. Still requires userland tools (programs, scripts) if governor switching or similar is desired."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):597
msgid "'conservative' governor"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):602
msgid "Unlike the ondemand governor, conversative doesn't jump to maximum frequency when CPU load is high, but increases the frequency step by step. Further tuning through files in <path>/sys/devices/system/cpu/cpu0/cpufreq/ondemand/</path>. Still requires userland tools (programs, scripts) if governor switching or similar is desired."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(uri:link):612
msgid "http://mnm.uib.es/~gallir/cpudyn/"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(uri):612
msgid "cpudyn"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):613 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):624 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):639 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):652 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):663
msgid "Daemon"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):615
msgid "Performance, powersave"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):616
msgid "Dynamic"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):617
msgid "Also supports disk standby - notice however that <e>laptop mode</e> in most cases will do a better job."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(uri:link):623
msgid "http://sourceforge.net/projects/cpufreqd/"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(uri):623
msgid "cpufreqd"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):625
msgid "Battery state, CPU load, temperature, running programs and more"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):626 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):688
msgid "All available"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):627 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):641 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):654 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):665 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):676 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):677 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):678 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):689
msgid "None"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):628
msgid "Sophisticated (but somewhat complicated) setup. Extendible through plugins like sensor monitoring (lm_sensors) or coordinating some NVidia based graphics card memory and core. Cpufreqd is SMP aware and can optionally be controlled manually at runtime."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(uri:link):637
msgid "http://www.deater.net/john/powernowd.html"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(uri):637
msgid "powernowd"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):642
msgid "Passive, sine, aggressive"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):643
msgid "Supports SMP."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(uri:link):650
msgid "http://projects.simpledesigns.com.pl/project/ncpufreqd/"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(uri):650
msgid "ncpufreqd"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):653
msgid "Temperature"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):655
msgid "Powersave, performance"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):656
msgid "Toggles the used governor between performance and powersave depending on system temperature. Very useful on laptops with notorious heat problems."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(uri:link):662
msgid "http://www.goop.org/~jeremy/speedfreq/"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(uri):662
msgid "speedfreq"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):666
msgid "Dynamic, powersave, performance, fixed speed"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):667
msgid "Easy to configure with a nice client/server interface. Requires a 2.6 kernel. Unmaintained, broken and thus removed from Portage. Please switch to cpufreqd if you're still using it."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(uri:link):674
msgid "http://cpuspeedy.sourceforge.net/"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(uri):674
msgid "gtk-cpuspeedy"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):675 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):686
msgid "Graphical"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):679
msgid "Gnome application, a graphical tool to set CPU frequency manually. It does not offer any automation."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):685
msgid "klaptopdaemon"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):687
msgid "Battery state"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(ti):690
msgid "KDE only, 'ondemand' governor required for dynamic frequency scaling."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):696
msgid "While adjusting the frequency to the current load looks simple at a first glance, it's not such a trivial task. A bad algorithm can cause switching between two frequencies all the time or wasting energy when setting frequency to an unnecessary high level."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):703
msgid "Which one to choose? If you have no idea about it, try <c>cpufreqd</c>:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):707
msgid "Installing cpufreqd"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):707
#, no-wrap
msgid "\n# <i>emerge cpufreqd</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):711
msgid "<c>cpufreqd</c> can be configured by editing <path>/etc/cpufreqd.conf</path>. The default one that ships with cpufreqd may look a bit confusing. I recommend replacing it with the one from former Gentoo developer Henrik Brix Andersen (see below). Please notice that you need cpufreqd-2.0.0 or later. Earlier versions have a different syntax for the config file."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):719
msgid "/etc/cpufreqd.conf (cpufreqd-2.0.0 and later)"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):719
#, no-wrap
msgid "\n[General]\npidfile=/var/run/cpufreqd.pid\npoll_interval=3\nenable_plugins=acpi_ac, acpi_battery\nenable_remote=1\nremote_group=wheel\nverbosity=5\n[/General]\n\n[Profile]\nname=ondemand\nminfreq=0%\nmaxfreq=100%\npolicy=ondemand\n[/Profile]\n\n[Profile]\nname=conservative\nminfreq=0%\nmaxfreq=100%\npolicy=conservative\n[/Profile]\n\n[Profile]\nname=powersave\nminfreq=0%\nmaxfreq=100%\npolicy=powersave\n[/Profile]\n\n[Profile]\nname=performance\nminfreq=0%\nmaxfreq=100%\npolicy=performance\n[/Profile]\n\n[Rule]\nname=battery\nac=off\nprofile=conservative\n[/Rule]\n\n[Rule]\nname=battery_low\nac=off\nbattery_interval=0-10\nprofile=powersave\n[/Rule]\n\n[Rule]\nname=ac\nac=on\nprofile=ondemand\n[/Rule]\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):777
msgid "Now you can start the cpufreqd daemon. Add it to the <c>default</c> and <c>battery</c> runlevel as well."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):782
msgid "Starting cpufreqd"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):782
#, no-wrap
msgid "\n# <i>rc-update add cpufreqd default battery</i>\n# <i>/etc/init.d/cpufreqd start</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):787
msgid "Sometimes it can be desirable to select another policy than the daemon chooses, for example when battery power is low, but you know that AC will be available soon. In that case you can turn on cpufreqd's manual mode with <c>cpufreqd-set manual</c> and select one of your configured policies (as listed by <c>cpufreqd-get</c>). You can leave manual mode by executing <c>cpufreqd-set dynamic</c>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(warn):796
msgid "Do not run more than one of the above programs at the same time. It may cause confusion like switching between two frequencies all the time."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):804
msgid "Verifying the result"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):807
msgid "The last thing to check is that your new policies do a good job. An easy way to do so is monitoring CPU speed while working with your laptop:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):812
msgid "Monitoring CPU speed"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):812
#, no-wrap
msgid "\n# <i>watch grep \\\"cpu MHz\\\" /proc/cpuinfo</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):816
msgid "If <path>/proc/cpuinfo</path> doesn't get updated (see <uri link=\"#doc_chap8\">Troubleshooting</uri>), monitor the CPU frequency with <c>sys-apps/x86info</c>:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):822
msgid "Alternative CPU speed monitoring"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):822
#, no-wrap
msgid "\n# <i>watch x86info -mhz</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):826
msgid "Depending on your setup, CPU speed should increase on heavy load, decrease on no activity or just stay at the same level. When using <c>cpufreqd</c> and verbosity set to 5 or higher in <path>cpufreqd.conf</path> you'll get additional information about what's happening reported to <c>syslog</c>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):838
msgid "LCD Power Management"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):842
msgid "As you can see in <uri link=\"#doc_chap1_fig1\">figure 1.1</uri>, the LCD display consumes the biggest part of energy (might not be the case for non-mobile CPU's). Thus it's quite important not only to shut the display off when not needed, but also to reduce it's backlight if possible. Most laptops offer the possibility to control the backlight dimming."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):853
msgid "Standby settings"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):856
msgid "The first thing to check is the standby/suspend/off timings of the display. As this depends heavily on your windowmanager, I'll let you figure it out yourself. Just two common places: Blanking the terminal can be done with <c>setterm -blank <number-of-minutesM></c>, <c>setterm -powersave on</c> and <c>setterm -powerdown <number-of-minutesM></c>. For X.org, modify <path>/etc/X11/xorg.conf</path> similar to this:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):865
msgid "LCD suspend settings in X.org"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):865
#, no-wrap
msgid "\nSection \"ServerFlags\"\n Option \"blank time\" \"5\" <comment># Blank the screen after 5 minutes (Fake)</comment>\n Option \"standby time\" \"10\" <comment># Turn off screen after 10 minutes (DPMS)</comment>\n Option \"suspend time\" \"20\" <comment># Full suspend after 20 minutes</comment>\n Option \"off time\" \"30\" <comment># Turn off after half an hour</comment>\n [...]\nEndSection\n\n[...]\n\nSection \"Monitor\"\n Identifier [...]\n Option \"DPMS\"\n [...]\nEndSection\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):886
msgid "Backlight dimming"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):889
msgid "Probably more important is the backlight dimming. If you have access to the dimming settings via a tool, write a small script that dims the backlight in battery mode and place it in your <c>battery</c> runlevel. The following script should work on most IBM Thinkpads and Toshiba laptops. You've got to enable the appropriate option in your kernel (IBM Thinkpads only). For Toshiba laptops, install <c>sys-power/acpitool</c> and skip configuration of <c>thinkpad_acpi</c> (formerly called <c>ibm_acpi</c>) as described below."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(warn):899
msgid "Support for setting brightness is marked experimental in thinkpad_acpi. It accesses hardware directly and may cause severe harm to your system. Please read the <uri link=\"http://ibm-acpi.sourceforge.net/\">thinkpad_acpi website</uri>"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):906
msgid "To be able to set the brightness level, the thinkpad_acpi module has to be loaded with the experimental parameter."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):911
msgid "Automatically loading the thinkpad_acpi module"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):911
#, no-wrap
msgid "\n<comment>(Please read the warnings above before doing this!)</comment>\n\n# <i>echo \"options thinkpad_acpi experimental=1\" >> /etc/modprobe.d/thinkpad_acpi</i>\n# <i>update-modules</i>\n# <i>nano /etc/conf.d/modules</i>\n<comment># Autoload the thinkpad_acpi module</comment>\nmodules_2_6=\"thinkpad_acpi\"\n<comment># Parameters for the thinkpad_acpi module</comment>\nmodules_thinkpad_acpi_args_2_6=\"experimental=1\"\n\n# <i>modprobe thinkpad_acpi</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):925
msgid "This should work without error messages and a file <path>/proc/acpi/ibm/brightness</path> should be created after loading the module. An init script will take care of choosing the brightness according to the power source."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):932
msgid "/etc/conf.d/lcd-brightness"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):932
#, no-wrap
msgid "\n<comment># See /proc/acpi/ibm/brightness for available values</comment>\n<comment># Please read /usr/src/linux/Documentation/thinkpad-acpi.txt</comment>\n\n<comment># brightness level in ac mode. Default is 7.</comment>\nBRIGHTNESS_AC=7\n\n<comment># brightness level in battery mode. Default is 4.</comment>\nBRIGHTNESS_BATTERY=4\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):943
msgid "/etc/init.d/lcd-brightness"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):943
#, no-wrap
msgid "\n#!/sbin/runscript\n\nset_brightness() {\n if on_ac_power\n then\n LEVEL=${BRIGHTNESS_AC:-7}\n else\n LEVEL=${BRIGHTNESS_BATTERY:-4}\n fi\n\n if [ -f /proc/acpi/ibm/brightness ]\n then\n ebegin \"Setting LCD brightness\"\n echo \"level ${LEVEL}\" > /proc/acpi/ibm/brightness\n eend $?\n elif [[ -e /usr/bin/acpitool && -n $(acpitool -T | grep \"LCD brightness\") ]]\n then\n ebegin \"Setting LCD brightness\"\n acpitool -l $LEVEL >/dev/null || ewarn \"Unable to set lcd brightness\"\n eend $?\n else\n ewarn \"Setting LCD brightness is not supported.\"\n ewarn \"For IBM Thinkpads, check that thinkpad_acpi is loaded into the kernel\"\n ewarn \"For Toshiba laptops, you've got to install sys-power/acpitool\"\n fi\n}\n\nstart() {\n set_brightness\n}\n\nstop () {\n set_brightness\n}\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):980
msgid "When done, make sure brightness is adjusted automatically by adding it to the battery runlevel."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):985
msgid "Enabling automatic brightness adjustment"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):985
#, no-wrap
msgid "\n# <i>chmod +x /etc/init.d/lcd-brightness</i>\n# <i>rc-update add lcd-brightness battery</i>\n# <i>rc</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):996
msgid "Disk Power Management"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1000
msgid "Hard disks consume less energy in sleep mode. Therefore it makes sense to activate power saving features whenever the hard disk is not used for a certain amount of time. I'll show you two alternative possibilities to do it. First, laptop-mode will save most energy due to several measures which prevent or at least delay write accesses. The drawback is that due to the delayed write accesses a power outage or kernel crash will be more dangerous for data loss. If you don't like this, you have to make sure that there are no processes which write to your hard disk frequently. Afterwards you can enable power saving features of your hard disk with <c>hdparm</c> as the second alternative."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):1015
msgid "Increasing idle time - laptop-mode"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1018
msgid "Recent 2.6 kernels include the so-called <c>laptop-mode</c>. When activated, dirty buffers are written to disk on read calls or after 10 minutes (instead of 30 seconds). This minimizes the time the hard disk needs to be spun up."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1024
msgid "Automated start of laptop-mode"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1024
#, no-wrap
msgid "\n# <i>emerge laptop-mode-tools</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1028
msgid "<c>laptop-mode-tools</c> has its configuration file in <path>/etc/laptop-mode/laptop-mode.conf</path>. Adjust it the way you like it, it's well commented. Run <c>rc-update add laptop_mode battery</c> to start it automatically."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1035
msgid "Recent versions (1.11 and later) of laptop-mode-tools include a new tool <c>lm-profiler</c>. It will monitor your system's disk usage and running network services and suggests to disable unneeded ones. You can either disable them through laptop-mode-tools builtin runlevel support (which will be reverted by Gentoo's <c>/sbin/rc</c>) or use your <c>default</c>/<c>battery</c> runlevels (recommended)."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1044
msgid "Sample output from running lm-profiler"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1044
#, no-wrap
msgid "\n# <i>lm-profiler</i>\nProfiling session started.\nTime remaining: 600 seconds\n[4296896.602000] amarokapp\nTime remaining: 599 seconds\n[4296897.714000] sort\n[4296897.970000] mv\nTime remaining: 598 seconds\nTime remaining: 597 seconds\n[4296900.482000] reiserfs/0\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1057
msgid "After profiling your system for ten minutes, lm-profiler will present a list of services which might have caused disk accesses during that time."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1062
msgid "lm-profiler suggests to disable some services"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1062
#, no-wrap
msgid "\nProgram: \"atd\"\nReason: standard recommendation (program may not be running)\nInit script: /etc/init.d/atd (GUESSED)\n\nDo you want to disable this service in battery mode? [y/N]: <i>n</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1070
msgid "To disable atd as suggested in the example above, you would run <c>rc-update del atd battery</c>. Be careful not to disable services that are needed for your system to run properly - <c>lm-profiler</c> is likely to generate some false positives. Do not disable a service if you are unsure whether it's needed."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):1081
msgid "Limiting Write Accesses"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1084
msgid "If you don't want to use laptop-mode, you must take special care to disable services that write to your disk frequently - <c>syslogd</c> is a good candidate, for example. You probably don't want to shut it down completely, but it's possible to modify the config file so that \"unnecessary\" things don't get logged and thus don't create disk traffic. <c>Cups</c> writes to disk periodically, so consider shutting it down and only enable it manually when needed."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1094
msgid "Disabling cups in battery mode"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1094
#, no-wrap
msgid "\n# <i>rc-update del cupsd battery</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1098
msgid "You can also use <c>lm-profiler</c> from laptop-mode-tools (see above) to find services to disable. Once you eliminated all of them, go on with configuring hdparm."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):1107
msgid "hdparm"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1110
msgid "The second possibility is using <c>hdparm</c>. Skip this if you are using laptop-mode. Otherwise, edit <path>/etc/conf.d/hdparm</path> and add the following values to your drive entries. This example assumes your hard drive is called <b>hda</b>:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1117
msgid "Using /etc/conf.d/hdparm for disk standby"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1117
#, no-wrap
msgid "\nhda_args=\"-q -S12\"\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1121
msgid "This will activate power management for your hard drive. If you ever want to deactivate power management, you can edit <path>/etc/conf.d/hdparm</path> and change the values to <c>-q -S0</c>, or just run <c>hdparm -q -S0 /dev/hda</c>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1127
msgid "See <c>man hdparm</c> for the options. Though you can always start <c>hdparm</c> manually when you are on battery power by running <c>/etc/init.d/hdparm start</c>, it's much easier to automate its startup and shutdown. To do so, add <c>hdparm</c> to the battery runlevel so that it will automatically enable power management."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1135
msgid "Automate disk standby settings"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1135
#, no-wrap
msgid "\n# <i>rc-update add hdparm battery</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(impo):1139
msgid "Be careful with sleep/spin down settings of your hard drive. Setting it to small values might wear out your drive and lose warranty."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):1147
msgid "Other tricks"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1150
msgid "Another possibility is to deactivate swap in battery mode. Before writing a swapon/swapoff switcher, make sure there is enough RAM and swap isn't used heavily, otherwise you'll be in big problems."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1156
msgid "If you don't want to use laptop-mode, it's still possible to minimize disk access by mounting certain directories as <c>tmpfs</c> - write accesses are not stored on a disk, but in main memory and get lost with unmounting. Often it's useful to mount <path>/tmp</path> like this - you don't have to pay special attention as it gets cleared on every reboot regardless whether it was mounted on disk or in RAM. Just make sure you have enough RAM and no program (like a download client or compress utility) needs extraordinary much space in <path>/tmp</path>. To activate this, enable tmpfs support in your kernel and add a line to <path>/etc/fstab</path> like this:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1168
msgid "Editing /etc/fstab to make /tmp even more volatile"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1168
#, no-wrap
msgid "\nnone /tmp tmpfs size=32m 0 0\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(warn):1172
msgid "Pay attention to the size parameter and modify it for your system. If you're unsure, don't try this at all, it can become a performance bottleneck easily. In case you want to mount <path>/var/log</path> like this, make sure to merge the log files to disk before unmounting. They are essential. Don't attempt to mount <path>/var/tmp</path> like this. Portage uses it for compiling..."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):1185
msgid "Power Management For Other Devices"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):1187
msgid "Graphics Cards"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1190
msgid "In case you own an ATI graphics card supporting PowerPlay (dynamic clock scaling for the graphics processing unit GPU), you can activate this feature in X.org. Open <path>/etc/X11/xorg.conf</path> and add (or enable) the <c>DynamicClocks</c> option in the Device section. Please notice that this feature will lead to crashes on some systems."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1198
msgid "Enabling ATI PowerPlay support in X.org"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1198
#, no-wrap
msgid "\nSection \"Device\"\n[...]\nOption \"DynamicClocks\" \"on\"\nEndSection\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):1208
msgid "Wireless Power Management"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1211
msgid "Wireless LAN cards consume quite a bit of energy. Put them in Power Management mode just like your hard drives."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(note):1216
msgid "This script assumes your wireless interface is called <c>wlan0</c>; replace this with the actual name of your interface."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1221
msgid "Add the following option to <path>/etc/conf.d/net</path> to automatically enable power management for your wireless card:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1226
msgid "Automated WLAN Power Management"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1226
#, no-wrap
msgid "\niwconfig_wlan0=\"power on\"\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1230
msgid "See <c>man iwconfig</c> for details and more options like the period between wakeups or timeout settings. If your driver and access point support changing the beacon time, this is a good starting point to save even more energy."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):1239
msgid "USB Power Management"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1242
msgid "There are two problems with USB devices regarding energy consumption: First, devices like USB mice, digital cameras or USB sticks consume energy while plugged in. You cannot avoid this (nevertheless remove them in case they're not needed). Second, when there are USB devices plugged in, the USB host controller periodically accesses the bus which in turn prevents the CPU from going into sleep mode. The kernel offers an experimental option to enable suspension of USB devices through driver calls or one of the <path>power/state</path> files in <path>/sys</path>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1253
msgid "Enabling USB suspend support in the kernel"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1253
#, no-wrap
msgid "\nDevice Drivers\n USB support\n [*] Support for Host-side USB\n [*] USB suspend/resume (EXPERIMENTAL)\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):1265
msgid "Sleep States: sleep, standby, and suspend to disk"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1269
msgid "ACPI defines different sleep states. The more important ones are"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(li):1274
msgid "S1 aka Standby"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(li):1275
msgid "S3 aka Suspend to RAM aka Sleep"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(li):1276
msgid "S4 aka Suspend to Disk aka Hibernate"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1279
msgid "They can be called whenever the system is not in use, but a shutdown is not wanted due to the long boot time."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):1287
msgid "Sleep (S3)"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1290
msgid "The ACPI support for these sleep states is marked experimental for good reason. APM sleep states seem to be more stable, however you can't use APM and ACPI together."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1296 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1390
msgid "Kernel configuration for the various suspend types"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1296
#, no-wrap
msgid "\n Power Management Options --->\n [*] Power Management support\n [*] Suspend to RAM and standby \n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1302
msgid "Once your kernel is properly configured, you can use the <c>hibernate-script</c> to activate suspend or sleep mode. Let's install that first."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1308
msgid "Installing the hibernate-script"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1308
#, no-wrap
msgid "\n# <i>emerge hibernate-script</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1312
msgid "Some configuration has to be done in <path>/etc/hibernate</path>. The default package introduces a few configuration files for each sleep state. Options that are common to all suspend methods are placed in <path>common.conf</path>; make sure this file is properly set up for your system."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1319
msgid "To configure sleep, edit <path>sysfs-ram.conf</path> in <path>/etc/hibernate</path>. <c>UseSysfsPowerState mem</c> is already setup correctly, but if you need to make further changes to this particular sleep state (or any other sleep state) you should add them to <path>/etc/hibernate/hibernate.conf</path>. The comments and option names will guide you. If you use nfs or samba shares over the network, make sure to shutdown the appropriate init scripts to avoid timeouts."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(note):1329
msgid "For more information on setting up sleep states, read <c>man hibernate.conf</c>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1334
msgid "Ready? Now is the last chance to backup any data you want to keep after executing the next command. Notice that you probably have to hit a special key like <c>Fn</c> to resume from sleep."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1340
msgid "Calling sleep"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1340
#, no-wrap
msgid "\n# <i>hibernate-ram</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1344
msgid "If you're still reading, it seems to work. You can also setup standby (S1) in a similar way by editing <path>sysfs-ram.conf</path> and changing \"UseSysfsPowerState mem\" to \"UseSysfsPowerState standby\". S3 and S4 are the more interesting sleep states due to greater energy savings however."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):1354
msgid "Hibernate (S4)"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1357
msgid "This section introduces hibernation, where a snapshot of the running system is written to disk before powering off. On resume, the snapshot is loaded and you can go on working at exactly the point you called hibernate before."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(warn):1363
msgid "Don't exchange non hot-pluggable hardware when suspended. Don't attempt to load a snapshot with a different kernel image than the one it was created with. Shutdown any NFS or samba server/client before hibernating."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1369
msgid "There are two different implementations for S4. The original one is swsusp, then there is the newer tuxonice (formerly suspend2) with a nicer interface (including fbsplash support). A <uri link=\"http://tuxonice.net/features.html#compare\">feature comparison</uri> is available at the <uri link=\"http://www.tuxonice.net\">tuxonice homepage</uri>. There used to be Suspend-to-Disk (pmdisk), a fork of swsusp, but it has been merged back."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1379
msgid "TuxOnIce is not included in the mainline kernel yet, therefore you either have to patch your kernel sources with the patches provided by <uri link=\"http://www.tuxonice.net\">tuxonice.net</uri> or use <c>sys-kernel/tuxonice-sources</c>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1386
msgid "The kernel part for both swusp and TuxOnIce is as follows:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1390
#, no-wrap
msgid "\nPower Management support --->\n <comment>(hibernate with swsusp)</comment>\n [*] Hibernation (aka 'suspend to disk')\n <comment>(replace /dev/SWAP with your swap partition)</comment>\n (/dev/SWAP) Default resume partition\n\n <comment>(hibernate with TuxOnIce)</comment>\n Enhanced Hibernation (TuxOnIce)\n --- Image Storage (you need at least one allocator)\n [*] File Allocator\n [*] Swap Allocator\n --- General Options\n [*] Compression support\n [ ] Allow Keep Image Mode\n [*] Replace swsusp by default\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1408
msgid "The configuration for swsusp is rather easy. If you didn't store the location of your swap partition in the kernel config, you can also pass it as a parameter with the <c>resume=/dev/SWAP</c> directive. If booting is not possible due to a broken image, use the <c>noresume</c> kernel parameter. The <c>hibernate-cleanup</c> init script invalidates swsusp images during the boot process."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1417
msgid "Invalidating swsusp images during the boot process"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1417 ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1459
#, no-wrap
msgid "\n# <i>rc-update add hibernate-cleanup boot</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1421
msgid "To activate hibernate with swsusp, use the hibernate script and set <c>UseSysfsPowerState disk</c> in <path>/etc/hibernate/sysfs-disk</path>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(warn):1426
msgid "Backup your data before doing this. Run <c>sync</c> before executing one of the commands to have cached data written to disk. First try it outside of X, then with X running, but not logged in."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1432
msgid "If you experience kernel panics due to uhci or similar, try to compile USB support as module and unload the modules before sending your laptop to sleep mode. There are configuration options for this in <path>common.conf</path>"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1438
msgid "Hibernating with swsusp"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1438
#, no-wrap
msgid "\n# <i>nano -w /etc/hibernate/common.conf</i>\n<comment>(Make sure you have a backup of your data)</comment>\n# <i>hibernate</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1444
msgid "The following section discusses the setup of TuxOnIce including fbsplash support for a nice graphical progress bar during suspend and resume."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1449
msgid "The first part of the configuration is similar to the configuration of swsusp. In case you didn't store the location of your swap partition in the kernel config, you have to pass it as a kernel parameter with the <c>resume=swap:/dev/SWAP</c> directive. If booting is not possible due to a broken image, append the <c>noresume</c> parameter. Additionally, the <c>hibernate-cleanup</c> init script invalidates TuxOnIce images during the boot process."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1459
msgid "Invalidating TuxOnIce images during the boot process"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1463
msgid "Now edit <path>/etc/hibernate/tuxonice.conf</path>, enable the <c>TuxOnIce</c> options you need. Do not enable the <c>fbsplash</c> options in <c>common.conf</c> just yet."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1469
msgid "Hibernating with TuxOnIce"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1469
#, no-wrap
msgid "\n# <i>nano -w /etc/hibernate/tuxonice.conf</i>\n<comment>(Make sure you have a backup of your data)</comment>\n# <i>hibernate</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1475
msgid "Please configure <c>fbsplash</c> now if you didn't do already. To enable fbsplash support during hibernation, the <c>sys-apps/tuxonice-userui</c> package is needed. Additionally, you've got to enable the <c>fbsplash</c> USE flag."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1481
msgid "Installing tuxonice-userui"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1481
#, no-wrap
msgid "\n# <i>echo \"sys-apps/tuxonice-userui fbsplash\" >> /etc/portage/package.use</i>\n# <i>emerge tuxonice-userui</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1486
msgid "The ebuild tells you to make a symlink to the theme you want to use. For example, to use the <c>livecd-2005.1</c> theme, run the following command:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1491
msgid "Using the livecd-2005.1 theme during hibernation"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1491
#, no-wrap
msgid "\n# <i>ln -sfn /etc/splash/livecd-2005.1 /etc/splash/tuxonice</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1495
msgid "If you don't want a black screen in the first part of the resume process, you have to add the <c>tuxoniceui_fbsplash</c> tool to your initrd image. Assuming you created the initrd image with <c>splash_geninitramfs</c> and saved it as <path>/boot/fbsplash-emergence-1024x768</path>, here's how to do that."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1502
msgid "Adding tuxoniceui_fbsplash to an initrd image"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1502
#, no-wrap
msgid "\n# <i>mount /boot</i>\n# <i>mkdir ~/initrd.d</i>\n# <i>cp /boot/fbsplash-emergence-1024x768 ~/initrd.d/</i>\n# <i>cd ~/initrd.d</i>\n# <i>gunzip -c fbsplash-emergence-1024x768 | cpio -idm --quiet -H newc</i>\n# <i>rm fbsplash-emergence-1024x768</i>\n# <i>cp /usr/sbin/tuxoniceui_fbsplash sbin/</i>\n# <i>find . | cpio --quiet --dereference -o -H newc | gzip -9 > /boot/fbsplash-tuxonice-emergence-1024x768</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1513
msgid "Afterwards adjust <path>grub.conf</path> (or <path>lilo.conf</path>) so that your TuxOnIce kernel uses <path>/boot/fbsplash-tuxonice-emergence-1024x768</path> as initrd image. You can now test a dry run to see if everything is setup correctly."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1520
msgid "Test run for fbsplash hibernation"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1520
#, no-wrap
msgid "\n# <i>tuxoniceui_fbsplash -t</i>\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1524
msgid "Afterwards open <path>/etc/hibernate/common.conf</path> and activate the fbsplash options. Execute <c>hibernate</c> and enjoy."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(title):1534
msgid "Troubleshooting"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1538
msgid "<e>Q:</e> I'm trying to change the CPU frequency, but <path>/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor</path> does not exist."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1544
msgid "<e>A:</e> Make sure your processor supports CPU frequency scaling and you chose the right CPUFreq driver for your processor. Here is a list of processors that are supported by cpufreq (kernel 2.6.7): ARM Integrator, ARM-SA1100, ARM-SA1110, AMD Elan - SC400, SC410, AMD mobile K6-2+, AMD mobile K6-3+, AMD mobile Duron, AMD mobile Athlon, AMD Opteron, AMD Athlon 64, Cyrix Media GXm, Intel mobile PIII and Intel mobile PIII-M on certain chipsets, Intel Pentium 4, Intel Xeon, Intel Pentium M (Centrino), National Semiconductors Geode GX, Transmeta Crusoe, VIA Cyrix 3 / C3, UltraSPARC-III, SuperH SH-3, SH-4, several \"PowerBook\" and \"iBook2\" and various processors on some ACPI 2.0-compatible systems (only if \"ACPI Processor Performance States\" are available to the ACPI/BIOS interface)."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1557
msgid "<e>Q:</e> My laptop supports frequency scaling, but <path>/sys/devices/system/cpu/cpu0/cpufreq/</path> is empty."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1562
msgid "<e>A:</e> Look for ACPI related error messages with <c>dmesg | grep ACPI</c>. Try to update the BIOS, especially if a broken DSDT is reported. You can also try to fix it yourself (which is beyond the scope of this guide)."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1568
msgid "<e>Q:</e> My laptop supports frequency scaling, but according to <path>/proc/cpuinfo</path> the speed never changes."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1573
msgid "<e>A:</e> Probably you have activated symmetric multiprocessing support (CONFIG_SMP) in your kernel. Deactivate it and it should work. Some older kernels had a bug causing this. In that case, run <c>emerge x86info</c>, update your kernel as asked and check the current frequency with <c>x86info -mhz</c>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1580
msgid "<e>Q:</e> I can change the CPU frequency, but the range is not as wide as in another OS."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1585
msgid "<e>A:</e> You can combine frequency scaling with ACPI throttling to get a lower minimum frequency. Notice that throttling doesn't save much energy and is mainly used for thermal management (keeping your laptop cool and quiet). You can read the current throttling state with <c>cat /proc/acpi/processor/CPU/throttling</c> and change it with <c>echo -n \"0:x\" > /proc/acpi/processor/CPU/limit</c>, where x is one of the Tx states listed in <path>/proc/acpi/processor/CPU/throttling</path>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1595
msgid "<e>Q:</e> When configuring the kernel, powersave, performance and userspace governors show up, but that ondemand thing is missing. Where do I get it?"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1600
msgid "<e>A:</e> The ondemand governor is only included in recent kernel sources. Try updating them."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1605
msgid "<e>Q:</e> Battery life time seems to be worse than before."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1609
msgid "<e>A:</e> Check your BIOS settings. Maybe you forgot to re-enable some of the settings."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1614
msgid "<e>Q:</e> My battery is charged, but KDE reports there would be 0% left and immediately shuts down."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1619
msgid "<e>A:</e> Check that battery support is compiled into your kernel. If you use it as a module, make sure the module is loaded."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1624
msgid "<e>Q:</e> My system logger reports things like \"logger: ACPI group battery / action battery is not defined\"."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1629
msgid "<e>A:</e> This message is generated by the <path>/etc/acpi/default.sh</path> script that is shipped with acpid. You can safely ignore it. If you like to get rid of it, you can comment the appropriate line in <path>/etc/acpi/default.sh</path> as shown below:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1636
msgid "Disabling warnings about unknown acpi events"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1636
#, no-wrap
msgid "\n *) # logger \"ACPI action $action is not defined\"\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1640
msgid "<e>Q:</e> I have a Dell Inspiron 51XX and I don't get any ACPI events."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1644
msgid "<e>A:</e> This seems to be a kernel bug. Read on <uri link=\"http://bugme.osdl.org/show_bug.cgi?id=1752\">here</uri>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1649
msgid "<e>Q:</e> I activated the <c>DynamicClocks</c> option in <path>xorg.conf</path> and now X.org crashes / the screen stays black / my laptop doesn't shutdown properly."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1655
msgid "<e>A:</e> This happens on some systems. You have to disable <c>DynamicClocks</c>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1660
msgid "<e>Q:</e> I want to use TuxOnIce, but it tells me my swap partition is too small. Resizing is not an option."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1665
msgid "<e>A:</e> If there is enough free space on your system, you can use the filewriter instead of the swapwriter. The <c>hibernate-script</c> supports it as well. More information can be found in <path>/usr/src/linux/Documentation/power/tuxonice.txt</path>."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1672
msgid "<e>Q:</e> I just bought a brand new battery, but it only lasts for some minutes! What am I doing wrong?"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1677
msgid "<e>A:</e> First follow your manufacturer's advice on how to charge the battery correctly."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1682
msgid "<e>Q:</e> The above didn't help. What should I do then?"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1686
msgid "<e>A:</e> Some batteries sold as \"new\" are in fact old ones. Try the following:"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre:caption):1690
msgid "Querying battery state"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(pre):1690
#, no-wrap
msgid "\n$ <i>grep capacity /proc/acpi/battery/BAT0/info</i>\ndesign capacity: 47520 mWh\nlast full capacity: 41830 mWh\n"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1696
msgid "If the \"last full capacity\" differs significantly from the design capacity, your battery is probably broken. Try to claim your warranty."
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1701
msgid "<e>Q:</e> My problem is not listed above. Where should I go next?"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(p):1705
msgid "<e>A:</e> Don't fear to contact me, <mail link=\"earthwings@gentoo.org\">Dennis Nienhüser</mail>, directly. The <uri link=\"http://forums.gentoo.org\">Gentoo Forums</uri> are a good place to get help as well. If you prefer IRC, try the <c>#gentoo-laptop</c><uri link=\"irc://irc.gentoo.org\">channel</uri>."
msgstr ""
#. Place here names of translator, one per line. Format should be NAME; ROLE; E-MAIL
#: ../../gentoo/xml/htdocs/doc/en//power-management-guide.xml(None):0
msgid "translator-credits"
msgstr ""
|