Ok.
Original Dell DOS executable ignores all temperature sensors
if type SMM function fails (if I decoded and understand
that DOS assembler code correctly). So maybe we should do
same...
But because our i8k.c code ignores sensor only if it returns
invalid temperature, there could be possible regression that
on same machines type SMM function is not implemented or
not working...
What do you think?
Tested with XPS13, Studio 1555 (with GPU), and XPS M140.
Reading the type works with all of them. The Studio 1555
reports the GPU temperature in temp4. The M140 is quite old
(about 10 years), so I guess we can be reasonably sure that
all laptops currently in use support reporting the type.
Good. Then I will split this patch into two parts. One which adds
labels and one which change init code to register only those
sensors which have valid type.
Unless I misunderstand you, it does help us; it simplifiesDo you know what is returned for the type if the GPU is turned
off on a system with GPU ? I think that is the only open
question.
Yes, on my E6440 in both cases when GPU is turned off and on is
returned same type (GPU). So this does not help us.