|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Equivalent to Linux's /sys/class/backlight?
I have been messing around with xorg.conf on my laptops, in order to get the TearFree option working with the intel driver. On one machine it works great, but I have not figured out the second one yet.
By default Xorg uses the modesetting driver, but if I specify intel in xorg.conf, it works, seems more responsive, and looks a lot better. The only problem is that brightness (via xbacklight) does not work when I have it configured this way. In man intel there is this: Code:
Option "Backlight" "string" Override the probed backlight control interface. Sometimes the automatically selected backlight interface may not correspond to the correct, or simply most useful, interface available on the system. This allows you to override that choice by specifying the entry under /sys/class/backlight to use. Default: Automatic selection. Does anyone know if OpenBSD has a file that gives you access to the backlight like described above? |
|
|||
Some laptops control brightness via microcontrollers and have hotkeys (Fn).
https://wiki.archlinux.org/index.php/Backlight |
|
|||
With the "modesetting" driver my fn keys do not work, but xbacklight does.
With the "intel" driver fn keys do not work, and xbacklight reports no errors but does not have any effect. The link you provided was helpful. Toward the bottom it talks about what I am experiencing. (My device is eDP) Code:
Embedded Display Port (eDP) v1.2 introduced a new display panel control protocol for backlight and other controls that works through the AUX channel.[2] By default the i915 driver tries to use PWM to control backlight brightness, which might not work. To set the backlight through writes to DPCD registers using the AUX channel set i915.enable_dpcd_backlight as kernel parameter or set in /etc/modprobe/i915.conf: |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can we split people by class ? | sw2wolf | OpenBSD General | 1 | 17th December 2017 02:02 AM |
Is it possible to change login class ? | LeFrettchen | OpenBSD General | 2 | 14th October 2015 11:15 PM |
LCD Backlight Trouble | zer0x | OpenBSD General | 3 | 24th July 2009 08:22 AM |
UML Class Diagrams with umbrello | corey_james | Programming | 1 | 19th May 2008 04:13 AM |
Going to my First Solaris Class | roundkat | Solaris | 9 | 6th May 2008 02:23 AM |