Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ACPI problem with kernel 2.6.1 [Solved]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Kesereti
Guru
Guru


Joined: 07 Nov 2002
Posts: 520

PostPosted: Sat Jan 10, 2004 10:28 am    Post subject: ACPI problem with kernel 2.6.1 [Solved] Reply with quote

Almost everything works perfectly on my Gateway M350 laptop (Intel 82850 chipset), except for the battery status...for some reason, ACPI insists that I have no battery connected, even though I surely do (what *else* does it run off of when I unplug the AC adapter? =P)...the module will load nicely, and /proc/acpi/battery is created whether it's loaded as a module or built into the kernel...just nothing underneath it =\ Has anyone seen this sort of behavior before? Thanks!

Edit: This patch applies cleanly to the 2.6 kernel tree and fixes ECDT functionality for those systems that do not have a valid ECDT in the BIOS, such as my Gateway laptop (and all Gateway laptops, it seems) ... patch, recompile, reboot, and bam -- I get battery status =)


Last edited by Kesereti on Mon Jan 19, 2004 6:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
gwion
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 212
Location: Helsinki

PostPosted: Sat Jan 10, 2004 1:49 pm    Post subject: Reply with quote

yes, same for me here, but it worked with some of the 2.6 beta kernels... :evil:
_________________
But the best thing about being an older goth? The fact that no one tries to tell you "It's a phase!" anymore.
--
gwion@jabber.org
Back to top
View user's profile Send private message
jetblack
Guru
Guru


Joined: 15 Jan 2003
Posts: 340
Location: Evanston, IL, USA

PostPosted: Sat Jan 10, 2004 3:28 pm    Post subject: Reply with quote

Sounds vaguely familiar :)

For my Gateway 200X, the problem was with the Embedded Control. Applying this patch fixed it up, but unfortunately it only works for the 2.4.x kernels. If I can get (or -hehe- cobble together) a version that works with 2.6.x, I'll post it. Did this work either of you on 2.4?

Could you post your dmesg output?

[EDIT]If you'd like to follow the bug that led up to that patch, it's here
Back to top
View user's profile Send private message
gwion
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 212
Location: Helsinki

PostPosted: Sat Jan 10, 2004 5:42 pm    Post subject: Reply with quote

i did not use a 2.4 kernel on my laptop but as i said it worked with the 2.6-test10 (it was test10 or 11 i think) without any problems...

heres my dmesg output:

