Bug 192347 - Multimedia keys on Dell XPSM1330 are detected multiple times on a single keypress
Summary: Multimedia keys on Dell XPSM1330 are detected multiple times on a single keyp...
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: 4.2.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-11 17:37 UTC by augusto
Modified: 2009-12-08 00:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
xev output outside KDE (1.45 KB, text/plain)
2009-05-11 17:41 UTC, augusto
Details
xev output inside KDE, after closing KMix (4.90 KB, text/plain)
2009-05-11 17:41 UTC, augusto
Details
xev output inside KDE, with KMix running (3.91 KB, text/plain)
2009-05-11 17:42 UTC, augusto
Details
xev output in a synergy session. Inside KDE, with KMix running (5.47 KB, text/plain)
2009-05-11 18:02 UTC, augusto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description augusto 2009-05-11 17:37:45 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

This bug was originally reported as a KMix issue. Some test I performed show that this is NOT a KMix issue, but it's related to KDE. Please read on.

Pressing a multimedia key on a Dell XPSM1330 laptop (e.g. Mute, VolumeUp or VolumeDown) causes multiple detection of the key itself.
For example if I press VolumeUp key just one time, I see the volume raising as I had pressed two or three times.

All multimedia keys worked fine for me in KDE 3.5 and I see this wrong behavior
since KDE 4.1 (the first version I tried on Kubuntu 8.10).

I attach here the results of three different tests I perfomed using xev and hitting two different buttons (Mute and VolumeDown) _just one time_.

The first test is done outside KDE (I opened a second X server and launched xev from a xterm there, see attachment comments).
You can see that only two key presses/releases are correctly detected.

The second test is done in a KDE 4.2 session, after closing KMix. You can see that multiple key presses/releases are wrongly detected.

The third test is done in a KDE 4.2 session, with KMix running. You can see that only multiple releases are detected (here also some focus changes are visible). KMix seems to "steal" key presses, but not key releases.

My conclusions from these tests are the following:
- It is not an hardware problem.
- It is not a kernel/driver problem.
- It is not a Xorg bug (at least not Xorg taken alone).
- It is related to KDE (outside a KDE session keys presses/releases are detected correctly).
- It is not a KMix bug, multiple key presses/releases are detected also after closing KMix, but I don't know if it's normal that KMix is stealing key presses, but not key releases from xev output.

So the question is: what is the best place to report this bug? I report here in the generic KDE product, hoping that someone could point me to the right product.
Comment 1 augusto 2009-05-11 17:41:21 UTC
Created attachment 33549 [details]
xev output outside KDE
Comment 2 augusto 2009-05-11 17:41:58 UTC
Created attachment 33550 [details]
xev output inside KDE, after closing KMix
Comment 3 augusto 2009-05-11 17:42:40 UTC
Created attachment 33551 [details]
xev output inside KDE, with KMix running
Comment 4 augusto 2009-05-11 17:44:59 UTC
I have new info. I'm using synergy at work to control both my workstation and my XPS1330 from a single keyboard and mouse. synsergy server is launched on the workstation, and synergy client is running on the XPS1330.

I noticed that in this situation (synergys and synergyc running), if I move the mouse on the XPS1330 screen (to control the XPS1330 via synergy) the laptop multimedia keys work correctly inside KDE session and with KMix running.
Just one keypress at a time is detected.

If I move the mouse outside XPS1330 screen (I move back the mouse on the workstation), the multimedia keys return to the bad behavior, and multiple key presses are detected upon a single real key press.

So new info here:

- It's something related to Xorg (synergy uses Xorg to control multiple PCs
over the network with a single keyboard and mouse)
- It's related to KDE, because outside KDE (see my previous comments) the
multimedia keys work correctly.
Comment 5 augusto 2009-05-11 18:02:30 UTC
Created attachment 33552 [details]
xev output in a synergy session. Inside KDE, with KMix running
Comment 6 luis 2009-07-01 06:23:08 UTC
Same problem here, although I have a Dell inspiron 1318, I'm 99% sure the multimedia keys are the same. Have you found more information about this issue?
Comment 7 Michael Jansen 2009-12-07 23:30:14 UTC
Could be a duplicate to https://bugs.kde.org/show_bug.cgi?id=174154 which is apparently fixed. Still a problem for you guys?
Comment 8 luis 2009-12-08 00:04:25 UTC
It's not a problem anymore since version 4.3. I just had to adjust the keyboard rate and delay. Sorry, I forgot to post the solution before.
Thank you Michael.