On Monday, 30 August 2021 21:03:02 BST Alexander Puchmayr wrote: > Am Montag, 30. August 2021, 13:30:03 CEST schrieb Michael:
> > There was a recent move to pipewire which could have jumbled audio devices > > around for you - but I am not familiar with how pipewire works, or why it > > would have caused this problem. > > > > https://wiki.gentoo.org/wiki/PipeWire > > I did not install pipewire, so we can exclude this. Cool, this makes it simpler, at least for me. :-) > Here is output of aplay -l: > **** List of PLAYBACK Hardware Devices **** > card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] > Subdevices: 0/1 > Subdevice #0: subdevice #0 > card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1] > Subdevices: 0/1 > Subdevice #0: subdevice #0 > card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2] > Subdevices: 0/1 > Subdevice #0: subdevice #0 > card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 > Analog] Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 3: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio] > Subdevices: 0/1 > Subdevice #0: subdevice #0 OK, you need to set card 1, device 0 as default. > I added an old USB headset for testing, and *this* card (card 3) is shown in > pavcontrol and kde-plasma audio settings, along with the three sub-devices > of card 0; however, card 1 is not shown. In alsamixer and aplay I can see > the device as "Generic_1", and -- after finding out the pcm name of it via > aplay -L -- I could play some wav file with aplay on it: > > aplay -D front:CARD=Generic_1,DEV=0 some_wav_file.wav > > It seems to be a pulseaudio problem, which seems to arbitrarily ignoring > Generic_1 card. Hmm ... not on PC with pa at the moment to compare notes. The USB device will be initialised by udev, but Generic_1 will require a different approach. Have you looked under your kmix configuration, the "Volume Control" tab? If it is listed in there, you may just need to tick it in order to enable it. Also check under the configuration setting "Select Master Channel". > > Alternatively, take a look at this method of controlling the order in > > which > > audio modules are loaded: > > https://wiki.gentoo.org/wiki/ALSA#Laptops_with_HDMI_audio_output > > Thanks for the link, brought me to inspect /etc/modprobe.d/alsa.conf. > Corrected the number of sound cards there, but did not help :-( > I remember to have edited this file about 10 years ago, not sure if those > settings are still relevant. > > Cheers, Alex If the alsa drivers are not compiled as modules, the above file would not have any effect. Anyway, let's try this in /etc/asound.conf: defaults.pcm.card 1 defaults.pcm.device 0 defaults.ctl.card 1 On a reboot your Generic_1 analogue card should be available and recognised as the default audio device. You may need to unmute it, via pactl or kmix.
signature.asc
Description: This is a digitally signed message part.