You are not logged in.

#1 2017-06-04 17:47:06

Denshou
Member
Registered: 2017-01-17
Posts: 25

Display toggle hotkey not working on Acer Aspire V3-772G

Hi everyone ! smile

First of all, sorry if this is the wrong forum to ask this, I wasn't sure if I should post it here or in the laptop forum.

Onto my problem, I'm having some issue to use the Display toggle hotkey (Fn+F5, as shown here : https://www.manualslib.com/manual/56282 … l?page=32) to switch between monitors. Besides the Airplane mode, every other hotkeys worked just fine. Actually, none of these two even showed in showkey, xev and xbindkeys.

I managed to get the Airplane mode hotkey to both show in xev and work by adding "acpi_osi=!" at the end of the GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub, re-generating the configuration file and rebooting the system, but this had no effect on the Display toggle hotkey.

I also tried to add "acpi_osi=!Windows_2012" and "acpi_osi=Linux" in Grub configuration instead. The Airplane mode hotkey still worked but no longer showed in xev. Still no change to the display toggle hotkey though.

I don't need native support for the display switching function since I've made a script which does it just fine. I just want to map it to the said key (I'm using i3 if that's relevant) if possible, but I have no way to know which is it since it doesn't show in xev and similar software.

I thought it may be the XF86Display keysym, but apparently this one is used by the Display off function, as seen here : https://www.manualslib.com/manual/56282 … =33#manual (weird function by the way).

Since every other hotkey is working, I think there should be a way for this one to work as well, but I couldn't find it so far.

Hope someone here can help me with this. Thanks in advance !

Offline

#2 2017-06-04 18:46:11

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Display toggle hotkey not working on Acer Aspire V3-772G

acpid should notice it as a "video/switchmode" event, which you could capture.

Could try acpi_os_name="Windows 2013" in the bootloader cmdline. That might get xev noticing the keypress, too.

Offline

#3 2017-06-04 21:14:43

Denshou
Member
Registered: 2017-01-17
Posts: 25

Re: Display toggle hotkey not working on Acer Aspire V3-772G

brebs wrote:

acpid should notice it as a "video/switchmode" event, which you could capture.

Could try acpi_os_name="Windows 2013" in the bootloader cmdline. That might get xev noticing the keypress, too.

Thank your for your answer. Here's the output of journalctl -f :

kernel: acer_wmi: Unknown function number - 2 - 97

I also tried with the following line in my Grub configuration file and got the same result :

GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_os_name='Windows 2013' acpi_backlight=vendor"

Note that both Airplane mode and Brightness hotkeys don't work with that line.

Any other idea ? hmm

Offline

#4 2017-06-04 22:09:26

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Display toggle hotkey not working on Acer Aspire V3-772G

I'm surprised by that kernel module ("Unknown function") line.

Regardless, what about ACPI? Are your files within /etc/acpi/ set up for logging, so you can check whether acpid sees this event?

Offline

#5 2017-06-04 22:51:40

Denshou
Member
Registered: 2017-01-17
Posts: 25

Re: Display toggle hotkey not working on Acer Aspire V3-772G

brebs wrote:

I'm surprised by that kernel module ("Unknown function") line.

Regardless, what about ACPI? Are your files within /etc/acpi/ set up for logging, so you can check whether acpid sees this event?

I don't have any /etc/acpi/ folder/file.

However, the said line is what is shown when pressing the Fn+F5 keys after typing the journalctl -f command ; which is the command to use to determine how the Fn shortcuts are recognized, according to the wiki : https://wiki.archlinux.org/index.php/acpid

So yeah, it seems that ACPI can actually see this event, but does not recognize it. Or so I think.

Offline

Board footer

Powered by FluxBB