Re: hw.acpi.battery.time reports inconsistent values

From: Eric Anderson (anderson_at_centtech.com)
Date: 07/29/05

  • Next message: Craig Rodrigues: "Re: libthr & atomic_xxx ops"
    Date: Thu, 28 Jul 2005 21:19:14 -0500
    To: Ben Kaduk <minimarmot@gmail.com>
    
    

    Ben Kaduk wrote:
    > Hi all -- I don't know whether or not this is related to the recent
    > battery rework, but I'm running
    > prolepsis# uname -a
    > FreeBSD prolepsis.math.uiuc.edu 7.0-CURRENT FreeBSD 7.0-CURRENT #5:
    > Thu Jul 28 07:42:25 UTC 2005
    > kaduk@prolepsis.math.uiuc.edu:/usr/obj/usr/src/sys/PROLEPSIS i386
    > and this afternoon I had my laptop running off its battery (basically
    > as a jukebox), which is somewhat unusual since normally I plug it in.
    > I wanted to see how
    > fast I was draining the battery, so I did some `sysctl
    > hw.acpi.battery'-ing (see transcript below), and then proceeded to get
    > very confused.
    >
    > Is there a known race in this sysctl code, or should I be looking for
    > something else (like a broken acpi)?

    Re-cvsup and rebuild - Nate Lawson committed a fix for this today, after
    your build that fixed me up.

    Eric

    -- 
    ------------------------------------------------------------------------
    Eric Anderson        Sr. Systems Administrator        Centaur Technology
    Anything that works is better than anything that doesn't.
    ------------------------------------------------------------------------
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Craig Rodrigues: "Re: libthr & atomic_xxx ops"