On Gentoo, with OpenRC, how do you configure the default board/device
for ALSA?
I've asked Google, and all the links it comes up with are for sites
that are broken because of PHP or database failures (e.g. wiki.gentoo.org
and forums.gentoo.org).
The usual fallback is wiki.archlinux.org, but its instructions to
place the following in /etc/asound.conf or ~/.asoundrc doesn't work:
defaults.pcm.card 1
defaults.ctl.card 1
The usual fallback is wiki.archlinux.org, but its instructions to
place the following in /etc/asound.conf or ~/.asoundrc doesn't work:
defaults.pcm.card 1
defaults.ctl.card 1
wiki.gentoo.org is back, and it says to use something like this in /etc/asound.conf
or ~/asoundrc:
defaults.pcm.!card 1
defaults.pcm.!device 0
defaults.ctl.!card 1
That also does nothing. Using card names as shown at https://wiki.gentoo.org/wiki/ALSA#Files also does nothing.
Yes, I'm restarting alsasound after changing /etc/asound.conf
On 2022-05-01, Grant Edwards <grant.b.edwards@gmail.com> wrote:
The usual fallback is wiki.archlinux.org, but its instructions to
place the following in /etc/asound.conf or ~/.asoundrc doesn't work:
defaults.pcm.card 1
defaults.ctl.card 1
wiki.gentoo.org is back, and it says to use something like this in /etc/asound.conf
or ~/asoundrc:
defaults.pcm.!card 1
defaults.pcm.!device 0
defaults.ctl.!card 1
That also does nothing. Using card names as shown at https://wiki.gentoo.org/wiki/ALSA#Files also does nothing.
Yes, I'm restarting alsasound after changing /etc/asound.conf
Apparently, restarting alsasound after changing /etc/asound.conf isn't enough. A reboot was required.
I never saw that mentioned in any of the half-dozen sources I read
about alsa configuration, so I presume it's a personal problem?
These configurations are in /etc/modprobe.d/alsa.conf as to which is
the default sound card and its parameters.
The name might not be alsa.conf, but you would have to unload the
module and reload, that is why you had to do a reboot.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 302 |
Nodes: | 16 (2 / 14) |
Uptime: | 98:39:47 |
Calls: | 6,767 |
Calls today: | 5 |
Files: | 12,295 |
Messages: | 5,376,388 |
Posted today: | 1 |