FN Keys for brightness not working

Hello, today I did a fresh install of Leap 42.3 on an old hp laptop, Pavilion dv9700. Some FN keys work, like Play/Pause of Print. Also, special buttons outside the normal keyboard works as well. But FN keys for brightness does not. I can control brightness, and I have map the actions to other shortcuts temporarily.

The hp_wmi module is active. My card is an nvidia and I installed its driver from YaST after adding the repo (before the driver the keys weren’t working either).

Am I missing something? Is there something else to try?

Thanks!

Hi, I don’t know how the BIOS in your HP model might behave, but in a laptop of mine I need to insert "acpi_osi= " including the trailing space in the Grub boot line for the brightness keys to work.
Other choices might include “acpi_osi=Linux” or other hints as found at https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt
The Nvidia GPU might also require special handling, if the above doesn’t work. The README file included in the Nvidia driver or the Nvidia Forums might help if that is the case.

I found this

https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt

but couldn’t see anything related. I’m gonna try now with your link but I tried leaving blank and “Linux” before with no effect.

Thanks!

Other kernel boot options worth trying…

acpi_backlight=vendor
acpi_backlight=native

I’ve been trying different options but none of them works. Actually, I can map brightness up and down to other key combinations. But FN+F7/F8 doesn’t seem to be recognized by the system.

Maybe the problem is somewhere else?

Thanks!

I assume you’re referring to desktop-related key mappings for brightness adjustment? They rely on xrandr (in user space), rather than the ACPI kernel module for video.

I have tried xev and those keys are not recognized :frowning:

Is it just that the PC is too old?

Thanks :slight_smile:

No, I don’t think the age of the machine is a problem here. Some of the HP Pavillion models seem to have BIOS quirks that can cause issues like this. A quick search turns up a large number of similar threads and bug reports.

Did you try the kernel parameters I suggested a couple of posts back?

Yes, both makes brightness break (no slider in energy settings).

So keys not working are related to those kernel options?

Sometimes it’s down to a quirk of the ACPI implementation. Bugs get reported, and kernel patches introduced to help workaround these issues.

You might try try testing the behaviour with other live distros perhaps.

What’s the running desktop ? Quite recently I had to manually select the HP dv5 keyboard on a different model ( not mine and don’t remember ) to get all the Fn keys working. But this seems to be something else.

KDE Plasma 5, Leap 42.3 default.

I had suse 13.2 before that, I think the buttons were working back then. Maybe new kernel/plasma is the issue?

Thanks!

Hi
On my HP ProBook 4440s I had to use the following for the backlight keys to work…


acpi_osi=\"!Windows 2012\"

No luck :frowning:

Also, I’ve noticed that FN+F1-F4 and F6 (help, screen switch and lock) are not recognized by xev as well.

Hi
The way I got mine fixed was a bug report… :wink:

If you open a terminal window and switch to root user and tail the journal (journalctl -f) and see what prints out.

On my system (Gnome DE) I see the likes of;


Executing command [USER=root] [TTY=unknown] [CWD=/home/malcolml] [COMMAND=/usr/lib/gnome-settings-daemon-3.0/gsd-backlight-helper --set-brightness 255]

Other things I attached to my bug report where dmidecode and hwinfo.

I thought of opening a bug report, but being an old laptop, I guess I won’t be very efficient. It is a minor inconvenience though.

If anyone knows a solution for missing FN keys, great, else, I’ll use meta key :frowning:

Thanks to all.

Unfortunaltey, I’ve been experiencing the same problem. In my case however, it has worked flawlessly using Leap 15.3 using the following grub modification:

GRUB_CMDLINE_LINUX="acpi_osi=Linux acpi_osi= acpi_osi='Windows 2015' acpi=force acpi_enforce_resources=lax drm.vblankoffdelay=1 acpi_backlight=vendor"

I’ve just upgraded to Leap 15.4 and now my brightness Fn keys won’t work anymore. I can still change brightness using the slider in the battery settings, but not with the dedicated keys.

Help would be appreciated.

Hi
Please start a new thread on your issue as this is a way old thread.