hwmon: (dell-smm) Add Dell XPS 15 9560 into DMI list
Subsystems (3)
PATCH 1/1 hwmon: (dell-smm) Add Dell XPS 15 9560 into DMI list
It was reported that dell-smm-hwmon is working fine on Dell XPS 15 9560.
--- drivers/hwmon/dell-smm-hwmon.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +7 -0
@@ -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"), + }, + }, { } };
Signature · 1 line
1.7.9.5
Quoted 6 lines · Pali Rohár
It was reported that dell-smm-hwmon is working fine on Dell XPS 15 9560.
Reported-by Vasile Dumitrescu <[email protected]>Signed-off-by Pali Rohár <[email protected]>---
Vasile, can you test this fix?
Quoted 24 lines
drivers/hwmon/dell-smm-hwmon.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/hwmon/dell-smm-hwmon.c +7
-1@@ -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
Signature · 2 lines
With Best Regards, Andy Shevchenko
ok, but how? I am on Debian, and I never in my life compiled a kernel...
What would I need to do?
Quoted 40 lines · Andy Shevchenko
Quoted 6 lines · Pali Rohár
It was reported that dell-smm-hwmon is working fine on Dell XPS 15 9560.
Reported-by Vasile Dumitrescu <[email protected]>Signed-off-by Pali Rohár <[email protected]>---
Vasile, can you test this fix?
Quoted 22 lines
drivers/hwmon/dell-smm-hwmon.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/hwmon/dell-smm-hwmon.c +7
-1@@ -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"), + }, + }, { } }; --Quoted 2 lines
1.7.9.5
--
With Best Regards,
Andy Shevchenko
Hi Vasile,
Quoted 3 lines · Vasile Dumitrescu
ok, but how? I am on Debian, and I never in my life compiled a kernel...
What would I need to do?
If your Debian system has a kernel >= 3.13 and you are somewhat familiar with compiling from sources, you could give a try to this standalone driver:
http://jdelvare.nerim.net/devel/lm-sensors/drivers/dell-smm-hwmon/
Instructions are at:
http://jdelvare.nerim.net/devel/lm-sensors/drivers/INSTALL
Signature · 2 lines
Jean Delvare SUSE L3 Support
Wow, that was easy :-).
so I did:
download the driver source and makefile
make
=> several new files show up including a .ko - WOHOOO sudo rmmod dell-smm-hwmon
lsmod | grep hwmo
=> nothing
sudo insmod ./dell-smm-hwmon.ko
=> nothing
lsmod | grep hwmo
=> dell_smm_hwmon 16384 0
sudo sensors
=>
coretemp-isa-0000
Adapter: ISA adapter Physical id 0: +50.0°C (high = +100.0°C, crit = +100.0°C) Core 0: +47.0°C (high = +100.0°C, crit = +100.0°C) Core 1: +50.0°C (high = +100.0°C, crit = +100.0°C) Core 2: +46.0°C (high = +100.0°C, crit = +100.0°C) Core 3: +48.0°C (high = +100.0°C, crit = +100.0°C)
acpitz-virtual-0
Adapter: Virtual device
temp1: +25.0°C (crit = +107.0°C)
dell_smm-virtual-0
Adapter: Virtual device Processor Fan: 2490 RPM Video Fan: 2493 RPM CPU: +48.0°C Ambient: +48.0°C Ambient: +44.0°C Other: +40.0°C
sudo pwmconfig
=> fans definitely stop and restart as the script indicates they should
Conclusion: works for me (TM) - without force or any special options
Thanks Jean, that was easy.
Looking forward to see it in some future kernel.
Kind regards
Quoted 2 lines · Vasile Dumitrescu
sudo sensors
=>
Note that you don't need to be root to run "sensors".
Quoted 10 lines
(...)
dell_smm-virtual-0Adapter: Virtual device Processor Fan: 2490 RPM Video Fan: 2493 RPM CPU: +48.0°C Ambient: +48.0°C Ambient: +44.0°C Other: +40.0°C
Quoted 6 lines
sudo pwmconfig
=> fans definitely stop and restart as the script indicates they shouldConclusion: works for me (TM) - without force or any special options
Thanks Jean, that was easy.
You're welcome, glad I could help :-)
Quoted 1 line
Looking forward to see it in some future kernel.
Signature · 2 lines
Jean Delvare SUSE L3 Support
Guenter Roeck
maintainerQuoted 5 lines · Pali Rohár
It was reported that dell-smm-hwmon is working fine on Dell XPS 15 9560.
With Vasile's feedback, I'll consider this patch tested and will apply it to hwmon-next.
Thanks,
Guenter
Quoted 23 lines
--- drivers/hwmon/dell-smm-hwmon.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/hwmon/dell-smm-hwmon.c +7
-0@@ -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"), + }, + }, { } };