https://bugzilla.kernel.org/show_bug.cgi?id=19162
--- Comment #2 from Kay Sievers <[email protected]> 2010-09-30 08:19:06 --- > --- Comment #1 from Len Brown <[email protected]> 2010-09-30 02:13:22 --- > wow, okay, there are a bunch of these things. > apparently we create them for every single acpi device. > what are they used for? do we need any of them? The 'modalias' is a hint for the system to search a matching kernel module. The installed kernel modules may carry device matches, which are extracted by 'depmod' and all put into the file: /lib/modules/$(uname -r)/modules.alias When a device appears on the system, or during coldplug at bootup, for all devices with a 'modalias', 'modprobe' is called with this alias. Modprobe matches the given alias with all the glob matches in the modules.alias file. All matching modules are then auto-loaded depending on the specific devices on the actual system. > /sys/bus/acpi/devices/device:00/modalias:acpi:device: These don't export any information, and there will be no kernel module ever, which has the alias: "acpi:device". I think we can just suppress them from showing up as a 'modalias' > /sys/bus/acpi/devices/LNXCPU:00/modalias:acpi:LNXCPU: > /sys/bus/acpi/devices/LNXPWRBN:00/modalias:acpi:LNXPWRBN: > /sys/bus/acpi/devices/LNXSYBUS:00/modalias:acpi:LNXSYBUS: > /sys/bus/acpi/devices/LNXSYSTM:00/modalias:acpi:LNXSYSTM: > /sys/bus/acpi/devices/LNXTHERM:00/modalias:acpi:LNXTHERM: > /sys/bus/acpi/devices/PNP0800:00/modalias:acpi:PNP0800: > /sys/bus/acpi/devices/PNP0A08:00/modalias:acpi:PNP0A08:PNP0A03: These carry some sort of identifier, and they should all be there, because there could be matches from drivers. Here are a few matches inside the kernel modules, which need the ACPI modalias: $ grep acpi /lib/modules/$(uname -r)/modules.alias alias acpi*:ACPI0003:* ac alias acpi*:PNP0C0A:* battery alias acpi*:ACPI0005:* sbshc alias acpi*:ACPI0001:* sbshc alias acpi*:ACPI0002:* sbs alias acpi*:IFX0102:* tpm_infineon alias acpi*:IFX0101:* tpm_infineon alias acpi*:PNP0700:* floppy alias dmi:bvnIBM:bvrI[MU]ET??WW* thinkpad_acpi alias tpacpi thinkpad_acpi alias acpi*:IBM0068:* thinkpad_acpi alias acpi*:PNP0401:* parport_pc -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ acpi-bugzilla mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla
