I'm using a Raspberry PI and on it I plugged two same USB microphones. I would like to be able to identify which USB microphone is on which audio card when I list devices with arecord:
arecord --list-devices **** List of CAPTURE Hardware Devices **** card 0: iTalk02_1 [iTalk-02], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: iTalk02 [iTalk-02], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
I thought about using usb serial number but these devices doesn't provide any (or I don't know how to use well
lsusb -v). But how to match results from
lsusb -v command with
I need either an identifier of the microphone or the number of the USB port.
Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.9 (stretch) Release: 9.9 Codename: stretch
Your help is much appreciated.