kern/147858: acpi_hp not working when loaded via loader.conf

Maciej Suszko maciej at suszko.eu
Mon Jun 14 20:50:01 UTC 2010


>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 at 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:


More information about the freebsd-bugs mailing list