¿ªÔÆÌåÓý

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


Paul
 

Actually had a bit of a google after I wrote the reply, this may be more help:?
snd-aloop is a module so the key is to change the id associated with it to? make it more identifiable, will still need a line for each loopback along the lines of :

Ok I did a test, I want to know the answer to this too, NOTE - I haven't run the sbitx app yet with these changes, it might not work from that point of view but answers the device naming question I think.
I tried two changes:
  • ?sudo nano /etc/modprobe.d/alsa-base.conf
  • options (efault) index=-2
    options snd-aloop index=1 id=sbitx-digi-out
    options snd_usb_audio index=5

This resulted in no change to the output from?cat /proc/asound/modules
pi@sbitx:~ $ cat /proc/asound/modules
?0 (efault)
?1 snd_aloop
?2 snd_aloop
?3 snd_aloop
?4 snd_aloop
?5 snd_usb_audio
pi@sbitx:~ $

the output from p
i@sbitx:~ $ cat /proc/asound/cards
?0 [audioinjectorpi]: audioinjector-p - audioinjector-pi-soundcard
? ? ? ? ? ? ? ? ? ? ? audioinjector-pi-soundcard
?1 [sbitxdigiout? ?]: Loopback - Loopback
? ? ? ? ? ? ? ? ? ? ? Loopback 1
?
I trimmed the rest as there was no change.
The next test was updating /etc/rc.local as I suggested as a possible option earlier:
pi@sbitx:~ $ sudo nano /etc/rc.local

? GNU nano 7.2? ? ? ? ? ? ? ? ? ? ? /etc/rc.local? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
modprobe snd-aloop enable=1,1,1,1 index=1,2,3,4 id=sbitxdigiout,sbitxdigiin,sbitxusbout,sbitxusbin

This after a reboot produces:
pi@sbitx:~ $ cat /proc/asound/cards
?0 [audioinjectorpi]: audioinjector-p - audioinjector-pi-soundcard
? ? ? ? ? ? ? ? ? ? ? audioinjector-pi-soundcard
?1 [sbitxdigiout? ?]: Loopback - Loopback
? ? ? ? ? ? ? ? ? ? ? Loopback 1
?2 [sbitxdigiin? ? ]: Loopback - Loopback
? ? ? ? ? ? ? ? ? ? ? Loopback 2
?3 [sbitxusbout? ? ]: Loopback - Loopback
? ? ? ? ? ? ? ? ? ? ? Loopback 3
?4 [sbitxusbin? ? ?]: Loopback - Loopback
? ? ? ? ? ? ? ? ? ? ? Loopback 4
?5 [II? ? ? ? ? ? ?]: USB-Audio - Jabra EVOLVE 30 II
? ? ? ? ? ? ? ? ? ? ? GN Audio A/S Jabra EVOLVE 30 II at usb-0000:01:00.0-1.4, full speed
pi@sbitx:~ $

no change to the output from?
pi@sbitx:~ $ cat /proc/asound/modules
?0 (efault)
?1 snd_aloop
?2 snd_aloop
?3 snd_aloop
?4 snd_aloop
?5 snd_usb_audio
pi@sbitx:~ $

as before. Just needs to test sbitx app now to see if it still runs with these changes :-)

Sbitx app started, I got sound, no antenna connected as I in the lounge working all this out while watching tv with the boss :-)
Built in FT8 appears to work into a dummy load anyway.
My JTDX needs work when I have a full size monitor available but this screenshot from settings shows the new device names are available now for digital software configuration:


initial signs look positive

Regards
Paul G0KAO

?
?

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