[regression] Hardware buttons no longer work in 8.10

Bug #281981 reported by dotancohen
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hal-info (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Intrepid by Mikael Nilsson

Bug Description

I do not know which package to file this bug under, sorry.

Hardware: Dell Inspiron E1505 / 6400

In a stock Hardy install, the hardware audio buttons (Mute, Volume Up, Volume Down, Play/Pause, RW, FF, Stop) all work fine. In a stock Intrepid install, only the Mute button works.

Related branches

Revision history for this message
dotancohen (dotancohen) wrote :
Download full text (19.1 KiB)

intrepid@intrepid-laptop:~$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
intrepid@intrepid-laptop:~$ sudo lspci -v
[sudo] password for intrepid:
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
        Subsystem: Dell Device 01bd
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information <?>
        Kernel modules: intel-agp

00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
        Flags: bus master, fast devsel, latency 0
        Bus: p...

Revision history for this message
Mikael Nilsson (mini) wrote :

I have more or les identical harware, and just discovered the same issue (Dell XPS M1710 laptop, same soundcard and same media buttons).

I'd like to add that it worked only a few days ago. The issue is likely with a relatively new kernel. Assigning to kernel.

Revision history for this message
Mario Limonciello (superm1) wrote :

There is a bug regarding the stop button that i'll fix. If you have problems after this hal-info upload and have everything else up to date, open this bug back up.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hal-info - 20081013-0ubuntu2

---------------
hal-info (20081013-0ubuntu2) intrepid; urgency=low

  * Add 02_dell_stop_key.patch
    - Fixes the "Media" stop key to map properly to media
      stops rather than cancel. (LP: #281981)

 -- Mario Limonciello <email address hidden> Wed, 15 Oct 2008 17:49:15 -0500

Changed in hal-info:
status: New → Fix Released
Revision history for this message
Mikael Nilsson (mini) wrote : Re: [Bug 281981] Re: [regression] Hardware buttons no longer work in 8.10

The buttons work today...

Revision history for this message
dotancohen (dotancohen) wrote :

Not on my system, with KDE 4.1 on Kubuntu 8.10. Dell Inspiron E1505 / 6400. Reopening.

Changed in hal-info:
status: Fix Released → Confirmed
Revision history for this message
mickru (info-michael-krueger) wrote :

For me the buttons do not work either ... They used to work under KDE 3.5.xx

Kubuntu 8.10
KDE 4.1.2
Date: 2008-11-5

Hardware: Dell XPS M1210

Revision history for this message
Mario Limonciello (superm1) wrote :

mickru and dotcohen:

If your buttons aren't working properly, can you please run "xev" in a terminal, press them and paste the output here? It's possible (and likely) the buttons are properly mapped, just KDE4 doesn't know what it should be doing with them.

Revision history for this message
mickru (info-michael-krueger) wrote :
Download full text (4.8 KiB)

Here is the data from my Dell XPS M1210:

KeyPress event, serial 31, synthetic NO, window 0x5000001,
     root 0x1a6, subw 0x0, time 21635300, (-16,592), root:(1068,741),
     state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen
YES,
     XLookupString gives 0 bytes:
     XmbLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x5000001,
     root 0x1a6, subw 0x0, time 21635434, (-16,592), root:(1068,741),
     state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen
YES,
     XLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x5000001,
     root 0x1a6, subw 0x0, time 21638650, (-16,592), root:(1068,741),
     state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume),
same_screen YES,
     XLookupString gives 0 bytes:
     XmbLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x5000001,
     root 0x1a6, subw 0x0, time 21638856, (-16,592), root:(1068,741),
     state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume),
same_screen YES,
     XLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x5000001,
     root 0x1a6, subw 0x0, time 21640240, (-16,592), root:(1068,741),
     state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume),
same_screen YES,
     XLookupString gives 0 bytes:
     XmbLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x5000001,
     root 0x1a6, subw 0x0, time 21640412, (-16,592), root:(1068,741),
     state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume),
same_screen YES,
     XLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x5000001,
     root 0x1a6, subw 0x0, time 21641618, (-16,592), root:(1068,741),
     state 0x0, keycode 172 (keysym 0x1008ff14, XF86AudioPlay), same_screen
YES,
     XLookupString gives 0 bytes:
     XmbLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x5000001,
     root 0x1a6, subw 0x0, time 21641858, (-16,592), root:(1068,741),
     state 0x0, keycode 172 (keysym 0x1008ff14, XF86AudioPlay), same_screen
YES,
     XLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x5000001,
     root 0x1a6, subw 0x0, time 21643085, (-16,592), root:(1068,741),
     state 0x0, keycode 173 (keysym 0x1008ff16, XF86AudioPrev), same_screen
YES,
     XKeysymToKeycode returns keycode: 144
     XLookupString gives 0 bytes:
     XmbLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x5000001,
     root 0x1a6, subw 0x0, time 21643265, (-16,592), root:(1068,741),
     state 0x0, keycode 173 (keysym 0x1008ff16, XF86AudioPrev), same_screen
YES,
     XKeysymToKeycode returns keycode: 144
     XLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x5000...

Read more...

Revision history for this message
Mario Limonciello (superm1) wrote :
Download full text (5.3 KiB)

So this shows that the keys are properly putting out the right keycodes.
It's a KDE specific problem then.

On Wed, Nov 5, 2008 at 09:22, mickru <email address hidden> wrote:

> Here is the data from my Dell XPS M1210:
>
> KeyPress event, serial 31, synthetic NO, window 0x5000001,
> root 0x1a6, subw 0x0, time 21635300, (-16,592), root:(1068,741),
> state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen
> YES,
> XLookupString gives 0 bytes:
> XmbLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> KeyRelease event, serial 34, synthetic NO, window 0x5000001,
> root 0x1a6, subw 0x0, time 21635434, (-16,592), root:(1068,741),
> state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen
> YES,
> XLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> KeyPress event, serial 34, synthetic NO, window 0x5000001,
> root 0x1a6, subw 0x0, time 21638650, (-16,592), root:(1068,741),
> state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume),
> same_screen YES,
> XLookupString gives 0 bytes:
> XmbLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> KeyRelease event, serial 34, synthetic NO, window 0x5000001,
> root 0x1a6, subw 0x0, time 21638856, (-16,592), root:(1068,741),
> state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume),
> same_screen YES,
> XLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> KeyPress event, serial 34, synthetic NO, window 0x5000001,
> root 0x1a6, subw 0x0, time 21640240, (-16,592), root:(1068,741),
> state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume),
> same_screen YES,
> XLookupString gives 0 bytes:
> XmbLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> KeyRelease event, serial 34, synthetic NO, window 0x5000001,
> root 0x1a6, subw 0x0, time 21640412, (-16,592), root:(1068,741),
> state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume),
> same_screen YES,
> XLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> KeyPress event, serial 34, synthetic NO, window 0x5000001,
> root 0x1a6, subw 0x0, time 21641618, (-16,592), root:(1068,741),
> state 0x0, keycode 172 (keysym 0x1008ff14, XF86AudioPlay), same_screen
> YES,
> XLookupString gives 0 bytes:
> XmbLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> KeyRelease event, serial 34, synthetic NO, window 0x5000001,
> root 0x1a6, subw 0x0, time 21641858, (-16,592), root:(1068,741),
> state 0x0, keycode 172 (keysym 0x1008ff14, XF86AudioPlay), same_screen
> YES,
> XLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> KeyPress event, serial 34, synthetic NO, window 0x5000001,
> root 0x1a6, subw 0x0, time 21643085, (-16,592), root:(1068,741),
> state 0x0, keycode 173 (keysym 0x1008ff16, XF86AudioPrev), same_screen
> YES,
> XKeysymToKeycode returns keycode: 144
> XLookupString gives 0 bytes:
> XmbLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> KeyRelease event, serial 34, synthetic NO, window 0x5000001,
> root 0x1a6, subw 0x0, time 21643265, (-16,592), root:(1068...

Read more...

Changed in hal-info:
status: Confirmed → Fix Released
Revision history for this message
Mario Limonciello (superm1) wrote :

Please re-open a bug against the appropriate KDE 4.1 packages and in there add that information about the keypresses showing the right keysyms.

Revision history for this message
dotancohen (dotancohen) wrote :
Download full text (7.8 KiB)

Thanks, Mario, what are the appropriate KDE packages? Here is my output, for reference:

Outer window is 0x2a00001, inner window is 0x2a00002

PropertyNotify event, serial 8, synthetic NO, window 0x2a00001,
    atom 0x27 (WM_NAME), time 5284535, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x2a00001,
    atom 0x22 (WM_COMMAND), time 5284535, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x2a00001,
    atom 0x28 (WM_NORMAL_HINTS), time 5284535, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x2a00001,
    parent 0x2a00001, window 0x2a00002, (10,10), width 50, height 50
border_width 4, override NO

MapNotify event, serial 12, synthetic NO, window 0x2a00001,
    event 0x2a00001, window 0x2a00002, override NO

PropertyNotify event, serial 15, synthetic NO, window 0x2a00001,
    atom 0x156 (_KDE_NET_WM_USER_CREATION_TIME), time 5284535, state PropertyNewValue

ConfigureNotify event, serial 18, synthetic NO, window 0x2a00001,
    event 0x2a00001, window 0x2a00001, (0,0), width 178, height 178,
    border_width 0, above 0x1405359, override NO

ReparentNotify event, serial 18, synthetic NO, window 0x2a00001,
    event 0x2a00001, window 0x2a00001, parent 0xe03d75,
    (0,0), override NO

PropertyNotify event, serial 18, synthetic NO, window 0x2a00001,
    atom 0x172 (_NET_WM_DESKTOP), time 5284539, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2a00001,
    atom 0x15f (_NET_FRAME_EXTENTS), time 5284541, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2a00001,
    atom 0x10a (_KDE_NET_WM_FRAME_STRUT), time 5284541, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2a00001,
    atom 0x178 (_NET_WM_ALLOWED_ACTIONS), time 5284542, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2a00001,
    atom 0x101 (_NET_WM_STATE), time 5284542, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2a00001,
    atom 0x70 (WM_STATE), time 5284542, state PropertyNewValue

ConfigureNotify event, serial 18, synthetic YES, window 0x2a00001,
    event 0x2a00001, window 0x2a00001, (126,114), width 178, height 178,
    border_width 0, above 0x0, override NO

MapNotify event, serial 18, synthetic NO, window 0x2a00001,
    event 0x2a00001, window 0x2a00001, override NO

VisibilityNotify event, serial 18, synthetic NO, window 0x2a00001,
    state VisibilityFullyObscured

FocusIn event, serial 18, synthetic NO, window 0x2a00001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 18, synthetic NO, window 0x0,
    keys: 4294967170 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
           0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

VisibilityNotify event, serial 27, synthetic NO, window 0x2a00001,
    state VisibilityUnobscured

Expose event, serial 27, synthetic NO, window 0x2a00001,
    (0,0), width 178, height 10, count 3

Expose event, serial 27, synthetic NO, window 0x2a00001,
    (0,10), width 10, height 58, count 2

Expose event, serial 27, synthetic NO, window 0x2a00001,
    (68,...

Read more...

Revision history for this message
dotancohen (dotancohen) wrote :
Revision history for this message
Mario Limonciello (superm1) wrote :
Download full text (8.6 KiB)

Hi dotancohen:

I'm really not sure on the KDE packages, I don't use KDE personally. I
would mark it against the kubuntu project and let the triagers handle it if
you're not sure either.

On Wed, Nov 5, 2008 at 12:07, dotancohen <email address hidden> wrote:

> Thanks, Mario, what are the appropriate KDE packages? Here is my output,
> for reference:
>
>
> Outer window is 0x2a00001, inner window is 0x2a00002
>
> PropertyNotify event, serial 8, synthetic NO, window 0x2a00001,
> atom 0x27 (WM_NAME), time 5284535, state PropertyNewValue
>
> PropertyNotify event, serial 9, synthetic NO, window 0x2a00001,
> atom 0x22 (WM_COMMAND), time 5284535, state PropertyNewValue
>
> PropertyNotify event, serial 10, synthetic NO, window 0x2a00001,
> atom 0x28 (WM_NORMAL_HINTS), time 5284535, state PropertyNewValue
>
> CreateNotify event, serial 11, synthetic NO, window 0x2a00001,
> parent 0x2a00001, window 0x2a00002, (10,10), width 50, height 50
> border_width 4, override NO
>
> MapNotify event, serial 12, synthetic NO, window 0x2a00001,
> event 0x2a00001, window 0x2a00002, override NO
>
> PropertyNotify event, serial 15, synthetic NO, window 0x2a00001,
> atom 0x156 (_KDE_NET_WM_USER_CREATION_TIME), time 5284535, state
> PropertyNewValue
>
> ConfigureNotify event, serial 18, synthetic NO, window 0x2a00001,
> event 0x2a00001, window 0x2a00001, (0,0), width 178, height 178,
> border_width 0, above 0x1405359, override NO
>
> ReparentNotify event, serial 18, synthetic NO, window 0x2a00001,
> event 0x2a00001, window 0x2a00001, parent 0xe03d75,
> (0,0), override NO
>
> PropertyNotify event, serial 18, synthetic NO, window 0x2a00001,
> atom 0x172 (_NET_WM_DESKTOP), time 5284539, state PropertyNewValue
>
> PropertyNotify event, serial 18, synthetic NO, window 0x2a00001,
> atom 0x15f (_NET_FRAME_EXTENTS), time 5284541, state PropertyNewValue
>
> PropertyNotify event, serial 18, synthetic NO, window 0x2a00001,
> atom 0x10a (_KDE_NET_WM_FRAME_STRUT), time 5284541, state
> PropertyNewValue
>
> PropertyNotify event, serial 18, synthetic NO, window 0x2a00001,
> atom 0x178 (_NET_WM_ALLOWED_ACTIONS), time 5284542, state
> PropertyNewValue
>
> PropertyNotify event, serial 18, synthetic NO, window 0x2a00001,
> atom 0x101 (_NET_WM_STATE), time 5284542, state PropertyNewValue
>
> PropertyNotify event, serial 18, synthetic NO, window 0x2a00001,
> atom 0x70 (WM_STATE), time 5284542, state PropertyNewValue
>
> ConfigureNotify event, serial 18, synthetic YES, window 0x2a00001,
> event 0x2a00001, window 0x2a00001, (126,114), width 178, height 178,
> border_width 0, above 0x0, override NO
>
> MapNotify event, serial 18, synthetic NO, window 0x2a00001,
> event 0x2a00001, window 0x2a00001, override NO
>
> VisibilityNotify event, serial 18, synthetic NO, window 0x2a00001,
> state VisibilityFullyObscured
>
> FocusIn event, serial 18, synthetic NO, window 0x2a00001,
> mode NotifyNormal, detail NotifyNonlinear
>
> KeymapNotify event, serial 18, synthetic NO, window 0x0,
> keys: 4294967170 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>
>...

Read more...

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.