From: Bruno Ducrot Subject: Re: ACPI: Battery information? Date: Tue, 8 Jun 2004 13:34:56 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040608113456.GN13782@poupinou.org> References: <40C4FD27.7000805@users.xeroprj.org> <20040608092045.72e15c4c@tethys.solarsys.org> <20040608094707.GM13782@poupinou.org> <40C58F45.2040108@users.xeroprj.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <40C58F45.2040108-BC6XjCpM3eF0abU8S3f8Vti2O/JbrIOy@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Binary Xerroz Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Tue, Jun 08, 2004 at 03:04:53AM -0700, Binary Xerroz wrote: > Ive looked over the battery.c file and modified it quite a bit (nothing > too drastic), however even compiled as a module, it <u>WILL > NOT</u> detect the second battery unless its booted with it at > boot time. Forgive me as i forget to mention this is a laptop, with a > 'hot-swappable' battery/cdrom; It works fine if i boot with second > batery in, then i can swap it in/out with cdrom, and with the > modifications i made to battery.c, it displays battery's and their > status correctly; though booting with the second battery isnt that big > of a deal, it would be nice to be able todo so without that limitation. > Any suggestions? (i can also send my modified battery.c if anyone cares > to take a look).
I think it's more a problem with an ACPI event handling then. Do you have an acpidump somewhere to look at ? wget ftp://ftp.kernel.org//pub/linux/kernel/people/lenb/acpi/utils/pmtools-20031210.tar.bz2 tar xjvfp pmtools-20031210.tar.bz2 cd pmtools-20031210/acpidmp make sudo ./acpidmp > acpidmp.out bzip2 acpidmp.out Then mail me the acpidmp.out.bz2 Cheers, -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org