mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:55:43 +01:00
make alsaconf parse lspci output correctly
Fix for systems like debian which has different lspci output. Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
This commit is contained in:
parent
24f54a9ea6
commit
33b47cd2d4
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ BEGIN {
|
|||
/^[<literal space><literal tab>]*PCI: /{
|
||||
gsub(/0x/, "");
|
||||
gsub(/=/, ":");
|
||||
x = sprintf ("'$lspci' -n 2>/dev/null| grep '"'Class 040.'"' | grep %s", $2);
|
||||
x = sprintf ("'$lspci' -n 2>/dev/null| grep '"' 040.: '"' | grep %s", $2);
|
||||
if (system (x) == 0)
|
||||
printf "%s %s\n", $2, driver >>"'"$FOUND"'"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue