2

Some two years ago, I was able to set a very dim backlight brightness by writing a non-integer value to /sys/class/backlight/intel_backlight/brightness.

$ echo 0.3 > /sys/class/backlight/intel_backlight/brightness

But now, it seems that there is some sanity check... so, the system complains:

bash: echo: write error: Invalid argument

Is there anyway I can bypass such sanity check? Is there a way to pass values directly to the driver? I believe the relevant driver is i915.

Linux debiel 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux

Please, let me know if I should have given you any useful information. I do not really know how to properly report the problem.

3
  • Hi André! I'm also interested in dimming backlight and saw this "invalid argument" message. Were you using same hardware when 0.3 worked? What were you able to find? Thanx! Sep 2, 2021 at 3:37
  • @Martian2020: Yes, I was using the same hardware. I guess old versions of what I had installed worked. It never worked again. Now, I use glasses because of this bad habit of using the computer in the dark. Maybe if this didn't stop working... ;-) I was setting up the frequency, according to the answer below. It worked, but it didn't work great. Sep 3, 2021 at 1:47
  • I use Linux Mint mostly and thinkpads. Checked: older thinkpad LM 17 and LM 20 - about same results, at level 17 brightness I see almost nothing already. But for newer (X1 carbon 3rd gen) brightness at 1 on LM 17 is much dimmer than 1 on LM 20. No fractions for all 4 combinations but 1 on LM 17 would be enough for me for now. I wonder how to transfer version video behavior 17 toward newer versions. Have you tried to contact Intel btw? Sep 3, 2021 at 11:35

1 Answer 1

1

Sounds like an implementation detail of your specific hardware driver. Have you used the exact same hardware when setting float dim values resulted in actually less lit display? Or do you now have simply a less finely configurable backlight, maybe? Probably, you could go to an intel support forum and ask there for the backlight value stepping API. Would be interesting, what their officials tell then. At least intel releases their own linux hardware drivers, so this is officially specified APIs. As I like Arch Linux Wiki for such information, I post a link to their API description here:

https://wiki.archlinux.org/index.php/Backlight#Backlight_PWM_modulation_frequency_(Intel_i915_only)

This Link explains i915 is using PWM to adjust light more accurately. Maybe PWM is disabled in your kernel since it typucally caused flickering on this hardware.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .