Bug 198603 - [acpi] HP ProBook 430 G2: can't change brightness via acpi_hp and acpi_video
Summary: [acpi] HP ProBook 430 G2: can't change brightness via acpi_hp and acpi_video
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.1-STABLE
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-acpi (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-15 14:09 UTC by Victor Yagofarov
Modified: 2015-04-06 18:29 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Yagofarov 2015-03-15 14:09:48 UTC
In HP ProBook 430 G2 on 10.1-STABLE r279796 I can't adjust brightness level in any way.

sysctl hw.acpi.video.lcd0.brightness is absent. Other sysctl's are absent too.

---
My dev.acpi_hp values of sysctl's:

dev.acpi_hp.%parent: 
dev.acpi_hp.0.%desc: HP ACPI-WMI Mapping
dev.acpi_hp.0.%driver: acpi_hp
dev.acpi_hp.0.%location: 
dev.acpi_hp.0.%pnpinfo: 
dev.acpi_hp.0.%parent: acpi_wmi0
dev.acpi_hp.0.wlan_enabled: 0
dev.acpi_hp.0.wlan_radio: 0
dev.acpi_hp.0.wlan_on_air: 0
dev.acpi_hp.0.wlan_enable_if_radio_on: 0
dev.acpi_hp.0.wlan_disable_if_radio_off: 0
dev.acpi_hp.0.bt_enabled: 0
dev.acpi_hp.0.bt_radio: 0
dev.acpi_hp.0.bt_on_air: 0
dev.acpi_hp.0.bt_enable_if_radio_on: 0
dev.acpi_hp.0.bt_disable_if_radio_off: 0
dev.acpi_hp.0.wwan_enabled: 0
dev.acpi_hp.0.wwan_radio: 0
dev.acpi_hp.0.wwan_on_air: 0
dev.acpi_hp.0.wwan_enable_if_radio_on: 0
dev.acpi_hp.0.wwan_disable_if_radio_off: 0
dev.acpi_hp.0.als_enabled: 4
dev.acpi_hp.0.display: 65792
dev.acpi_hp.0.hdd_temperature: 4
dev.acpi_hp.0.is_docked: 0
dev.acpi_hp.0.cmi_detail: 0
dev.acpi_hp.0.verbose: 0
----
My hw.acpi values:

hw.acpi.supported_sleep_state: S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S3
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: NONE
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 1
hw.acpi.reset_video: 0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.video.lcd0.active: 0
hw.acpi.battery.life: 45
hw.acpi.battery.time: 121
hw.acpi.battery.state: 1
hw.acpi.battery.units: 1
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 0
...
(except thermal)
----

My loader.conf is:

kern.geom.label.gptid.enable="0"

aesni_load="YES"
zfs_load="YES"

if_rum_load="YES"

acpi_wmi_load="YES"
i915kms_load="YES"
i915_load="YES"
acpi_hp_load="YES"
acpi_video_load="YES"


-----------------------

my ASL dump:
#acpidump -td > my.asl

https://dl.dropboxusercontent.com/u/44982204/my.asl

-----------------------

May be is possible to patch ASL?
Comment 1 Victor Yagofarov 2015-03-17 07:05:01 UTC
I solved my problem by compiling intel_backlight like that :
https://forums.freebsd.org/threads/samsung-ativ-book-2-brightness.44146/#post-249316
Comment 2 John Baldwin freebsd_committer freebsd_triage 2015-04-06 18:29:24 UTC
It might also be useful to know if the recent opregion changes in i915kms fixes this for you the way it fixes it for several thinkpads.