Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266015AbUAGUou (ORCPT ); Wed, 7 Jan 2004 15:44:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265655AbUAGUou (ORCPT ); Wed, 7 Jan 2004 15:44:50 -0500 Received: from elpis.telenet-ops.be ([195.130.132.40]:60809 "EHLO elpis.telenet-ops.be") by vger.kernel.org with ESMTP id S266015AbUAGUon (ORCPT ); Wed, 7 Jan 2004 15:44:43 -0500 From: Jan De Luyck To: linux-kernel@vger.kernel.org Subject: [2.6.1-rc1] no acpi event for ac_adapter? Date: Wed, 7 Jan 2004 21:44:42 +0100 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401072144.42211.lkml@kcore.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5718 Lines: 128 Hello List, I was just wondering - should there normally be an acpi event for the plugging or removing of the ac-adapter? I've catted /proc/acpi/events, but the only thing I seem to be getting acpi events for is the powerbutton and my lid button. System: Acer TravelMate 803LCI. Kernel: 2.6.1-rc1 with radeonfb patch from -mm1, and ircomm module autoloading patch (taken from irda website) Bootlog: Linux version 2.6.1-rc1 (root@precious) (gcc version 3.3.3 20031229 (prerelease) (Debian)) #1 Mon Jan 5 12:43:24 CET 2004 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f800 (usable) BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001ff70000 (usable) BIOS-e820: 000000001ff70000 - 000000001ff7b000 (ACPI data) BIOS-e820: 000000001ff7b000 - 000000001ff80000 (ACPI NVS) BIOS-e820: 000000001ff80000 - 0000000020000000 (reserved) BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved) BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved) 511MB LOWMEM available. On node 0 totalpages: 130928 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 126832 pages, LIFO batch:16 HighMem zone: 0 pages, LIFO batch:1 DMI present. ACPI: RSDP (v000 ACER ) @ 0x000f60c0 ACPI: RSDT (v001 ACER Cardinal 0x20020919 LTP 0x00000000) @ 0x1ff74c20 ACPI: FADT (v001 ACER Cardinal 0x20020919 PTL 0x0000001e) @ 0x1ff7af64 ACPI: BOOT (v001 ACER Cardinal 0x20020919 LTP 0x00000001) @ 0x1ff7afd8 ACPI: DSDT (v001 ACER Cardinal 0x20020919 MSFT 0x0100000d) @ 0x00000000 Building zonelist for node : 0 Kernel command line: BOOT_IMAGE=Linux ro root=306 Initializing CPU#0 PID hash table entries: 2048 (order 11: 16384 bytes) Detected 1598.800 MHz processor. Using tsc for high-res timesource Console: colour VGA+ 80x25 Memory: 515032k/523712k available (1753k kernel code, 7924k reserved, 694k data, 124k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 3137.53 BogoMIPS Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: a7e9f9bf 00000000 00000000 00000000 CPU: After vendor identify, caps: a7e9f9bf 00000000 00000000 00000000 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 1024K CPU: After all inits, caps: a7e9f9bf 00000000 00000000 00000040 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: Intel(R) Pentium(R) M processor 1600MHz stepping 05 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX NET: Registered protocol family 16 PCI: PCI BIOS revision 2.10 entry at 0xfd732, last bus=2 PCI: Using configuration type 1 mtrr: v2.0 (20020519) ACPI: Subsystem revision 20031002 ACPI: IRQ 9 was Edge Triggered, setting to Level Triggerd ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (00:00) PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs *10) ACPI: PCI Interrupt Link [LNKB] (IRQs *10) ACPI: PCI Interrupt Link [LNKC] (IRQs *10) ACPI: PCI Interrupt Link [LNKD] (IRQs *5) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 11 12) ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 11 12) ACPI: PCI Interrupt Link [LNKG] (IRQs 10) ACPI: PCI Interrupt Link [LNKH] (IRQs *10) ACPI: Embedded Controller [EC0] (gpe 29) ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB_._PRT] ACPI: Power Resource [PFN0] (off) ACPI: Power Resource [PFN1] (off) Linux Plug and Play Support v0.97 (c) Adam Belay ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10 ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 10 ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10 ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10 PCI: Using ACPI for IRQ routing PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off' radeonfb_pci_register BEGIN radeonfb: ref_clk=2700, ref_div=12, xclk=20000 from BIOS radeonfb: probed DDR SGRAM 65536k videoram radeon_get_moninfo: bios 4 scratch = 1000004 radeonfb: panel ID string: AUO radeonfb: detected DFP panel size from BIOS: 1400x1050 radeonfb: ATI Radeon M9 Lf DDR SGRAM 64 MB radeonfb: DVI port LCD monitor connected radeonfb: CRT port no monitor connected radeonfb_pci_register END SBF: Simple Boot Flag extension found and enabled. SBF: Setting boot flags 0x1 IA-32 Microcode Update Driver: v1.13 ikconfig 0.7 with /proc/config* ACPI: AC Adapter [ACAD] (off-line) ACPI: Battery Slot [BAT1] (battery present) ACPI: Battery Slot [BAT2] (battery absent) ACPI: Power Button (FF) [PWRF] ACPI: Lid Switch [LID] ACPI: Sleep Button (CM) [SLPB] ACPI: Fan [FAN0] (off) ACPI: Fan [FAN1] (off) ACPI: Processor [CPU0] (supports C1 C2 C3) ACPI: Thermal Zone [THRM] (59 C) ... Thanks in advance. Jan -- I haven't lost my mind -- it's backed up on tape somewhere. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/