USB sound card compatibility
Posted: Fri Jun 05, 2020 3:13 pm
As USB sound cards from different manufacturers have different names it is currently necessary to edit the files Lang_TX.py and Lang_RX.py to reflect the card name.
I think it might be possible to identify the card by number rather than name which might remove the need to edit the files.
If you currently have to edit the file to work with your USB sound dongle could you please give this a try.
Change the name definition from "hw:CARD=Device,DEV=0" to "hw:CARD=1,DEV=0"
This seems to work for my USB dongle. If it works for others then I will make this the default setting.
CARD=0 seems to always be the built in raspberry pi audio socket, I am assuming the first additional USB device will always be CARD=1.
You can enter cat /proc/asound/cards to list the card numbers and names.
Colin G4EML
I think it might be possible to identify the card by number rather than name which might remove the need to edit the files.
If you currently have to edit the file to work with your USB sound dongle could you please give this a try.
Change the name definition from "hw:CARD=Device,DEV=0" to "hw:CARD=1,DEV=0"
This seems to work for my USB dongle. If it works for others then I will make this the default setting.
CARD=0 seems to always be the built in raspberry pi audio socket, I am assuming the first additional USB device will always be CARD=1.
You can enter cat /proc/asound/cards to list the card numbers and names.
Colin G4EML