mirror of
https://github.com/smxi/inxi.git
synced 2025-01-31 10:02:18 +00:00
bug tester
This commit is contained in:
parent
2f44c96e23
commit
1b8d5894a7
7
inxi
7
inxi
|
@ -2727,7 +2727,9 @@ get_audio_usb_data()
|
|||
usb_id=$( cat $usb_proc_file/usbid )
|
||||
usb_data=$( grep "$usb_id" <<< "$lsusb_data" )
|
||||
if [[ -n $usb_data && -n $usb_id ]];then
|
||||
usb_data=$( time gawk '
|
||||
# usb_data=$(
|
||||
echo $usb_data
|
||||
time gawk '
|
||||
BEGIN {
|
||||
IGNORECASE=1
|
||||
string=""
|
||||
|
@ -2744,7 +2746,8 @@ get_audio_usb_data()
|
|||
if ( $6 != "" ){
|
||||
print string ",snd-usb-audio,,," $6
|
||||
}
|
||||
}' <<< "$usb_data" )
|
||||
}' <<< "$usb_data"
|
||||
# )
|
||||
fi
|
||||
# this method is interesting, it shouldn't work but it does
|
||||
#A_AUDIO_DATA=( "${A_AUDIO_DATA[@]}" "$usb_data,snd-usb-audio,," )
|
||||
|
|
Loading…
Reference in a new issue