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

Re: sound card ordering





On 23/08/2019 17:45, Keith Barrett wrote:


On 23/08/2019 17:13, Didier Spaier wrote:
Helo,

On 23/08/2019 17:35, Keith Barrett wrote:


On 23/08/2019 00:08, Didier Spaier wrote:
Hello,

Just to be sure, please attach /etc/modprobe.d/soundcards.conf to your next post

OK, here it is:

options <intel_hda> index=0
options <snd_oxygen> index=1

It should be:

options snd_hda_intel index=0
options snd_oxygen index=1

Thank you, I have made the change but still the order is random.

Should I add the lines to /etc/modprobe.d/local.conf which already exists?

I know I might be going off track here but, it seems that the file /etc/modprobe.d/local.conf is not doing anything either.
That file contains the line
options speakup synth=soft
and was created by the debian installer.

However, commenting the line out, and speakup still starts so the soft synth module must be being loaded from somewhere else.

I now have the second sound card working so by plugging the speakers in to the other card, I can still get speech but it would be nice to have this working properly.





Only other thing I can think of is whether the /etc/modprobe.d directory is being overridden by some files in another place.

I do appreciate your taking the trouble to help with this, thank you again!


Best regards,

Didier

And type as root:
chmod 644 /etc/modprobe.d/soundcards.conf
although it has probably these permissions already.tried that but no change.

One more thought, can there be more than one .conf file in /etc/modprobe.d as I have one called local.conf as well which loads the speakup_soft module?







Best,

Didier

On 22/08/2019 23:05, Keith Barrett wrote:


On 21/08/2019 19:10, Didier Spaier wrote:
Hello,

replying in line (this also answers your more recent private email):

On 20/08/2019 23:23, Keith Barrett wrote:
So I have now specified MID in /etc/default/espeakup and that does cause espeakup to start with speech each time the system boots. However, the card ordering is still very random which means that although espeakup is always working, if the cards load so that MID is not 0, I get no other system sounds and orca does not work in the gui.

So, I suppose what I should be trying to achieve is to cause the sound cards to retain their correct numbering so that all sound works following a reboot.

To do this, type:
cat /proc/asound/modules
0 snd_oxygen
1 snd_hda_intel


You will probably get two lines in the output (one for each card), with the card number on the left an the associated kernel module name on the
right of each line.

Just create a file as root a file /etc/modprobe.d/soundcards.conf with
two lines:

options <first module name> index=0
options <second module name> index=1

replacing <first module name> by the name of the module for the card you
want to be loaded first and <second module name> by the other card's
module name, both spelled exactly as in the output of:
cat /proc/asound/modules.

This way, the cards' order will stay the same across reboots.
Unfortunately, this has not worked, I have created /etc/modprobe.d/soundcards.conf but there has been no change.

The only thing I can think of it whether I may need to change the permissions of soundcards.conf?
Thank you for your help, it is appreciated.


Best,

Didier

PS the name of the file in /etc/modprobe.d doesn't matter, but it
has to end in .conf












Reply to: