From 34642aab658e005cfa2485e5ce259ab929e1619e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 17 Apr 2018 14:36:00 +0200 Subject: don't list HDA "input" devices as keyboards Those are listed in /proc/bus/input/devices (mga#9986) (cherry picked from commit ae6acbf65a1911b5ae29e216901a7a2ac3cd4080) --- perl-install/NEWS | 3 +++ perl-install/harddrake/data.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index a616219f3..ad73b267f 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.88.1 - 18 September 2017 - drakboot: 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, }, -- cgit v1.2.1