electrified / asus-wmi-sensors

Linux HWMON (lmsensors) sensors driver for various ASUS Ryzen and Threadripper motherboards
GNU General Public License v2.0
250 stars 30 forks source link

Integrate mainline changes #79

Open electrified opened 2 years ago

spiffeeroo commented 2 years ago

Crosshair VI Hero motherboard (non WiFi) sensor does not work with the version mainlined in kernel 5.17. The master version used in the AUR works with Crosshair VI Hero motherboard. The current master version refers to motherboard as "CROSSHAIR VI HERO" whereas the 5.17 mainlined version uses "ROG CROSSHAIR VI HERO".

# dmidecode -t baseboard                                                             ツ 
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: ASUSTeK COMPUTER INC.
        Product Name: CROSSHAIR VI HERO
        Version: Rev 1.xx
        Serial Number: <redacted>
        Asset Tag: Default string
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: Default string
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

Handle 0x0025, DMI type 10, 6 bytes
On Board Device Information
        Type: Video
        Status: Enabled
        Description:    To Be Filled By O.E.M.

Handle 0x0029, DMI type 41, 11 bytes
Onboard Device
        Reference Designation:  Onboard IGD
        Type: Video
        Status: Enabled
        Type Instance: 1
        Bus Address: 0000:00:02.0

Handle 0x002A, DMI type 41, 11 bytes
Onboard Device
        Reference Designation:  Onboard LAN
        Type: Ethernet
        Status: Enabled
        Type Instance: 1
        Bus Address: 0000:00:19.0

Handle 0x002B, DMI type 41, 11 bytes
Onboard Device
        Reference Designation:  Onboard 1394
        Type: Other
        Status: Enabled
        Type Instance: 1
        Bus Address: 0000:03:1c.2
electrified commented 2 years ago

Crosshair VI Hero motherboard (non WiFi) sensor does not work with the version mainlined in kernel 5.17. The master version used in the AUR works with Crosshair VI Hero motherboard. The current master version refers to motherboard as "CROSSHAIR VI HERO" whereas the 5.17 mainlined version uses "ROG CROSSHAIR VI HERO".

Hey @spiffeeroo, Denis has submitted a patch upstream to correct the issue: https://lkml.org/lkml/2022/4/3/295

Thanks for reporting.

0lvin commented 2 years ago

Code is applied to hwmon tree. https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/log/?h=hwmon