NetBSD Problem Report #10459

Received: (qmail 12301 invoked from network); 27 Jun 2000 01:58:21 -0000
Message-Id: <200006270159.KAA18135@wonder2.aist-nara.ac.jp>
Date: Tue, 27 Jun 2000 10:59:06 +0900 (JST)
From: itohy@netbsd.org
Reply-To: itohy@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: apm(4) interface needs being revised
X-Send-Pr-Version: 3.95

>Number:         10459
>Category:       port-i386
>Synopsis:       apm(4) interface needs being revised
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 27 01:59:00 +0000 2000
>Closed-Date:    Sun Oct 08 19:24:21 +0000 2006
>Last-Modified:  Sun Oct 08 19:24:21 +0000 2006
>Originator:     ITOH Yasufumi
>Release:        1.5A (June 26, 2000)
>Organization:

>Environment:
System: NetBSD pino.my.domain 1.4Z NetBSD 1.4Z (PINO) #199: Sat Jun 3 09:05:23 JST 2000 itohy@pino.my.domain:/usr/src/sys/arch/i386/compile/PINO i386


>Description:
	APM 1.1 can handle

		abstract capacity: high / low / critical
		charging status:   charging / not charging
		battery presence:  present / not present

	separately but our apm(4) interface mixes them (like APM 1.0).

	This make it impossible to pass APM information such as
	"capacity low *and* charging", which becomes just "capacity high".

>How-To-Repeat:
	Try apm(8) or xbatt(1) (pkgsrc/sysutils/xbatt) and you will
	never see that the battery is in "charging" state.

>Fix:
	Make changes to struct apm_power_info and the ioctl.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: elad@netbsd.org
State-Changed-When: Sun, 08 Oct 2006 19:24:21 +0000
State-Changed-Why:
verified fixed


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.