pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37443: xbattbar does not properly report AC connected status using envsys API



>Number:         37443
>Category:       pkg
>Synopsis:       xbattbar does not properly report AC connected status using 
>envsys API
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 28 03:10:00 +0000 2007
>Originator:     Jared D. McNeill
>Release:        NetBSD 4.99.38
>Organization:
        
>Environment:
        
        
System: NetBSD black.invisible.ca 4.99.38 NetBSD 4.99.38 (GENERIC) #31: Tue Nov 
27 20:19:34 EST 2007 
jmcneill%black.invisible.ca@localhost:/export/home/jmcneill/branches/jmcneill-pm/src/sys/arch/amd64/compile/GENERIC
 amd64
Architecture: x86_64
Machine: amd64
>Description:
        xbattbar looks for the string 'charging' in a property of an 'acpiacad'
        device. This does not always exist:

        $ envstat -d acpiacad0
        connected:         ON

        As a result, my AC adapter is not detected.
>How-To-Repeat:
        Run 'xbattbar' on a machine with ACPI but not apm@acpi
>Fix:
        Unknown, but this is a major flaw in the envsys API.

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index