From ae6acbf65a1911b5ae29e216901a7a2ac3cd4080 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) --- 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 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, }, -- cgit v1.2.1