Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2010 20:43:03 GMT
From:      Maciej Suszko <maciej@suszko.eu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/147858: acpi_hp not working when loaded via loader.conf
Message-ID:  <201006142043.o5EKh3Ga081917@www.freebsd.org>
Resent-Message-ID: <201006142050.o5EKo1l8084466@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         147858
>Category:       kern
>Synopsis:       acpi_hp not working when loaded via loader.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 14 20:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Maciej Suszko
>Release:        8.1-RC1
>Organization:
>Environment:
FreeBSD arsenic 8.1-RC1 FreeBSD 8.1-RC1 #0: Mon Jun 14 12:01:46 CEST 2010     root@arsenic:/usr/obj/usr/src/sys/ARSENIC  amd64
>Description:
This bug is present on my two laptops - HP nx7300, one running earlier 8.1-PRERELEASE, another 8.1-RC1 (both amd64). If I remember correctly, acpi_hp worked on 8.0-RELEASE.
When loaded via loader.conf, there is no /dev/hpcmi, sysctl dev.acpi_hp returns 0 lines. Unloading and loading the module make it work again. I've already tried to build a custom kernel with both acpi_wmi and acpi_hp compiled in - same problem as loaded on boot.

>How-To-Repeat:
Boot the machine with acpi_hp_load="YES" in loader.conf:
- no device entry /dev/hpcmi
- empty output of sysctl dev.acpi_hp

then, reload the module:
kldunload acpi_hp && kldload acpi_hp
- /dev/hpcmi present and readable
- sysctl dev.acpi_hp returns values described in acpi_hp(4)


>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006142043.o5EKh3Ga081917>