mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-08 21:55:42 +01:00
Fixed the detection of audio class.
Now class 040? is detected, not only 0401 (Intel HD has 0402).
This commit is contained in:
parent
acdd3317f9
commit
63909d1cf7
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ BEGIN {
|
|||
/^[<literal space><literal tab>]*PCI: /{
|
||||
gsub(/0x/, "");
|
||||
gsub(/=/, ":");
|
||||
x = sprintf ("'$lspci' -n 2>/dev/null| grep '"'Class 0401'"' | grep %s", $2);
|
||||
x = sprintf ("'$lspci' -n 2>/dev/null| grep '"'Class 040?'"' | grep %s", $2);
|
||||
if (system (x) == 0)
|
||||
printf "%s %s\n", $2, driver >>"'"$FOUND"'"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue