* /proc/battery empty on Gateway 400VTX
@ 2003-10-07 21:04 Casey Harkins
[not found] ` <Pine.LNX.4.44.0310071538370.24003-301000-j0XSImJ06nG869pVMd/zofZ8FUJU4vz8@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Casey Harkins @ 2003-10-07 21:04 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1532 bytes --]
Looking for help with getting ACPI battery monitoring to work on this
laptop. I'm running SourceMage GNU/Linux with:
vanilla linux 2.4.22
acpi 20030916 patch for 2.4.22
dsdt-initrd patch v0.3 for 2.4.22
All other acpi functions seem to work (haven't tried suspending). Nothing
is reported when the battery module loads (it is being loaded between the
ac_adapter and button modules) and the /proc/battery directory exists but
is empty.
I tried dumping and fixing the dsdt. There was only 1 warning:
dsdt.asl 281: Method(_WAK, 1) {
Warning 2026 - ^ Reserved method must return a value (_WAK)
I fixed this according to Richard Black's HOWTO and loaded it via the
initrd method using the dsdt-initrd patch listed above, though it seemed
to have no effect on the system.
There are some interesting errors in dmesg with or without the fixed dsdt.
Specifically:
---
evregion-0249 [22] ev_address_space_dispa: no handler for region(df5ecc68)
[EmbeddedControl]
exfldio-0269 [21] ex_access_region : Region EmbeddedControl(3) has
no handler
psparse-1121: *** Error: Method execution failed [\_SB_.BAT0._STA] (Node
df5f1108), AE_NOT_EXIST
---
I've attached the dmesg outputs for both to this message along with the
original dsdt source. It might also be useful to know that 'pci=noacpi'
was passed to the kernel for both of these dmesg outputs. With 2.4.22
(but not 2.4.19) the onboard ethernet does not get an IRQ without passing
the pci=noacpi option.
Thanks in advance for any help/guidance.
-casey
[-- Attachment #2: Type: TEXT/PLAIN, Size: 11676 bytes --]
Linux version 2.4.22 (root@danh) (gcc version 3.2.3) #1 Tue Oct 7 15:05:45 UTC 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000ce000 - 00000000000d0000 (reserved)
BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001f6e0000 (usable)
BIOS-e820: 000000001f6e0000 - 000000001f6ec000 (ACPI data)
BIOS-e820: 000000001f6ec000 - 000000001f700000 (ACPI NVS)
BIOS-e820: 000000001f700000 - 0000000020000000 (reserved)
BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
502MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 128736
zone(0): 4096 pages.
zone(1): 124640 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 GATEWA ) @ 0x000f6710
ACPI: RSDT (v001 GATEWA 400VTX 0x20030312 LTP 0x00000000) @ 0x1f6e6d53
ACPI: FADT (v001 GATEWA 400VTX 0x20030312 PTL 0x00000050) @ 0x1f6ebf64
ACPI: BOOT (v001 GATEWA 400VTX 0x20030312 LTP 0x00000001) @ 0x1f6ebfd8
ACPI: DSDT (v001 GATEWA 400VTX 0x20030312 MSFT 0x0100000e) @ 0x00000000
Kernel command line: BOOT_IMAGE=linux-2.4.22 ro root=301 devfs=mount hdc=ide-scsi pci=noacpi
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 1792.742 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 3578.26 BogoMIPS
Memory: 506688k/514944k available (1444k kernel code, 7868k reserved, 533k data, 92k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebf9ff 00000000 00000000 00000000
CPU: Common caps: bfebf9ff 00000000 00000000 00000000
CPU: Intel Mobile Intel(R) Celeron(R) CPU 1.80GHz stepping 07
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20030916
PCI: PCI BIOS revision 2.10 entry at 0xfd9c2, last bus=2
PCI: Using configuration type 1
Looking for DSDT in initrd ... found at beginning!
tbget-0292: *** Info: Table [DSDT] replaced by host OS
tbxface-0117 [03] acpi_load_tables : ACPI Tables successfully acquired
Parsing all Control Methods:.................................................................................................................................................................................................
Table [DSDT](id F004) - 685 Objects with 55 Devices 193 Methods 15 Regions
ACPI Namespace successfully loaded at root c031645c
evxfevnt-0093 [04] acpi_enable : Transition to ACPI mode successful
evgpeblk-0748 [06] ev_create_gpe_block : GPE 00 to 31 [_GPE] 4 regs at 0000000000001028 on int 9
Completing Region/Field/Buffer/Package initialization:.................................................................
Initialized 15/15 Regions 0/0 Fields 28/28 Buffers 22/22 Packages (693 nodes)
Executing all Device _STA and_INI methods:......evregion-0249 [21] ev_address_space_dispa: no handler for region(df5e4c68) [EmbeddedControl]
exfldio-0269 [20] ex_access_region : Region EmbeddedControl(3) has no handler
dswexec-0422 [13] ds_exec_end_op : [LGreater]: Could not resolve operands, AE_NOT_EXIST
psparse-1121: *** Error: Method execution failed [\_SB_.PCI0._INI] (Node df5e9b88), AE_NOT_EXIST
nsinit-0397 [06] ns_init_one_device : \_SB_.PCI0._INI failed: AE_NOT_EXIST
..................................................
56 Devices found containing: 56 _STA, 0 _INI methods
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S3 S4 S5)
evregion-0249 [22] ev_address_space_dispa: no handler for region(df5e4c68) [EmbeddedControl]
exfldio-0269 [21] ex_access_region : Region EmbeddedControl(3) has no handler
psparse-1121: *** Error: Method execution failed [\_SB_.BAT0._STA] (Node df5e9108), AE_NOT_EXIST
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs *10)
ACPI: PCI Interrupt Link [LNKC] (IRQs 10)
ACPI: PCI Interrupt Link [LNKD] (IRQs *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 11)
ACPI: PCI Interrupt Link [LNKF] (IRQs 10)
ACPI: PCI Interrupt Link [LNKG] (IRQs 11)
ACPI: PCI Interrupt Link [LNKH] (IRQs *10)
ACPI: Embedded Controller [H_EC] (gpe 29)
schedule_task(): keventd has not started
ACPI: Power Resource [CFAN] (on)
ACPI: Power Resource [CFN2] (off)
ACPI: Power Resource [CFN3] (off)
PCI: Probing PCI hardware
PCI: Using IRQ router PIIX [8086/24cc] at 00:1f.0
PCI: Found IRQ 11 for device 02:02.0
PCI: Sharing IRQ 11 with 00:02.0
PCI: Sharing IRQ 11 with 00:1d.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
PCI: Assigned IRQ 10 for device 00:1f.1
ICH4: chipset revision 3
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1810-0x1817, BIOS settings: hda:pio, hdb:DMA
ide1: BM-DMA at 0x1818-0x181f, BIOS settings: hdc:pio, hdd:pio
hda: TOSHIBA MK3021GAS, ATA DISK drive
blk: queue c032c3e0, I/O limit 4095Mb (mask 0xffffffff)
hdc: HL-DT-STCD-RW/DVD DRIVE GCC-4240N, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
[ACPI Debug] String: Temperature increasing: _Q80
hda: host protected area => 1
hda: 58605120 sectors (30006 MB), CHS=3648/255/63, UDMA(100)
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 >
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Freeing initrd memory: 19k freed
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 92k freed
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
Adding Swap: 1959920k swap-space (priority -1)
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,5), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,7), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID0]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Fan [FAN1] (on)
ACPI: Fan [FAN2] (off)
ACPI: Fan [FAN3] (off)
ACPI: Processor [CPU0] (supports C1 C2 C3, 8 throttling states)
[ACPI Debug] String: Current temp is:
[ACPI Debug] Integer: 000000000000002E
[ACPI Debug] String: Current FAN low trip point:
[ACPI Debug] Integer: 0000000000000028
[ACPI Debug] String: Current temp is:
[ACPI Debug] Integer: 000000000000002E
ACPI: Thermal Zone [THRM] (46 C)
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
PCI: Found IRQ 11 for device 02:08.0
eth0: Intel Corp. 82801BD PRO/100 VE (MOB) Ethernet Controller, 00:E0:B8:54:A3:DE, I/O at 0x3000, IRQ 11.
Receiver lock-up bug exists -- enabling work-around.
Board assembly 000000-000, Physical connectors present: RJ45
Primary interface chip None PHY #0.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x04f4518b).
Receiver lock-up workaround activated.
parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
parport0: irq 7 detected
lp0: using parport0 (polling).
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
PCI: Found IRQ 10 for device 00:1f.6
PCI: Sharing IRQ 10 with 00:1f.3
PCI: Sharing IRQ 10 with 00:1f.5
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 02:02.0
PCI: Sharing IRQ 11 with 00:02.0
PCI: Sharing IRQ 11 with 00:1d.0
Yenta IRQ list 00b8, PCI irq11
Socket status: 30000417
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x807
cs: IO port probe 0x0100-0x04ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 430M
agpgart: Detected an Intel(R) 852GM Chipset.
agpgart: Detected 8060K stolen memory.
agpgart: AGP aperture is 128M @ 0xe8000000
memory : dedf26a0
memory : dedf26e0
memory : dedf2720
[ACPI Debug] String: Temperature increasing: _Q80
[ACPI Debug] String: Current temp is:
[ACPI Debug] Integer: 000000000000002A
[ACPI Debug] String: Temperature increasing: _Q80
[ACPI Debug] String: Current temp is:
[ACPI Debug] Integer: 0000000000000026
[ACPI Debug] String: FAN 1 (Low speed FAN off)
[ACPI Debug] String: Current FAN low trip point:
[ACPI Debug] Integer: 000000000000002C
[ACPI Debug] String: Current temp is:
[ACPI Debug] Integer: 0000000000000026
[ACPI Debug] String: Temperature increasing: _Q80
[ACPI Debug] String: Current temp is:
[ACPI Debug] Integer: 000000000000002A
[ACPI Debug] String: Temperature increasing: _Q80
[ACPI Debug] String: Current temp is:
[ACPI Debug] Integer: 000000000000002E
[ACPI Debug] String: FAN 1 (Low speed fan on)
[ACPI Debug] String: Current FAN low trip point:
[ACPI Debug] Integer: 0000000000000028
[ACPI Debug] String: Current temp is:
[ACPI Debug] Integer: 000000000000002E
[-- Attachment #3: Type: TEXT/PLAIN, Size: 10347 bytes --]
Linux version 2.4.22 (root@danh) (gcc version 3.2.3) #1 Tue Oct 7 15:05:45 UTC 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000ce000 - 00000000000d0000 (reserved)
BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001f6e0000 (usable)
BIOS-e820: 000000001f6e0000 - 000000001f6ec000 (ACPI data)
BIOS-e820: 000000001f6ec000 - 000000001f700000 (ACPI NVS)
BIOS-e820: 000000001f700000 - 0000000020000000 (reserved)
BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
502MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 128736
zone(0): 4096 pages.
zone(1): 124640 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 GATEWA ) @ 0x000f6710
ACPI: RSDT (v001 GATEWA 400VTX 0x20030312 LTP 0x00000000) @ 0x1f6e6d53
ACPI: FADT (v001 GATEWA 400VTX 0x20030312 PTL 0x00000050) @ 0x1f6ebf64
ACPI: BOOT (v001 GATEWA 400VTX 0x20030312 LTP 0x00000001) @ 0x1f6ebfd8
ACPI: DSDT (v001 GATEWA 400VTX 0x20030312 MSFT 0x0100000e) @ 0x00000000
Kernel command line: BOOT_IMAGE=linux-2.4.22 ro root=301 devfs=mount hdc=ide-scsi pci=noacpi
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 1792.758 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 3578.26 BogoMIPS
Memory: 506708k/514944k available (1444k kernel code, 7848k reserved, 533k data, 92k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebf9ff 00000000 00000000 00000000
CPU: Common caps: bfebf9ff 00000000 00000000 00000000
CPU: Intel Mobile Intel(R) Celeron(R) CPU 1.80GHz stepping 07
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20030916
PCI: PCI BIOS revision 2.10 entry at 0xfd9c2, last bus=2
PCI: Using configuration type 1
tbxface-0117 [03] acpi_load_tables : ACPI Tables successfully acquired
Parsing all Control Methods:.................................................................................................................................................................................................
Table [DSDT](id F004) - 685 Objects with 55 Devices 193 Methods 15 Regions
ACPI Namespace successfully loaded at root c031645c
evxfevnt-0093 [04] acpi_enable : Transition to ACPI mode successful
evgpeblk-0748 [06] ev_create_gpe_block : GPE 00 to 31 [_GPE] 4 regs at 0000000000001028 on int 9
Completing Region/Field/Buffer/Package initialization:.................................................................
Initialized 15/15 Regions 0/0 Fields 28/28 Buffers 22/22 Packages (693 nodes)
Executing all Device _STA and_INI methods:......evregion-0249 [21] ev_address_space_dispa: no handler for region(df5ecc68) [EmbeddedControl]
exfldio-0269 [20] ex_access_region : Region EmbeddedControl(3) has no handler
dswexec-0422 [13] ds_exec_end_op : [LGreater]: Could not resolve operands, AE_NOT_EXIST
psparse-1121: *** Error: Method execution failed [\_SB_.PCI0._INI] (Node df5f1b88), AE_NOT_EXIST
nsinit-0397 [06] ns_init_one_device : \_SB_.PCI0._INI failed: AE_NOT_EXIST
..................................................
56 Devices found containing: 56 _STA, 0 _INI methods
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S3 S4 S5)
evregion-0249 [22] ev_address_space_dispa: no handler for region(df5ecc68) [EmbeddedControl]
exfldio-0269 [21] ex_access_region : Region EmbeddedControl(3) has no handler
psparse-1121: *** Error: Method execution failed [\_SB_.BAT0._STA] (Node df5f1108), AE_NOT_EXIST
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs *10)
ACPI: PCI Interrupt Link [LNKC] (IRQs 10)
ACPI: PCI Interrupt Link [LNKD] (IRQs *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 11)
ACPI: PCI Interrupt Link [LNKF] (IRQs 10)
ACPI: PCI Interrupt Link [LNKG] (IRQs 11)
ACPI: PCI Interrupt Link [LNKH] (IRQs *10)
ACPI: Embedded Controller [H_EC] (gpe 29)
schedule_task(): keventd has not started
ACPI: Power Resource [CFAN] (on)
ACPI: Power Resource [CFN2] (off)
ACPI: Power Resource [CFN3] (off)
PCI: Probing PCI hardware
PCI: Using IRQ router PIIX [8086/24cc] at 00:1f.0
PCI: Found IRQ 11 for device 02:02.0
PCI: Sharing IRQ 11 with 00:02.0
PCI: Sharing IRQ 11 with 00:1d.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
PCI: Assigned IRQ 10 for device 00:1f.1
ICH4: chipset revision 3
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1810-0x1817, BIOS settings: hda:pio, hdb:DMA
ide1: BM-DMA at 0x1818-0x181f, BIOS settings: hdc:pio, hdd:pio
hda: TOSHIBA MK3021GAS, ATA DISK drive
blk: queue c032c3e0, I/O limit 4095Mb (mask 0xffffffff)
hdc: HL-DT-STCD-RW/DVD DRIVE GCC-4240N, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
[ACPI Debug] String: Temperature increasing: _Q80
hda: host protected area => 1
hda: 58605120 sectors (30006 MB), CHS=3648/255/63, UDMA(100)
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 >
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 92k freed
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
Adding Swap: 1959920k swap-space (priority -1)
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,5), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,7), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID0]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Fan [FAN1] (on)
ACPI: Fan [FAN2] (off)
ACPI: Fan [FAN3] (off)
ACPI: Processor [CPU0] (supports C1 C2 C3, 8 throttling states)
[ACPI Debug] String: Current temp is:
[ACPI Debug] Integer: 000000000000002D
[ACPI Debug] String: Current FAN low trip point:
[ACPI Debug] Integer: 0000000000000028
[ACPI Debug] String: Current temp is:
[ACPI Debug] Integer: 000000000000002D
ACPI: Thermal Zone [THRM] (45 C)
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
PCI: Found IRQ 11 for device 02:08.0
eth0: Intel Corp. 82801BD PRO/100 VE (MOB) Ethernet Controller, 00:E0:B8:54:A3:DE, I/O at 0x3000, IRQ 11.
Receiver lock-up bug exists -- enabling work-around.
Board assembly 000000-000, Physical connectors present: RJ45
Primary interface chip None PHY #0.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x04f4518b).
Receiver lock-up workaround activated.
parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
parport0: irq 7 detected
lp0: using parport0 (polling).
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
PCI: Found IRQ 10 for device 00:1f.6
PCI: Sharing IRQ 10 with 00:1f.3
PCI: Sharing IRQ 10 with 00:1f.5
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 02:02.0
PCI: Sharing IRQ 11 with 00:02.0
PCI: Sharing IRQ 11 with 00:1d.0
Yenta IRQ list 00b8, PCI irq11
Socket status: 30000007
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x807
cs: IO port probe 0x0100-0x04ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
[ACPI Debug] String: Temperature increasing: _Q80
[ACPI Debug] String: Current temp is:
[ACPI Debug] Integer: 000000000000002A
[-- Attachment #4: Type: APPLICATION/octet-stream, Size: 10962 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: /proc/battery empty on Gateway 400VTX
@ 2003-10-08 9:44 Li, Shaohua
[not found] ` <571ACEFD467F7749BC50E0A98C17CDD8E84D76-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Li, Shaohua @ 2003-10-08 9:44 UTC (permalink / raw)
To: Casey Harkins; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi,
Your BIOS lacks ECDT. Maybe you should provide an ECDT according to EC device.
Thanks,
Shaohua
-----Original Message-----
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Casey Harkins
Sent: 2003年10月8日 5:04
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [ACPI] /proc/battery empty on Gateway 400VTX
Looking for help with getting ACPI battery monitoring to work on this
laptop. I'm running SourceMage GNU/Linux with:
vanilla linux 2.4.22
acpi 20030916 patch for 2.4.22
dsdt-initrd patch v0.3 for 2.4.22
All other acpi functions seem to work (haven't tried suspending). Nothing
is reported when the battery module loads (it is being loaded between the
ac_adapter and button modules) and the /proc/battery directory exists but
is empty.
I tried dumping and fixing the dsdt. There was only 1 warning:
dsdt.asl 281: Method(_WAK, 1) {
Warning 2026 - ^ Reserved method must return a value (_WAK)
I fixed this according to Richard Black's HOWTO and loaded it via the
initrd method using the dsdt-initrd patch listed above, though it seemed
to have no effect on the system.
There are some interesting errors in dmesg with or without the fixed dsdt.
Specifically:
---
evregion-0249 [22] ev_address_space_dispa: no handler for region(df5ecc68)
[EmbeddedControl]
exfldio-0269 [21] ex_access_region : Region EmbeddedControl(3) has
no handler
psparse-1121: *** Error: Method execution failed [\_SB_.BAT0._STA] (Node
df5f1108), AE_NOT_EXIST
---
I've attached the dmesg outputs for both to this message along with the
original dsdt source. It might also be useful to know that 'pci=noacpi'
was passed to the kernel for both of these dmesg outputs. With 2.4.22
(but not 2.4.19) the onboard ethernet does not get an IRQ without passing
the pci=noacpi option.
Thanks in advance for any help/guidance.
-casey
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: /proc/battery empty on Gateway 400VTX
[not found] ` <Pine.LNX.4.44.0310071538370.24003-301000-j0XSImJ06nG869pVMd/zofZ8FUJU4vz8@public.gmane.org>
@ 2003-10-08 10:01 ` Ducrot Bruno
[not found] ` <20031008100137.GE11391-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Ducrot Bruno @ 2003-10-08 10:01 UTC (permalink / raw)
To: Casey Harkins; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Tue, Oct 07, 2003 at 04:04:11PM -0500, Casey Harkins wrote:
>
> Looking for help with getting ACPI battery monitoring to work on this
> laptop. I'm running SourceMage GNU/Linux with:
>
> vanilla linux 2.4.22
> acpi 20030916 patch for 2.4.22
> dsdt-initrd patch v0.3 for 2.4.22
>
> All other acpi functions seem to work (haven't tried suspending). Nothing
> is reported when the battery module loads (it is being loaded between the
> ac_adapter and button modules) and the /proc/battery directory exists but
> is empty.
>
> I tried dumping and fixing the dsdt. There was only 1 warning:
>
> dsdt.asl 281: Method(_WAK, 1) {
> Warning 2026 - ^ Reserved method must return a value (_WAK)
>
> I fixed this according to Richard Black's HOWTO and loaded it via the
> initrd method using the dsdt-initrd patch listed above, though it seemed
> to have no effect on the system.
>
Are you sure you have compiled embedded controller *not* as a module?
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: /proc/battery empty on Gateway 400VTX
[not found] ` <20031008100137.GE11391-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
@ 2003-10-08 19:13 ` Casey Harkins
0 siblings, 0 replies; 7+ messages in thread
From: Casey Harkins @ 2003-10-08 19:13 UTC (permalink / raw)
To: Ducrot Bruno; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Wed, 8 Oct 2003, Ducrot Bruno wrote:
> > Looking for help with getting ACPI battery monitoring to work on this
> > laptop. I'm running SourceMage GNU/Linux with:
> >
> > vanilla linux 2.4.22
> > acpi 20030916 patch for 2.4.22
> > dsdt-initrd patch v0.3 for 2.4.22
>
> Are you sure you have compiled embedded controller *not* as a module?
>
Yup (acpi portion of .config listed below). I also tried building all acpi
components into the kernel which didn't make a difference.
-casey
# ACPI Support
#
CONFIG_ACPI=y
# CONFIG_ACPI_HT_ONLY is not set
CONFIG_ACPI_INITRD=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SYSTEM=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_RELAXED_AML=y
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: /proc/battery empty on Gateway 400VTX
[not found] ` <571ACEFD467F7749BC50E0A98C17CDD8E84D76-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2003-10-08 19:16 ` Casey Harkins
[not found] ` <Pine.LNX.4.44.0310081413530.30594-100000-j0XSImJ06nG869pVMd/zofZ8FUJU4vz8@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Casey Harkins @ 2003-10-08 19:16 UTC (permalink / raw)
To: Li, Shaohua; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Wed, 8 Oct 2003, Li, Shaohua wrote:
>
> Hi,
> Your BIOS lacks ECDT. Maybe you should provide an ECDT according to EC device.
>
> Thanks,
> Shaohua
How would I go about doing this? I'll google around a bit and see what I
can figure out.
-casey
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: /proc/battery empty on Gateway 400VTX
[not found] ` <Pine.LNX.4.44.0310081413530.30594-100000-j0XSImJ06nG869pVMd/zofZ8FUJU4vz8@public.gmane.org>
@ 2003-10-08 20:25 ` Casey Harkins
0 siblings, 0 replies; 7+ messages in thread
From: Casey Harkins @ 2003-10-08 20:25 UTC (permalink / raw)
To: Li, Shaohua; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Wed, 8 Oct 2003, Casey Harkins wrote:
>
> On Wed, 8 Oct 2003, Li, Shaohua wrote:
> >
> > Hi,
> > Your BIOS lacks ECDT. Maybe you should provide an ECDT according to EC device.
> >
> > Thanks,
> > Shaohua
>
>
> How would I go about doing this? I'll google around a bit and see what I
> can figure out.
>
I tried using the pmtools acpidmp tool to dump the ecdt, but obviously
since the bios lacks one it doesn't dump one. I have no clue on how to
provide an ecdt for the ec device. I'm assuming this would involve getting
specs for the ec on this particular machine, writing asl describing the
ec, compiling and patching it into the kernel (similar to replacing bad
dsdt's). Am I on the right track here?
I dug around and found a few more details which may or may not help.
Gateway's specs for this laptop [1] state:
Bios:
Advanced Configuration and Power Interface 1.0b (ACPI 1.0b)
support
Battery type:
Embedded controller inside to support smart battery
Power Management:
Advanced Configuration and Power Interface 1.0b or later
(ACPI 1.0b or later) support
I also found this [2] lkml post which suggests that ECDT is a feature of
ACPI 2.0 and that smart batteries are a 1.0 feature that aren't currently
supported in the Linux kernel. This message is from September 2002, so the
support for smart battery objects may have changed.
Anyway, is it possible that this notebook does not support acpi 2.0 and
therefore the only method for retrieving the battery status is through the
smart battery acpi 1.0 object?
I'm pretty much acpi ignorant at this point, so any help is appreciated.
I'll sit down and try to read over the specs this afternoon to see if I
can become less acpi ignorant!
-casey
[1] http://support.gateway.com/s/Mobile/Gateway/400VTX/3501331sp47.shtml
[2] http://www.ussg.iu.edu/hypermail/linux/kernel/0209.1/1566.html
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: /proc/battery empty on Gateway 400VTX
@ 2003-10-09 8:02 Li, Shaohua
0 siblings, 0 replies; 7+ messages in thread
From: Li, Shaohua @ 2003-10-09 8:02 UTC (permalink / raw)
To: Casey Harkins; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Because lack ECDT, your dmesg shows:
>evregion-0249 [22] ev_address_space_dispa: no handler for region(df5e4c68) [EmbeddedControl]
> exfldio-0269 [21] ex_access_region : Region EmbeddedControl(3) has no handler
> psparse-1121: *** Error: Method execution failed [\_SB_.BAT0._STA] (Node df5e9108), AE_NOT_EXIST
so your /proc/acpi/battery is empty.
I can't find a tool to create an ECDT. But in your dsdt, I get:
>EC_CONTROL: 0x62
>EC_DATA: 0x66
>GPE: 29
>ID: \_SB_.PCI0.LPCB.H_EC
Your ECDT should include above info. Manually create one?
Thanks,
Shaohua
-----Original Message-----
From: Casey Harkins [mailto:charkins-TFaeeA7fOO6Gwcnyzrk3/w@public.gmane.org]
Sent: 2003年10月9日 3:16
To: Li, Shaohua
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: [ACPI] /proc/battery empty on Gateway 400VTX
On Wed, 8 Oct 2003, Li, Shaohua wrote:
>
> Hi,
> Your BIOS lacks ECDT. Maybe you should provide an ECDT according to EC device.
>
> Thanks,
> Shaohua
How would I go about doing this? I'll google around a bit and see what I
can figure out.
-casey
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-10-09 8:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-07 21:04 /proc/battery empty on Gateway 400VTX Casey Harkins
[not found] ` <Pine.LNX.4.44.0310071538370.24003-301000-j0XSImJ06nG869pVMd/zofZ8FUJU4vz8@public.gmane.org>
2003-10-08 10:01 ` Ducrot Bruno
[not found] ` <20031008100137.GE11391-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-10-08 19:13 ` Casey Harkins
-- strict thread matches above, loose matches on Subject: below --
2003-10-08 9:44 Li, Shaohua
[not found] ` <571ACEFD467F7749BC50E0A98C17CDD8E84D76-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2003-10-08 19:16 ` Casey Harkins
[not found] ` <Pine.LNX.4.44.0310081413530.30594-100000-j0XSImJ06nG869pVMd/zofZ8FUJU4vz8@public.gmane.org>
2003-10-08 20:25 ` Casey Harkins
2003-10-09 8:02 Li, Shaohua
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox