Skip to contentSkip to conversation

Question about ACPI_THERMAL_HID of thermal

DISCUSSION shenyang (M) 2 participants 2 messages May 19, 2020 ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

Sorry for disturbing you.
I want to use the driver thermal.ko. But here I got a question:
the ACPI_THERMAL_HID does not comply with ACPI spec. So I want to know if any device is using this driver. And if no one is using this driver, can I modify this HID to comply with ACPI specifications?

Thanks,
Yang

#1 lore raw
Quoted 4 lines · shenyang (M)

Hi,

Sorry for disturbing you.

No worries.

Quoted 3 lines

I want to use the driver thermal.ko. But here I got a question:
the ACPI_THERMAL_HID does not comply with ACPI spec. So I want to know if any device is using this driver.

Yes.

ACPI_THERMAL_HID is automatically given to ACPI objects of the ACPI_TYPE_THERMAL type that represent thermal zones.

Quoted 2 lines

And if no one is using this driver,
can I modify this HID to comply with ACPI specifications?

This artificial device ID is used internally by the kernel and there's no need for you to manipulate it.

In order for the ACPI thermal driver to be used, at least one thermal zone needs to be declared in the ACPI namespace.

Thanks!