summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-04-17 14:36:00 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-04-17 14:38:37 +0200
commitae6acbf65a1911b5ae29e216901a7a2ac3cd4080 (patch)
treeb05d150d199e10fffb0cfcaeaf961a14fc1455e3 /perl-install
parent7ddfacc19d85e00f0faab51527f44997d594ff5e (diff)
downloaddrakx-ae6acbf65a1911b5ae29e216901a7a2ac3cd4080.tar
drakx-ae6acbf65a1911b5ae29e216901a7a2ac3cd4080.tar.gz
drakx-ae6acbf65a1911b5ae29e216901a7a2ac3cd4080.tar.bz2
drakx-ae6acbf65a1911b5ae29e216901a7a2ac3cd4080.tar.xz
drakx-ae6acbf65a1911b5ae29e216901a7a2ac3cd4080.zip
don't list HDA "input" devices as keyboards
Those are listed in /proc/bus/input/devices (mga#9986)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/harddrake/data.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index cfb232e82..7ffd4fad0 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- harddrake2:
+ o don't list HDA "input" devices as keyboards (mga#9986)
+
Version 17.96 - 13 March 2018
- drakboot: detect 32-bit UEFI GRUB2 bootloader when probing
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 1564d0907..8d4d4de21 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -303,7 +303,7 @@ our @tree =
require list_modules;
my @modules = list_modules::category2modules('multimedia/sound');
f(grep { $_->{media_type} =~ /MULTIMEDIA_AUDIO|PROCESSOR_CO/ || member($_->{driver}, @modules)
- || $_->{description} =~ /PC Speaker/ } @devices);
+ || $_->{description} =~ /^\|?HDA |PC Speaker/ } @devices);
},
checked_on_boot => 1,
},