Не сталкивался ли ALL с программами позволяющими смотреть температуру процессора под фрей? Посоветуйте пожалуйста.
>Не сталкивался ли ALL с программами позволяющими смотреть температуру процессора под фрей?
>Посоветуйте пожалуйста.Версия какая?
если 5-ка, см. man acpi_thermal
>Не сталкивался ли ALL с программами позволяющими смотреть температуру процессора под фрей?
>Посоветуйте пожалуйста.ports/sysutils/xmbmon
ports/sysutils/consolehm
>>Не сталкивался ли ALL с программами позволяющими смотреть температуру процессора под фрей?
>>Посоветуйте пожалуйста.
>
>ports/sysutils/xmbmon
>ports/sysutils/consolehmМеня freeBSD 5.1. Скачал проги с ftp.freebsd.org. Но не одну откомпилить не удалось.
xbmon205.tag.gz, consolehm-1.31.tar.gz
>Меня freeBSD 5.1. Скачал проги с ftp.freebsd.org. Но не одну откомпилить не
>удалось.
>xbmon205.tag.gz, consolehm-1.31.tar.gz
Чем не устроил ACPI?
До RELENG_5 темпереатуру можно посмотреть черз sysctl hw.acpi.thermal.tz0.temperature
Но нужно её привести в человеческий вид, в man acpi_thermal есть формула.
В RELENG_5 не скажу когда точно появилось, но у меня на 5.3-STABLE так, уже выводится в градусах Цельсия.
>Чем не устроил ACPI?
>До RELENG_5 темпереатуру можно посмотреть черз sysctl hw.acpi.thermal.tz0.temperature
>Но нужно её привести в человеческий вид, в man acpi_thermal есть формула.
>
>В RELENG_5 не скажу когда точно появилось, но у меня на 5.3-STABLE
>так, уже выводится в градусах Цельсия.Нет у меня такой переменной. По sysctl -a не выводит.
>Нет у меня такой переменной. По sysctl -a не выводит.
а ACPI-то включён вообще?..
>
>>Нет у меня такой переменной. По sysctl -a не выводит.
>а ACPI-то включён вообще?..kernel: acpi0: <IntelR AWRDACPI> on motherboard
kernel: pcibios: BIOS version 2.10
kernel: Using $PIR table, 9 entries at 0xc00fddf0
kernel: acpi0: power button is handled as a fixed feature programming model.
kernel: Timecounter "ACPI-fast" frequency 3579545 Hz
kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
kernel: acpi_cpu0: <CPU> on acpi0
kernel: acpi_cpu1: <CPU> on acpi0
kernel: acpi_button0: <Power Button> on acpi0
kernel: acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%Вот..
>>
>>>Нет у меня такой переменной. По sysctl -a не выводит.
>>а ACPI-то включён вообще?..
>
>kernel: acpi0: <IntelR AWRDACPI> on motherboard
>kernel: pcibios: BIOS version 2.10
>kernel: Using $PIR table, 9 entries at 0xc00fddf0
>kernel: acpi0: power button is handled as a fixed feature programming model.
>
>kernel: Timecounter "ACPI-fast" frequency 3579545 Hz
>kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
>kernel: acpi_cpu0: <CPU> on acpi0
>kernel: acpi_cpu1: <CPU> on acpi0
>kernel: acpi_button0: <Power Button> on acpi0
>kernel: acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
>
>Вот..[alone]~ > sysctl -a | grep acpi | wc -l
76
[alone]~ > uname -rs
FreeBSD 5.3-RELEASE-p5
[alone]~ > sysctl -a | grep acpi_ther
[alone]~ > sysctl -a | grep therm
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.tz0.temperature: 3152
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3732
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3732
hw.acpi.thermal.tz0._ACx: 3732 -1 -1 -1 -1 -1 -1 -1 -1 -1
[alone]~ >
mail# sysctl -a | grep acpi_ther
mail# sysctl -a | grep therm
mail#нет такого
куда смотреть?
>mail# sysctl -a | grep acpi_ther
>mail# sysctl -a | grep therm
>mail#
>
>нет такого
>куда смотреть?man 4 acpi (ну и ACPI в БИВОСе)
>>
>>>Нет у меня такой переменной. По sysctl -a не выводит.
>>а ACPI-то включён вообще?..
>
>kernel: acpi0: <IntelR AWRDACPI> on motherboard
>kernel: pcibios: BIOS version 2.10
>kernel: Using $PIR table, 9 entries at 0xc00fddf0
>kernel: acpi0: power button is handled as a fixed feature programming model.
>
>kernel: Timecounter "ACPI-fast" frequency 3579545 Hz
>kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
>kernel: acpi_cpu0: <CPU> on acpi0
>kernel: acpi_cpu1: <CPU> on acpi0
>kernel: acpi_button0: <Power Button> on acpi0
>kernel: acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
>
>Вот..Это я из /var/log/messages кусок связанный с acpi привел. На сколько я понимаю acpi включен?
>>>Не сталкивался ли ALL с программами позволяющими смотреть температуру процессора под фрей?
>>>Посоветуйте пожалуйста.
>>
>>ports/sysutils/xmbmon
>>ports/sysutils/consolehm
>
>Меня freeBSD 5.1. Скачал проги с ftp.freebsd.org. Но не одну откомпилить не
>удалось.
>xbmon205.tag.gz, consolehm-1.31.tar.gz
А на что ругается при компиляции? У меня обе собираются без проблем, но первая мне понравилась больше. С ACPI у меня тоже ничего не вышло, хотя пробовал. В ядро вкомпилирован, но интерфейса для опроса датчиков температуры нет. Вероятно, просто не все чипсеты поддерживаются.
>А на что ругается при компиляции? У меня обе собираются без проблем,
>но первая мне понравилась больше. С ACPI у меня тоже ничего
>не вышло, хотя пробовал. В ядро вкомпилирован, но интерфейса для опроса
>датчиков температуры нет. Вероятно, просто не все чипсеты >поддерживаются.Кусок при компиляуии make от xmbmon205:
xmbmon.c: In function `getWH':
xmbmon.c:661: syntax error before "wd"
xmbmon.c:663: warning: implicit declaration of function `XtVaGetValues'
xmbmon.c:663: `XtNwidth' undeclared (first use in this function)
xmbmon.c:663: `wd' undeclared (first use in this function)
xmbmon.c:663: `XtNheight' undeclared (first use in this function)
xmbmon.c:663: `ht' undeclared (first use in this function)
xmbmon.c: At top level:
xmbmon.c:668: syntax error before '*' token
xmbmon.c: In function `ColorPix':
xmbmon.c:670: syntax error before "cmap"
xmbmon.c:673: `color' undeclared (first use in this function)
xmbmon.c:675: `cmap' undeclared (first use in this function)
xmbmon.c:675: warning: implicit declaration of function `DefaultColormap'
xmbmon.c:675: `display' undeclared (first use in this function)
xmbmon.c:676: warning: implicit declaration of function `XAllocNamedColor'
xmbmon.c:676: `c1' undeclared (first use in this function)
xmbmon.c:676: `c0' undeclared (first use in this function)
xmbmon.c: In function `init_dt':
xmbmon.c:717: warning: implicit declaration of function `XtDisplay'
xmbmon.c:717: warning: assignment makes pointer from integer without a cast
xmbmon.c:718: warning: implicit declaration of function `XtWindow'
xmbmon.c:721: warning: implicit declaration of function `XLoadQueryFont'
xmbmon.c:721: warning: assignment makes pointer from integer without a cast
xmbmon.c:730: warning: implicit declaration of function `XCreateGC'
xmbmon.c:731: warning: implicit declaration of function `XSetFont'
xmbmon.c:731: request for member `fid' in something not a structure or union
xmbmon.c:737: warning: implicit declaration of function `XSetLineAttributes'
xmbmon.c:737: `LineSolid' undeclared (first use in this function)
xmbmon.c:737: `CapRound' undeclared (first use in this function)
xmbmon.c:737: `JoinRound' undeclared (first use in this function)
xmbmon.c:738: warning: implicit declaration of function `XSetForeground'
xmbmon.c:739: request for member `fid' in something not a structure or union
xmbmon.c:747: warning: assignment makes pointer from integer without a cast
xmbmon.c:755: request for member `fid' in something not a structure or union
xmbmon.c:766: `XPoint' undeclared (first use in this function)
xmbmon.c:766: syntax error before ')' token
xmbmon.c:802: request for member `max_bounds' in something not a structure or union
xmbmon.c:807: request for member `max_bounds' in something not a structure or union
xmbmon.c:811: request for member `max_bounds' in something not a structure or union
xmbmon.c: In function `alarm_handler':
xmbmon.c:890: `XtTimerCallbackProc' undeclared (first use in this function)
xmbmon.c:890: syntax error before "alarm_handler"
xmbmon.c: In function `draw_values':
xmbmon.c:897: warning: implicit declaration of function `XClearArea'
xmbmon.c:897: `False' undeclared (first use in this function)
*** Error code 1Stop in /tmp/xmbmon205.
>>А на что ругается при компиляции? У меня обе собираются без проблем,
>>но первая мне понравилась больше. С ACPI у меня тоже ничего
>>не вышло, хотя пробовал. В ядро вкомпилирован, но интерфейса для опроса
>>датчиков температуры нет. Вероятно, просто не все чипсеты >поддерживаются.
>
>А вот кусок после configure (xmbmon205). Ошибок нет:checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for X... no
checking build system type... i386-unknown-freebsd5.1
checking host system type... i386-unknown-freebsd5.1
checking for socket in -lsocket... no
checking for fabs in -lm... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking machine/smb.h usability... no
checking machine/smb.h presence... no
checking for machine/smb.h... no
checking whether cc needs -traditional... no
checking for strftime... yes
checking return type of signal handlers... void
checking for gethostname... yes
checking for getutent... no
checking for socket... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
>Stop in /tmp/xmbmon205.Устанавливать из портов религия не позволяет?
>>Stop in /tmp/xmbmon205.
>
>Устанавливать из портов религия не позволяет?Порты 5.1. Скачивать инсталяционные файлы не хочет. Попробую еще раз.
P.S.
По поводу религии, я где-то это уже слышал. :)))
>>>Stop in /tmp/xmbmon205.
>>
>>Устанавливать из портов религия не позволяет?
>
>Порты 5.1. Скачивать инсталяционные файлы не хочет. Попробую еще раз.
>
>P.S.
>По поводу религии, я где-то это уже слышал. :)))
Может, проще порт выкачать?
>>P.S.
>>По поводу религии, я где-то это уже слышал. :)))
>Может, проще порт выкачать?
Настроил я порты, так из-за xmbmon я должен иксы ставить :))
>>>P.S.
>>>По поводу религии, я где-то это уже слышал. :)))
>>Может, проще порт выкачать?
>Настроил я порты, так из-за xmbmon я должен иксы ставить :))Поставил consolehm. Вроде не врет:
----------------------------------------
Motherboard Temperature: 33 ╟ C
CPU_0 Temperature: 29 ╟ C
CPU_1 Temperature: 200 ╟ C
VCore: 2.96875 V
Vit: 3.09375 V
Vio: 3.23438 V
+5V: 4.93172 V
+12V: 15.9375 V
-12V: -13.6875 V
-5V: -0.835 V
Fan 1: Not Available
Fan 2: 2789 rpm
Fan 3: Not Available
----------------------------------------
а куда он подевался то? :))
я его из портов а он исчез :))
где искать?
(имеется ввиду consolehm)
>>>P.S.
>>>По поводу религии, я где-то это уже слышал. :)))
>>Может, проще порт выкачать?
>Настроил я порты, так из-за xmbmon я должен иксы ставить :))
Выкачай ТОЛЬКО нужный порт (в виде tar.bz2, пара Кб), удали в своём дереве каталог со старым портом и на его место распакуй, что выкачал. Всё дерево портов тебе качать нет смысла. Ну, а если не соберётся... Тогда и посмотришь :)
>>>>P.S.
>>>>По поводу религии, я где-то это уже слышал. :)))
>>>Может, проще порт выкачать?
>>Настроил я порты, так из-за xmbmon я должен иксы ставить :))
>Выкачай ТОЛЬКО нужный порт (в виде tar.bz2, пара Кб), удали в своём
>дереве каталог со старым портом и на его место распакуй, что
>выкачал. Всё дерево портов тебе качать нет смысла. Ну, а если
>не соберётся... Тогда и посмотришь :)
Или я тебя не правильно понял?
В любом случае xmbmon можно с -DWITHOUT_X11 собрать...
Вот пытаюсь скомпилить ядро с поддержкой ACPI (FreeBSD 4.10)
Добавил
device acpica
options ACPI_DEBUGи при make выдает
../../i386/i386/bios.c: In function `bios16':
../../i386/i386/bios.c:379: warning: comparison between pointer and integer
cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 ../../i386/i386/bioscall.s
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 ../../i386/i386/busdma_machdep.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 ../../i386/i386/elf_machdep.c
cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 ../../i386/i386/exception.s
{standard input}: Assembler messages:
{standard input}:3052: Error: invalid character '_' in mnemonic
{standard input}:3081: Error: invalid character '_' in mnemonic
{standard input}:3226: Error: invalid character '_' in mnemonic
{standard input}:3226: Error: invalid character '_' in mnemonic
{standard input}:3226: Error: invalid character '_' in mnemonic
{standard input}:3226: Error: invalid character '_' in mnemonic
{standard input}:3226: Error: invalid character '_' in mnemonic
{standard input}:3226: Error: invalid character '_' in mnemonic
{standard input}:3226: Error: invalid character '_' in mnemonic
{standard input}:3226: Error: invalid character '_' in mnemonic
{standard input}:3227: Error: invalid character '_' in mnemonic
{standard input}:3227: Error: invalid character '_' in mnemonicи потом exit 1
Что за трабла имеет место быть?
Таки собрал ядро с поддержкой ACPI, скомпили consolehmно не работает она, вот что гворит:
su-2.05b# chm
Failed to open /dev/smb0.
Добавил в конфиг ядра это:
device smbus0
device iicbus0
device iicbb0
device intpm0
device smb0 at smbus?пересобрал, но не помогло... еже ли запустить софтину Using ISA Method.
su-2.05b# chm -I
Using ISA Method.
----------------------------------------
Motherboard Temperature: 255 ╟ C
CPU_0 Temperature: 0 ╟ C
CPU_1 Temperature: 0 ╟ C
VCore: 3.98438 V
Vit: 3.98438 V
Vio: 3.98438 V
+5V: 6.65391 V
+12V: 15.9375 V
-12V: -15.9375 V
-5V: -6.65391 V
Fan 1: Not Available
Fan 2: Not Available
Fan 3: Not AvailableБред говорит она.
dmеsg говорит следущее
acpi0: <ASUS P4GE-V > on motherboard
acpi0: power button is handled as a fixed feature programming model.
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
sysctl -a вот что говорит:
acpi0: <ASUS P4GE-V > on motherboard
acpi0: power button is handled as a fixed feature programming model.
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
debug.acpi_debug_layer: 0
debug.acpi_debug_level: 0
debug.acpi_ca_version: 537068072
debug.acpi_semaphore_debug: 0
hw.acpi.supported_sleep_state: S1 S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 0
hw.acpi.s4bios: 1
hw.acpi.verbose: 0
hw.acpi.disable_on_poweroff: 1
hw.acpi.cpu.max_speed: 8
hw.acpi.cpu.current_speed: 8
hw.acpi.cpu.performance_speed: 8
hw.acpi.cpu.economy_speed: 4
machdep.acpi_timer_freq: 3579545
machdep.acpi_root: 1004272Куда еще копать?
Привожу интересный факт. Поставил consolehm на две машины. На обеих матери ASUS P4BP-MX i845GV mATX Lan. Ядра собирал одинаково, но на одной матери инфу корректно выдает, а на другой - нет.Вот где работает:
sysctl -a | grep acpidebug.acpi_debug_layer: 16383
debug.acpi_debug_level: 15
debug.acpi_ca_version: 537068072
debug.acpi_semaphore_debug: 0
hw.acpi.supported_sleep_state: S1 S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 0
hw.acpi.s4bios: 1
hw.acpi.verbose: 0
hw.acpi.disable_on_poweroff: 1
hw.acpi.cpu.max_speed: 2
hw.acpi.cpu.current_speed: 2
hw.acpi.cpu.performance_speed: 2
hw.acpi.cpu.economy_speed: 1
machdep.acpi_timer_freq: 3579545
machdep.acpi_root: 1008992А вот где нет:
sysctl -a | grep acpidebug.acpi_debug_layer: 16383
debug.acpi_debug_level: 15
debug.acpi_ca_version: 537068072
debug.acpi_semaphore_debug: 0
hw.acpi.supported_sleep_state: S1 S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 0
hw.acpi.s4bios: 1
hw.acpi.verbose: 0
hw.acpi.disable_on_poweroff: 1
hw.acpi.cpu.max_speed: 8
hw.acpi.cpu.current_speed: 8
hw.acpi.cpu.performance_speed: 8
hw.acpi.cpu.economy_speed: 4
machdep.acpi_timer_freq: 3579545
machdep.acpi_root: 1003856В BIOS'е ковырать, что-ли?