From owner-acpi-jp@jp.FreeBSD.org Wed May  7 17:37:57 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h478bve39478;
	Wed, 7 May 2003 17:37:57 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from mail.unixguru.nl (mosibi.demon.nl [212.238.240.209])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id h478brY39299
	for <acpi-jp@jp.freebsd.org>; Wed, 7 May 2003 17:37:55 +0900 (JST)
	(envelope-from richard@unixguru.nl)
Received: from mail (mail [192.168.10.4])
	by mail.unixguru.nl (8.12.9/8.12.9) with ESMTP id h478biUw062630
	(version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO);
	Wed, 7 May 2003 10:37:45 +0200 (CEST)
	(envelope-from richard@unixguru.nl)
From: Richard Arends <richard@unixguru.nl>
To: Mark Santcroos <marks@ripe.net>
cc: acpi-jp@jp.FreeBSD.org, current@freebsd.org
In-Reply-To: <20030507070645.GA1072@laptop.6bone.nl>
Message-ID: <20030507103415.J49288@mail.unixguru.nl>
References: <20030506140539.F18533@root.org> <20030507070645.GA1072@laptop.6bone.nl>
X-message-flag: Get yourself a real mail client! http://www.washington.edu/pine/
X-Accepted-File-Formats: ASCII .rtf .ps - *NO* MS Office files please.
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.32 (www . roaringpenguin . com / mimedefang)
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 7 May 2003 10:37:44 +0200
X-Sequence: acpi-jp 2187
Subject: [acpi-jp 2187] Re: Outstanding ACPI issues for 5.1-RELEASE
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: richard@unixguru.nl
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030405

On Wed, 7 May 2003, Mark Santcroos wrote:

Mark,

> >      ACPI-0293: *** Warning: Buffer created with zero length in AML
> >          -0166: *** Error: UtAllocate: Attempt to allocate zero bytes
>
> Does everyone have this or only the people where hw.acpi reports bogus
> values for battery life and such?

Just rebuilded and I don't see this (phew :).

Laptop:
	Toshiba Satellite Pro 4600

ON POWER:
~$ sysctl hw.acpi
hw.acpi.supported_sleep_state: S1 S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 0
hw.acpi.s4bios: 1
hw.acpi.verbose: 0
hw.acpi.disable_on_poweroff: 1
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 30
hw.acpi.thermal.tz0.temperature: 3282
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3692
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3702
hw.acpi.thermal.tz0._ACx: 3692 3692 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.battery.life: 100
hw.acpi.battery.time: -1
hw.acpi.battery.state: 0
hw.acpi.battery.units: 1
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 1

ON BATTERY:
~$ sysctl hw.acpi
hw.acpi.supported_sleep_state: S1 S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 0
hw.acpi.s4bios: 1
hw.acpi.verbose: 0
hw.acpi.disable_on_poweroff: 1
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 30
hw.acpi.thermal.tz0.temperature: 3282
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3692
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3702
hw.acpi.thermal.tz0._ACx: 3692 3692 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.battery.life: 100
hw.acpi.battery.time: 129
hw.acpi.battery.state: 1
hw.acpi.battery.units: 1
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 0

~$ dmesg |grep -i acpi
Terminate ACPI
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05362e4.
acpi0: <TOSHIB 750     > on motherboard
acpi_bus_number: root bus has no _BBN, assuming 0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xee08-0xee0b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_tz0: <thermal zone> port 0x530-0x537 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_acad0: <AC adapter> on acpi0
speaker0 port 0x61 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
ppc0 port 0x778-0x77a,0x378-0x37f irq 7 drq 3 on acpi0
acpi_bus_number: root bus has no _BBN, assuming 0

So, until know no problems!

Regards,

Richard.

----
Paul Vixie in an interview with Sendmail.net:

Now that the Internet has the full spectrum of humanity as users,
the technology is showing its weakness: it was designed to be
used by friendly, smart people. Spammers, as an example of a class,
are neither friendly nor smart.
