From 63909d1cf7e86b6ea95bb2088dbc7044b6ad34e4 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 27 Aug 2004 16:25:37 +0000 Subject: Fixed the detection of audio class. Now class 040? is detected, not only 0401 (Intel HD has 0402). --- alsaconf/alsaconf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alsaconf') diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in index 3a1dd87..a7ce4ad 100644 --- a/alsaconf/alsaconf.in +++ b/alsaconf/alsaconf.in @@ -511,7 +511,7 @@ BEGIN { /^[]*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"'" } -- cgit v1.2.1