diff --git a/inxi b/inxi index 803f5ac..68b0626 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.0.3-b1-t1 +#### version: 1.0.3-b1-t2 #### Date: 17 February 2009 ######################################################################## #### SPECIAL THANKS @@ -1387,12 +1387,19 @@ get_audio_data() # also, find the contents of usbid in lsusb and print everything after the 7th word on the corresponding line # finally, strip out commas as they will change the driver :) # lsusb is not contained in some users paths, hardcode it! - A_AUDIO_DATA=( "${A_AUDIO_DATA[@]}" \ - "$( lsusb -v 2>/dev/null |\ - grep $( cat $usb_proc_file/usbid ) |\ - gawk '{ for( i=7; i/dev/null | grep "$usb_id" ) + usb_data=$( gawk '{ + gsub(/,/, " ", $0) + for( i=7; i/dev/null |\ +# grep $( cat $usb_proc_file/usbid ) |\ +# gawk '{ gsub(/,/, " ", $0);for( i=7; i