Volume keys do not work in KDE on nw8240

Bug #27542 reported by Luka Renko
10
Affects Status Importance Assigned to Milestone
meta-kde (Ubuntu)
New
Medium
Jonathan Riddell

Bug Description

Mute, volume up/down keys do not work out of the box in Kubuntu (tested with 5.10 and Dapper Flight 2).
I have HP Compaq nw8240 notebook and I could manually configure these keys by adding proper xmodmap entries:

     keycode 160 = XF86AudioMute
     keycode 174 = XF86AudioLowerVolume
     keycode 176 = XF86AudioRaiseVolume

It would be nice if this can be fixed for Dapper.

https://wiki.ubuntu.com/LaptopTestingTeam/HPNW8240/Kubuntu: https://wiki.ubuntu.com/LaptopTestingTeam/HPNW8240/Kubuntu

Revision history for this message
Matthew Garrett (mjg59) wrote :

hotkey-setup can't touch the X keymaps, and changing every X keymap is a painful
and invasive procedure. In Ubuntu (and Kubuntu) we can basically guarantee that
volume keys are on a certain keycode - it would be handy if KDE could handle
this on its own.

Revision history for this message
Luka Renko (lure) wrote :

I have found this blog:
http://blogs.gnome.org/view/uraeus/2006/01/24/0

Is this what should be done to make it work out of the box?

Revision history for this message
Luka Renko (lure) wrote :

I have played a bit with different keyboard models (System Settings -> Regional & Accessibility -> Keyboard Layout) and setting keyboard model to "Hewlett-Packard Omnibook XE3 GC" makes the three volume keys to act as expected (kmilo is activated).

Question 1: can we detect keyboard layout during install and set it appropriately?

Question 2: how could add new Keyboard layout to KDE (or X.org) in order to support newer HP notebooks (all keys)?

Revision history for this message
Luka Renko (lure) wrote :

I have submitted bug to freedesktop.org as it looks like they are responsible for adding new keyboard models to X.

https://bugs.freedesktop.org/show_bug.cgi?id=5893

BTW, you can also use "Laptop/notebook Compaq (eg. Armada) Laptop Keyboard" model as workaround for volume keys (but does not help with others).

Revision history for this message
Achim Bohnet (allee) wrote :

Hi,

Kde takes as default whatever the xserver is configured
to use as default, during installation (or manual updates)

In case a pc10X + default_(k)ubuntu_keys can be
done by the installer I would suggest to add one
additional xkb layout, e.g.,

Kubuntu Notebook defaults

Then KDE could enabel xbk extention + 'kubuntu notebook layout' by default, and the ubuntu standard keycodes would be
active. Mhmm, in case user didn't change xkb extention
in kde control center, the the new system default would
even be picked up after an upgrade.

Just my 2 cents

Revision history for this message
Paul Sladen (sladen) wrote :

This machine is a Compaq that has been rebranded as an HP after the merger.

Revision history for this message
Luka Renko (lure) wrote :

This is not a duplicate of bug 20282, but KDE specific issue regarding handling Ubuntu key mapping by default (as GNOME does).

Revision history for this message
Luka Renko (lure) wrote :

Marking as duplicate og bug 46948 which describes the problem in greater detail.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.