Skip to content

Possible static path for applesmc sysfs interface #2

@Redecorating

Description

@Redecorating

On at least my mbp16,1 on 5.10.12,/sys/bus/acpi/drivers/applesmc/APP* is linked to the folder with the sysfs fan interface:

> file /sys/bus/acpi/drivers/applesmc/APP0001:00
/sys/bus/acpi/drivers/applesmc/APP0001:00: symbolic link to ../../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:104/APP0001:00
> ls /sys/bus/acpi/drivers/applesmc/APP0001:00
driver                    temp11_label  temp27_input  temp41_label
fan1_input                temp12_input  temp27_label  temp42_input
fan1_label                temp12_label  temp28_input  temp42_label
fan1_manual               temp13_input  temp28_label  temp43_input
fan1_max                  temp13_label  temp29_input  temp43_label
fan1_min                  temp14_input  temp29_label  temp44_input
etc etc

If this is present on other people's computers, it could be used as the path and would allow building mbpfan without it being specific to a particular Mac.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions