Message ID | 20220111180347.1245774-4-eugene.shalygin@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [v5,1/3] hwmon: (asus-ec-sensors) add driver for ASUS EC | expand |
Hello. On úterý 11. ledna 2022 19:03:46 CET Eugene Shalygin wrote: > --- > drivers/hwmon/Kconfig | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig > index 2c16b19d2c03..5e693c93d43a 100644 > --- a/drivers/hwmon/Kconfig > +++ b/drivers/hwmon/Kconfig > @@ -2243,13 +2243,16 @@ config SENSORS_ASUS_WMI > > config SENSORS_ASUS_WMI_EC > tristate "ASUS WMI B550/X570" > - depends on ACPI_WMI > + depends on ACPI_WMI && !SENSORS_ASUS_EC Not sure how it handles `SENSORS_ASUS_EC=m`. Probably, it should be: ``` depends on ACPI_WMI && SENSORS_ASUS_EC=n ``` ? > help > If you say yes here you get support for the ACPI embedded controller > hardware monitoring interface found in B550/X570 ASUS motherboards. > This driver will provide readings of fans, voltages and temperatures > through the system firmware. > > + This driver is deprecated in favor of the ASUS EC Sensors driver > + which provides fully compatible output. > + > This driver can also be built as a module. If so, the module > will be called asus_wmi_sensors_ec. Thanks.
On 1/12/22 1:51 PM, Oleksandr Natalenko wrote: > Hello. > > On úterý 11. ledna 2022 19:03:46 CET Eugene Shalygin wrote: >> --- >> drivers/hwmon/Kconfig | 5 ++++- >> 1 file changed, 4 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig >> index 2c16b19d2c03..5e693c93d43a 100644 >> --- a/drivers/hwmon/Kconfig >> +++ b/drivers/hwmon/Kconfig >> @@ -2243,13 +2243,16 @@ config SENSORS_ASUS_WMI >> >> config SENSORS_ASUS_WMI_EC >> tristate "ASUS WMI B550/X570" >> - depends on ACPI_WMI >> + depends on ACPI_WMI && !SENSORS_ASUS_EC > > Not sure how it handles `SENSORS_ASUS_EC=m`. Probably, it should be: > > ``` > depends on ACPI_WMI && SENSORS_ASUS_EC=n > ``` > Odd language, and good catch. If I understand correctly, the result of !SENSORS_ASUS_EC is 'm' if SENSORS_ASUS_EC=m. So, yes, it looks like this needs to be "ACPI_WMI && SENSORS_ASUS_EC=n". Guenter > ? > >> help >> If you say yes here you get support for the ACPI embedded controller >> hardware monitoring interface found in B550/X570 ASUS motherboards. >> This driver will provide readings of fans, voltages and temperatures >> through the system firmware. >> >> + This driver is deprecated in favor of the ASUS EC Sensors driver >> + which provides fully compatible output. >> + >> This driver can also be built as a module. If so, the module >> will be called asus_wmi_sensors_ec. > > Thanks. >
Hello. On čtvrtek 13. ledna 2022 3:51:47 CET Guenter Roeck wrote: > On 1/12/22 1:51 PM, Oleksandr Natalenko wrote: > > Hello. > > > > On úterý 11. ledna 2022 19:03:46 CET Eugene Shalygin wrote: > >> --- > >> drivers/hwmon/Kconfig | 5 ++++- > >> 1 file changed, 4 insertions(+), 1 deletion(-) > >> > >> diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig > >> index 2c16b19d2c03..5e693c93d43a 100644 > >> --- a/drivers/hwmon/Kconfig > >> +++ b/drivers/hwmon/Kconfig > >> @@ -2243,13 +2243,16 @@ config SENSORS_ASUS_WMI > >> > >> config SENSORS_ASUS_WMI_EC > >> tristate "ASUS WMI B550/X570" > >> - depends on ACPI_WMI > >> + depends on ACPI_WMI && !SENSORS_ASUS_EC > > > > Not sure how it handles `SENSORS_ASUS_EC=m`. Probably, it should be: > > > > ``` > > depends on ACPI_WMI && SENSORS_ASUS_EC=n > > ``` > > > > Odd language, and good catch. If I understand correctly, the result > of !SENSORS_ASUS_EC is 'm' if SENSORS_ASUS_EC=m. So, yes, it looks > like this needs to be "ACPI_WMI && SENSORS_ASUS_EC=n". With this change: Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name> on ASUS Pro WS X570-ACE. > > Guenter > > > ? > > > >> help > >> If you say yes here you get support for the ACPI embedded controller > >> hardware monitoring interface found in B550/X570 ASUS motherboards. > >> This driver will provide readings of fans, voltages and temperatures > >> through the system firmware. > >> > >> + This driver is deprecated in favor of the ASUS EC Sensors driver > >> + which provides fully compatible output. > >> + > >> This driver can also be built as a module. If so, the module > >> will be called asus_wmi_sensors_ec. > > > > Thanks. > > > >
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 2c16b19d2c03..5e693c93d43a 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -2243,13 +2243,16 @@ config SENSORS_ASUS_WMI config SENSORS_ASUS_WMI_EC tristate "ASUS WMI B550/X570" - depends on ACPI_WMI + depends on ACPI_WMI && !SENSORS_ASUS_EC help If you say yes here you get support for the ACPI embedded controller hardware monitoring interface found in B550/X570 ASUS motherboards. This driver will provide readings of fans, voltages and temperatures through the system firmware. + This driver is deprecated in favor of the ASUS EC Sensors driver + which provides fully compatible output. + This driver can also be built as a module. If so, the module will be called asus_wmi_sensors_ec.