Newer ThinkPads use 0x1600 and 0x1604 as their EC ports. According to portio.cpp of TPFanControl2 and ThinkWiki, this applied to most of the ThinkPads since the Intel SNB platform. Also, based on the thinkpad_acpi.c of Linux Kernel, we can use the determine logic of function probe_for_thinkpad on this.
Although the theory is quite complete, I searched and don't found any method that can implement similar function like dmi_name_in_vendors of the Linux Kernel inside PawnIO, and Contribution Guideline says The module should do best effort to ensure it only runs with supported hardware..
So I'm here and want to hear about how you reckoning on this feature.
Newer ThinkPads use 0x1600 and 0x1604 as their EC ports. According to portio.cpp of TPFanControl2 and ThinkWiki, this applied to most of the ThinkPads since the Intel SNB platform. Also, based on the thinkpad_acpi.c of Linux Kernel, we can use the determine logic of function
probe_for_thinkpadon this.Although the theory is quite complete, I searched and don't found any method that can implement similar function like
dmi_name_in_vendorsof the Linux Kernel inside PawnIO, and Contribution Guideline saysThe module should do best effort to ensure it only runs with supported hardware..So I'm here and want to hear about how you reckoning on this feature.