Page 1 of 1

Mageia6 on Asus G752VY and FN-Keys F3 - F7

PostPosted: Aug 6th, '17, 00:49
by schnuck
Hello Forum,

Thanks to doktor5000 I have been able to solve my sound issues.
Now the next thing to fix are the laptop hotkeys Fn + F3 up to Fn + F7

These keys should change the brightness of the keyboard backlight and the brightness of the display or even blank the screen entirely (Fn + F7).
They work before linux is booting, but once the kernel takes over the functuionality is gone.
The sound hotkeys (Fn + F10 .. F12) do work actually.

Since I found many suggestions I played around with adding boot parameters like acpi_osi= and acpi_backlight=.
There were many different suggestions and I feel like I tested around a zillion combinations of them.

Currently I have in /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="splash quiet nokmsboot resume=/dev/nvme0n1p2 audit=0 acpi_osi= net.ifnames=0 biosdevname"

As I can see with running acpi_listen the corresponding keys do not generate anything.

Any ideas? Thank you for your time.

Re: Mageia6 on Asus G752VY and FN-Keys F3 - F7

PostPosted: Aug 6th, '17, 03:10
by doktor5000
You can try with
Code: Select all
tpm_tis.interrupts=0 acpi_osi=! acpi_backlight=native
instead of only acpi_osi= but I believe that is only for an older model.
From reading https://bugzilla.kernel.org/show_bug.cgi?id=112531 the patches may not have been integrated yet, and until then the hotkeys may not work at all.

Re: Mageia6 on Asus G752VY and FN-Keys F3 - F7

PostPosted: Aug 6th, '17, 03:23
by schnuck
Yes, doktor5000, you may be right.
I am still going on trying and searching for solutions.
And I end up often with hints on trying the newer 4.10-Kernels or even 4.11.

Well, for the moment I don't want to leave the official Mageia6 kernel, so I might have to live with it.

But perhaps a different approach would be to not use the hot keys, but instead use some kind of GUI for it.
Perhaps you could think of some scripting solution.
For the moment the power-manager-applet of XFCE4 cannot change the display brightness.

Thank you, I will try the above in the next few hours.
And I will post the outcome here.

Greetings

Re: Mageia6 on Asus G752VY and FN-Keys F3 - F7

PostPosted: Aug 6th, '17, 14:04
by doktor5000
Well, the display brightness is also regulated by ACPI events that generate calls to the display hardware. Maybe you can try with acpi_backlight=native or different acpi_osi= options.
See also https://wiki.mageia.org/en/Archive:_Mag ... regression

To control the brightness, you can try either via xbacklight, or maybe try setting the brightness manually by looking at the properties under /sys/class/backlight/acpi_video0/
and then writing values to the brightness "file" there.

As an alternative you could also try redshift http://jonls.dk/redshift/ but that only changes gamma but brightness not so much if your display doesn't allow that currently.

Re: Mageia6 on Asus G752VY and FN-Keys F3 - F7

PostPosted: Aug 7th, '17, 00:15
by schnuck
Hello doktor5000,

I tried your ideas about acpi_backlight and the like, but to no avail.
I can use xbacklight at least for the display background, which is most important.

I guess for the full-blown solution I need a much more recnt kernel.
So I will live with it for the moment.

Thank you, doktor5000

Greetings

Re: Mageia6 on Asus G752VY and FN-Keys F3 - F7

PostPosted: Aug 7th, '17, 10:24
by wintpe
I found this page very helpfull during kernel development from mga2 onwards with my ux31a.

almost everything works now, but it may well hold some clues that are also relivant to newer asus laptops/notebooks.

https://wiki.archlinux.org/index.php/AS ... rime_UX31A

regards peter