You are not logged in.

#1 2011-06-13 11:27:41

valemon
Member
Registered: 2009-08-29
Posts: 24

FN keys not working Hp probook 4320s

Hello

I am having a problem with the FN keys on a HP Probook 4320s and using openbox.
When I tried an ubuntu live cd the brightness, volume etc, worked just fine.
Using xev I got this output while hitting the keys

KeyRelease event, serial 40, synthetic NO, window 0x1800001,
    root 0x152, subw 0x0, time 1722303, (-375,141), root:(717,436),
    state 0x0, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Also when I echo a value in  /sys/class/backlight/acpi_video0/brightness the brightness changes but still fn keys not working.
Can anyone help me with this?.

Offline

#2 2011-06-13 14:57:03

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,071

Re: FN keys not working Hp probook 4320s

Use xbindkeys and define the command to use on that keycode and/or the key name (XF86MonBrightnessUp)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-06-13 16:37:51

valemon
Member
Registered: 2009-08-29
Posts: 24

Re: FN keys not working Hp probook 4320s

Is there a way to see what is called when pressing the keys in ubuntu? I could write a scrips to be called and decrease/increase brightness as I have done for the sound but I still want to know if I can reverse the action in ubuntu and see what is wrong in arch.

Offline

#4 2011-06-14 02:32:59

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 833
Website

Re: FN keys not working Hp probook 4320s

I am having a problem with the FN keys on a HP Probook 4320s and using openbox.
When I tried an ubuntu live cd the brightness, volume etc, worked just fine.

Openbox is a window manager, not an environment like Gnome. It manages windows, not your screen brightness and wireless settings.

I can reverse the action in ubuntu and see what is wrong in arch.

Nothing is wrong. And your keys work fine, I know because mine do.

Is there a way to see what is called when pressing the keys in ubuntu?

They developed their own notifications that handle this. You can just call xbacklight and amixer for a start from xbindkeys.
For volume and brightness an applet is nicer to get the visal cue, you can do that with a little bash and Zenity easily, or code your own in GTK (I used pygtk for mine).


You need to install an RTFM interface.

Offline

#5 2011-06-14 12:30:37

valemon
Member
Registered: 2009-08-29
Posts: 24

Re: FN keys not working Hp probook 4320s

Thank you for your useful answers.
I have managed to increase/decrease brightness by assigning the keys to scripts.
I just have one last little problem. I am running a script that needs sudo and I have entered this line at the sudoers

valemon ALL=(ALL) NOPASSWD: /usr/bin/brightness_control/brightnesscontrol.sh

But still it requires password to run?
I am soo close..

Offline

Board footer

Powered by FluxBB