From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 11 19:10:09 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 620901065686 for ; Sun, 11 Sep 2011 19:10:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 51AE98FC12 for ; Sun, 11 Sep 2011 19:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8BJA9bV086571 for ; Sun, 11 Sep 2011 19:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8BJA9Ji086570; Sun, 11 Sep 2011 19:10:09 GMT (envelope-from gnats) Date: Sun, 11 Sep 2011 19:10:09 GMT Message-Id: <201109111910.p8BJA9Ji086570@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Mark Johnston Cc: Subject: Re: bin/160581: mfiutil(8) doesn' t properly detect dead battery with mfiutil show battery X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Johnston List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2011 19:10:09 -0000 The following reply was made to PR bin/160581; it has been noted by GNATS. From: Mark Johnston To: Garrett Cooper Cc: bug-followup@FreeBSD.org Subject: Re: bin/160581: mfiutil(8) doesn't properly detect dead battery with mfiutil show battery Date: Sun, 11 Sep 2011 15:00:43 -0400 On Sat, Sep 10, 2011 at 05:34:19PM -0700, Garrett Cooper wrote: > [snip] > I guess the next step > is to hack the driver and dump the ioctl output sent via MegaCLI > (shouldn't be too hard). I don't see how that'd help though; presumably MegaCLI grabs battery info in the same way as mfiutil - the MFIIO_PASSTHRU ioctl with opcode MFI_DCMD_GET_BBU_STATUS. Thanks, -Mark