Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently installed Slackware 10.2 on my Thinkpad T42. The default bareacpi.i kernel (2.4.31) had acpi working fine. I built a 2.6.15.4 kernel with, among other things, acpi enabled, including the Thinkpad specific item. I have been unsuccessful to get acpi working with this new kernel, though, no matter what I do. This is what I see in dmesg:
Code:
root@flatline:/usr/src/linux# dmesg | grep -i acpi
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Video Device [VID] (multi-head: yes rom: no post: no)
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
ACPI: Processor [CPU] (supports 8 throttling states)
ACPI: Thermal Zone [THM0] (29 C)
ibm_acpi: IBM ThinkPad ACPI Extras v0.12a
ibm_acpi: <url omitted>
ibm_acpi: dock device not present
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt for device 0000:00:1f.6 disabled
ACPI: PCI Interrupt 0000:02:01.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1d.7[D] -> Link [LNKH] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:02:02.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
and from my .config:
Code:
root@flatline:/usr/src/linux# cat .config | grep -i acpi
# Power management options (ACPI, APM)
# ACPI (Advanced Configuration and Power Interface) Support
CONFIG_ACPI=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
CONFIG_ACPI_IBM=y
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_CONTAINER is not set
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
CONFIG_PNPACPI=y
# CONFIG_SERIAL_8250_ACPI is not set
Tuxmobile:Linux with laptops may have some notes on APM/ACPI for your thinkpad model. Or www.thinkwiki.org may have pertinent help. Some boot parameter may be needed depending on problems.
There are many linux-on-laptop SW install notes for your lappy including kernel and xorg files. Good luck.
lestoil: Thanks for the info but Marcin's notes and the thinkwiki were what I used from the beginning...
macemoneta: The symptoms are just that it doesn't seem to work. I can't suspend to RAM or disk. I've tried with acpitool and with klaptop_acpi_helper. I'd like to be able to configure this using KDE control center but at the very least I'd like to be able to suspend from the prompt. I've got cpu throttling working, but I have to set the governor to on demand for that to work.
gentoo has acpi wiki with scripts that may help. BIOS has ACPI-AWARE OS ACPI 2.0 COMPLIANCE BIOS>AML ACPI table options enabled? Or Susp to RAM support + Repost video on S3 resume? Linux ACPI-HOWTO The Sequel by Ariel Glenn is a long thorough treatise that is good to keep as reference material. It reviews kernel config ,bios settings, and scripts that may be needed. Good luck. Great that you have an often used lappy for linux
Thanks for the links. I'm falling a bit behind this but I hope to retackle it again this week. The Glenn tutorial looks promising. The notes that macemoneta posted seem to be for a 2.4 kernel. Is that correct? I thought the 2.6 kernels dealt with acpi differently than 2.4 kernels. Anyhow, thanks again both. I'll let you know what happens next.
m
I found on an old dell Latitude C600 and my Compaq Presario 2145 I needed to recompile the kernel and define all the ACPI and CPU frequency scalling options compiled into the kernel instead of as modules. After that, I was able to get things working well, including the battery charge option that I was most interested in.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.