Quote:
bash-2.05b$ dmesg
2 processors activated (12140.54 BogoMIPS).
cpu_sibling_map[0] = 1
cpu_sibling_map[1] = 0
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 3056.0045 MHz.
..... host bus clock speed is 132.0871 MHz.
checking TSC synchronization across 2 CPUs:
BIOS BUG: CPU#0 improperly initialized, has -4809 usecs TSC skew! FIXED.
BIOS BUG: CPU#1 improperly initialized, has 4809 usecs TSC skew! FIXED.
Starting migration thread for cpu 0
Bringing up 1
CPU 1 IS NOW UP!
Starting migration thread for cpu 1
CPUS done 8
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfcf1e, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20031203
tbxface-0117 [03] acpi_load_tables : ACPI Tables successfully acquired
Parsing all Control Methods:.........................................................................................................................................
Table [DSDT](id F004) - 354 Objects with 58 Devices 137 Methods 7 Regions
ACPI Namespace successfully loaded at root c05817fc
IOAPIC[0]: Set PCI routing entry (2-9 -> 0x71 -> IRQ 9 Mode:1 Active:0)
evxfevnt-0093 [04] acpi_enable : Transition to ACPI mode successful
evgpeblk-0747 [06] ev_create_gpe_block : GPE 00 to 31 [_GPE] 4 regs at 0000000000001028 on int 9
Completing Region/Field/Buffer/Package initialization:.............................................................
Initialized 7/7 Regions 8/8 Fields 21/21 Buffers 25/25 Packages (362 nodes)
Executing all Device _STA and_INI methods:.............................................................
61 Devices found containing: 61 _STA, 3 _INI methods
ACPI: Interpreter enabled
ACPI: Using IOAPIC 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 Link [LNKA] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7)
ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
IOAPIC[0]: Set PCI routing entry (2-16 -> 0xa9 -> IRQ 16 Mode:1 Active:1)
00:00:1f[A] -> 2-16 -> IRQ 16
IOAPIC[0]: Set PCI routing entry (2-17 -> 0xb1 -> IRQ 17 Mode:1 Active:1)
00:00:1f[B] -> 2-17 -> IRQ 17
IOAPIC[0]: Set PCI routing entry (2-18 -> 0xb9 -> IRQ 18 Mode:1 Active:1)
00:00:1f[C] -> 2-18 -> IRQ 18
IOAPIC[0]: Set PCI routing entry (2-19 -> 0xc1 -> IRQ 19 Mode:1 Active:1)
00:00:1f[D] -> 2-19 -> IRQ 19
Pin 2-16 already programmed
Pin 2-19 already programmed
Pin 2-18 already programmed
IOAPIC[0]: Set PCI routing entry (2-23 -> 0xc9 -> IRQ 23 Mode:1 Active:1)
00:00:1d[D] -> 2-23 -> IRQ 23
Pin 2-16 already programmed
Pin 2-17 already programmed
IOAPIC[0]: Set PCI routing entry (2-20 -> 0xd1 -> IRQ 20 Mode:1 Active:1)
00:01:00[A] -> 2-20 -> IRQ 20
Pin 2-16 already programmed
Pin 2-16 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-17 already programmed
number of MP IRQ sources: 15.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................
IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 00178020
....... : max redirection entries: 0017
....... : PRQ implemented: 1
....... : IO APIC version: 0020
.... register #02: 00000000
....... : arbitration: 00
.... register #03: 00000001
....... : Boot DT : 1
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 0FF 0F 0 0 0 0 0 1 1 39
02 0FF 0F 0 0 0 0 0 1 1 31
03 0FF 0F 0 0 0 0 0 1 1 41
04 0FF 0F 0 0 0 0 0 1 1 49
05 0FF 0F 0 0 0 0 0 1 1 51
06 0FF 0F 0 0 0 0 0 1 1 59
07 0FF 0F 0 0 0 0 0 1 1 61
08 0FF 0F 0 0 0 0 0 1 1 69
09 003 03 0 1 0 0 0 1 1 71
0a 0FF 0F 0 0 0 0 0 1 1 79
0b 0FF 0F 0 0 0 0 0 1 1 81
0c 0FF 0F 0 0 0 0 0 1 1 89
0d 0FF 0F 0 0 0 0 0 1 1 91
0e 0FF 0F 0 0 0 0 0 1 1 99
0f 0FF 0F 0 0 0 0 0 1 1 A1
10 003 03 1 1 0 1 0 1 1 A9
11 003 03 1 1 0 1 0 1 1 B1
12 003 03 1 1 0 1 0 1 1 B9
13 003 03 1 1 0 1 0 1 1 C1
14 003 03 1 1 0 1 0 1 1 D1
15 000 00 1 0 0 0 0 0 0 00
16 000 00 1 0 0 0 0 0 0 00
17 003 03 1 1 0 1 0 1 1 C9
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9-> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ20 -> 0:20
IRQ23 -> 0:23
.................................... done.
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
Machine check exception polling timer started.
Starting balanced_irq
devfs: v1.22 (20021013) Richard Gooch (rgooch@atnf.csiro.au)
devfs: devfs_debug: 0x0
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
udf: registering filesystem
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Lid Switch [LID]
ACPI: Power Button (CM) [PBTN]
ACPI: Sleep Button (CM) [SBTN]
ACPI: Processor [CPU0] (supports C1, 8 throttling states)
ACPI: Processor [CPU1] (supports C1, 8 throttling states)
ACPI: Thermal Zone [THM] (25 C)
pty: 256 Unix98 ptys configured
toshiba: not a supported Toshiba laptop
i8k: unable to get SMM Dell signature
i8k: unable to get SMM BIOS version
request_module: failed /sbin/modprobe -- parport_lowlevel. error = -16
lp: driver loaded but no devices found
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 855GM Chipset.
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 128M @ 0xe0000000
[drm] Initialized i810 1.4.0 20030605 on minor 0
[drm] Initialized i830 1.3.2 20021108 on minor 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
Using anticipatory io scheduler
floppy0: no floppy controllers found
b44.c:v0.92 (Nov 4, 2003)
eth0: Broadcom 4400 10/100BaseT Ethernet 00:0d:56:3b:d9:94
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xbfa8-0xbfaf, BIOS settings: hdc:DMA, hdd:pio
hda: HL-DT-STCD-RW/DVD-ROM GCC-4241N, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: IC25N060ATMR04-0, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: max request size: 1024KiB
hdc: 117210240 sectors (60011 MB) w/7884KiB Cache, CHS=16383/255/63, UDMA(100)
/dev/ide/host0/bus1/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 >
hda: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
ohci1394: $Rev$ Ben Collins <bcollins@debian.org>
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[16] MMIO=[faffd800-faffdfff] Max Packet=[2048]
ehci_hcd 0000:00:1d.7: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 23, pci mem e0844c00
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci_hcd 0000:00:1d.0: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 16, io base 0000bf80
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 19, io base 0000bf40
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 18, io base 0000bf20
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
drivers/usb/core/usb.c: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
i8042.c: Warning: Keylock active.
serio: i8042 AUX port at 0x60,0x64 irq 12
ieee1394: Host added: ID:BUS[0-00:1023] GUID[314fc000148cf010]
Synaptics Touchpad, model: 1
Firmware: 5.9
Sensor: 37
new absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
input: SynPS/2 Synaptics TouchPad on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
Advanced Linux Sound Architecture Driver Version 1.0.0rc2.
request_module: failed /sbin/modprobe -- snd-card-0. error = -16
PCI: Setting latency timer of device 0000:00:1f.5 to 64
hub 3-0:1.0: new USB device on port 1, assigned address 2
input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:1d.1-1
MC'97 1 converters and GPIO not ready (0xff00)
intel8x0: clocking to 48000
ALSA device list:
#0: Intel 82801DB-ICH4 at 0xf4fff800, irq 17
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S3 S4 S4bios S5)
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hdc3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hdc3) for (hdc3)
journal-1153: found in header: first_unflushed_offset 5368, last_flushed_trans_id 125989
journal-1206: Starting replay from offset 5368, trans_id 125990
journal-1299: Setting newest_mount_id to 126
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 180k freed
Adding 987988k swap on /dev/hdc2. Priority:-1 extents:1
nvidia: no version magic, tainting kernel.
nvidia: module license 'NVIDIA' taints kernel.
1: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4496 Wed Jul 16 19:03:09 PDT 2003
b44: eth0: Link is down.
b44: eth0: Link is up at 10 Mbps, half duplex.
b44: eth0: Flow control is off for TX and off for RX.
Debug: sleeping function called from invalid context at mm/slab.c:1856
in_atomic():1, irqs_disabled():0
Call Trace:
[<c0120466>] __might_sleep+0xab/0xcb
[<c018a27f>] proc_alloc_inode+0x4d/0x73
[<c0144c37>] kmem_cache_alloc+0x74/0x76
[<c01549f3>] __get_vm_area+0x21/0x14c
[<c0154b51>] get_vm_area+0x33/0x37
[<c011c291>] __ioremap+0xb3/0xfa
[<c0140fd4>] buffered_rmqueue+0xe5/0x191
[<c011c301>] ioremap_nocache+0x29/0xa8
[<e0b6678d>] os_map_kernel_space+0x68/0x6c [nvidia]
[<c0154971>] map_vm_area+0x6c/0xcd
[<e0b78de7>] __nvsym00568+0x1f/0x2c [nvidia]
[<e0b7af06>] __nvsym00775+0x6e/0xe0 [nvidia]
[<e0b7af96>] __nvsym00781+0x1e/0x190 [nvidia]
[<e0b7ca1c>] rm_init_adapter+0xc/0x10 [nvidia]
[<e0b62f56>] nv_kern_open+0x122/0x26d [nvidia]
[<c01640f6>] chrdev_open+0xfa/0x261
[<c01c6866>] devfs_open+0x128/0x145
[<c01599c0>] dentry_open+0x115/0x17a
[<c01598a9>] filp_open+0x62/0x64
[<c0159d2a>] sys_open+0x55/0x85
[<c0109553>] syscall_call+0x7/0xb

