trying usb-ID instead of USB-ID, looks more consistent

This commit is contained in:
inxi-svn 2011-04-30 23:36:38 +00:00
parent 949019f36e
commit 4435de0266

8
inxi
View file

@ -4823,7 +4823,7 @@ print_audio_data()
if [[ ${a_audio_working[1]} != 'snd-usb-audio' ]];then if [[ ${a_audio_working[1]} != 'snd-usb-audio' ]];then
bus_usb_text='busID' bus_usb_text='busID'
else else
bus_usb_text='USB-ID' bus_usb_text='usb-ID'
fi fi
bus_usb_id=${a_audio_working[4]} bus_usb_id=${a_audio_working[4]}
pci_bus_id=" ${C1}$bus_usb_text:${C2} $bus_usb_id" pci_bus_id=" ${C1}$bus_usb_text:${C2} $bus_usb_id"
@ -4863,7 +4863,7 @@ print_audio_data()
if [[ ${a_audio_working[1]} != 'snd-usb-audio' ]];then if [[ ${a_audio_working[1]} != 'snd-usb-audio' ]];then
bus_usb_text='busID' bus_usb_text='busID'
else else
bus_usb_text='USB-ID' bus_usb_text='usb-ID'
fi fi
bus_usb_id=${a_audio_working[4]} bus_usb_id=${a_audio_working[4]}
pci_bus_id=" ${C1}$bus_usb_text:${C2} $bus_usb_id" pci_bus_id=" ${C1}$bus_usb_text:${C2} $bus_usb_id"
@ -5311,7 +5311,7 @@ print_networking_data()
bus_usb_text='busID' bus_usb_text='busID'
bus_usb_id=${a_network_working[4]} bus_usb_id=${a_network_working[4]}
else else
bus_usb_text='USB-ID' bus_usb_text='usb-ID'
bus_usb_id=$( cut -d '-' -f '2-4' <<< ${a_network_working[4]} ) bus_usb_id=$( cut -d '-' -f '2-4' <<< ${a_network_working[4]} )
fi fi
pci_bus_id=" ${C1}$bus_usb_text:${C2} $bus_usb_id" pci_bus_id=" ${C1}$bus_usb_text:${C2} $bus_usb_id"
@ -5352,7 +5352,7 @@ print_networking_data()
bus_usb_text='busID' bus_usb_text='busID'
bus_usb_id=${a_network_working[4]} bus_usb_id=${a_network_working[4]}
else else
bus_usb_text='USB-ID' bus_usb_text='usb-ID'
bus_usb_id=$( cut -d '-' -f '2-4' <<< ${a_network_working[4]} ) bus_usb_id=$( cut -d '-' -f '2-4' <<< ${a_network_working[4]} )
fi fi
pci_bus_id=" ${C1}$bus_usb_text:${C2} $bus_usb_id" pci_bus_id=" ${C1}$bus_usb_text:${C2} $bus_usb_id"