You are not logged in.

#1 2012-08-03 15:35:45

darthpenguin
Member
Registered: 2011-09-16
Posts: 113

[SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

Hello all,

I hav a Gazelle Pro from System76. It came with an ubuntu installation but I prefer Arch (^_^). I'm useing Gnome-Shell. Most of the function keys work as expected (volume, mute, sleep, wireless on/off) but Fn+F8 and Fn+F9 should bring my screen brightness down or up (respectivly). On my Lenovo Thinkpad this works out-of-the-box (so to speak) complete with OSD. Any idea how I can get this working on my Gazelle Pro?

Thanks,

Last edited by darthpenguin (2012-08-24 00:41:11)

Offline

#2 2012-08-04 11:26:40

zen3gr
Member
From: Greece
Registered: 2012-07-28
Posts: 15

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

I think this will work for you.

https://wiki.archlinux.org/index.php/Laptop_mode

Offline

#3 2012-08-07 20:34:21

darthpenguin
Member
Registered: 2011-09-16
Posts: 113

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

I have looked at this and can't find anything relating to hot-keys. I *can* adjust brightness via command line and system settings but I can *not* get fn+F8 and fn+F9 to control the brightness.

Offline

#4 2012-08-07 21:26:10

cupantae
Member
Registered: 2010-03-15
Posts: 18

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

Open a terminal. Type xev. Press enter.
This is the X event tester. Now press the buttons. The terminal should show something like "(keysym 0xf4f4 Xf86BrightnessUp)" in the middle if the system is correctly picking them up as brightness keys.
Once you know the name of the keys, i.e. Xf86BrightnessUp or whatever it shows, you can use this to set the shortcut.
If you're saying that Gnome won't let you do it, you could use xbindkeys or something like it. I'd be surprised, though. The Gnome 2 keyboard shortcuts settings were very flexible.


By the way, I didn't read any of the posts above me.

Offline

#5 2012-08-07 22:40:14

darthpenguin
Member
Registered: 2011-09-16
Posts: 113

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

I fired up xev and it is displaying info as I move the mouse and press different keys and key combos (like volume up/down) but I get no response from fn+F8 of fn+F9

Offline

#6 2012-08-07 23:10:03

cupantae
Member
Registered: 2010-03-15
Posts: 18

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

OK, I only just looked this up myself now, but it seems easy enough. See:
http://en.gentoo-wiki.com/wiki/Multimedia_Keys#showkey
And then "Mapping raw scan codes to key codes" and "Setting up xmodmap".

I notice that showkey produces output for keys pressed, then different output for the same key released. Not sure if you'll have to take that into account. Just play around with it anyway and I'm sure you'll work it out :-)


By the way, I didn't read any of the posts above me.

Offline

#7 2012-08-13 23:18:45

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

Hi, a simple approach could be adding acpi_backlight=vendor to your kernel line on boot, this works great on my HP Pavilion dv7-4287cl with KDE SC.
(Without this parameter I have no control at all of brightness function keys).


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

#8 2012-08-18 01:19:26

shinasha
Member
Registered: 2012-08-04
Posts: 19

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

I have the Gazelle Pro also and tried the acpi method here:https://wiki.archlinux.org/index.php/ACPI_hotkeys, with no luck. acpi_listen worked for other keys such as Fn-F5/6 for volume, but no output for Fn-F8/9 for screen brightness.

Also tried showkey and xev with no output. These keys worked on this laptop with Ubuntu 12.04.

@darthpenguin - any progress?

Thanks to all the Arch team members and the community. Have had a great time learning and installing Arch.

Offline

#9 2012-08-19 12:20:27

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,041

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

I have a Gazelle Pro. Add this to your kernel boot line in GRUB etc:

acpi_os_name=Linux acpi_osi=

https://bbs.archlinux.org/viewtopic.php … 8#p1113908

This (modifying the kernel line) is the only thing that the System76 drivers package for Ubuntu currently does for this model.

Last edited by jakobcreutzfeldt (2012-08-19 12:23:24)

Offline

#10 2012-08-20 02:52:36

shinasha
Member
Registered: 2012-08-04
Posts: 19

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

@jakobcreutzfeldt

Perfect, screen brightness keys are working now. Thanks for the tip. Only other problem I have had is the internal memory card reader but that is working now after installing an unofficial Realtek driver. I'll post in the topic you referenced.

Thank you.

Offline

#11 2012-08-20 05:25:32

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

@shinasha: glad you find something that works smile

If you consider your problem solved, please add [SOLVED] to the post title - let's keep the forum clean!


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

#12 2012-08-20 12:03:37

shinasha
Member
Registered: 2012-08-04
Posts: 19

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

I agree that this one is closed, however, I did not start the thread. I just happened to have the same issue. Thanks for keeping things neat though.

Offline

#13 2012-08-20 23:04:51

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

shinasha wrote:

I agree that this one is closed, however, I did not start the thread. I just happened to have the same issue. Thanks for keeping things neat though.

Ooops! ;-D


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

#14 2012-08-24 00:40:28

darthpenguin
Member
Registered: 2011-09-16
Posts: 113

Re: [SOLVED] Screen brightness hotkeys on System76 Gazelle pro.

Hey Guys,

Sorry. I kind of put this to the side and forgot about it. And I stopped getting email notifications on this thread. Anyway, the solution worked for me as well (actually trying mint on this Gazelle, keeping Arch on my Thinkpad).

Thanks guys. \(^_^)/

Offline

Board footer

Powered by FluxBB