Debug: sleeping function called from invalid context at mm/slab.c:1856
in_atomic():1, irqs_disabled():0
Call Trace:
[<c0120466>] __might_sleep+0xab/0xcb
[<c0144c37>] kmem_cache_alloc+0x74/0x76
[<c01549f3>] __get_vm_area+0x21/0x14c
[<c0154b51>] get_vm_area+0x33/0x37
[<c011c291>] __ioremap+0xb3/0xfa
[<c0140fd4>] buffered_rmqueue+0xe5/0x191
[<c011c301>] ioremap_nocache+0x29/0xa8
[<e0b6678d>] os_map_kernel_space+0x68/0x6c [nvidia]
[<c0154971>] map_vm_area+0x6c/0xcd
[<e0b78de7>] __nvsym00568+0x1f/0x2c [nvidia]
[<e0b7af06>] __nvsym00775+0x6e/0xe0 [nvidia]
[<e0b7af96>] __nvsym00781+0x1e/0x190 [nvidia]
[<c016944d>] link_path_walk+0x678/0xa13
[<e0b7ca1c>] rm_init_adapter+0xc/0x10 [nvidia]
[<e0b62f56>] nv_kern_open+0x122/0x26d [nvidia]
[<c01640f6>] chrdev_open+0xfa/0x261
[<c01c6866>] devfs_open+0x128/0x145
[<c01599c0>] dentry_open+0x115/0x17a
[<c01598a9>] filp_open+0x62/0x64
[<c0159d2a>] sys_open+0x55/0x85
[<c0109553>] syscall_call+0x7/0xb

agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
found reiserfs format "3.6" with standard journal
reiserfs:warning: CONFIG_REISERFS_CHECK is set ON
reiserfs:warning: - it is slow mode for debugging.
Reiserfs journal params: device hdc5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hdc5) for (hdc5)
journal-1153: found in header: first_unflushed_offset 2087, last_flushed_trans_id 3024
journal-1206: Starting replay from offset 2087, trans_id 3025
journal-1299: Setting newest_mount_id to 96
Using r5 hash to sort names
atkbd.c: Unknown key pressed (translated set 2, code 0x85 on isa0060/serio0).
atkbd.c: Unknown key pressed (translated set 2, code 0x85 on isa0060/serio0).
atkbd.c: Unknown key pressed (translated set 2, code 0x86 on isa0060/serio0).
atkbd.c: Unknown key pressed (translated set 2, code 0x86 on isa0060/serio0).
atkbd.c: Unknown key pressed (translated set 2, code 0x86 on isa0060/serio0).
atkbd.c: Unknown key pressed (translated set 2, code 0x86 on isa0060/serio0).
bash-2.05b$


hope this clarifies things for you...

cheers,

gwion
_________________
But the best thing about being an older goth? The fact that no one tries to tell you "It's a phase!" anymore.
--
gwion@jabber.org
Back to top
View user's profile Send private message
jetblack
Guru
Guru


Joined: 15 Jan 2003
Posts: 340
Location: Evanston, IL, USA

PostPosted: Sat Jan 10, 2004 5:50 pm    Post subject: Reply with quote

Thanks.

It looks like you've got a different problem than I had. My battery wasn't even recognized, and I got a bunch of errors when the system tried to initialize it. Yours is definitely recognized, but you say that there is nothing under /proc/acpi/battery? That's odd. Do you still have the 2.6.0-test10 or 11 kernel lying around? Maybe comparing dmesg between the two would point to something? I'm not sure right now.
Back to top
View user's profile Send private message
Deepu Sudhakar
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2003
Posts: 84

PostPosted: Sat Jan 10, 2004 5:50 pm    Post subject: Reply with quote

I was getting this problem with the 2.6.1 RCs, and I still have it 2.6.1-mm1. The battery status is not being shown. This leads to problems when it comes to taking my laptop off AC power (it thinks that there's zero battery charge and reboots).
Back to top
View user's profile Send private message
gwion
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 212
Location: Helsinki

PostPosted: Sat Jan 10, 2004 5:53 pm    Post subject: Reply with quote

jetblack wrote:
Thanks.

It looks like you've got a different problem than I had. My battery wasn't even recognized, and I got a bunch of errors when the system tried to initialize it. Yours is definitely recognized, but you say that there is nothing under /proc/acpi/battery? That's odd. Do you still have the 2.6.0-test10 or 11 kernel lying around? Maybe comparing dmesg between the two would point to something? I'm not sure right now.


nio, i don't have that kernel lying around. i got the laptop, installed, everything great, then the monitor broke and i had to send it in for replacement. when i got it back, 2.6 was stable...

cheers

gwion
_________________
But the best thing about being an older goth? The fact that no one tries to tell you "It's a phase!" anymore.
--
gwion@jabber.org
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3270
Location: Italy, Milano

PostPosted: Sat Jan 10, 2004 5:53 pm    Post subject: Reply with quote

Same problem!! With the 2.6.0-gentoo-r1 kernel everything works with ACPI but with the 2.6.1 series battery no longer works. I tried to compile it also as amodule but nothing change.

altair root # cat /proc/acpi/battery/BAT1/state
present: yes
ERROR: Unable to read battery status
altair root #

But with the 2.6.0 kernel it works !!!
So.. why?
Fede
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
Deepu Sudhakar
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2003
Posts: 84

PostPosted: Sat Jan 10, 2004 6:14 pm    Post subject: Reply with quote

There's a new MM patch. I'm hoping that it includes a fix. I'm just waiting for the ebuild to be made, and I'll be upgrading. I'll post status then.
Back to top
View user's profile Send private message
gwion
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 212
Location: Helsinki

PostPosted: Sat Jan 10, 2004 6:16 pm    Post subject: Reply with quote

Deepu Sudhakar wrote:
There's a new MM patch. I'm hoping that it includes a fix. I'm just waiting for the ebuild to be made, and I'll be upgrading. I'll post status then.


yes please :D hope this cleans things up a bit
_________________
But the best thing about being an older goth? The fact that no one tries to tell you "It's a phase!" anymore.
--
gwion@jabber.org
Back to top
View user's profile Send private message
Kesereti
Guru
Guru


Joined: 07 Nov 2002
Posts: 520

PostPosted: Sat Jan 10, 2004 8:14 pm    Post subject: Reply with quote

See, the difference between that dmesg output and my own is that the battery slot is actually being detected there...mine doesn't even mention that at all -- it's as if I have no battery at all, and no place to put one =P Here's my dmesg output; I should also mention that I'm running 2.6.1-love1, which already has the mm patch added to it =)

Code:

