Re: [PATCH v14] Subject: [PATCH v14] hwmon: (yogafan) Extend support to more Lenovo consumer models

From: Guenter Roeck

Date: Sat Apr 11 2026 - 11:56:43 EST


On 4/11/26 07:31, Rong Zhang wrote:
Hi Sergio,

On Fri, 2026-04-10 at 22:14 +0200, Sergio Melas wrote:
Hi Rong, Hi Guenter,

Thank you for the review and for pointing out the overlap with lenovo-wmi-other.

1. WMI Coexistence and Bogus Fans
I completely agree that double-reporting is suboptimal. I will
implement a check in the probe function using
wmi_has_guid(LENOVO_WMI_FAN_GUID). If the WMI interface is present,
yogafan will return -ENODEV and yield to your driver. This ensures my
driver only covers models where WMI reporting is unavailable.


You may also want to add a module parameter to override the WMI GUID
check as some devices do not support the fan reporting/tuning interface
despite having the WMI GUIDs.


Please, no new module parameters. If there are devices not supporting this,
add them to an exclude list. Or make sure that only devices supporting
the functionality are instantiated in the first place.

Thanks,
Guenter