¿ªÔÆÌåÓý

Issue #4 Raspberry Pi 4 HDMI audio modules conflict with loopbacks


 

Referring to:?

Since my other comments on other issues have gone unanswered, I will try to discuss this here.

A screenshot of part of the issue:




I've talked about this a few times in this group:

/g/BITX20/message/108542? -- you don't have to rely on order of discovery if you use proper names

/g/BITX20/message/108485? -- stop using numbers, start using names

A fix is IMO pretty easy:
Create and use a new git branch so sending a PR is easier ('git checkout -b sbitx-alsa-names' will do this)
Go into sbitx.c and change?"plughw:0,0" to?"plughw:CARD=audioinjectorpi,DEV=0".
Go into sbitx_sound.c and change?"plughw:1,0" to?"plughw:CARD=Loopback,DEV=0".
Go into sbitx_sound.c and change?"plughw:2,1" to?"plughw:CARD=Loopback_1,DEV=1".

Rebuild the code and test that the sbitx app still works for rx and tx of voice modes.
Then test that the sbitx app still works with fldigi and/or wsjt-x external digital apps.

Then change /boot/config.txt to not disable HDMI audio (or standard broadcom headphone jack either).
Reboot and do the same tests.

Then plug in a USB headset or soundcard dongle, reboot, retest.

I'm pretty sure it will all just work based on the testing I did earlier.

It it works, send a PR to the ?repo and hopefully some day the fix will get merged.

I would do this, but my code base is now so different than the afarhan repo that it doesn't make sense for me to be the one to do it.


--
Regards,
Dave, N1AI

Join [email protected] to automatically receive all group messages.