¿ªÔÆÌåÓý

Re: Sound card changed from Card 2 to Card 1


 

¿ªÔÆÌåÓý

Hi David,

?

Back from vacationing in Maine!

?

The link you added looks very helpful! It lead me to another:

It looks quite complete.

?

I have to read through it again now that I am back at the desk and see what I can do.

?

Below is what I had put in Direwolf.conf to help me remember. At some point I did connect an HDMI monitor.

?

# find the Fe-Pi!

?

# pi@RPiZ-DWTW:~ $ aplay -l

# **** List of PLAYBACK Hardware Devices ****

# card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]

#?? Subdevices: 4/4

#?? Subdevice #0: subdevice #0

#?? Subdevice #1: subdevice #1

#?? Subdevice #2: subdevice #2

#?? Subdevice #3: subdevice #3

# card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]

#?? Subdevices: 4/4

#?? Subdevice #0: subdevice #0

#?? Subdevice #1: subdevice #1

#?? Subdevice #2: subdevice #2

#?? Subdevice #3: subdevice #3

# card 2: Audio [Fe-Pi Audio], device 0: Fe-Pi HiFi sgtl5000-0 [Fe-Pi HiFi sgtl5000-0]

#?? Subdevices: 1/1

#?? Subdevice #0: subdevice #0

# pi@RPiZ-DWTW:~ $

?

Best regards,

Fred N7FMH

?

From: [email protected] [mailto:[email protected]] On Behalf Of David Ranch
Sent: Wednesday, September 15, 2021 11:10 PM
To: [email protected]
Subject: Re: [direwolf] Sound card changed from Card 2 to Card 1

?


Hello Fred,

I've never seen the built-in Broadcom (bcm2835) sound device NOT being device #0 but depending on your unique setup, maybe plugging in HDMI later, etc, it could happen.? Anyway, the answer you seek depends if you want to keep the onboard sound working or you want to disable it.? This URL gives you a few options:

??

--David
KI6ZHD


On 09/15/2021 06:29 PM, Fred Hillhouse wrote:

Greetings,

?

After doing an update on a Raspberry Pi , I found Direwolf could not find my soundcard (Fe-Pi). It turned out that the sound card is now Card 1 rather than Card ?2. I don¡¯t even know what card 1 was. Thankfully, there was no hair pulling or long searching to find the problem and change the direwolf.conf to reflect the new card number. However, that is less than ideal. Reserving a card number for this particular device seems practical, or, configuring Direwolf to find my device regardless of the card number. The first actually seems possible.

?

On this system, an HDMI monitor is connected and once it is removed, I suspect the card number may once again change and since Direwolf will look for card 1, it will not work. I have not verified this.

?

In my searches:

I found a reference to editing alsa-base.conf but that looks depreciated permanently.

I found a reference, from 2015, to editing alsa.conf in /usr/share/alsa and changing default.ctl.card and default.pcm.card to card 1. The question I have is how does this point to my specific sound card?

?

Am I barking up the right tree? Any pointers? Is there a better way?

?

Thank you!

?

Best regards,

Fred N7FMH

?

?

pi@RPiZ-DWLiFe:~ $ aplay -l

**** List of PLAYBACK Hardware Devices ****

card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]

? Subdevices: 8/8

? Subdevice #0: subdevice #0

? Subdevice #1: subdevice #1

? Subdevice #2: subdevice #2

? Subdevice #3: subdevice #3

? Subdevice #4: subdevice #4

? Subdevice #5: subdevice #5

? Subdevice #6: subdevice #6

? Subdevice #7: subdevice #7

card 1: Audio [Fe-Pi Audio], device 0: Fe-Pi HiFi sgtl5000-0 [Fe-Pi HiFi sgtl5000-0]

? Subdevices: 0/1

? Subdevice #0: subdevice #0

pi@RPiZ-DWLiFe:~ $

?

?


This email has been checked for viruses by Avast antivirus software.




?

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