diff options
author | Takashi Iwai <tiwai@suse.de> | 2004-08-27 16:25:37 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2004-08-27 16:25:37 +0000 |
commit | 63909d1cf7e86b6ea95bb2088dbc7044b6ad34e4 (patch) | |
tree | a2d30251f60db2cf0c774f3810fea2dbaa86706d /alsaconf | |
parent | acdd3317f97caa6e27420569703eae0acc0c34c3 (diff) | |
download | alsa-utils-63909d1cf7e86b6ea95bb2088dbc7044b6ad34e4.tar.gz |
Fixed the detection of audio class.
Now class 040? is detected, not only 0401 (Intel HD has 0402).
Diffstat (limited to 'alsaconf')
-rw-r--r-- | alsaconf/alsaconf.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 { /^[<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"'" } |