This commit is contained in:
inxi-svn 2009-02-18 05:51:08 +00:00
parent 33736cc4f1
commit be45fa2909

2
inxi
View file

@ -1399,7 +1399,7 @@ get_audio_data()
# usb_data=$( lsusb -v 2>/dev/null |\ # usb_data=$( lsusb -v 2>/dev/null |\
# grep $( cat $usb_proc_file/usbid ) |\ # grep $( cat $usb_proc_file/usbid ) |\
# gawk '{ gsub(/,/, " ", $0);for( i=7; i<NF; i++) { printf($i " ") } printf "\n" }' ) # gawk '{ gsub(/,/, " ", $0);for( i=7; i<NF; i++) { printf($i " ") } printf "\n" }' )
A_AUDIO_DATA=( "${A_AUDIO_DATA[@]}" "$usb_data,snd-usb-audio" ) A_AUDIO_DATA=( "${A_AUDIO_DATA[@]}" "$usb_data,snd-usb-audio,," )
fi fi
done done
IFS="$ORIGINAL_IFS" IFS="$ORIGINAL_IFS"