[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fancontrol



On 5/29/23 19:56, Aleix Piulachs wrote:
> Computer hp compaq 6830s intel pentium dual cpu t3400

https://ark.intel.com/content/www/us/en/ark/products/35583/intel-pentium-processor-t3400-1m-cache-2-16-ghz-667-mhz-fsb-socket-p.html

Intel® 64 ‡ Yes


On 6/10/23 08:29, Aleix Piulachs wrote:
H Hallo
i’ m with a hp 6830s computer bullseye i386


Why are you running 32-bit Debian? Your processor is 64-bit. I would run 64-bit Debian:

http://cdimage.debian.org/cdimage/archive/11.7.0/amd64/iso-cd/debian-11.7.0-amd64-netinst.iso


and the fan services are not working.


Does the fan operate when you power up the computer?


Does the fan operate when you enter the Setup utility?


Does the Setup utility have a diagnostics page that shows the fan RPM? If so, what is the fan RPM?


Does the Setup utility have any settings to control the fan? What are the names of the settings, what options are available, and what are the current settings?


i write system to enable fancontrol
and systemctl lm-sensors enable but worse when i write systemctl status
fancontrol, i see Active failed Result exit-code and i write
/usr/sbin/fancontrol —check and i see some mandatory settings are missing
and in /etc/fancontrol i have:
[Unit]
  Description=Start fancontrol, if configured
ConditionFileNotEmpty=/etc/fancontrol
After=lm_sensors.service
[Service]
Type=simple
PIDFile=/var/run/fancontrol.pid
ExecStart=/usr/sbin/fancontrol
[Install]
WantedBy=multi-user.target hallo


English prose is ambiguous. Computer technical support requires facts. Please provide console sessions, as I have done below.


Check the status of the systemd lm-sensors service:

2023-06-10 14:59:15 root@taz ~
# systemctl status lm-sensors
* lm-sensors.service - Initialize hardware monitoring sensors
Loaded: loaded (/lib/systemd/system/lm-sensors.service; enabled; vendor pr>
     Active: active (exited) since Sat 2023-06-10 14:33:01 PDT; 26min ago
Process: 816 ExecStart=/usr/bin/sensors -s (code=exited, status=0/SUCCESS)
    Process: 842 ExecStart=/usr/bin/sensors (code=exited, status=0/SUCCESS)
   Main PID: 842 (code=exited, status=0/SUCCESS)
        CPU: 4ms

Jun 10 14:33:01 taz sensors[842]: Adapter: ISA adapter
Jun 10 14:33:01 taz sensors[842]: Package id 0: +55.0 C (high = +80.0 C, crit> Jun 10 14:33:01 taz sensors[842]: Core 0: +55.0 C (high = +80.0 C, crit> Jun 10 14:33:01 taz sensors[842]: Core 1: +51.0 C (high = +80.0 C, crit> Jun 10 14:33:01 taz sensors[842]: Core 2: +48.0 C (high = +80.0 C, crit> Jun 10 14:33:01 taz sensors[842]: Core 3: +54.0 C (high = +80.0 C, crit>
Jun 10 14:33:01 taz sensors[842]: pch_cannonlake-virtual-0
Jun 10 14:33:01 taz sensors[842]: Adapter: Virtual device
Jun 10 14:33:01 taz sensors[842]: temp1:        +39.0 C
Jun 10 14:33:01 taz systemd[1]: Finished Initialize hardware monitoring sensors.


Check the status of the systemd fancontrol service:

2023-06-10 14:59:36 root@taz ~
# systemctl status fancontrol
Unit fancontrol.service could not be found.


fancontrol is not installed on my system.  Look for a Debian package:

2023-06-10 15:02:10 root@taz ~
# apt-cache search fancontrol
fancontrol - utility to control the fan speed


Install the fancontrol Debian package:

2023-06-10 15:02:33 root@taz ~
# apt-get install fancontrol
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  fancontrol
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 48.5 kB of archives.
After this operation, 108 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 fancontrol all 1:3.6.0-7 [48.5 kB]
Fetched 48.5 kB in 0s (254 kB/s)
Selecting previously unselected package fancontrol.
(Reading database ... 151610 files and directories currently installed.)
Preparing to unpack .../fancontrol_1%3a3.6.0-7_all.deb ...
Unpacking fancontrol (1:3.6.0-7) ...
Setting up fancontrol (1:3.6.0-7) ...
Created symlink /etc/systemd/system/multi-user.target.wants/fancontrol.service -> /lib/systemd/system/fancontrol.service.
Processing triggers for man-db (2.9.4-2) ...


Check the status of the systemd fancontrol service:

2023-06-10 15:02:41 root@taz ~
# systemctl status fancontrol
* fancontrol.service - fan speed regulator
Loaded: loaded (/lib/systemd/system/fancontrol.service; enabled; vendor pr>
     Active: inactive (dead)
  Condition: start condition failed at Sat 2023-06-10 15:02:41 PDT; 20s ago
             `- ConditionFileNotEmpty=/etc/fancontrol was not met
       Docs: man:fancontrol(8)
             man:pwmconfig(8)

Jun 10 15:02:41 taz systemd[1]: Condition check resulted in fan speed regulator>


Look for the configuration file:

2023-06-10 15:08:00 root@taz ~
# cat /etc/fancontrol
cat: /etc/fancontrol: No such file or directory


RTFM fancontrol(8):

CONFIGURATION
For easy configuration, there's a script named pwmconfig(8) which lets you interactively write your configuration file for fancontrol. Alter- natively you can write this file yourself using the information from
       this manpage.


I suggest that you RTFM fancontrol(8) and pwmconfig(8), and then run pwmconfig(8).


David


p.s. RTFM fancontrol(8) I also see:

WARNING
Please be careful when using the fan control features of your main- board, in addition to the risk of burning your CPU, at higher tempera- tures there will be a higher wearout of your other hardware components, too. So if you plan to use these components in 50 years, maybe you shouldn't use fancontrol at all. Also please keep in mind most fans
       aren't designed to be powered by a PWMed voltage.


I allow the computer firmware to control fans. I use the Xfce panel Sensor plug-in to monitor processor temperature. I suggest that you do the same.


Reply to: