Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report for Gigabyte B650M GAMING X AX (rev 1.3) #26

Closed
emansom opened this issue Jun 4, 2024 · 20 comments
Closed

Report for Gigabyte B650M GAMING X AX (rev 1.3) #26

emansom opened this issue Jun 4, 2024 · 20 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@emansom
Copy link

emansom commented Jun 4, 2024

Per instructions in the README, i'm providing information to hopefully get fan control on the B650M GAMING X AX (rev 1.3) working.

Output of commands:

sensors-detect
09:45 ewout@am5ws ~% sudo sensors-detect                                           
# sensors-detect version 3.6.0+git
# System: Gigabyte Technology Co., Ltd. B650M GAMING X AX [Default string]
# Kernel: 6.9.3-1-cachyos x86_64
# Processor: AMD Ryzen 5 7600 6-Core Processor (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): 
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
AMD Family 19h 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): 
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 unknown chip with ID 0x8689
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): ^C
09:53 ewout@am5ws ~% 
sudo isadump -k 0x87,0x01,0x55,0x55 0x2e 0x2f 7
09:48 ewout@am5ws ~% sudo isadump -k 0x87,0x01,0x55,0x55 0x2e 0x2f 7
[sudo] wachtwoord voor ewout: 
WARNING! Running this program can cause system crashes, data loss and worse!
I will probe address register 0x2e and data register 0x2f.
Probing bank 7 using bank register 0x07.
Continue? [Y/n] 
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 00 
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
20: 86 89 02 00 2e 20 b3 00 00 00 80 30 88 40 00 00 
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
60: 00 00 0a 00 20 00 00 00 00 00 00 00 00 00 00 00 
70: 00 00 20 00 00 17 00 00 00 00 00 00 00 00 00 00 
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
b0: 00 00 00 00 00 00 00 00 00 00 00 c0 00 00 00 00 
c0: 01 00 00 40 00 ff ff ff 01 00 00 00 00 68 00 00 
d0: b5 00 08 0a 00 fd ff ff 00 00 00 00 00 00 00 00 
e0: 00 00 00 00 00 00 00 50 00 20 12 49 00 00 0a 7c 
f0: 00 00 00 00 00 00 0d 00 00 d0 49 60 00 6e 00 ff 
09:49 ewout@am5ws ~% 

Can't determine the device address to run the third command, as it's missing from the output of sensors-detect.

@emansom emansom changed the title Report for B650M GAMING X AX (rev 1.3) Report for Gigabyte B650M GAMING X AX (rev 1.3) Jun 4, 2024
@emansom
Copy link
Author

emansom commented Jun 4, 2024

Motherboard says it's an IT8689E:

IMG_20240604_102409

@frankcrawford
Copy link
Owner

Thanks for that. I'll look at it in the next few days.

I think that chip is already supported, so is the issue you are seeing that the driver won't load? I guess I'll check through the attachments.

Have you attached them, as I can't see them here?

@frankcrawford frankcrawford self-assigned this Jun 5, 2024
@frankcrawford frankcrawford added the question Further information is requested label Jun 5, 2024
@emansom
Copy link
Author

emansom commented Jun 5, 2024

I think that chip is already supported, so is the issue you are seeing that the driver won't load? I guess I'll check through the attachments.

Yes, it won't load automatically.

A dmi match like done for other motherboards might work looking at code, though not sure.
Will test with patching.

Have you attached them, as I can't see them here?

I wrapped them in a </details> block, simply click on them.

@emansom
Copy link
Author

emansom commented Jun 5, 2024

Digging further, it seems I was testing with the upstream/built-in version of this module inside the kernel (CachyOS kernel).

Now building a kernel without the built-in module compiled in, so I can test a DKMS built one.

@emansom
Copy link
Author

emansom commented Jun 5, 2024

Any plans on submitting patches to LKML to update the upstream/built-in it87 driver?

@emansom
Copy link
Author

emansom commented Jun 5, 2024

Testing the DKMS built one (latest git, using AUR package it87-dkms-git) results in the following:

sudo modprobe it87
00:13 ewout@am5ws ~% sudo modprobe it87
[sudo] wachtwoord voor ewout:
modprobe: ERROR: could not insert 'it87': Device or resource busy
00:13 ewout@am5ws ~% sudo modprobe it87 force_id=0x8689
modprobe: ERROR: could not insert 'it87': Device or resource busy
00:13 ewout@am5ws ~% lsmod | grep -i it87
00:13 ewout@am5ws ~%

@frankcrawford
Copy link
Owner

@emansom have you rebooted the system since the DKMS rebuild? While it moves the original module out of the way, it doesn't always manage to unload it cleanly.

The error you are seeing sounds like the LKML version is still loaded.

If you don't want to reboot you could try rmmod it87 followed by modprobe it87

As for upstreaming it, yes, that is going on, but every difference needs to be justified, so it is a very slow process, especially as I didn't write lots of those differences, and need to go through them very carefully.

@frankcrawford
Copy link
Owner

Oh, looking at the code a bit further, currently that board doesn't automatically ignore ACPI issues. Can you check dmesg and see if you have a line like

ACPI Warning: SystemIO range 0x0000000000000A45-0x0000000000000A46 conflicts with OpRegion 0x0000000000000A45-0x0000000000000A46 (\GSA1.SIO1) (20230628/utaddress-204)

If you do see that, add the option ignore_resource_conflict=1, i.e. run modprobe it87 ignore_resource_conflict=1 and let me know if that works. If it does, you can temporarily add that option into /etc/modprobe.d/it87.conf (or equivalent).

I can then get you to do a few tests to see if there are any issues making it a permanent fix.

@emansom
Copy link
Author

emansom commented Jun 6, 2024

@emansom have you rebooted the system since the DKMS rebuild? While it moves the original module out of the way, it doesn't always manage to unload it cleanly.

Yes. I rebooted after I recompiled the kernel with the built-in module disabled.

The error you are seeing sounds like the LKML version is still loaded.

No module is loaded. As you can see from the output of lsmod in my last comment.

As for upstreaming it, yes, that is going on, but every difference needs to be justified, so it is a very slow process, especially as I didn't write lots of those differences, and need to go through them very carefully.

Appreciate it that you're going down that rabbit hole!

@emansom
Copy link
Author

emansom commented Jun 6, 2024

Oh, looking at the code a bit further, currently that board doesn't automatically ignore ACPI issues. Can you check dmesg and see if you have a line like

ACPI Warning: SystemIO range 0x0000000000000A45-0x0000000000000A46 conflicts with OpRegion 0x0000000000000A45-0x0000000000000A46 (\GSA1.SIO1) (20230628/utaddress-204)

Yep, that's it! I can see similar lines to that in the dmesg output:

sudo dmesg | grep -i ACPI
17:53 ewout@am5ws ~% sudo dmesg | grep -i ACPI
[    0.000000] BIOS-e820: [mem 0x000000000a200000-0x000000000a211fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000009047e000-0x000000009067efff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000009067f000-0x000000009267efff] ACPI NVS
[    0.000000] reserve setup_data: [mem 0x000000000a200000-0x000000000a211fff] ACPI NVS
[    0.000000] reserve setup_data: [mem 0x000000009047e000-0x000000009067efff] ACPI data
[    0.000000] reserve setup_data: [mem 0x000000009067f000-0x000000009267efff] ACPI NVS
[    0.000000] efi: ACPI=0x92667000 ACPI 2.0=0x92667014 TPMFinalLog=0x92633000 SMBIOS=0x99ce4000 SMBIOS 3.0=0x99ce3000 MEMATTR=0x86f91018 ESRT=0x89969918 RNG=0x904e4f18 INITRD=0x865c3a98 TPMEventLog=0x81456018
[    0.003049] ACPI: Early table checksum verification disabled
[    0.003052] ACPI: RSDP 0x0000000092667014 000024 (v02 ALASKA)
[    0.003054] ACPI: XSDT 0x0000000092666728 0000FC (v01 ALASKA A M I    01072009 AMI  01000013)
[    0.003058] ACPI: FACP 0x0000000090668000 000114 (v06 ALASKA A M I    01072009 AMI  00010013)
[    0.003061] ACPI: DSDT 0x00000000905EB000 072C97 (v151 ALASKA A M I    01072009 INTL 20220331)
[    0.003062] ACPI: FACS 0x0000000092663000 000040
[    0.003063] ACPI: HWIN 0x000000009067E000 00006C (v00 GBT    AMD      00050000 AMI  01000013)
[    0.003065] ACPI: SSDT 0x0000000090672000 00B8F2 (v02 GBT    GSWApp   00000001 INTL 20220331)
[    0.003066] ACPI: SSDT 0x000000009066A000 007F64 (v02 AMD    Splinter 00000002 MSFT 04000000)
[    0.003067] ACPI: SSDT 0x0000000090669000 0001AD (v02 ALASKA CPUSSDT  01072009 AMI  01072009)
[    0.003068] ACPI: FIDT 0x0000000090662000 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.003070] ACPI: MCFG 0x0000000090661000 00003C (v01 ALASKA A M I    01072009 MSFT 00010013)
[    0.003071] ACPI: HPET 0x0000000090660000 000038 (v01 ALASKA A M I    01072009 AMI  00000005)
[    0.003072] ACPI: WDRT 0x000000009065F000 000047 (v01 ALASKA A M I    01072009 AMI  00000005)
[    0.003073] ACPI: FPDT 0x000000009065E000 000044 (v01 ALASKA A M I    01072009 AMI  01000013)
[    0.003074] ACPI: VFCT 0x00000000905E0000 00AE84 (v01 ALASKA A M I    00000001 AMD  33504F47)
[    0.003075] ACPI: SSDT 0x0000000090664000 003A7E (v02 AMD    AMD CPU  00000001 AMD  00000001)
[    0.003076] ACPI: WPBT 0x0000000090663000 000034 (v01 ALASKA A M I    00000001 GBT  20220712)
[    0.003077] ACPI: SSDT 0x0000000090501000 0006D4 (v02 AMD    CPMWLRC  00000001 INTL 20220331)
[    0.003079] ACPI: SSDT 0x00000000904FF000 0015D0 (v02 AMD    CPMDFIG2 00000001 INTL 20220331)
[    0.003080] ACPI: SSDT 0x00000000904FC000 002AA6 (v02 AMD    CDFAAIG2 00000001 INTL 20220331)
[    0.003081] ACPI: SSDT 0x00000000904FB000 00078F (v02 AMD    CPMDFDG1 00000001 INTL 20220331)
[    0.003082] ACPI: SSDT 0x00000000904F1000 009778 (v02 AMD    CPMCMN   00000001 INTL 20220331)
[    0.003083] ACPI: SSDT 0x00000000904EE000 002406 (v02 AMD    AOD      00000001 INTL 20220331)
[    0.003084] ACPI: TPM2 0x00000000904ED000 00004C (v04 ALASKA A M I    00000001 AMI  00000000)
[    0.003086] ACPI: WSMT 0x00000000904EC000 000028 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.003087] ACPI: APIC 0x00000000904EB000 00015E (v06 ALASKA A M I    01072009 AMI  00010013)
[    0.003088] ACPI: IVRS 0x00000000904EA000 0000C8 (v02 AMD    AmdTable 00000001 AMD  00000001)
[    0.003089] ACPI: SSDT 0x00000000904E9000 000500 (v02 AMD    MEMTOOL0 00000002 INTL 20220331)
[    0.003090] ACPI: SSDT 0x00000000904E8000 00096A (v02 AMD    CPMMSOSC 00000001 INTL 20220331)
[    0.003091] ACPI: SSDT 0x00000000904E7000 00047C (v02 AMD    AMDWOV   00000001 INTL 20220331)
[    0.003092] ACPI: SSDT 0x00000000904E5000 001046 (v02 AMD    CPMACPV4 00000001 INTL 20220331)
[    0.003093] ACPI: Reserving FACP table memory at [mem 0x90668000-0x90668113]
[    0.003094] ACPI: Reserving DSDT table memory at [mem 0x905eb000-0x9065dc96]
[    0.003094] ACPI: Reserving FACS table memory at [mem 0x92663000-0x9266303f]
[    0.003095] ACPI: Reserving HWIN table memory at [mem 0x9067e000-0x9067e06b]
[    0.003095] ACPI: Reserving SSDT table memory at [mem 0x90672000-0x9067d8f1]
[    0.003095] ACPI: Reserving SSDT table memory at [mem 0x9066a000-0x90671f63]
[    0.003096] ACPI: Reserving SSDT table memory at [mem 0x90669000-0x906691ac]
[    0.003096] ACPI: Reserving FIDT table memory at [mem 0x90662000-0x9066209b]
[    0.003096] ACPI: Reserving MCFG table memory at [mem 0x90661000-0x9066103b]
[    0.003097] ACPI: Reserving HPET table memory at [mem 0x90660000-0x90660037]
[    0.003097] ACPI: Reserving WDRT table memory at [mem 0x9065f000-0x9065f046]
[    0.003097] ACPI: Reserving FPDT table memory at [mem 0x9065e000-0x9065e043]
[    0.003098] ACPI: Reserving VFCT table memory at [mem 0x905e0000-0x905eae83]
[    0.003098] ACPI: Reserving SSDT table memory at [mem 0x90664000-0x90667a7d]
[    0.003098] ACPI: Reserving WPBT table memory at [mem 0x90663000-0x90663033]
[    0.003099] ACPI: Reserving SSDT table memory at [mem 0x90501000-0x905016d3]
[    0.003099] ACPI: Reserving SSDT table memory at [mem 0x904ff000-0x905005cf]
[    0.003099] ACPI: Reserving SSDT table memory at [mem 0x904fc000-0x904feaa5]
[    0.003100] ACPI: Reserving SSDT table memory at [mem 0x904fb000-0x904fb78e]
[    0.003100] ACPI: Reserving SSDT table memory at [mem 0x904f1000-0x904fa777]
[    0.003100] ACPI: Reserving SSDT table memory at [mem 0x904ee000-0x904f0405]
[    0.003100] ACPI: Reserving TPM2 table memory at [mem 0x904ed000-0x904ed04b]
[    0.003101] ACPI: Reserving WSMT table memory at [mem 0x904ec000-0x904ec027]
[    0.003101] ACPI: Reserving APIC table memory at [mem 0x904eb000-0x904eb15d]
[    0.003101] ACPI: Reserving IVRS table memory at [mem 0x904ea000-0x904ea0c7]
[    0.003102] ACPI: Reserving SSDT table memory at [mem 0x904e9000-0x904e94ff]
[    0.003102] ACPI: Reserving SSDT table memory at [mem 0x904e8000-0x904e8969]
[    0.003102] ACPI: Reserving SSDT table memory at [mem 0x904e7000-0x904e747b]
[    0.003103] ACPI: Reserving SSDT table memory at [mem 0x904e5000-0x904e6045]
[    0.026314] ACPI: PM-Timer IO Port: 0x808
[    0.026321] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[    0.026336] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.026337] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.026339] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.026340] ACPI: HPET id: 0x10228201 base: 0xfed00000
[    0.070383] ACPI: Core revision 20230628
[    0.214858] ACPI: PM: Registering ACPI NVS region [mem 0x0a200000-0x0a211fff] (73728 bytes)
[    0.214858] ACPI: PM: Registering ACPI NVS region [mem 0x9067f000-0x9267efff] (33554432 bytes)
[    0.215918] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.219734] ACPI: Added _OSI(Module Device)
[    0.219734] ACPI: Added _OSI(Processor Device)
[    0.219734] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.219734] ACPI: Added _OSI(Processor Aggregator Device)
[    0.241616] ACPI: 15 ACPI AML tables successfully acquired and loaded
[    0.275769] ACPI: USB4 _OSC: OS supports USB3+ DisplayPort+ PCIe+ XDomain+
[    0.275772] ACPI: USB4 _OSC: OS controls USB3+ DisplayPort+ PCIe+ XDomain+
[    0.276154] ACPI: _OSC evaluation for CPUs failed, trying _PDC
[    0.276785] ACPI: Interpreter enabled
[    0.276797] ACPI: PM: (supports S0 S3 S4 S5)
[    0.276798] ACPI: Using IOAPIC for interrupt routing
[    0.278941] PCI: ECAM [mem 0xe0000000-0xefffffff] reserved as ACPI motherboard resource
[    0.278948] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.279317] ACPI: Enabled 10 GPEs in block 00 to 1F
[    0.281570] ACPI: \_SB_.PCI0.GP17.XHC0.P0U0: New power resource
[    0.283278] ACPI: \_SB_.PCI0.GP17.XHC1.P0U1: New power resource
[    0.286732] ACPI: \_SB_.PCI0.GP19.XHC2.P0U2: New power resource
[    0.287415] ACPI: \_SB_.PCI0.GPP0.M237: New power resource
[    0.287702] ACPI: \_SB_.PCI0.GPP1.P0NV: New power resource
[    0.288568] ACPI: \_SB_.PCI0.GPP7.PWRS: New power resource
[    0.288906] ACPI: \_SB_.PCI0.GPP7.UP00.PWRS: New power resource
[    0.289224] ACPI: \_SB_.PCI0.GPP7.UP00.DP00.PWRS: New power resource
[    0.289695] ACPI: \_SB_.PCI0.GPP7.UP00.DP00.NV00.PWRS: New power resource
[    0.289976] ACPI: \_SB_.PCI0.GPP7.UP00.DP08.PWRS: New power resource
[    0.290291] ACPI: \_SB_.PCI0.GPP7.UP00.DP08.EP00.PWRS: New power resource
[    0.290610] ACPI: \_SB_.PCI0.GPP7.UP00.DP10.PWRS: New power resource
[    0.290929] ACPI: \_SB_.PCI0.GPP7.UP00.DP10.WN00.PWRS: New power resource
[    0.291254] ACPI: \_SB_.PCI0.GPP7.UP00.DP18.PWRS: New power resource
[    0.291719] ACPI: \_SB_.PCI0.GPP7.UP00.DP18.LN00.PWRS: New power resource
[    0.291997] ACPI: \_SB_.PCI0.GPP7.UP00.DP20.PWRS: New power resource
[    0.292460] ACPI: \_SB_.PCI0.GPP7.UP00.DP20.NV00.PWRS: New power resource
[    0.292739] ACPI: \_SB_.PCI0.GPP7.UP00.DP28.PWRS: New power resource
[    0.293199] ACPI: \_SB_.PCI0.GPP7.UP00.DP28.EP00.PWRS: New power resource
[    0.293477] ACPI: \_SB_.PCI0.GPP7.UP00.DP30.PWRS: New power resource
[    0.293943] ACPI: \_SB_.PCI0.GPP7.UP00.DP30.EP00.PWRS: New power resource
[    0.294222] ACPI: \_SB_.PCI0.GPP7.UP00.DP38.PWRS: New power resource
[    0.294683] ACPI: \_SB_.PCI0.GPP7.UP00.DP38.EP00.PWRS: New power resource
[    0.294961] ACPI: \_SB_.PCI0.GPP7.UP00.DP40.PWRS: New power resource
[    0.295419] ACPI: \_SB_.PCI0.GPP7.UP00.DP40.EP00.PWRS: New power resource
[    0.295697] ACPI: \_SB_.PCI0.GPP7.UP00.DP48.PWRS: New power resource
[    0.296159] ACPI: \_SB_.PCI0.GPP7.UP00.DP48.EP00.PWRS: New power resource
[    0.296438] ACPI: \_SB_.PCI0.GPP7.UP00.DP50.PWRS: New power resource
[    0.296901] ACPI: \_SB_.PCI0.GPP7.UP00.DP50.EP00.PWRS: New power resource
[    0.297179] ACPI: \_SB_.PCI0.GPP7.UP00.DP58.PWRS: New power resource
[    0.297642] ACPI: \_SB_.PCI0.GPP7.UP00.DP58.EP00.PWRS: New power resource
[    0.297920] ACPI: \_SB_.PCI0.GPP7.UP00.DP60.PWRS: New power resource
[    0.298234] ACPI: \_SB_.PCI0.GPP7.UP00.DP60.XH00.PWRS: New power resource
[    0.303125] ACPI: \_SB_.PCI0.GPP7.UP00.DP68.PWRS: New power resource
[    0.303458] ACPI: \_SB_.PCI0.GPP7.UP00.DP68.SA00.PWRS: New power resource
[    0.303615] ACPI: \_SB_.PCI0.GPP8.PWR1: New power resource
[    0.307982] ACPI: \_SB_.PRWL: New power resource
[    0.308004] ACPI: \_SB_.PRWB: New power resource
[    0.308774] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.308778] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]
[    0.308931] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug SHPCHotplug PME AER PCIeCapability LTR DPC]
[    0.323334] ACPI: PCI: Interrupt link LNKA configured for IRQ 0
[    0.323383] ACPI: PCI: Interrupt link LNKB configured for IRQ 0
[    0.323427] ACPI: PCI: Interrupt link LNKC configured for IRQ 0
[    0.323480] ACPI: PCI: Interrupt link LNKD configured for IRQ 0
[    0.323528] ACPI: PCI: Interrupt link LNKE configured for IRQ 0
[    0.323568] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
[    0.323609] ACPI: PCI: Interrupt link LNKG configured for IRQ 0
[    0.323649] ACPI: PCI: Interrupt link LNKH configured for IRQ 0
[    0.324697] ACPI: bus type USB registered
[    0.342868] PCI: Using ACPI for IRQ routing
[    0.351789] pnp: PnP ACPI init
[    0.356081] pnp: PnP ACPI: found 6 devices
[    0.361505] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.441368] ACPI: button: Power Button [PWRB]
[    0.442136] ACPI: button: Power Button [PWRF]
[    0.442225] ACPI: \_SB_.PLTF.C000: Found 3 idle states
[    0.442340] ACPI: \_SB_.PLTF.C002: Found 3 idle states
[    0.442442] ACPI: \_SB_.PLTF.C004: Found 3 idle states
[    0.442562] ACPI: \_SB_.PLTF.C006: Found 3 idle states
[    0.442698] ACPI: \_SB_.PLTF.C008: Found 3 idle states
[    0.442803] ACPI: \_SB_.PLTF.C00A: Found 3 idle states
[    0.442884] ACPI: \_SB_.PLTF.C001: Found 3 idle states
[    0.442986] ACPI: \_SB_.PLTF.C003: Found 3 idle states
[    0.443086] ACPI: \_SB_.PLTF.C005: Found 3 idle states
[    0.443167] ACPI: \_SB_.PLTF.C007: Found 3 idle states
[    0.443270] ACPI: \_SB_.PLTF.C009: Found 3 idle states
[    0.443367] ACPI: \_SB_.PLTF.C00B: Found 3 idle states
[    2.482537] ACPI: \_TZ_.TZ10: _PSL evaluation failure
[    2.482854] ACPI: thermal: Thermal Zone [TZ10] (17 C)
[    2.501422] ACPI: bus type drm_connector registered
[    2.512082] acpi device:53: hash matches
[    4.080156] ACPI: video: Video Device [VGA] (multi-head: yes  rom: no  post: no)
[    5.083747] amdgpu 0000:01:00.0: amdgpu: ACPI VFCT table present but broken (too short #2),skipping
[   28.987434] ACPI Warning: SystemIO range 0x0000000000000B00-0x0000000000000B08 conflicts with OpRegion 0x0000000000000B00-0x0000000000000B0F (\GSA1.SMBI) (20230628/utaddress-204)
[   28.987445] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[   29.339244] ACPI Warning: SystemIO range 0x0000000000000A45-0x0000000000000A46 conflicts with OpRegion 0x0000000000000A45-0x0000000000000A46 (\GSA1.SIO1) (20230628/utaddress-204)
[   29.339249] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[  219.929186] ACPI Warning: SystemIO range 0x0000000000000A45-0x0000000000000A46 conflicts with OpRegion 0x0000000000000A45-0x0000000000000A46 (\GSA1.SIO1) (20230628/utaddress-204)
[  219.929191] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[  223.852542] ACPI Warning: SystemIO range 0x0000000000000A45-0x0000000000000A46 conflicts with OpRegion 0x0000000000000A45-0x0000000000000A46 (\GSA1.SIO1) (20230628/utaddress-204)
[  223.852547] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[63833.056926] ACPI Warning: SystemIO range 0x0000000000000A45-0x0000000000000A46 conflicts with OpRegion 0x0000000000000A45-0x0000000000000A46 (\GSA1.SIO1) (20230628/utaddress-204)
[63833.056932] ACPI: OSL: Resource conflict; ACPI support missing from driver

If you do see that, add the option ignore_resource_conflict=1, i.e. run modprobe it87 ignore_resource_conflict=1 and let me know if that works. If it does, you can temporarily add that option into /etc/modprobe.d/it87.conf (or equivalent).

I can then get you to do a few tests to see if there are any issues making it a permanent fix.

This also works as expected! Output of shell session:

sudo modprobe it87 ignore_resource_conflict=1
17:53 ewout@am5ws ~% sudo modprobe it87 ignore_resource_conflict=1
[sudo] wachtwoord voor ewout:
17:53 ewout@am5ws ~% sensors
k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +51.9°C
Tccd1:        +55.2°C

amdgpu-pci-0100
Adapter: PCI adapter
vddgfx:      962.00 mV
fan1:        1053 RPM  (min =    0 RPM, max = 2900 RPM)
edge:         +39.0°C  (crit = +91.0°C, hyst = -273.1°C)
PPT:          11.23 W  (cap = 180.00 W)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +16.8°C

it8689-isa-0a40
Adapter: ISA adapter
in0:           1.24 V  (min =  +0.00 V, max =  +3.06 V)
in1:           2.02 V  (min =  +0.00 V, max =  +3.06 V)
in2:           2.02 V  (min =  +0.00 V, max =  +3.06 V)
in3:           2.02 V  (min =  +0.00 V, max =  +3.06 V)
in4:           1.14 V  (min =  +0.00 V, max =  +3.06 V)
in5:           1.15 V  (min =  +0.00 V, max =  +3.06 V)
in6:           1.99 V  (min =  +0.00 V, max =  +3.06 V)
3VSB:          3.31 V  (min =  +0.00 V, max =  +6.12 V)
Vbat:          3.19 V
fan1:        1318 RPM  (min =    0 RPM)
fan2:        1358 RPM  (min =    0 RPM)
fan3:        1336 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
temp1:        +36.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +45.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +50.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = AMD AMDSI
temp4:        +36.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp5:        +39.0°C  (low  =  +0.0°C, high = -125.0°C)  sensor = thermistor
temp6:        +39.0°C  (low  =  +0.0°C, high = -125.0°C)  sensor = thermistor
intrusion0:  ALARM

gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1:        +36.0°C
temp2:        +45.0°C
temp3:        +50.0°C
temp4:        +36.0°C
temp5:        +39.0°C
temp6:        +39.0°C

amdgpu-pci-1300
Adapter: PCI adapter
vddgfx:        1.22 V
vddnb:         1.11 V
edge:         +43.0°C
PPT:          47.19 W

nvme-pci-0200
Adapter: PCI adapter
Composite:    +43.9°C  (low  = -273.1°C, high = +84.8°C)
                       (crit = +84.8°C)
Sensor 1:     +43.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +49.9°C  (low  = -273.1°C, high = +65261.8°C)

17:53 ewout@am5ws ~%

@emansom
Copy link
Author

emansom commented Jun 6, 2024

Output of lshw:

There are three versions of this exact motherboard. This motherboard is a rev 1.3 model.
I'm not entirely sure if the other revisions have different ITE chips and have no way to verify this myself.
I also see no easy way to identify the revision of this board from DMI/ACPI info.

sudo lshw
18:05 ewout@am5ws ~% sudo lshw
am5ws
    description: Desktop Computer
    product: B650M GAMING X AX (Default string)
    vendor: Gigabyte Technology Co., Ltd.
    version: Default string
    serial: Default string
    width: 64 bits
    capabilities: smbios-3.6.0 dmi-3.6.0 smp vsyscall32
    configuration: boot=normal chassis=desktop family=B650 MB sku=Default string uuid=03560274-043c-05f9-b806-b60700080009
  *-core
       description: Motherboard
       product: B650M GAMING X AX
       vendor: Gigabyte Technology Co., Ltd.
       physical id: 0
       version: x.x
       serial: Default string
       slot: Default string
     *-firmware
          description: BIOS
          vendor: American Megatrends International, LLC.
          physical id: 0
          version: FA5a
          date: 04/12/2024
          size: 64KiB
          capacity: 32MiB
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb biosbootspecification uefi
     *-cache:0
          description: L1 cache
          physical id: b
          slot: L1 - Cache
          size: 384KiB
          capacity: 384KiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=1
     *-cache:1
          description: L2 cache
          physical id: c
          slot: L2 - Cache
          size: 6MiB
          capacity: 6MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=2
     *-cache:2
          description: L3 cache
          physical id: d
          slot: L3 - Cache
          size: 32MiB
          capacity: 32MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=3
     *-cpu
          description: CPU
          product: AMD Ryzen 5 7600 6-Core Processor
          vendor: Advanced Micro Devices [AMD]
          physical id: e
          bus info: cpu@0
          version: 25.97.2
          serial: Unknown
          slot: AM5
          size: 4111MHz
          capacity: 5170MHz
          width: 64 bits
          clock: 100MHz
          capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid overflow_recov succor smca fsrm flush_l1d amd_lbr_pmc_freeze cpufreq
          configuration: cores=6 enabledcores=6 microcode=174068230 threads=12
     *-memory
          description: System Memory
          physical id: 11
          slot: System board or motherboard
          size: 32GiB
        *-bank:0
             description: [empty]
             product: Unknown
             vendor: Unknown
             physical id: 0
             serial: Unknown
             slot: DIMM 0
        *-bank:1
             description: DIMM Synchronous Unbuffered (Unregistered) 5200 MHz (0,2 ns)
             product: KF552C36-16
             vendor: Kingston
             physical id: 1
             serial: E504896D
             slot: DIMM 1
             size: 16GiB
             width: 64 bits
             clock: 905MHz (1.1ns)
        *-bank:2
             description: [empty]
             product: Unknown
             vendor: Unknown
             physical id: 2
             serial: Unknown
             slot: DIMM 0
        *-bank:3
             description: DIMM Synchronous Unbuffered (Unregistered) 5200 MHz (0,2 ns)
             product: KF552C36-16
             vendor: Kingston
             physical id: 3
             serial: D004899A
             slot: DIMM 1
             size: 16GiB
             width: 64 bits
             clock: 905MHz (1.1ns)
     *-pci:0
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 33MHz
        *-generic UNCLAIMED
             description: IOMMU
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 0.2
             bus info: pci@0000:00:00.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: msi ht bus_master cap_list
             configuration: latency=0
        *-pci:0
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 1.1
             bus info: pci@0000:00:01.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:28 ioport:f000(size=4096) memory:f6f00000-f6ffffff ioport:fa00000000(size=8592031744)
           *-display
                description: VGA compatible controller
                product: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0
                bus info: pci@0000:01:00.0
                logical name: /dev/fb0
                version: e7
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
                configuration: depth=32 driver=amdgpu latency=0 mode=2560x1440 resolution=2560,1440 visual=truecolor xres=2560 yres=1440
                resources: iomemory:fa0-f9f iomemory:fc0-fbf irq:101 memory:fa00000000-fbffffffff memory:fc00000000-fc001fffff ioport:f000(size=256) memory:f6f00000-f6f3ffff memory:f6f40000-f6f5ffff
           *-multimedia
                description: Audio device
                product: Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0.1
                bus info: pci@0000:01:00.1
                logical name: card0
                logical name: /dev/snd/controlC0
                logical name: /dev/snd/hwC0D0
                logical name: /dev/snd/pcmC0D10p
                logical name: /dev/snd/pcmC0D11p
                logical name: /dev/snd/pcmC0D3p
                logical name: /dev/snd/pcmC0D7p
                logical name: /dev/snd/pcmC0D8p
                logical name: /dev/snd/pcmC0D9p
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:104 memory:f6f60000-f6f63fff
              *-input:0
                   product: HDA ATI HDMI HDMI/DP,pcm=3
                   physical id: 0
                   logical name: input22
                   logical name: /dev/input/event11
              *-input:1
                   product: HDA ATI HDMI HDMI/DP,pcm=7
                   physical id: 1
                   logical name: input23
                   logical name: /dev/input/event12
              *-input:2
                   product: HDA ATI HDMI HDMI/DP,pcm=8
                   physical id: 2
                   logical name: input24
                   logical name: /dev/input/event13
              *-input:3
                   product: HDA ATI HDMI HDMI/DP,pcm=9
                   physical id: 3
                   logical name: input25
                   logical name: /dev/input/event14
              *-input:4
                   product: HDA ATI HDMI HDMI/DP,pcm=10
                   physical id: 4
                   logical name: input26
                   logical name: /dev/input/event15
              *-input:5
                   product: HDA ATI HDMI HDMI/DP,pcm=11
                   physical id: 5
                   logical name: input27
                   logical name: /dev/input/event16
        *-pci:1
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 1.2
             bus info: pci@0000:00:01.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:29 memory:f6e00000-f6efffff
           *-nvme
                description: NVMe device
                product: Samsung SSD 970 EVO Plus 250GB
                vendor: Samsung Electronics Co Ltd
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: /dev/nvme0
                version: 2B2QEXM7
                serial: S4EUNX0W609157E
                width: 64 bits
                clock: 33MHz
                capabilities: nvme pm msi pciexpress msix nvm_express bus_master cap_list
                configuration: driver=nvme latency=0 nqn=nqn.2014.08.org.nvmexpress:144d144dS4EUNX0W609157E     Samsung SSD 970 EVO Plus 250GB state=live
                resources: irq:52 memory:f6e00000-f6e03fff
              *-namespace:0
                   description: NVMe disk
                   physical id: 0
                   logical name: hwmon1
              *-namespace:1
                   description: NVMe disk
                   physical id: 2
                   logical name: /dev/ng0n1
              *-namespace:2
                   description: NVMe disk
                   physical id: 1
                   bus info: nvme@0:1
                   logical name: /dev/nvme0n1
                   size: 232GiB (250GB)
                   capabilities: gpt-1.00 partitioned partitioned:gpt
                   configuration: guid=74e6fe05-545c-4005-b929-6e2919ab7cf3 logicalsectorsize=512 sectorsize=512 wwid=eui.0025385631b05cb4
                 *-volume:0
                      description: Windows FAT volume
                      vendor: mkfs.fat
                      physical id: 1
                      bus info: nvme@0:1,1
                      logical name: /dev/nvme0n1p1
                      logical name: /boot
                      version: FAT32
                      serial: 30e4-40fa
                      size: 1022MiB
                      capacity: 1023MiB
                      capabilities: boot fat initialized
                      configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro,discard name=boot state=mounted
                 *-volume:1
                      description: EFI partition
                      physical id: 2
                      bus info: nvme@0:1,2
                      logical name: /dev/nvme0n1p2
                      serial: 24a3ff27-451d-4d5c-8002-d5587c73aa58
                      size: 231GiB
                      capacity: 231GiB
                      width: 3270266272 bits
                      capabilities: encrypted luks initialized
                      configuration: bits=24745102752 filesystem=luks hash=sha256 name=luks version=2
        *-pci:2
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 2.1
             bus info: pci@0000:00:02.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:30 ioport:c000(size=8192) memory:f6900000-f6cfffff
           *-pci
                description: PCI bridge
                product: 600 Series Chipset PCIe Switch Upstream Port
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:03:00.0
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                configuration: driver=pcieport
                resources: irq:24 ioport:c000(size=8192) memory:f6900000-f6cfffff
              *-pci:0
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 0
                   bus info: pci@0000:04:00.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:1f10-1f0f irq:33
              *-pci:1
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 1
                   bus info: pci@0000:04:01.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:d1d10-d1d0f irq:35 ioport:d000(size=4096) memory:f6c00000-f6cfffff
                 *-network
                      description: Ethernet interface
                      product: RTL8125 2.5GbE Controller
                      vendor: Realtek Semiconductor Co., Ltd.
                      physical id: 0
                      bus info: pci@0000:06:00.0
                      logical name: enp6s0
                      version: 05
                      serial: 74:56:3c:f9:b8:b6
                      size: 1Gbit/s
                      capacity: 2500Mbit/s
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd 2500bt-fd autonegotiation
                      configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.9.3-2-cachyos duplex=full firmware=rtl8125b-2_0.0.2 07/13/20 ip=192.168.178.39 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
                      resources: irq:34 ioport:d000(size=256) memory:f6c00000-f6c0ffff memory:f6c10000-f6c13fff
              *-pci:2
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 2
                   bus info: pci@0000:04:02.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:c1c10-c1c0f irq:37 ioport:c000(size=4096) memory:f6b00000-f6bfffff
                 *-network
                      description: Wireless interface
                      product: RTL8852CE PCIe 802.11ax Wireless Network Controller
                      vendor: Realtek Semiconductor Co., Ltd.
                      physical id: 0
                      bus info: pci@0000:07:00.0
                      logical name: wlan0
                      version: 01
                      serial: bc:c7:46:a0:7b:87
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                      configuration: broadcast=yes driver=rtw89_8852ce driverversion=6.9.3-2-cachyos firmware=N/A ip=192.168.178.40 latency=0 link=yes multicast=yes wireless=IEEE 802.11
                      resources: irq:109 ioport:c000(size=256) memory:f6b00000-f6bfffff
              *-pci:3
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 3
                   bus info: pci@0000:04:03.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:1f10-1f0f irq:39
              *-pci:4
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 4
                   bus info: pci@0000:04:04.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:1f10-1f0f irq:40
              *-pci:5
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 5
                   bus info: pci@0000:04:05.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:1f10-1f0f irq:41
              *-pci:6
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 6
                   bus info: pci@0000:04:06.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:1f10-1f0f irq:42
              *-pci:7
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 7
                   bus info: pci@0000:04:07.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:1f10-1f0f irq:43
              *-pci:8
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 8
                   bus info: pci@0000:04:08.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:1f10-1f0f irq:44
              *-pci:9
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 9
                   bus info: pci@0000:04:09.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:1f10-1f0f irq:45
              *-pci:10
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: a
                   bus info: pci@0000:04:0a.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:1f10-1f0f irq:46
              *-pci:11
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: b
                   bus info: pci@0000:04:0b.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:1f10-1f0f irq:47
              *-pci:12
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: c
                   bus info: pci@0000:04:0c.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:f00-eff irq:24 memory:f6a00000-f6afffff
                 *-usb
                      description: USB controller
                      product: 600 Series Chipset USB 3.2 Controller
                      vendor: Advanced Micro Devices, Inc. [AMD]
                      physical id: 0
                      bus info: pci@0000:11:00.0
                      version: 01
                      width: 64 bits
                      clock: 33MHz
                      capabilities: msi msix pm pciexpress xhci bus_master cap_list
                      configuration: driver=xhci_hcd latency=0
                      resources: irq:24 memory:f6a00000-f6a07fff
                    *-usbhost:0
                         product: xHCI Host Controller
                         vendor: Linux 6.9.3-2-cachyos xhci-hcd
                         physical id: 0
                         bus info: usb@1
                         logical name: usb1
                         version: 6.09
                         capabilities: usb-2.00
                         configuration: driver=hub slots=12 speed=480Mbit/s
                       *-usb:0
                            description: USB hub
                            product: Hub
                            vendor: Texas Instruments, Inc.
                            physical id: 5
                            bus info: usb@1:5
                            version: 1.00
                            serial: 0D080851B3F3
                            capabilities: usb-2.10
                            configuration: driver=hub slots=4 speed=480Mbit/s
                          *-usb:0
                               description: Keyboard
                               product: Keychron Keychron K6
                               vendor: Keychron
                               physical id: 3
                               bus info: usb@1:5.3
                               logical name: input5
                               logical name: /dev/input/event4
                               logical name: input5::capslock
                               logical name: input5::compose
                               logical name: input5::kana
                               logical name: input5::numlock
                               logical name: input5::scrolllock
                               logical name: input6
                               logical name: /dev/input/event5
                               version: 1.08
                               capabilities: usb-2.00 usb
                               configuration: driver=usbhid maxpower=250mA speed=12Mbit/s
                          *-usb:1
                               description: Keyboard
                               product: USB Receiver
                               vendor: Logitech
                               physical id: 4
                               bus info: usb@1:5.4
                               version: 24.11
                               capabilities: usb-2.00
                               configuration: driver=usbhid maxpower=98mA speed=12Mbit/s
                             *-input
                                  product: Logitech MX Master 3
                                  physical id: 0
                                  logical name: input17
                                  logical name: /dev/input/event6
                                  logical name: input17::capslock
                                  logical name: input17::compose
                                  logical name: input17::kana
                                  logical name: input17::numlock
                                  logical name: input17::scrolllock
                                  logical name: /dev/input/mouse0
                                  capabilities: usb
                       *-usb:1
                            description: Audio device
                            product: audio-technica AT2020USB+ Consumer Control
                            vendor: audio-technica
                            physical id: 6
                            bus info: usb@1:6
                            logical name: card3
                            logical name: /dev/snd/controlC3
                            logical name: /dev/snd/pcmC3D0c
                            logical name: /dev/snd/pcmC3D0p
                            logical name: input3
                            logical name: /dev/input/event3
                            version: 1.00
                            capabilities: usb-1.10 audio-control usb
                            configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
                       *-usb:2
                            description: Bluetooth wireless interface
                            product: Bluetooth Radio
                            vendor: Realtek
                            physical id: 7
                            bus info: usb@1:7
                            version: 0.00
                            serial: 00e04c000001
                            capabilities: bluetooth usb-1.00
                            configuration: driver=btusb maxpower=500mA speed=12Mbit/s
                       *-usb:3
                            description: Human interface device
                            product: ITE Device
                            vendor: ITE Tech. Inc.
                            physical id: a
                            bus info: usb@1:a
                            version: 0.01
                            capabilities: usb-2.00
                            configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
                    *-usbhost:1
                         product: xHCI Host Controller
                         vendor: Linux 6.9.3-2-cachyos xhci-hcd
                         physical id: 1
                         bus info: usb@2
                         logical name: usb2
                         version: 6.09
                         capabilities: usb-3.10
                         configuration: driver=hub slots=6 speed=10000Mbit/s
                       *-usb
                            description: USB hub
                            product: Hub
                            vendor: Texas Instruments, Inc.
                            physical id: 5
                            bus info: usb@2:5
                            version: 1.00
                            capabilities: usb-3.00
                            configuration: driver=hub slots=4 speed=5000Mbit/s
              *-pci:13
                   description: PCI bridge
                   product: 600 Series Chipset PCIe Switch Downstream Port
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: d
                   bus info: pci@0000:04:0d.0
                   version: 01
                   width: 64 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: iomemory:f00-eff irq:34 memory:f6900000-f69fffff
                 *-sata
                      description: SATA controller
                      product: 600 Series Chipset SATA Controller
                      vendor: Advanced Micro Devices, Inc. [AMD]
                      physical id: 0
                      bus info: pci@0000:12:00.0
                      version: 01
                      width: 32 bits
                      clock: 33MHz
                      capabilities: sata msi pm pciexpress ahci_1.0 bus_master cap_list rom
                      configuration: driver=ahci latency=0
                      resources: irq:48 memory:f6980000-f69803ff memory:f6900000-f697ffff
        *-pci:3
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 8.1
             bus info: pci@0000:00:08.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:31 ioport:e000(size=4096) memory:f6500000-f68fffff ioport:fc10000000(size=270532608)
           *-display
                description: VGA compatible controller
                product: Raphael
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0
                bus info: pci@0000:13:00.0
                version: c6
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
                configuration: driver=amdgpu latency=0
                resources: iomemory:fc0-fbf iomemory:fc0-fbf irq:83 memory:fc10000000-fc1fffffff memory:fc20000000-fc201fffff ioport:e000(size=256) memory:f6800000-f687ffff
           *-multimedia:0
                description: Audio device
                product: Rembrandt Radeon High Definition Audio Controller
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0.1
                bus info: pci@0000:13:00.1
                logical name: card1
                logical name: /dev/snd/controlC1
                logical name: /dev/snd/hwC1D0
                logical name: /dev/snd/pcmC1D3p
                logical name: /dev/snd/pcmC1D7p
                logical name: /dev/snd/pcmC1D8p
                logical name: /dev/snd/pcmC1D9p
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:106 memory:f6888000-f688bfff
              *-input:0
                   product: HD-Audio Generic HDMI/DP,pcm=3
                   physical id: 0
                   logical name: input18
                   logical name: /dev/input/event7
              *-input:1
                   product: HD-Audio Generic HDMI/DP,pcm=7
                   physical id: 1
                   logical name: input19
                   logical name: /dev/input/event8
              *-input:2
                   product: HD-Audio Generic HDMI/DP,pcm=8
                   physical id: 2
                   logical name: input20
                   logical name: /dev/input/event9
              *-input:3
                   product: HD-Audio Generic HDMI/DP,pcm=9
                   physical id: 3
                   logical name: input21
                   logical name: /dev/input/event10
           *-generic
                description: Encryption controller
                product: Family 19h PSP/CCP
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.2
                bus info: pci@0000:13:00.2
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix bus_master cap_list
                configuration: driver=ccp latency=0
                resources: irq:49 memory:f6700000-f67fffff memory:f688c000-f688dfff
           *-usb:0
                description: USB controller
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.3
                bus info: pci@0000:13:00.3
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:74 memory:f6600000-f66fffff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 6.9.3-2-cachyos xhci-hcd
                   physical id: 0
                   bus info: usb@3
                   logical name: usb3
                   version: 6.09
                   capabilities: usb-2.00
                   configuration: driver=hub slots=2 speed=480Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 6.9.3-2-cachyos xhci-hcd
                   physical id: 1
                   bus info: usb@4
                   logical name: usb4
                   version: 6.09
                   capabilities: usb-3.10
                   configuration: driver=hub slots=2 speed=10000Mbit/s
           *-usb:1
                description: USB controller
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.4
                bus info: pci@0000:13:00.4
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:83 memory:f6500000-f65fffff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 6.9.3-2-cachyos xhci-hcd
                   physical id: 0
                   bus info: usb@5
                   logical name: usb5
                   version: 6.09
                   capabilities: usb-2.00
                   configuration: driver=hub slots=2 speed=480Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 6.9.3-2-cachyos xhci-hcd
                   physical id: 1
                   bus info: usb@6
                   logical name: usb6
                   version: 6.09
                   capabilities: usb-3.10
                   configuration: driver=hub slots=2 speed=10000Mbit/s
           *-multimedia:1
                description: Audio device
                product: Family 17h/19h HD Audio Controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.6
                bus info: pci@0000:13:00.6
                logical name: card2
                logical name: /dev/snd/controlC2
                logical name: /dev/snd/hwC2D0
                logical name: /dev/snd/pcmC2D0c
                logical name: /dev/snd/pcmC2D0p
                logical name: /dev/snd/pcmC2D2c
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:107 memory:f6880000-f6887fff
              *-input:0
                   product: HD-Audio Generic Front Mic
                   physical id: 0
                   logical name: input28
                   logical name: /dev/input/event17
              *-input:1
                   product: HD-Audio Generic Rear Mic
                   physical id: 1
                   logical name: input29
                   logical name: /dev/input/event18
              *-input:2
                   product: HD-Audio Generic Line
                   physical id: 2
                   logical name: input30
                   logical name: /dev/input/event19
              *-input:3
                   product: HD-Audio Generic Line Out
                   physical id: 3
                   logical name: input31
                   logical name: /dev/input/event20
              *-input:4
                   product: HD-Audio Generic Front Headphone
                   physical id: 4
                   logical name: input32
                   logical name: /dev/input/event21
        *-pci:4
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 8.3
             bus info: pci@0000:00:08.3
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:32 memory:f6d00000-f6dfffff
           *-usb
                description: USB controller
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:14:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:24 memory:f6d00000-f6dfffff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 6.9.3-2-cachyos xhci-hcd
                   physical id: 0
                   bus info: usb@7
                   logical name: usb7
                   version: 6.09
                   capabilities: usb-2.00
                   configuration: driver=hub slots=1 speed=480Mbit/s
                 *-usb
                      description: USB hub
                      product: USB2.0 Hub
                      vendor: Genesys Logic, Inc.
                      physical id: 1
                      bus info: usb@7:1
                      version: 60.70
                      capabilities: usb-2.00
                      configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 6.9.3-2-cachyos xhci-hcd
                   physical id: 1
                   bus info: usb@8
                   logical name: usb8
                   version: 6.09
                   capabilities: usb-3.00
                   configuration: speed=5000Mbit/s
        *-serial UNCLAIMED
             description: SMBus
             product: FCH SMBus Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 71
             width: 32 bits
             clock: 66MHz
             configuration: latency=0
        *-isa
             description: ISA bridge
             product: FCH LPC Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14.3
             bus info: pci@0000:00:14.3
             version: 51
             width: 32 bits
             clock: 66MHz
             capabilities: isa bus_master
             configuration: latency=0
           *-pnp00:00
                product: System Board
                physical id: 0
                capabilities: pnp
                configuration: driver=system
           *-pnp00:01
                product: Motherboard registers
                physical id: 1
                capabilities: pnp
                configuration: driver=system
           *-pnp00:02
                product: AT Real-Time Clock
                physical id: 2
                capabilities: pnp
                configuration: driver=rtc_cmos
           *-pnp00:03
                product: Motherboard registers
                physical id: 3
                capabilities: pnp
                configuration: driver=system
           *-pnp00:04
                product: 16550A-compatible COM port
                physical id: 4
                capabilities: pnp
                configuration: driver=serial
           *-pnp00:05
                product: Motherboard registers
                physical id: 5
                capabilities: pnp
                configuration: driver=system
     *-pci:1
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 101
          bus info: pci@0000:00:01.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:2
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 102
          bus info: pci@0000:00:02.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:3
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 103
          bus info: pci@0000:00:03.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:4
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 104
          bus info: pci@0000:00:04.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:5
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 105
          bus info: pci@0000:00:08.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:6
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 106
          bus info: pci@0000:00:18.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:7
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 107
          bus info: pci@0000:00:18.1
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:8
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 108
          bus info: pci@0000:00:18.2
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:9
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 109
          bus info: pci@0000:00:18.3
          version: 00
          width: 32 bits
          clock: 33MHz
          configuration: driver=k10temp
          resources: irq:0
     *-pci:10
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10a
          bus info: pci@0000:00:18.4
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:11
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10b
          bus info: pci@0000:00:18.5
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:12
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10c
          bus info: pci@0000:00:18.6
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:13
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10d
          bus info: pci@0000:00:18.7
          version: 00
          width: 32 bits
          clock: 33MHz
  *-input:0
       product: Power Button
       physical id: 1
       logical name: input0
       logical name: /dev/input/event0
       capabilities: platform
  *-input:1
       product: Power Button
       physical id: 2
       logical name: input1
       logical name: /dev/input/event1
       capabilities: platform
  *-input:2
       product: Video Bus
       physical id: 3
       logical name: input2
       logical name: /dev/input/event2
       capabilities: platform
  *-input:3
       product: solaar-keyboard
       physical id: 4
       logical name: input33
       logical name: /dev/input/event22
       logical name: /dev/input/mouse1
       capabilities: usb
  *-input:4
       product: WI-C100 (AVRCP)
       physical id: 5
       logical name: input42
       logical name: /dev/input/event23
       capabilities: bluetooth
18:05 ewout@am5ws ~% 

@emansom
Copy link
Author

emansom commented Jun 6, 2024

I think gigabyte_wmi might be the cause of the conflict, not sure.

@frankcrawford
Copy link
Owner

@emansom the actual conflict is basically a stupid setup by Gigabyte, as they have claimed the address space, but often don't use it. In this case they are almost correct, as gigabyte_wmi is the "official way" to look up the info, but misses most information. For many boards gigabyte_wmi doesn't work, but they still have the address space claimed.

Anyway, that is just an aside, the possible "multiple" access to the same memory region is a risk, but I am yet to have a report that it actually caused an issue. However, can you do some further and monitoring for a couple of days, to see if it is all okay, and then send me some additional items if you think it should be automatically enabled.

What I need is cat /sys/class/dmi/id/board_vendor and cat /sys/class/dmi/id/board_name for the hardware match.

@emansom
Copy link
Author

emansom commented Jun 7, 2024

@emansom the actual conflict is basically a stupid setup by Gigabyte, as they have claimed the address space, but often don't use it. In this case they are almost correct, as gigabyte_wmi is the "official way" to look up the info, but misses most information. For many boards gigabyte_wmi doesn't work, but they still have the address space claimed.

Would blacklisting/not compiling the gigabyte_wmi module be a safer option?

Anyway, that is just an aside, the possible "multiple" access to the same memory region is a risk, but I am yet to have a report that it actually caused an issue. However, can you do some further and monitoring for a couple of days, to see if it is all okay, and then send me some additional items if you think it should be automatically enabled.

I tried yesterday to control the PWM of the fans via fan2go with both modules active (gigabyte_wmi loaded and this fork it87 via DKMS active with ignore_resource_conflict=1). Firstly it calibrated to all the wrong min and max PWM values, and even when triggering manually via the regular hwmon paths: it didn't change the RPM of the fans in the slightest.

From within the UEFI/BIOS I have configured a custom fan profile for the CPU fan, and changed settings for the case fans to follow PCH temperatures instead. Would this be conflicting if software takes over PWM control? My understanding was that once the system boots, and fan2go runs: the UEFI based fan controller should stop by it self?

And if the UEFI and OS based software control are in conflict with each other: how do I disable the UEFI based fan control?

What I need is cat /sys/class/dmi/id/board_vendor and cat /sys/class/dmi/id/board_name for the hardware match.

cat /sys/class/dmi/id/board_vendor
19:47 root@am5ws ~# cat /sys/class/dmi/id/board_vendor                                   
Gigabyte Technology Co., Ltd.
19:47 root@am5ws ~# 
Gigabyte Technology Co., Ltd.
cat /sys/class/dmi/id/board_name
19:48 root@am5ws ~# cat /sys/class/dmi/id/board_name
B650M GAMING X AX
19:48 root@am5ws ~#
B650M GAMING X AX

@emansom
Copy link
Author

emansom commented Jun 7, 2024

Further digging. This is weird:

22:46 root@am5ws ~# echo 1 > /sys/devices/platform/it87.2624/hwmon/hwmon5/pwm1_enable
22:47 root@am5ws ~# cat /sys/devices/platform/it87.2624/hwmon/hwmon5/pwm1_enable     
0
22:47 root@am5ws ~# 

@frankcrawford
Copy link
Owner

@emansom unfortunately gigabyte_wmi doesn't really affect whether the BIOS claims the addresses. You can blacklist it if you wish, but that does not affect the error, nor how the BIOS accesses the ports.

Now, as for the fan management, currently it will probably not work, as Gigabyte have done something strange. You can check issue #11 for more details. Another project does seem to have a fix, which I am looking at, and will see what I can do about it in the near future. In the meantime you can try the work-around given in the issue.

@frankcrawford
Copy link
Owner

I've added this model to automatically set ignore_resource_conflict=1 in the latest commit.

@frankcrawford frankcrawford added the enhancement New feature or request label Jun 8, 2024
@emansom
Copy link
Author

emansom commented Jun 9, 2024

Do you by chance know any USB (preferably header based) or PCI-e based PWM controllers, available as consumer products that have good quality mainline kernel drivers?

@frankcrawford
Copy link
Owner

Unfortunately no.

@emansom
Copy link
Author

emansom commented Oct 10, 2024

Unfortunately no.

@frankcrawford Came across this, will buy the Micro version and test it with a Noctua fan hub (NA-FH1) next month.

It seems like the most viable solution in the mean time while Gigabyte fan support is suboptimal.

I'll report back if it works and if it does: consider adding a entry to the README and project docs to point users to this open-source USB based PWM solution instead.

https://github.com/SasaKaranovic/OpenFanController

https://shop.sasakaranovic.com/products/openfan-pc-fan-controller

https://shop.sasakaranovic.com/products/openfan-micro

@SasaKaranovic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants