diff options
author | Thomas Hood <jdthood@yahoo.co.uk> | 2004-09-24 11:29:02 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2004-09-24 11:29:02 +0000 |
commit | 33b47cd2d41fc1179b586760f9c04bfc9841252e (patch) | |
tree | f87043a6407389b2e61e1a9917ca634961ba4933 /alsaconf | |
parent | 24f54a9ea68f46faa8ff9bba89d9e44ff8bd7de2 (diff) | |
download | alsa-utils-33b47cd2d41fc1179b586760f9c04bfc9841252e.tar.gz |
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>
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 b062a6a..890361d 100644 --- a/alsaconf/alsaconf.in +++ b/alsaconf/alsaconf.in @@ -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"'" } |