Aby wyświetlić prędkość obrotową wentylatorów z płyty głównej BD795iSE w Linux Mint, możesz użyć narzędzia sensors z pakietu lm-sensors. Poniżej znajduje się skrypt, który pobiera dane z czujników i wyświetla je w wyskakującym okienku za pomocą zenity (które jest domyślnie zainstalowane w Linux Mint).
Skrypt:
#!/bin/bash
# Sprawdź, czy lm-sensors jest zainstalowany
if ! command -v sensors &> /dev/null; then
zenity --error --text="Pakiet lm-sensors nie jest zainstalowany. Zainstaluj go za pomocą:\n\nsudo apt install lm-sensors"
exit 1
fi
# Pobierz dane z czujników
fan_data=$(sensors | grep -i "fan" | awk '{print $2, $3, $4}')
# Sprawdź, czy dane są dostępne
if [ -z "$fan_data" ]; then
zenity --error --text="Nie znaleziono danych o wentylatorach. Sprawdź, czy czujniki są poprawnie skonfigurowane."
exit 1
fi
# Wyświetl dane w okienku
zenity --info --title="Prędkość wentylatorów" --text="Aktualna prędkość wentylatorów:\n\n$fan_data"
Jak używać skryptu?
Zainstaluj lm-sensors (jeśli nie jest zainstalowany):
sudo apt update
sudo apt install lm-sensors
Uruchom detekcję czujników (jeśli nie było to zrobione wcześniej):
sudo sensors-detect
(Postępuj zgodnie z instrukcjami, zazwyczaj wystarczy zaakceptować domyślne opcje).
Processor: AMD Ryzen 9 7945HX with Radeon Graphics (25/97/2)
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): yes
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
AMD Family 11h thermal sensors... No
AMD Family 12h and 14h thermal sensors... No
AMD Family 15h thermal sensors... No
AMD Family 16h thermal sensors... No
AMD Family 17h thermal sensors... No
AMD Family 15h power sensors... No
AMD Family 16h power sensors... No
Hygon Family 18h thermal sensors... No
Intel digital thermal sensor... No
Intel AMB FB-DIMM thermal sensor... No
Intel 5500/5520/X58 thermal sensor... No
VIA C7 thermal sensor... No
VIA Nano thermal sensor... No
Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): yes
Probing for Super-I/O at 0x2e/0x2f
Trying family National Semiconductor/ITE'... No Trying family SMSC'... No
Trying family VIA/Winbond/Nuvoton/Fintek'... No Trying family ITE'... Yes
Found ITE IT8613E Super IO Sensors' Success! (address 0xa30, driver to-be-written')
Probing for Super-I/O at 0x4e/0x4f
Trying family National Semiconductor/ITE'... No Trying family SMSC'... No
Trying family VIA/Winbond/Nuvoton/Fintek'... No Trying family ITE'... No
Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): yes
Probing for IPMI BMC SMIC' at 0xca8... No
Assistant
Z Twojego logu wynika, że sensors-detect znalazł układ ITE IT8613E Super IO Sensors, ale nie ma dla niego gotowego sterownika w jądrze Linux. Oznacza to, że standardowe narzędzia (lm-sensors) nie będą w stanie odczytać prędkości wentylatorów z Twojej płyty głównej BD795iSE.
Możliwe rozwiązania:
Sprawdź, czy sterownik jest dostępny w nowszej wersji jądra
Aktualizuj jądro do najnowszej stabilnej wersji (np. 6.12 lub nowszej).
Możesz sprawdzić, czy sterownik dla IT8613E został dodany w nowszych wersjach:
sudo apt update
sudo apt install linux-generic-hwe-22.04 # Dla Ubuntu/Linux Mint 22.04
Po aktualizacji spróbuj ponownie sensors-detect.
Użyj alternatywnych narzędzi do monitorowania wentylatorów
fancontrol (jeśli sterownik zostanie dodany w przyszłości)
hwinfo (może wykryć wentylatory, ale nie zawsze)
sudo apt install hwinfo
sudo hwinfo --fan
psensor (GUI do monitorowania temperatury i wentylatorów)
sudo apt install psensor
Sprawdź, czy BIOS/UEFI udostępnia dane o wentylatorach
Niektóre płyty główne udostępniają dane o wentylatorach tylko przez interfejs BIOS/UEFI.
Możesz spróbować uruchomić system Windows (jeśli masz dostęp) i sprawdzić, czy tam są widoczne.
Manualne odczytanie danych z układu IT8613E (dla zaawansowanych)
Jeśli jesteś programistą, możesz spróbować napisać własny sterownik lub użyć narzędzi takich jak i2c-tools do odczytu rejestrów.
Przykład:
sudo apt install i2c-tools
sudo i2cdetect -y 0 # Sprawdź, czy układ jest widoczny na szynie I2C
Podsumowanie:
Niestety, Twoja płyta główna BD795iSE używa układu ITE IT8613E, dla którego nie ma jeszcze wsparcia w jądrze Linux. Możesz:
Sprawdzić w BIOS/UEFI, czy są dostępne dane o wentylatorach.
Jeśli masz dostęp do systemu Windows, możesz tam sprawdzić, czy wentylatory są widoczne (np. za pomocą HWInfo lub SpeedFan).
IPMI BMC KCS' at 0xca0... No Probing for
Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (yes/NO): yes
Probing for National Semiconductor LM78' at 0x290... No Probing for National Semiconductor LM79' at 0x290... No
Probing for Winbond W83781D' at 0x290... No Probing for Winbond W83782D' at 0x290... No
Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): yes
Using driver `i2c-piix4' for device 0000:00:14.0: AMD KERNCZ SMBus
Next adapter: Synopsys DesignWare I2C adapter (i2c-0)
Do you want to scan it? (YES/no/selectively): yes
Adapter doesn't support all probing functions.
Some addresses won't be probed.
Next adapter: Synopsys DesignWare I2C adapter (i2c-1)
Do you want to scan it? (YES/no/selectively): yes
Adapter doesn't support all probing functions.
Some addresses won't be probed.
Next adapter: SMBus PIIX4 adapter port 0 at 0b00 (i2c-2)
Do you want to scan it? (yes/NO/selectively): yes
Client found at address 0x48
Probing for National Semiconductor LM75'... No Probing for National Semiconductor LM75A'... No
Probing for Dallas Semiconductor DS75'... No Probing for National Semiconductor LM77'... No
Probing for Analog Devices ADT7410/ADT7420'... No Probing for Analog Devices ADT7411'... No
Probing for Maxim MAX6642'... No Probing for Texas Instruments TMP435'... No
Probing for National Semiconductor LM73'... No Probing for National Semiconductor LM92'... No
Probing for National Semiconductor LM76'... No Probing for Maxim MAX6633/MAX6634/MAX6635'... No
Probing for NXP/Philips SA56004'... No Probing for SMSC EMC1023'... No
Probing for SMSC EMC1043'... No Probing for SMSC EMC1053'... No
Probing for SMSC EMC1063'... No Client found at address 0x49 Probing for National Semiconductor LM75'... No
Probing for National Semiconductor LM75A'... No Probing for Dallas Semiconductor DS75'... No
Probing for National Semiconductor LM77'... No Probing for Analog Devices ADT7410/ADT7420'... No
Probing for Maxim MAX6642'... No Probing for Texas Instruments TMP435'... No
Probing for National Semiconductor LM73'... No Probing for National Semiconductor LM92'... No
Probing for National Semiconductor LM76'... No Probing for Maxim MAX6633/MAX6634/MAX6635'... No
Probing for NXP/Philips SA56004'... No Probing for SMSC EMC1023'... No
Probing for SMSC EMC1043'... No Probing for SMSC EMC1053'... No
Probing for SMSC EMC1063'... No Client found at address 0x50 Handled by driver spd5118' (already loaded), chip type spd5118' (note: this is probably NOT a sensor chip!) Client found at address 0x51 Handled by driver spd5118' (already loaded), chip type `spd5118'
(note: this is probably NOT a sensor chip!)
Next adapter: SMBus PIIX4 adapter port 2 at 0b00 (i2c-3)
Do you want to scan it? (yes/NO/selectively): yes
Next adapter: SMBus PIIX4 adapter port 1 at 0b20 (i2c-4)
Do you want to scan it? (yes/NO/selectively): yes
Client found at address 0x73
Probing for FSC Poseidon I'... No Probing for FSC Poseidon II'... No
Probing for FSC Scylla'... No Probing for FSC Hermes'... No
Probing for FSC Heimdal'... No Probing for FSC Heracles'... No
Probing for FSC Hades'... No Probing for FSC Syleus'... No
Client found at address 0x77
Probing for `Asus Mozart-2'... No
Next adapter: AMDGPU DM i2c hw bus 0 (i2c-5)
Do you want to scan it? (yes/NO/selectively): yes
Next adapter: AMDGPU DM i2c hw bus 1 (i2c-6)
Do you want to scan it? (yes/NO/selectively): yes
Client found at address 0x58
Probing for Analog Devices ADT7462'... No Probing for Andigilog aSC7512'... No
Next adapter: AMDGPU DM i2c hw bus 2 (i2c-7)
Do you want to scan it? (yes/NO/selectively): yes
Next adapter: AMDGPU DM aux hw bus 0 (i2c-8)
Do you want to scan it? (yes/NO/selectively): yes
Next adapter: AMDGPU DM aux hw bus 2 (i2c-9)
Do you want to scan it? (yes/NO/selectively): yes
Now follows a summary of the probes I have just done.
Just press ENTER to continue: yes
Driver `to-be-written':
ISA bus, address 0xa30
Chip `ITE IT8613E Super IO Sensors' (confidence: 9)