Re: [PATCH] hwmon: (dell-smm) Add Dell XPS 15 9560 into DMI list

From: Vasile Dumitrescu
Date: Sat Mar 04 2017 - 16:59:53 EST


ok, but how? I am on Debian, and I never in my life compiled a kernel...

What would I need to do?

On 4 March 2017 at 18:44, Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:
> On Sat, Mar 4, 2017 at 12:41 AM, Pali RohÃr <pali.rohar@xxxxxxxxx> wrote:
>> It was reported that dell-smm-hwmon is working fine on Dell XPS 15 9560.
>>
>> Link: http://www.spinics.net/lists/platform-driver-x86/msg10751.html
>> Reported-by: Vasile Dumitrescu <vasile.dumitrescu@xxxxxxxxx>
>> Signed-off-by: Pali RohÃr <pali.rohar@xxxxxxxxx>
>> ---
>
> Vasile, can you test this fix?
>
>> drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
>> 1 file changed, 7 insertions(+)
>>
>> diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
>> index 34704b0..3189246 100644
>> --- a/drivers/hwmon/dell-smm-hwmon.c
>> +++ b/drivers/hwmon/dell-smm-hwmon.c
>> @@ -995,6 +995,13 @@ enum i8k_configs {
>> },
>> .driver_data = (void *)&i8k_config_data[DELL_XPS],
>> },
>> + {
>> + .ident = "Dell XPS 15 9560",
>> + .matches = {
>> + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
>> + DMI_MATCH(DMI_PRODUCT_NAME, "XPS 15 9560"),
>> + },
>> + },
>> { }
>> };
>>
>> --
>> 1.7.9.5
>>
>
>
>
> --
> With Best Regards,
> Andy Shevchenko