[SOLVED] Function key on Asus Laptop

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

[SOLVED] Function key on Asus Laptop

Postby aldevar » Dec 31st, '13, 16:26

Hi,

First excuse me for my approximative english.
I was using Ubuntu 13.10 on my Asus UX32VD laptop because it was the only linux distro that support the fn keys on ma laptop. I wanted to get back on Mageia so I recently installed Mageia 3.
All is OK, except some fn keys.
fn + f1 (Zz) => OK
fn + f2 (toggle wifi) => Nothing happens
fn + f3/f4 (decrease, increase keyboard backlight) => Nothing happens
fn + f5/f6 (decrease, increase screen brightness) => Nothing happens
fn + f7 (turn off Screen 0) => OK
fn + f8 (toggle screens) => Not tested
fn + f9 (toggle trackpad) => Nothing happens
fn + f10/f11/f12 (mute, decrease, increase volume) => OK

using the tool xev, I can see that when I hit the combination keys to increase or decrease the brightness, xev sees nothing, so, it seems to be a kernel problem.
To be able to modifiy the screen brightness, I have to manually modify the file using echo :
Code: Select all
echo 900 > sys/class/backlight/intel_backlight/brightness

Or, to modify the keyboard backlight :
Code: Select all
echo 3 > /sys/class/leds/asus::kbd_backligh/brighness


I found some old bug report about this problem in Mageia 2, the problem is still present in Mageia 3. Do you know if it will be solved in Magiea 4?
Or maybe do you know how to solve this problem in Mageia 3 ?

Regards,
Last edited by aldevar on Jan 3rd, '14, 12:38, edited 1 time in total.
aldevar
 
Posts: 7
Joined: Dec 31st, '13, 16:10

Re: Function key on Asus Laptop

Postby doktor5000 » Dec 31st, '13, 19:18

aldevar wrote:I found some old bug report about this problem in Mageia 2, the problem is still present in Mageia 3. Do you know if it will be solved in Magiea 4?

Could you at least provide a link to that bugreport?

For the function keys also check http://www.linlap.com/asus_ux32vd#keyboard_backlight
Maybe it would have been an idea to look in Ubuntu how they got it working, you could use that on Mageia now.

Also please provide the output as root of
Code: Select all
lsmod | grep asus
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: 18071
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Function key on Asus Laptop

Postby aldevar » Dec 31st, '13, 19:21

aldevar
 
Posts: 7
Joined: Dec 31st, '13, 16:10

Re: Function key on Asus Laptop

Postby doktor5000 » Dec 31st, '13, 19:25

Please also see the above additions in my post.

For the bugreport, maybe you haven't read the last comment: https://bugs.mageia.org/show_bug.cgi?id=7857#c7

Mageia 2 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia please feel free to click on "Version" change it against that version of Mageia and reopen this bug.


So nobody will work on this bug until it has been reopened and confirmed for Mageia 3.
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: 18071
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Function key on Asus Laptop

Postby blas » Jan 1st, '14, 13:37

Have you tried modifying the boot parameters?

I had to add the acpi_osi="!Windows 2012" boot flag to the kernel to make my fn brightness key to work on a dell vostro 5470. (using mageia 4)

To modify the boot parameters open up MCC/boot/setup boot system/next/modify there at the and of the append field you can add additional flags: acpi_osi="x"
where x can be "!Windows 2012" or "Linux" or "Windows" ... For me the first option worked.
blas
 
Posts: 20
Joined: May 5th, '11, 22:16

Re: Function key on Asus Laptop

Postby paultgg » Jan 1st, '14, 21:09

I've reopened the bug report (the brightness keys aren't working on my wife's Asus x202e).
paultgg
 
Posts: 45
Joined: Sep 1st, '11, 19:30

Re: Function key on Asus Laptop

Postby paultgg » Jan 1st, '14, 21:18

....aaaaaand having looked at the Mageia 3 errata, adding

acpi_osi="!Windows 2012"

To the grub boot options seems to fix the issue on the x202e.
paultgg
 
Posts: 45
Joined: Sep 1st, '11, 19:30

Re: Function key on Asus Laptop

Postby wintpe » Jan 2nd, '14, 12:59

for KDE i did

Using the "system setting" -> short cuts and gestures ->

global keyboard shortcuts -> kde-componant (kde-daemon) -> i set all the non working shortcuts to ALT-F{} versions of there FN key. this works fine for brightness, sleep, int/external monitor.

that was with asus zenbook prime.

hope thats provides an alternative.

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

Re: Function key on Asus Laptop

Postby aldevar » Jan 3rd, '14, 12:38

Hi,

Thank you all for these informations.
I added acpi_osi="!Windows 2012" to the boot options and I can now change de screen brightness.

Thank you all for your help!
aldevar
 
Posts: 7
Joined: Dec 31st, '13, 16:10

Re: [SOLVED]Function key on Asus Laptop

Postby aldevar » Jan 3rd, '14, 12:45

BTW, this trick also brings a solution to other problems :
- My laptop was unable to shutdown properly. The shutdown process was stopped at [acpid : exiting]. Then, I had to manually shutdown the computer, using the power button. Now, Reboot and Shutdown works well.
- Managing energy works better. While on battery, KDE is now able to decrease brightness by itself.

I hope this will work out of the box with Mageia 4.

Thanks again for your help
aldevar
 
Posts: 7
Joined: Dec 31st, '13, 16:10


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest