[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sound card ordering





On 18/08/2019 21:08, Samuel Thibault wrote:
Keith Barrett, le dim. 18 août 2019 20:30:50 +0100, a ecrit:
On 18/08/2019 18:12, Samuel Thibault wrote:
Keith Barrett, le sam. 17 août 2019 13:41:14 +0100, a ecrit:
There are two sound cards in the system but only one was detected when I
installed buster.

When the system starts, the card ordering is not reliable so on occasions
the non working asus card is card 0 hence producing no speech output.

I'm surprised: what ALSA_CARD do you have in /etc/default/espeakup?

Interesting, I have not modified /etc/default/espeakup but it does not seem
to specify a card:

ALSA_CARD=""

Oh? were you installing with speakup enabled during installation?

Yes I was so I am not sure why a default card was not written to /etc/default/espeakup unless it was because the installer only detected one of the cards?


Is this known and how can I force the onboard card to be always card 0?

Normally the installer uses named identifiers instead of numbered
identifiers: in /proc/asounc/cards you can find e.g.
Here is /proc/asound/cards

  0 [MID            ]: HDA-Intel - HDA Intel MID
                       HDA Intel MID at 0xfbff8000 irq 31
  1 [DGX            ]: CMI8786 - Xonar DGX
                       C-Media Oxygen HD Audio at 0xce00, irq 19
I am not sure that this order is retained when it boots in the non-working
state.

That's where specifying either MID or DGX instead of 0/1 allows to avoid
relying on the ordering.
OK, thank you, so do I just need to specify in /etc/default/espeakup or should it be somewhere else?


Samuel




Reply to: