Comment 5 for bug 284319

Revision history for this message
Matt Ginzton (matt-ginzton) wrote : Re: mute, brightness buttons on new HP 6930p laptop

Also, for the brightness keys: a friend who's better versed than I in the ways of hal showed me how to copy some entries from /usr/share/hal/fdi/information/10freedesktop/30-keymap-hp.fdi to /usr/share/hal/fdi/information/20thirdparty/30-keymap-private.fdi. (It probably would have sufficed to edit 30-keymap-hp.fdi in place, too.)

Specifically, he added:

        <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="6930p">
          <!-- HP Elitebook 6930p -->
          <append key="input.keymap.data" type="strlist">e012:brightnessdown</append> <!-- FnF7 (brightness down) -->
          <append key="input.keymap.data" type="strlist">e017:brightnessup</append> <!-- FnF8 (brightness up) -->
        </match>

inside the existing <match> block for system.hardware.vendor prefix Hewlett-Packard.

This gave me working brightness keys.