LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ACPI (Advanced Configuration And Power Configuration) not present on 2.6.38.8? (https://www.linuxquestions.org/questions/linux-newbie-8/acpi-advanced-configuration-and-power-configuration-not-present-on-2-6-38-8-a-947560/)

TheIndependentAquarius 05-30-2012 07:36 AM

ACPI (Advanced Configuration And Power Configuration) not present on 2.6.38.8?
 
I need to disable some parts in ACPI, but it is
simply not present in kernel 2.6.38.8 (downloaded
as a tar from net)?

I can see the option in kernel 2.6.34-12 (default
on OpenSuse 11.3), but not in the other one.

What's the point that I am missing?

P.S.
Screen shots are from kernel 2.6.38.8.

Didier Spaier 05-30-2012 07:53 AM

Unfortunately, your screenshots are unreadable (the resolution is too low).

Anyhow, of course ACPI is available in 2.6.38.8 vanilla kernel.

Did you get yours directly from kernel.org?

If not try this link.

PS I am downloading it myself to double-check.

TheIndependentAquarius 05-30-2012 07:57 AM

This is the command I had issued to get that tar:
wget -c http://www.kernel.org/pub/linux/kern....6.38.8.tar.gz

The screen shots are very readable to me. I checked again.
Try opening them in a new tab, please.

Didier Spaier 05-30-2012 08:08 AM

This should be the same archive, only the compression method differ... 83% downloaded now, will tell you what I come up with.

Oh and for the screenshots you are right, I did a "save as" instead, my fault.

TheIndependentAquarius 05-30-2012 08:10 AM

Update:

From unix.stackexchange someone told me that disabling
PCI can totally hide the ACPI option. I now enabled PCI
and therefore I can see ACPI.

Thanks anyways for the effort of downloading, Didier.

Didier Spaier 05-30-2012 08:17 AM

You are welcome.

For the records, it is said in the config help for ACPI as well:
Code:

Defined at drivers/acpi/Kconfig:5                                                                                        │ 
  │  Depends on: !IA64_HP_SIM && (IA64 || X86 [=y]) && PCI [=y] && PM [=y]                                                    │ 
  │  Location:                                                                                                                │ 
  │    -> Power management and ACPI options                                                                                    │ 
  │  Selects: PNP [=y]


Didier Spaier 05-30-2012 08:25 AM

Last word about that: you probably know that already but even though the menuconfig entry for ACPI doesn't show if PCI is disabled, you can still access the help for it searching ("/") for ACPI.

TheIndependentAquarius 05-30-2012 08:30 AM

"/" ACPI search results in:
Code:

Symbol: ACPI_AC [=m]                                                                                                │ 
  │ Prompt: AC Adapter                                                                                                  │ 
  │  Defined at drivers/acpi/Kconfig:125                                                                              │ 
  │  Depends on: !XEN_UNPRIVILEGED_GUEST [=n] && ACPI [=y] && X86 [=y]                                                │ 
  │  Location:                                                                                                        │ 
  │    -> Power management and ACPI options                                                                            │ 
  │      -> ACPI (Advanced Configuration and Power Interface) Support (ACPI [=y])

With PCI disabled (due to my ignorance) ACPI
search won't be too helpful? Or will it be?

Didier Spaier 05-30-2012 08:52 AM

Here with PCI disabled, "/" ACPI_AC results in:
Code:

Symbol: ACPI_AC [=y]                                                                                                        │ 
  │ Type  : tristate                                                                                                            │ 
  │ Prompt: AC Adapter                                                                                                          │ 
  │  Defined at drivers/acpi/Kconfig:124                                                                                      │ 
  │  Depends on: ACPI [=y] && X86 [=y]                                                                                        │ 
  │  Location:                                                                                                                │ 
  │    -> Power management and ACPI options                                                                                    │ 
  │      -> ACPI (Advanced Configuration and Power Interface) Support (ACPI [=y])                                              │ 
  │  Selects: POWER_SUPPLY [=y]

But "/" ACPI results in a bunch of entries, among which:
Code:

  Symbol: ACPI [=n]                                                                                                          │ 
  │ Type  : boolean                                                                                                            │ 
  │ Prompt: ACPI (Advanced Configuration and Power Interface) Support                                                          │ 
  │  Defined at drivers/acpi/Kconfig:5                                                                                        │ 
  │  Depends on: !IA64_HP_SIM && (IA64 || X86 [=y]) && PCI [=n] && PM [=y]                                                    │ 
  │  Location:                                                                                                                │ 
  │    -> Power management and ACPI options                                                                                    │ 
  │  Selects: PNP [=n]

I append my .config so you can check by yourself.

I didn't reuse an old .config, thus the only config option I did set up myself is PCI support disabled.


All times are GMT -5. The time now is 05:27 PM.