root@kinkakuji dan # dmesg | more
Linux version 2.6.1-love1 (root@shibuya) (gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)) #6 Sat Jan 10 03:31:43 PST 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000ce000 - 00000000000d0000 (reserved)
 BIOS-e820: 00000000000e0000 - 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: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved)
 BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved)
502MB LOWMEM available.
found SMP MP-table at 000f6710
hm, page 000f6000 reserved twice.
hm, page 000f7000 reserved twice.
hm, page 0009f000 reserved twice.
hm, page 000a0000 reserved twice.
On node 0 totalpages: 128736  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 124640 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
DMI present.
ACPI: RSDP (v000 GATEWA                                    ) @ 0x000f66d0
ACPI: RSDT (v001 GATEWA M350WVN  0x20030926  LTP 0x00000000) @ 0x1f6e6891
ACPI: FADT (v001 GATEWA M350WVN  0x20030926 PTL  0x00000050) @ 0x1f6ebe6a
ACPI: BOOT (v001 GATEWA M350WVN  0x20030926  LTP 0x00000001) @ 0x1f6ebfd8
ACPI: MADT (v001 INTEL  MONTARA  0x20030926 PTL  0x00000050) @ 0x1f6ebf7e
ACPI: SSDT (v001 INTEL  CPU0CST  0x00000001 INTL 0x20030224) @ 0x1f6e6ada
ACPI: SSDT (v001  INTEL  EISTRef 0x00002000 INTL 0x20030224) @ 0x1f6e68c9
ACPI: DSDT (v001 GATEWA M350WVN  0x20030926 MSFT 0x0100000e) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:2 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: Assigned apic_id 1
IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, IRQ 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI BALANCE SET
Enabling APIC mode:  Flat.  Using 1 I/O APICsUsing ACPI (MADT) for SMP configuration information
Building zonelist for node : 0
current: c03aaa60
current->thread_info: c042e000
Initializing CPU#0
Kernel command line: root=/dev/hda2 video=vesa:ywrap,mtrr vga=0x317
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 2656.468 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Memory: 505436k/514944k available (2339k kernel code, 8748k reserved, 909k data, 152k init, 0k highmem)
zapping low mappings.
Calibrating delay loop... 5242.88 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)
checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
Freeing initrd memory: 13k freed
CPU:     After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU:     After vendor identify, caps: bfebfbff 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512KCPU:     After all inits, caps: bfebfbff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU#0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU#0: Thermal monitoring enabled
CPU: Intel Mobile Intel(R) Pentium(R) 4     CPU 2.66GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
init IO_APIC IRQs
 IO-APIC (apicid-pin) 1-0, 1-16, 1-17, 1-18, 1-19, 1-20, 1-21, 1-22, 1-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2654.0883 MHz.
..... host bus clock speed is 132.0744 MHz.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd9b2, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20031203
IOAPIC[0]: Set PCI routing entry (1-9 -> 0x71 -> IRQ 9 Mode:1 Active:0)
    ACPI-1120: *** Error: Method execution failed [\_SB_.PCI0._INI] (Node df660bc0), AE_NOT_EXIST
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
    ACPI-1120: *** Error: Method execution failed [\_SB_.BAT0._STA] (Node df660e00), AE_NOT_EXIST
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.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15)
ACPI: Embedded Controller [H_EC] (gpe 29)
ACPI: Power Resource [CFAN] (on)
ACPI: Power Resource [CFN2] (off)
ACPI: Power Resource [CFN3] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
IOAPIC[0]: Set PCI routing entry (1-16 -> 0xa9 -> IRQ 16 Mode:1 Active:1)
00:00:02[A] -> 1-16 -> IRQ 16
Pin 1-16 already programmed
IOAPIC[0]: Set PCI routing entry (1-19 -> 0xb1 -> IRQ 19 Mode:1 Active:1)
00:00:1d[B] -> 1-19 -> IRQ 19
IOAPIC[0]: Set PCI routing entry (1-18 -> 0xb9 -> IRQ 18 Mode:1 Active:1)
00:00:1d[C] -> 1-18 -> IRQ 18
IOAPIC[0]: Set PCI routing entry (1-23 -> 0xc1 -> IRQ 23 Mode:1 Active:1)
00:00:1d[D] -> 1-23 -> IRQ 23
Pin 1-18 already programmed
IOAPIC[0]: Set PCI routing entry (1-17 -> 0xc9 -> IRQ 17 Mode:1 Active:1)IOAPIC[0]: Set PCI routing entry (1-20 -> 0xd1 -> IRQ 20 Mode:1 Active:1)
00:02:08[A] -> 1-20 -> IRQ 20
Pin 1-17 already programmed
Pin 1-18 already programmed
Pin 1-20 already programmed
IOAPIC[0]: Set PCI routing entry (1-21 -> 0xd9 -> IRQ 21 Mode:1 Active:1)
00:02:03[B] -> 1-21 -> IRQ 21
number of MP IRQ sources: 15.
number of IO-APIC #1 registers: 24.
testing the IO APIC.......................
IO APIC #1......
.... register #00: 01000000
.......    : physical APIC id: 01
.......    : Delivery Type: 0
.......    : LTS          : 0
.... register #01: 00178020
.......     : max redirection entries: 0017
.......     : PRQ implemented: 1
.......     : IO APIC version: 0020
.... register #02: 00000000
.......     : arbitration: 00
.... register #03: 00000001
.......     : Boot DT    : 1
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
 00 000 00  1    0    0   0   0    0    0    00
 01 001 01  0    0    0   0   0    1    1    39
 02 001 01  0    0    0   0   0    1    1    31
 03 001 01  0    0    0   0   0    1    1    41
 04 001 01  0    0    0   0   0    1    1    49
 05 001 01  0    0    0   0   0    1    1    51
 06 001 01  0    0    0   0   0    1    1    59
 07 001 01  0    0    0   0   0    1    1    61
 08 001 01  0    0    0   0   0    1    1    69
 09 001 01  0    1    0   0   0    1    1    71
 0a 001 01  0    0    0   0   0    1    1    79
 0b 001 01  0    0    0   0   0    1    1    81
 0c 001 01  0    0    0   0   0    1    1    89
 0d 001 01  0    0    0   0   0    1    1    91
 0e 001 01  0    0    0   0   0    1    1    99
 0f 001 01  0    0    0   0   0    1    1    A1
 10 001 01  1    1    0   1   0    1    1    A9
 11 001 01  1    1    0   1   0    1    1    C9
 12 001 01  1    1    0   1   0    1    1    B9
 13 001 01  1    1    0   1   0    1    1    B1
 14 001 01  1    1    0   1   0    1    1    D1
 15 001 01  1    1    0   1   0    1    1    D9
 16 000 00  1    0    0   0   0    0    0    00
 17 001 01  1    1    0   1   0    1    1    C1
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9-> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ20 -> 0:20
IRQ21 -> 0:21
IRQ23 -> 0:23
.................................... done.
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
vesafb: framebuffer at 0xe8000000, mapped to 0xe0011000, size 8000k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at 00ff:44f0
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
fb0: VESA VGA frame buffer device
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
Machine check exception polling timer started.
ikconfig 0.7 with /proc/config*
devfs: v1.22 (20021013) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
udf: registering filesystem
ACPI: AC Adapter [ACAD] (off-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)
ACPI: Thermal Zone [THRM] (22 C)
bootsplash 3.1.3-2003/11/14: looking for picture.... found (1024x768, 13355 bytes, v3).
Console: switching to colour frame buffer device 118x40
pty: 256 Unix98 ptys configured
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 855 Chipset.
agpgart: Maximum main memory to use for agp memory: 430M
agpgart: Detected 8060K stolen memory.
agpgart: AGP aperture is 128M @ 0xe8000000
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x400000
[drm] Initialized i830 1.3.2 20021108 on minor 0: Intel i852GM/i855GM GMCH
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x400000
[drm] Initialized i830 1.3.2 20021108 on minor 1: Intel i852GM/i855GM GMCH
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
e100: Intel(R) PRO/100 Network Driver, 3.0.12_dev
e100: Copyright(c) 1999-2003 Intel Corporation
e100: eth0: e100_probe: addr 0xe0206000, irq 20, MAC addr 00:E0:B8:67:7F:F2
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ICH4: chipset revision 3
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1810-0x1817, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1818-0x181f, BIOS settings: hdc:DMA, hdd:pio
hda: IC25N040ATMR04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: Slimtype COMBO LSC-24082K, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 78140160 sectors (40007 MB) w/1740KiB Cache, CHS=16383/255/63, UDMA(100)
 /dev/ide/host0/bus0/target0/lun0: p1 p2
cdrom: : unknown mrw mode page
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ohci1394: $Rev: 1087 $ Ben Collins <bcollins@debian.org>
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[17]  MMIO=[e0207000-e02077ff]  Max Packet=[2048]
Console: switching to colour frame buffer device 118x40
Yenta: CardBus bridge found at 0000:02:01.0 [107b:0403]
Yenta: ISA IRQ mask 0x0cf8, PCI irq 17
Socket status: 30000006
ehci_hcd 0000:00:1d.7: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 23, pci mem e0877000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1uhci_hcd 0000:00:1d.0: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 16, io base 00001820
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 19, io base 00001840
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00e0b804030092cd]
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
Synaptics Touchpad, model: 1
 Firmware: 5.9
 Sensor: 28
 new absolute packet format
 Touchpad has extended capability bits
 -> four buttons
 -> multifinger detection
 -> palm detection
