Portál AbcLinuxu, 10. května 2025 08:08
Ale jedna vec sa mi nevidi - zeby slackware nemal standartne skopilovanu podporu ACPI ?
Na http://www.slackwiki.org/ACPI_Modules sa pise
These are the kernel modules that need to be loaded in order to use some of the features of ACPI. * ac - AC adapter information * battery - Battery information * fan * button - Enables accesing info about ACPI-controlled buttons (like the Power button and the LID button) * video * thermal - Driver for the Thermal Zone (/proc/acpi/thermal_zone) * processor - Loads the ACPI processor driver (/proc/acpi/processor) * container - Loads the ACPI container driver
Teda moduly skompilovane asi mas,pravdepodobne ich treba iba nacitat s modprobe
CONFIG_ACPI=y
..
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
Z čoho dedukujem, že treba nahrať moduly acpi_ac
a acpi_battery
.
co najde :
find /lib/modules/ -name "acpi_ac.ko"
a
find /lib/modules/ -name "acpi_battery.ko"
Soubor /etc/rc.d/rc.modules slouží přesně pro tyto účely. Přidejte do něj následující řádky, restartujte a pak se začtěte do nějakých základů o Slackware např. Slackware Book a SlackWiki
/sbin/modprobe ac
/sbin/modprobe battery
/sbin/modprobe button
/sbin/modprobe fan
/sbin/modprobe thermal
/sbin/modprobe video
modprobe ac
modprobe battery
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.