mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 17:26:31 +01:00
alsa-info.sh: Consolidate PCI device output
Include numeric IDs and subsystem info in the PCI device output, without placing them in a separate section. Signed-off-by: David Ward <david.ward@ll.mit.edu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
10db898d9b
commit
11e083d81c
1 changed files with 3 additions and 7 deletions
|
@ -455,7 +455,9 @@ fi
|
|||
cat /proc/asound/modules 2>/dev/null | awk '{ print $2 }' > $TEMPDIR/alsamodules.tmp
|
||||
cat /proc/asound/cards > $TEMPDIR/alsacards.tmp
|
||||
if [[ ! -z "$LSPCI" ]]; then
|
||||
lspci | grep -i "multi\|audio">$TEMPDIR/lspci.tmp
|
||||
for class in 0401 0402 0403; do
|
||||
lspci -vvnn -d "::$class" | sed -n '/^[^\t]/,+1p'
|
||||
done > $TEMPDIR/lspci.tmp
|
||||
fi
|
||||
|
||||
#Check for HDA-Intel cards codec#*
|
||||
|
@ -585,12 +587,6 @@ echo "" >> $FILE
|
|||
cat $TEMPDIR/lspci.tmp >> $FILE
|
||||
echo "" >> $FILE
|
||||
echo "" >> $FILE
|
||||
echo "!!Advanced information - PCI Vendor/Device/Subsystem ID's" >> $FILE
|
||||
echo "!!-------------------------------------------------------" >> $FILE
|
||||
echo "" >> $FILE
|
||||
lspci -vvn |grep -A1 040[1-3] >> $FILE
|
||||
echo "" >> $FILE
|
||||
echo "" >> $FILE
|
||||
fi
|
||||
|
||||
if [ "$SNDOPTIONS" ]
|
||||
|
|
Loading…
Reference in a new issue