[ltp] T60p: thinkpad_acpi automatic module loading
Henrique de Moraes Holschuh
linux-thinkpad@linux-thinkpad.org
Sat, 31 Mar 2012 19:03:23 -0300
On Sat, 31 Mar 2012, Henrique de Moraes Holschuh wrote:
> Then, I need to know whether the expected aliases are present in sysfs,
> autoloading happens when something in sysfs declares an attribute "modalias"
> whose contents are present in the "alias" fields of a module.
Ah, and you need the depmod-generated stuff to be current. That's where the
alias fields of the modules end up indexed. So, check whether the alias
fields of thinkpad-acpi are present on
/lib/modules/<kernel version>/modules.alias.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh