Bug 9986 - harddrake2 displays some multimedia devices as keyboards
Summary: harddrake2 displays some multimedia devices as keyboards
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2013-05-05 08:34 CEST by Oleg Bosis
Modified: 2018-05-29 23:16 CEST (History)
5 users (show)

See Also:
Source RPM: ldetect
CVE:
Status comment:


Attachments
The keyboard section in harddrake2 with multimedia devices (127.18 KB, image/png)
2013-05-05 08:35 CEST, Oleg Bosis
Details
The same problem in Mageia 6 (74.93 KB, image/png)
2018-04-16 08:22 CEST, Oleg Bosis
Details
lspci.txt (6.23 KB, text/plain)
2018-04-17 08:32 CEST, Oleg Bosis
Details
lspcidrake.txt (3.85 KB, text/plain)
2018-04-17 08:32 CEST, Oleg Bosis
Details
lsusb.txt (618 bytes, text/plain)
2018-04-17 08:33 CEST, Oleg Bosis
Details

Description Oleg Bosis 2013-05-05 08:34:53 CEST
Description of problem:
harddrake2 displays some multimedia devices as keyboards. See attached screenshot and my bug 9985.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Oleg Bosis 2013-05-05 08:35:05 CEST

CC: (none) => olegbosis

Comment 1 Oleg Bosis 2013-05-05 08:35:46 CEST
Created attachment 3891 [details]
The keyboard section in harddrake2 with multimedia devices
Manuel Hiebel 2013-05-05 12:03:15 CEST

Source RPM: (none) => ldetect

V P 2014-06-05 20:23:45 CEST

CC: (none) => yohonet
Version: 3 => 4

Comment 2 V P 2014-06-05 20:33:07 CEST
What is listed are actually "inputs" and it has been wrongly placed under "keyboard" section. Simply renaming the section would already be a big step further (best would be to have separate sections for "keyboards" and "misc. inputs").

The reason why you see multimedia devices is because plugging in a device (like a headset) is probably considered as an input for X and/or for the kernel, like a key press.

Under this section you will also find power button(s).
Comment 3 Samuel Verschelde 2015-09-21 13:18:29 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't 
able to fix it before Mageia 4's end of life. If you are able to reproduce it 
against a later version of Mageia, you are encouraged to click on "Version" and 
change it against that version of Mageia. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/
Comment 4 Oleg Bosis 2015-09-22 21:50:40 CEST
The bug is still here in mga5 though the number of multimedia devices in keyboard section greatly reduced. Currently there are just three of them: HDA Intel PCH Mic (with 'event11' module), HDA Digital PCBeep (with 'kbd' module) and HDA Intel PCH Headphone (with 'event12' module).
Samuel Verschelde 2015-09-28 11:42:56 CEST

Version: 4 => 5

Comment 5 Samuel Verschelde 2016-10-15 22:47:08 CEST
Assigning to Mageia Tools maintainer group in case the fix is to be made in harddrake2. Otherwise please assign to the appropriate maintainer or to pkg-bugs if there is none.

Assignee: bugsquad => mageiatools

Comment 6 Marja Van Waes 2018-04-15 19:30:50 CEST
Hi Oleg,

Thank you for having taken the needed time to report this issue!

Did this bug get fixed? If so, please change its status to RESOLVED - FIXED

If it didn't, then we regret that we weren't able to fix it in Mageia 5. Mageia 5 has officially reached its End of Life on December 31st, 2017 https://blog.mageia.org/en/2017/11/07/mageia-5-eol-postponed/
It only continued to get important security updates since then, because we are waiting for a big Plasma5 update in Mageia 6, that'll fix many of the Mageia 5 => 6 upgrade issues.

If you haven't seen that this bug got fixed, then please check whether this bug still exists in Mageia 6. If it does, then please change the Version (near the top, at the left) to "6". If you know it exists in Cauldron, then change Version to Cauldron. If you see it in both Cauldron and Mageia 6, then please set version to Cauldron and add MGA6TOO on the Whiteboard.

Thanks,
Marja

CC: (none) => marja11

Comment 7 Oleg Bosis 2018-04-16 08:22:24 CEST
Created attachment 10086 [details]
The same problem in Mageia 6

Hi! The bug is not fixed yet. See attached screenshot.

CC: (none) => olelukoie

Comment 8 Thierry Vignaud 2018-04-16 09:17:35 CEST
Please provides the USB ids of the offended devices.
Or simpler, just attach the output of lspcidrake -v.
eg: run "lspcidrake -v > /tmp/lspcidrake.txt"
and attach the resulting /tmp/lspcidrake.txt file

Keywords: (none) => NEEDINFO
Version: 5 => 6
CC: (none) => thierry.vignaud
Assignee: mageiatools => thierry.vignaud

Comment 9 Oleg Bosis 2018-04-17 08:32:23 CEST
Created attachment 10088 [details]
lspci.txt
Comment 10 Oleg Bosis 2018-04-17 08:32:43 CEST
Created attachment 10089 [details]
lspcidrake.txt
Comment 11 Oleg Bosis 2018-04-17 08:33:01 CEST
Created attachment 10090 [details]
lsusb.txt
Comment 12 Oleg Bosis 2018-04-17 08:36:25 CEST
I've attached output of lspci* & lsusb for the same laptop. I also have two desctop PCs with the same issues and I can provide info for them (for example all nVidia HDA devices with 0/0 IDs are listed in keyboards group).
Thierry Vignaud 2018-04-17 14:25:33 CEST

Attachment 10090 is obsolete: 0 => 1

Thierry Vignaud 2018-04-17 14:25:38 CEST

Attachment 10088 is obsolete: 0 => 1

Comment 13 Thierry Vignaud 2018-04-17 14:32:19 CEST
OK, those come from /proc/bus/input/devices ...
Comment 14 Mageia Robot 2018-04-17 14:39:04 CEST
commit ae6acbf65a1911b5ae29e216901a7a2ac3cd4080
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Tue Apr 17 14:36:00 2018 +0200

    don't list HDA "input" devices as keyboards
    
    Those are listed in /proc/bus/input/devices (mga#9986)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=ae6acbf65a1911b5ae29e216901a7a2ac3cd4080
Comment 15 Mageia Robot 2018-04-17 14:41:01 CEST
commit 34642aab658e005cfa2485e5ce259ab929e1619e
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Tue Apr 17 14:36:00 2018 +0200

    don't list HDA "input" devices as keyboards
    
    Those are listed in /proc/bus/input/devices (mga#9986)
    
    (cherry picked from commit ae6acbf65a1911b5ae29e216901a7a2ac3cd4080)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=34642aab658e005cfa2485e5ce259ab929e1619e
Comment 16 Thierry Vignaud 2018-04-17 14:41:35 CEST
Fixed in git

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 17 Oleg Bosis 2018-04-17 20:53:35 CEST
Well, thank you.
I know it doesn't fit the bug report title but maybe you also fix other non-keyboard devices too? What USB Receiver has to do with keyboards? What is Video Bus (listed twice as keyboards)? Why Asus Wireless Radio Control is listed as keyboard?
The only keyboard devices I do see here are the keyboard itself (AT Translated Set 2 keyboard) and, probably, virtual "Asus WMI hotkeys" device (I guess it's Asus specific Fn+some_key keyboard shortcuts).
Martin Whitaker 2018-05-29 23:16:10 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=23097


Note You need to log in before you can comment on or make changes to this bug.