Am Montag, 30. August 2021, 13:30:03 CEST schrieb Michael:
> On Monday, 30 August 2021 11:30:38 BST Alexander Puchmayr wrote:
> > Hi there,
> > 
> > I have a weird problem on my Lenovo P14s laptop. Before I applied a world
> > upgrade (based on August 22 state portage), the internal speaker of the
> > laptop worked fine, but now its all silent, although all mixer levels are
> > 100% and no channel is muted.
> 
> 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.

[snip...]

> $ aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: HDMI [HDA ATI HDMI], device 3: Generic Digital [Generic Digital]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: Generic [HD-Audio Generic], device 0: CX20757 Analog [CX20757
> Analog] Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 

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

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.

> 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







Reply via email to