Mageia6 on Asus G752VY and FN-Keys F3 - F7

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Mageia6 on Asus G752VY and FN-Keys F3 - F7

Postby schnuck » Aug 6th, '17, 00:49

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.
schnuck
 
Posts: 20
Joined: Nov 25th, '12, 22:48
Location: Münster / Germany

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

Postby doktor5000 » Aug 6th, '17, 03:10

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

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

Postby schnuck » Aug 6th, '17, 03:23

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
schnuck
 
Posts: 20
Joined: Nov 25th, '12, 22:48
Location: Münster / Germany

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

Postby doktor5000 » Aug 6th, '17, 14:04

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

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

Postby schnuck » Aug 7th, '17, 00:15

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
schnuck
 
Posts: 20
Joined: Nov 25th, '12, 22:48
Location: Münster / Germany

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

Postby wintpe » Aug 7th, '17, 10:24

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
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron