From 33736cc4f1810a3145d9aacb2d8dd666298793a7 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 18 Feb 2009 05:42:56 +0000 Subject: [PATCH] trying this first --- inxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 68b0626..27a2f16 100755 --- a/inxi +++ b/inxi @@ -1374,7 +1374,7 @@ get_audio_data() } }' $DIR_ASOUND_DEVICE ) ) fi - IFS="$ORIGINAL_IFS" + # alsa usb @@ -1394,7 +1394,7 @@ get_audio_data() for( i=7; i/dev/null |\ # grep $( cat $usb_proc_file/usbid ) |\ @@ -1402,7 +1402,7 @@ get_audio_data() A_AUDIO_DATA=( "${A_AUDIO_DATA[@]}" "$usb_data,snd-usb-audio" ) fi done - + IFS="$ORIGINAL_IFS" # handle cases where card detection fails, like in PS3, where lspci gives no output, or headless boxes.. if [[ ${#A_AUDIO_DATA[@]} -eq 0 ]];then A_AUDIO_DATA[0]='Failed to Detect Sound Card!'