How do I change the order of sound cards?
I did something stupid to my system and the sound system got damaged.
Hopefully, I still can fix it. Sound works, but there are several glitches that probably result from a shuffling in the order. Look at this: Code:
$ aplay -l I don't think that Loopback thingie used to be there. Or at least ALC887-VD Analog used to be the card 0. Is there some way I can restore the old law and order? |
This has a couple of solutions (under Troubleshooting)
http://wiki.debian.org/ALSA |
I have tried the first one and it didn't work.
The second one is complicated and I don't understand it. I've had many .asoundrc files over the last few years, sometimes copied from elsewhere sometimes edited by some application. I don't understand the contents of that file. |
Not sure why you have the loopback device, but AFAIU it is a virtual device provided by 'snd-aloop'
Code:
lsmod|grep snd Code:
cat /etc/modprobe.d/sound |
You can force index-ing with various tricks in /etc/modprobe.d/ with the .conf files. But you don't need to. With pulseaudio you select your soundcard with pavucontrol. In alsa you can make a card other than 0 be the default. And there's OSS emulation layers for both of those to do the same for ancient apps that require /dev/dsp.
FILE: .asoundrc Code:
defaults.ctl.card 1 $ speaker-test -c 2 -l 1 -D hw:1 |
Yes, assuming PulseAudio is in use, selecting the sound card with pavucontrol is the way to go, but if loopback is not required, it should be removed.
|
I need snd-aloop because it's used by Cadence to provide a bridge between ALSA and JACK. It's a bedroom music producer thing. It all worked fine. The problem began when I did something stupid (deleting /proc entries willy-nilly) and Loopback became a problem.
|
Quote:
Are you also using PulseAudio? |
No, Pulseaudio has been banned from my computer for years.
|
Just checking as it will influence the advice given. I'm not familiar with Cadence, but can you not configure it to point at the desired input/output devices?
http://kxstudio.linuxaudio.org/Docum..._configuration |
You haven't posted the requested audio configuration file from /etc/modprobe.d/ directory yet (assuming it exists).
|
Yes, I can and I have sound, but Audacious kept popping up a mysterious error message for days (which has disappeared just as mysteriously) and I can no longer control volume with script+keys+amixer. And the patchbay is now polluted with two dozen MIDI I/O ports that I'll never use and weren't there until I had the incident. I have MANY sound apps, don't which ones may throw an error, I haven't checked them all.
|
Quote:
|
Quote:
|
A /etc/modprobe.d/alsa_custom.conf that I used long long ago.
FILE: /etc/modprobe.d/alsa_custom.conf Code:
alias char-major-116 snd # modinfo snd-whatever-applies There's and ID option that you can use on the options part that sets an index in the above. You can add id= and whatever you see in /proc/asound/card#/id if you have more than one card handled by the same driver. So "options snd-hda-intel index=0,id=SB" in the case of my current amd APU. But you shouldn't need that type of stuff these days. The .asoundrc lets you route things to non-0 cards. And few things are restricted to the ancient OSS style /dev/dsp sound setups these days. As long as your distro doesn't date back that far. But be aware that index numbers can shift between boots, if they are not hardcoded like the above. |
All times are GMT -5. The time now is 03:28 PM. |