input: SynPS/2 Synaptics TouchPad on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
Advanced Linux Sound Architecture Driver Version 1.0.1 (Tue Dec 30 10:04:14 2003 UTC).
request_module: failed /sbin/modprobe -- snd-card-0. error = -16
PCI: Setting latency timer of device 0000:00:1f.5 to 64
hub 1-0:1.0: new USB device on port 3, assigned address 2
intel8x0_measure_ac97_clock: measured 49339 usecs
intel8x0: clocking to 48000
ALSA device list:
  #0: Intel 82801DB-ICH4 at 0xe0100c00, irq 17
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S3 S4 S5)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 152k freed
Adding 257000k swap on /dev/hda1.  Priority:-1 extents:1
EXT3 FS on hda2, internal journal
Real Time Clock Driver v1.12
mtrr: base(0xe8000000) is not aligned on a size(0x180000) boundary
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x400000
ndiswrapper version 0.4 loaded
wlan0: ndiswrapper ethernet device 00:90:4b:1e:a2:f8


Note that even though ACPI does not detect any battery slots, it still creates /proc/acpi/battery ... strange =\

I did, however, just note the following lines in that:
Code:

ACPI-1120: *** Error: Method execution failed [\_SB_.PCI0._INI] (Node df660bc0), AE_NOT_EXIST
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
    ACPI-1120: *** Error: Method execution failed [\_SB_.BAT0._STA] (Node df660e00), AE_NOT_EXIST


Well, it's something to start with, anyway...time to google this AE_NOT_EXIST error =P
Back to top
View user's profile Send private message
Kesereti
Guru
Guru


Joined: 07 Nov 2002
Posts: 520

PostPosted: Sat Jan 10, 2004 8:54 pm    Post subject: Reply with quote

Well, looking at other posts and whatnot, I've managed to de-compile and check the DSDT for this machine..the section for the battery control (BAT0) is in there, and it re-compiles cleanly...strange...it's also strange in that most people who have this problem also seem to have a problem with the AC adapter and thermal control, and both of those work just fine for me =\

Edit: Going to attempt to manually apply the fake ECDT patch to 2.6.1-love1, we'll see how it goes ^_^
Back to top
View user's profile Send private message
Deepu Sudhakar
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2003
Posts: 84

PostPosted: Sun Jan 11, 2004 2:08 am    Post subject: Reply with quote

Nope, the mm2 upgrade did not fix it for me. I'm staying away from the 2.6.1 release because my mouse is now starting to act up.
Back to top
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Mon Jan 12, 2004 11:01 am    Post subject: Reply with quote

Hi,

ich hab seit dem 2.6.1 ein ähnliches Problem. Meine Anzeige ist wie folgt:
Code:

heimdall@inspiron heimdall $ cat /proc/acpi/battery/BAT1/state
present:                 yes
capacity state:          ok
charging state:          unknown
present rate:            0 mA
remaining capacity:      0 mAh
present voltage:         0 mV

Mit allen 2.6.0ern, auch den tests, habe ich auch die verbleibende Ladung und den Ladestatus angezeigt bekommen.

Naja, mal abwarten.

Tassilo
Back to top
View user's profile Send private message
Kesereti
Guru
Guru


Joined: 07 Nov 2002
Posts: 520

PostPosted: Mon Jan 12, 2004 9:29 pm    Post subject: Reply with quote

Hrm...been a while since my German classes...let me see if I can remember and translate decently (my apologies if I butcher the language, English isn't my first language either so it's kinda weird to be translating between two languages that aren't native for me ^_^):

Quote:
ich hab seit dem 2.6.1 ein ähnliches Problem. Meine Anzeige ist wie folgt:


"I"ve had a similar problem since 2.6.1. Here's my info:"

Quote:
Code:

heimdall@inspiron heimdall $ cat /proc/acpi/battery/BAT1/state
present:                 yes
capacity state:          ok
charging state:          unknown
present rate:            0 mA
remaining capacity:      0 mAh
present voltage:         0 mV


Mit allen 2.6.0ern, auch den tests, habe ich auch die verbleibende Ladung und den Ladestatus angezeigt bekommen.


"With all the 2.6.0 kernels, including the test series, I got the remaining charge and load information."

(again, my apologies if I butchered that...just trying to help for those who don't speak the old Deutsch =P)
Back to top
View user's profile Send private message
tassilo80
Guru
Guru


Joined: 26 Mar 2003
Posts: 346
Location: Koblenz, Germany

PostPosted: Mon Jan 12, 2004 9:33 pm    Post subject: Reply with quote

Oh, I thought I was in the German forum!

Thanks for the translation. Zero mistakes: A+

Tassilo
Back to top
View user's profile Send private message
Kesereti
Guru
Guru


Joined: 07 Nov 2002
Posts: 520

PostPosted: Tue Jan 13, 2004 5:48 am    Post subject: Reply with quote

Wow...I studied German in high school and college, but...I never really used it so I forgot a lot...or maybe less than I thought =)
Back to top
View user's profile Send private message
kitano
Apprentice
Apprentice


Joined: 19 Dec 2002
Posts: 228
Location: Munich, Germany, Europe, Earth

PostPosted: Wed Jan 14, 2004 4:07 pm    Post subject: Reply with quote

yo, tassilo80, what inspiron are you using?

i got the same problem, but using 2.6.0-mm1 didn't solve it, now trying 2.6.0-gentoo and hope the best.

did you run acpi with 2.6.0-mm1 successfully?

greets,
kitano
_________________
->searched for a gentoo penguin ->alienated it with "find edges", "saturation", "photocopy" ->encoded quicktime from still ->played with aaxine ->screenshotted ->made it my avatar

only in case you were going to ask what it is...
Back to top
View user's profile Send private message
jetblack
Guru
Guru


Joined: 15 Jan 2003
Posts: 340
Location: Evanston, IL, USA

PostPosted: Wed Jan 14, 2004 9:45 pm    Post subject: Reply with quote

Just got this from bugzilla:

http://bugme.osdl.org/show_bug.cgi?id=1860

Len Brown wrote:
re: battery working on 2.4 and not on 2.6
2.6 has older ACPI than 2.4 right now.
Please update 2.6 with the latest ACPI and let me know if that helps:
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.1/
or get the same stuff from the mm3 2.6 patch.

re: suspend/resume worked in 2.4.22-ac4 and not on 2.6
same prognosis.
(emphasis mine)

I think that that would explain what everyone is seeing.

Hrm, actually, this bug might have been opened by someone on this thread. Sorry if I'm stepping on someone's toes. :)
Back to top
View user's profile Send private message
Deepu Sudhakar
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2003
Posts: 84

PostPosted: Wed Jan 14, 2004 9:55 pm    Post subject: Reply with quote

This is good news...I tried the gentoo-sourcecs and that didn't fix it for me.

I guess it's time to wait for the mm3 ebuild.
Back to top
View user's profile Send private message
chefakito
n00b
n00b


Joined: 22 Apr 2003
Posts: 38
Location: Richmond, BC, CAN

PostPosted: Wed Jan 14, 2004 9:58 pm    Post subject: Reply with quote

I had the same problem with the 2.6.x-mmx series with ACPI and my Inspiron 8500 as tassilo80.

In the end in order workaround it, I reversed:
acpi-20031202-fix.patch
acpi-20031202.patch

That seemed to clear up the problem for me.
I submitted the bug to bugs.gentoo.org, and hopefully they passed on the bug up to who ever deals with the acpi stuff. :)
Back to top
View user's profile Send private message
trapperjohn
Apprentice
Apprentice


Joined: 11 Nov 2003
Posts: 242
Location: Bremen/Germany

PostPosted: Thu Jan 15, 2004 10:09 am    Post subject: Reply with quote

Now THAT explains it ... I've googled around and I think I've read EVERY page out there about Inspiron 8600 and Linux and EVERYONE could read their battery status. Grr .. hope they will fix this soon.
Back to top
View user's profile Send private message
kitano
Apprentice
Apprentice


Joined: 19 Dec 2002
Posts: 228
Location: Munich, Germany, Europe, Earth

PostPosted: Thu Jan 15, 2004 2:38 pm    Post subject: Reply with quote

2.6.0-gentoo works for the battery status.
still S-modes do not work properly...

this is for dell inspiron 4000.
_________________
->searched for a gentoo penguin ->alienated it with "find edges", "saturation", "photocopy" ->encoded quicktime from still ->played with aaxine ->screenshotted ->made it my avatar

only in case you were going to ask what it is...
Back to top
View user's profile Send private message
fredtheflyingfrog
n00b
n00b


Joined: 05 Jan 2004
Posts: 2

PostPosted: Fri Jan 16, 2004 4:51 am    Post subject: Reply with quote

Unfortunately, 2.6.1-mm3 doesn't seem to solve the problem. I've got an Inspiron 8000 with two fully charged batteries, and it recognizes them, but does the same thing - it says that they are present, but all of their properties are 0.
Back to top
View user's profile Send private message
kitano
Apprentice
Apprentice


Joined: 19 Dec 2002
Posts: 228
Location: Munich, Germany, Europe, Earth

PostPosted: Fri Jan 16, 2004 9:30 am    Post subject: Reply with quote

yepp, so we gotta wait.

if somebody finds a new kernel which gives support, please post. i won't try each of the releases, takes to much time on my inspiron 4000 w 700MHz.

btw, patching the kernel myself w latest acpi-patches should solve the problem, right?
can i patch the gentoo-patched-sources? or does this end in a mess?

kitano
_________________
->searched for a gentoo penguin ->alienated it with "find edges", "saturation", "photocopy" ->encoded quicktime from still ->played with aaxine ->screenshotted ->made it my avatar

only in case you were going to ask what it is...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum