https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280553
Bug ID: 280553
Summary: acpi_ibm brightness adjust thinkpad x260 does not work
Product: Base System
Version: 14.1-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Hello.
I have just installed FreeBSD in a lenovo Thinkpad x260 laptop and XFCE
desktop. Congrats to the developers for this very good operating system!
Everything seems to work fine except for hotkeys.
Fn+F5 (brightness down) and Fn+F6 (brightness down) do not work. After reading
some info on internet, I arrived to the acpi_ibm man page.
root@freebsd-x260:/home/ramiro # kldstat |grep acpi 9 1 0xffffffff82d8b000 3390
acpi_wmi.ko
root@freebsd-x260:/home/ramiro # kldload acpi_ibm
root@freebsd-x260:/home/ramiro # kldstat |grep acpi 9 1 0xffffffff82d8b000 3390
acpi_wmi.ko 26 1 0xffffffff82e85000 41e0 acpi_ibm.ko
root@freebsd-x260:/home/ramiro # sysctl dev.acpi_ibm.0.lcd_brightness
dev.acpi_ibm.0.lcd_brightness: 0
root@freebsd-x260:/home/ramiro # sysctl dev.acpi_ibm.0.lcd_brightness=7
dev.acpi_ibm.0.lcd_brightness: 0 -> 7
root@freebsd-x260:/home/ramiro # sysctl dev.acpi_ibm.0.lcd_brightness
dev.acpi_ibm.0.lcd_brightness: 7
root@freebsd-x260:/home/ramiro # sysctl dev.acpi_ibm.0.lcd_brightness=8
dev.acpi_ibm.0.lcd_brightness: 7 sysctl: dev.acpi_ibm.0.lcd_brightness=8:
Invalid argument
8 seems to be the maximum value.
But I do not see any change in screen brightness.
I have also been playing with acpi_video driver and associated sysctl variables
and it does not work:
root@freebsd-x260:/home/ramiro # kldload acpi_video
root@freebsd-x260:/home/ramiro # kldstat |grep acpi 9 1 0xffffffff82d8b000 3390
acpi_wmi.ko 26 1 0xffffffff82e85000 41e0 acpi_ibm.ko 27 1 0xffffffff82e8a000
4388 acpi_video.ko
root@freebsd-x260:/home/ramiro # sysctl hw.acpi.video.lcd0.brightness
hw.acpi.video.lcd0.brightness: 100
root@freebsd-x260:/home/ramiro # sysctl hw.acpi.video.lcd0.brightness=50
hw.acpi.video.lcd0.brightness: 100 -> 50
root@freebsd-x260:/home/ramiro # sysctl hw.acpi.video.lcd0.brightness
hw.acpi.video.lcd0.brightness: 50
root@freebsd-x260:/home/ramiro # sysctl hw.acpi.video.lcd0.brightness=10
hw.acpi.video.lcd0.brightness: 50 -> 10
root@freebsd-x260:/home/ramiro # sysctl hw.acpi.video.lcd0.brightness
hw.acpi.video.lcd0.brightness: 10
Also I do not see any change y brightness levels.
setting brightness with backlight command works just fine.
Thanks so much.
Regards.
--
You are receiving this mail because:
You are the assignee for the bug.