[ACPI] Werkt niet onder 2.4.22?

Pagina: 1
Acties:

  • LollieStick
  • Registratie: Juni 2001
  • Laatst online: 28-02 12:09
Hoi,

Ik heb gister op een test bak 2.4.22 gecompileert op een test bak met ACPI ondersteuning. Ook heb ik het programma ACPID geinstalleerd en gestart. Configuratie doet Gentoo automagisch. Als ik nu mijn power knop in druk zou het systeem netjes af moeten sluiten maar meneer doet helemaal niets :(. Met kernel 2.4.21 werkte alles nog perfect. Kan dit komen door de nieuwe implementatie van de ACPI uit 2.5/2.6 en wat kan ik er aan doen?

Thanks anyway :)

  • Lancer
  • Registratie: Januari 2002
  • Laatst online: 01-05 15:41

Lancer

What the......

Zijn de ACPI modules geladen. Anders moet je ze ff in /etc/rc.local koppen.

(Checken met lsmod)

Mijn rc.local (laptop op 2.4.22)
code:
1
2
3
4
5
6
7
8
9
10
touch /var/lock/subsys/local
modprobe speedstep-ich
modprobe i8k
modprobe ac
modprobe battery
modprobe button
modprobe processor
modprobe thermal
/etc/init.d/cpudyn start
/etc/acpi/actions/ac_adapter


Het gaat dus om ac, battery, button (voor je aan/uit knop), processor en thermal

Als dit allemaal goed is, moet je eens in /etc/acpi/actions en /etc/acpi/events kijken. Hier moeten de scripts staan die wat daan doen als je op de knop drukt.

[ Voor 27% gewijzigd door Lancer op 05-09-2003 09:27 ]

Je kunt niet in een systeem meten zonder het systeem te beinvloeden.... (gevolg van de Heisenberg onzekerheidsrelatie)


Verwijderd

Laat eens de acpi regels zien van dmesg. Ik vermoed namelijk dat je als bootflag acpi=force moet meegeven om acpi weer te laten werken.

  • LollieStick
  • Registratie: Juni 2001
  • Laatst online: 28-02 12:09
Ik heb de benodigde dingen (button, fan, processor) ingebouwd in de kernel.
Laat eens de acpi regels zien van dmesg. Ik vermoed namelijk dat je als bootflag acpi=force moet meegeven om acpi weer te laten werken.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Sep 10 07:55:46 andreas kernel: ACPI: Subsystem revision 20030813
Sep 10 07:55:46 andreas kernel: PCI: PCI BIOS revision 2.10 entry at 0xfb4e0, la
st bus=1
Sep 10 07:55:46 andreas kernel: PCI: Using configuration type 1
Sep 10 07:55:46 andreas kernel: ACPI: Interpreter enabled
Sep 10 07:55:46 andreas kernel: ACPI: Using PIC for interrupt routing
Sep 10 07:55:46 andreas kernel: ACPI: System [ACPI] (supports S0 S1 S4 S5)
Sep 10 07:55:46 andreas kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
Sep 10 07:55:46 andreas kernel: PCI: Probing PCI hardware (bus 00)
Sep 10 07:55:46 andreas kernel: Disabling VIA memory write queue (PCI ID 0305, r
ev 02): [55] 89 & 1f -> 09
Sep 10 07:55:46 andreas kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._P
RT]
Sep 10 07:55:46 andreas kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 *5 6
 7 10 11 12 14 15)
Sep 10 07:55:46 andreas kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6
7 10 *11 12 14 15)
Sep 10 07:55:46 andreas kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6
7 *10 11 12 14 15)
Sep 10 07:55:46 andreas kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6
7 10 11 12 14 15, disabled)
Sep 10 07:55:46 andreas kernel: PCI: Probing PCI hardware

Sep 10 07:55:46 andreas kernel: ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 1
0
Sep 10 07:55:46 andreas kernel: ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 1
1
Sep 10 07:55:46 andreas kernel: ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 5
Sep 10 07:55:46 andreas kernel: PCI: Using ACPI for IRQ routing
Sep 10 07:55:46 andreas kernel: PCI: if you experience problems, try using optio
n 'pci=noacpi' or even 'acpi=off'
Sep 10 07:55:46 andreas kernel: PCI: Disabling Via external APIC routing
Sep 10 07:55:46 andreas kernel: isapnp: Scanning for PnP cards...
Sep 10 07:55:46 andreas kernel: isapnp: No Plug & Play device found
Sep 10 07:55:46 andreas kernel: Linux NET4.0 for Linux 2.4
Sep 10 07:55:46 andreas kernel: Based upon Swansea University Computer Society N
ET3.039
Sep 10 07:55:46 andreas kernel: Initializing RT netlink socket
Sep 10 07:55:46 andreas kernel: Starting kswapd
Sep 10 07:55:46 andreas kernel: devfs: v1.12c (20020818) Richard Gooch (rgooch@a
tnf.csiro.au)
Sep 10 07:55:46 andreas kernel: devfs: boot_options: 0x1
Sep 10 07:55:46 andreas kernel: SGI XFS snapshot 2.4.22-2003-09-03_04:09_UTC wit
h no debug enabled
Sep 10 07:55:46 andreas kernel: ACPI: Power Button (FF) [PWRF]
Sep 10 07:55:46 andreas kernel: ACPI: Sleep Button (CM) [SLPB]
Sep 10 07:55:46 andreas kernel: ACPI: Processor [CPU0] (supports C1 C2, 2 thrott
ling states)


Fresh from the logfile :)