Temperature from Qualcomm Atheros QCA986x/988x on x86

Hi All,

I have OpenWrt based router on x86. Can you help me to get the temperature from my Atheros WIFI card?
This is the card:

I already installed lm-sensors, lm-sensors-detect and executed sensors-detect command. Those are the only temperatures I can see:

# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +26.8°C (crit = +95.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0: +41.0°C (high = +90.0°C, crit = +90.0°C)
Core 1: +41.0°C (high = +90.0°C, crit = +90.0°C)
Core 2: +38.0°C (high = +90.0°C, crit = +90.0°C)
Core 3: +38.0°C (high = +90.0°C, crit = +90.0°C)

Do I have to install some kmod package?
Every advice will be useful for me. Thank you in advance.

I've read all the manual and can't find info about any T pcb sensors, does your information correct? Can you link me? if you mean chip die sensor i don't think it possible to check temp until you re-write driver or some libraries.

I'm using the same setup with IPFire and there I can see the temperature of the chip in Stats so its possible. I just have to figure out how. Any help is useful.

Check the loaded modules with ipfire, have a look at the kernel configuration (zgrep ATH /proc/config.gz in particular) and post the sensors output from there.

sorry for injectin in you talk, isn't sensors made for checking PCB temperature sensors? I have also x86 router, i have i350 intel NIC, it have pcb sensor wich is work great, but also have ax210 wich does not have any sensors on pcb but on die it is. and it does not work..

If sensors will display it for ath10k (or if the values are exposed somewhere in sysfs ir debugfs), I don't know (but that's the interesting bit to find out). iwlwifi's temperature sensor is read by sensors (but only if the radio is up).

2 Likes

This is from the same PC. I just switched the SDDs and booted in IPFIre.

This is the kernel config of IPFire:

Output IPFire:

# sensors
ath10k_hwmon-pci-0200
Adapter: PCI adapter
temp1:        +53.0°C  
...

Modules loaded IPFire:

Module                  Size  Used by
nct6775                73728  0
hwmon_vid              16384  1 nct6775
tun                    61440  2
cmac                   16384  1
ccm                    20480  3
xt_MASQUERADE          20480  1
8021q                  36864  0
garp                   16384  1 8021q
xt_multiport           20480  6
xt_hashlimit           20480  2
xt_mac                 16384  14
xt_mark                16384  3
xt_policy              16384  4
xt_TCPMSS              16384  1
xt_conntrack           16384  7
xt_comment             16384  11
ipt_REJECT             16384  1
nf_reject_ipv4         16384  1 ipt_REJECT
xt_LOG                 20480  11
xt_limit               16384  9
nf_log_ipv4            16384  11
nf_log_common          16384  1 nf_log_ipv4
iptable_raw            16384  1
iptable_mangle         16384  1
iptable_filter         16384  1
vfat                   24576  1
fat                    86016  1 vfat
intel_powerclamp       20480  0
ath10k_pci             53248  0
coretemp               20480  0
ath10k_core           499712  1 ath10k_pci
kvm_intel             327680  0
ath                    36864  1 ath10k_core
kvm                   909312  1 kvm_intel
sch_fq_codel           20480  4
mac80211              970752  1 ath10k_core
at24                   24576  0
irqbypass              16384  1 kvm
ppdev                  24576  0
crct10dif_pclmul       16384  1
iTCO_wdt               16384  0
regmap_i2c             16384  1 at24
crc32_pclmul           16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
ghash_clmulni_intel    16384  0
cfg80211              954368  3 ath,mac80211,ath10k_core
parport_pc             53248  0
i2c_i801               36864  0
lpc_ich                28672  0
r8169                 102400  0
pcspkr                 16384  0
mfd_core               20480  1 lpc_ich
i2c_smbus              20480  1 i2c_i801
realtek                24576  2
libarc4                16384  1 mac80211
parport                69632  2 parport_pc,ppdev
i2c_hid                32768  0
i2c_core              102400  5 i2c_hid,at24,i2c_smbus,i2c_i801,regmap_i2c
rfkill_gpio            16384  0
rfkill                 28672  3 rfkill_gpio,cfg80211
pinctrl_cherryview     45056  0
intel_int0002_vgpio    16384  1
video                  53248  0