remove packages:
시스템-기본 설정-키보드
layout 탭에서 키보드 모델을 generic 105-key (intl) PC
Selected Layouts 에 키를 추가 - Korea, Republic of / 101/104 key Compatible
리부팅 필요없이 즉시 적용됨.
- bluez-* (bluetooth)
- ppp
- pcmciautils
System 메뉴 - 관리 - Hardware Drivers - ATI accelerated graphics driver 에 체크
사용전 : (cpu 798MHz)
한영키 :사용전 : (cpu 798MHz)
setzer@blackjack:~$ glxgears 9416 frames in 5.0 seconds = 1883.071 FPS 9512 frames in 5.0 seconds = 1902.258 FPS 9534 frames in 5.0 seconds = 1906.658 FPS 9527 frames in 5.0 seconds = 1905.250 FPS사용후 : (cpu 798MHz)
setzer@blackjack:~$ glxgears 11542 frames in 5.0 seconds = 2304.836 FPS 10318 frames in 5.0 seconds = 2063.576 FPS 16078 frames in 5.0 seconds = 3215.559 FPS 17194 frames in 5.0 seconds = 3436.594 FPS사용후 : (cpu 1.86GHz)
setzer@blackjack:~$ glxgears 17199 frames in 5.0 seconds = 3439.693 FPS 17247 frames in 5.0 seconds = 3449.319 FPS 17264 frames in 5.0 seconds = 3452.616 FPS 17239 frames in 5.0 seconds = 3447.607 FPS
시스템-기본 설정-키보드
layout 탭에서 키보드 모델을 generic 105-key (intl) PC
Selected Layouts 에 키를 추가 - Korea, Republic of / 101/104 key Compatible
리부팅 필요없이 즉시 적용됨.
install (apt-get):
(rc.local에 추가해 보았으나 듣지 않았다.)
emacs
compizconfig-settings-manager (Desktop Cube, Rotate Cube,
scim-hangul (sudo update-alternatives --config xinput-ko_KR ///// scim-hangul(5), not xim, 재시작 후 scim에서 hangul 선택)
sensors-applet (add to panel - "Hardware Sensors Monitor")
enabling "Frequency Selector" in "Hardware Sensors Monitor" :compizconfig-settings-manager (Desktop Cube, Rotate Cube,
scim-hangul (sudo update-alternatives --config xinput-ko_KR ///// scim-hangul(5), not xim, 재시작 후 scim에서 hangul 선택)
sensors-applet (add to panel - "Hardware Sensors Monitor")
sudo chmod +s /usr/bin/cpufreq-selector
항목 설명
원하는 모드로 시작시 시작 프로그램에 추가 : cpufreq-selector -g powersave항목 설명
ondemand : 프로그램에 요청이 있는 대로
powersave : 절전모드
conservative : 최소로(?)
performance : 최대로
사용 가능한 cpu 정보는powersave : 절전모드
conservative : 최소로(?)
performance : 최대로
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors 하여 볼수 있음
(rc.local에 추가해 보았으나 듣지 않았다.)
system fan able / disable:
thermal information :
kernel compile & undervolting :
http://sakuragis.egloos.com/4406895
PentiumM/ Undervolting(Gentoo)
Undervolting-Howto(Ubuntu)
Kernel Compile In Ubuntu
echo -n 0 | sudo tee /proc/acpi/fan/FAN0/state echo -n 3 | sudo tee /proc/acpi/fan/FAN0/state (or) echo "echo -n 0 > /proc/acpi/fan/FAN0/state" >> /etc/rc.localLog :
/var/log/syslog:Jul 15 15:33:40 blackjack kernel: [ 26.038430] ACPI: Transitioning device [FAN0] to D3 /var/log/syslog:Jul 15 15:33:40 blackjack kernel: [ 26.038479] ACPI: Transitioning device [FAN0] to D3 /var/log/syslog:Jul 15 15:33:40 blackjack kernel: [ 26.038527] ACPI: Fan [FAN0] (off)D0 is full on and D3 is off.
cat /proc/acpi/thermal_zone/*/trip_points cat /proc/acpi/thermal_zone/*/temperature
http://sakuragis.egloos.com/4406895
PentiumM/ Undervolting(Gentoo)
Undervolting-Howto(Ubuntu)
Kernel Compile In Ubuntu
2.6.24 : (# for kernel compile)
mkdir src cd src sudo apt-get build-dep linux-image-$(uname -r) apt-get source linux-image-$(uname -r) cd linux-... cd debian/config/i386 rm * cp /boot/config-$(uname -r) config.generic cp /boot/config-$(uname -r) .config cd ../../.. chmod +x debian/scripts/misc/* debian/scripts/misc/oldconfig i386 vi arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c (searching "OPEX") /* Intel Pentium M processor 750 / 1.86 GHz (Sonoma) */ /* 기본값 static struct cpufreq_frequency_table sonoma_1862[] = { OPEX( 798, 133, 988, 988, 988, 988), OPEX(1064, 133, 1084, 1080, 1068, 1056), OPEX(1330, 133, 1180, 1172, 1132, 1124), OPEX(1596, 133, 1276, 1264, 1196, 1192), OPEX(1862, 133, 1356, 1356, 1260, 1260), { .frequency = CPUFREQ_TABLE_END } }; 최저로 제시된 값 static struct cpufreq_frequency_table sonoma_1862[] = { OPEX( 798, 133, 700, 988, 988, 988), OPEX(1064, 133, 780, 1080, 1068, 1056), OPEX(1197, 133, 828, 1172, 1132, 1124), OPEX(1330, 133, 876, 1172, 1132, 1124), OPEX(1463, 133, 924, 1264, 1196, 1192), OPEX(1596, 133, 972, 1264, 1196, 1192), OPEX(1729, 133, 1020, 1356, 1260, 1260), OPEX(1862, 133, 1036, 1356, 1260, 1260), { .frequency = CPUFREQ_TABLE_END } }; */ /* 필자의 값 */ static struct cpufreq_frequency_table sonoma_1862[] = { OPEX( 798, 133, 732, 988, 988, 988), /* 700 설정시 HAL 통과 불능, 716 설정시 X 윈도우 로드중 정지 */ OPEX(1064, 133, 1084, 1080, 1068, 1056), OPEX(1330, 133, 1180, 1172, 1132, 1124), OPEX(1596, 133, 1276, 1264, 1196, 1192), OPEX(1862, 133, 1356, 1356, 1260, 1260), { .frequency = CPUFREQ_TABLE_END } }; (save) //생성된 .ko 파일은 기존 파일과의 크기 차이가 10배 남짓 나는데 정확한 이유를 알 수 없었다. 기본값으로 컴파일한 상황에서는 잘 동작하며, 잘못된 전압을 넣고 부팅하면 제대로 부팅되지 않는다. #======repeat====== make prepare make scripts make M=./arch/x86/kernel/cpu/cpufreq //모듈이 생성되면 insmod 명령으로 테스트 해 보자. cp arch/x86/kernel/cpu/cpufreq/speedstep-centrino.ko /lib/modules/$(uname -r)/kernel/arch/x86/kernel/cpu/cpufreq (reboot) #필자의 경우 잘못된 값을 넣으면 hald 서비스를 시작하지 못해 부팅에 문제가 발생했다. 이때는 recovery(single) 모드로 부팅하면 된다. #부팅이 안 된다면 파일의 값 수정 후 repeat 부분만 다시 하면 된다.
1. powersave가 켜져 있는지 확인한다.
/var/log/Xorg.0.log:
(그러나 필자의 경우 Option "PowerState" is not used 메시지가 나오면서 적용되지 않았다.
그래서 그놈 시작 프로그램에 aticonfig --set-powerstate 1 명령을 직접 추가했다
)
/var/log/Xorg.0.log:
(II) fglrx(0): POWERplay version 3. 3 power states available: (II) fglrx(0): 1. 398/250MHz @ 60Hz [enable load balancing] (II) fglrx(0): 2. 105/122MHz @ 60Hz [low voltage, enable sleep] (II) fglrx(0): 3. 209/182MHz @ 60Hz [low voltage]2. 현재 모드 확인 및 변경 (사용자를 가리지 않는다.)
$ aticonfig --lsp core/mem [flags] ----------------- 1: 105/122 MHz [low voltage] 2: 209/182 MHz [low voltage] * 3: 398/250 MHz [default state] $ aticonfig --set-powerstate=1 $ aticonfig --lsp core/mem [flags] ----------------- * 1: 105/122 MHz [low voltage] 2: 209/182 MHz [low voltage] 3: 398/250 MHz [default state]3. 적당한 모드에서 테스트해본 뒤 괜찮은 것을 발견하면 xorg.conf에 추가한다.
(그러나 필자의 경우 Option "PowerState" is not used 메시지가 나오면서 적용되지 않았다.
그래서 그놈 시작 프로그램에 aticonfig --set-powerstate 1 명령을 직접 추가했다
)
Section "Device" Identifier "Configured Video Device" Driver "fglrx" Option "PowerState" "1" EndSection4. x를 재시작하여 정상 적용 되었는지 확인한다.