Re: Sound loses my analog speakers after suspend, and power settings don't affect monitor poweroff

2023-08-12 Thread Carl Fink

On 8/12/23 01:05, Marco wrote:

sudo dmesg | grep snd


So I did that, and whether or not my analog audio was recognized, the 
output was:



[    4.199233] snd_pci_acp6x :66:00.5: enabling device ( -> 0002)
[    4.241643] snd_hda_intel :66:00.1: enabling device ( -> 0002)
[    4.241700] snd_hda_intel :66:00.1: Handle vga_switcheroo audio 
client

[    4.241952] snd_hda_intel :66:00.6: enabling device ( -> 0002)
[    4.291237] snd_hda_intel :66:00.1: bound :66:00.0 (ops 
amdgpu_dm_audio_component_bind_ops [amdgpu])
[    4.323237] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC256: 
line_outs=1 (0x21/0x0/0x0/0x0/0x0) type:hp
[    4.323241] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 
(0x0/0x0/0x0/0x0/0x0)
[    4.323243] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=0 
(0x0/0x0/0x0/0x0/0x0)

[    4.323244] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    4.323245] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    4.323247] snd_hda_codec_realtek hdaudioC1D0:  Mic=0x19


-Carl Fink



Re: Sound loses my analog speakers after suspend, and power settings don't affect monitor poweroff

2023-08-11 Thread Marco
Now run 
sudo dmesg | grep snd

to see if any error in the kernel module occurs.



Re: Sound loses my analog speakers after suspend, and power settings don't affect monitor poweroff

2023-08-11 Thread Carl Fink

On 8/10/23 02:54, Marco wrote:

Am 09.08.2023 schrieb Carl Fink :


I suspended my system from the System menu Monday night. When I woke
it up Tuesday morning, sound was coming from the HDMI monitor. The
Sound Settings didn't know about any other sound system.

This sounds like a driver problem with the soundcard. HDMI is realized
with the graphics card, analog with a onboard sound card, mostly
integrated into the chipset.

Run lspci -nnk
when it works and when it doesn't work.


Thanks. I did just that, and I attach the output of both commands here.

I switched from Mate to xfce4, which didn't affect anything from my 
previous

message. The sound subsystem still forgets the external speakers exist. No
matter what power settings I use, they don't shut off the monitors. I am
thinking this is likely to be related to the power management system, rather
than the sound support built into the Ryzen 6800.

-Carl Fink

00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
PCIe Root Complex [1022:14b5] (rev 01)
Subsystem: ASUSTeK Computer Inc. Family 17h-19h PCIe Root Complex 
[1043:8870]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h IOMMU 
[1022:14b6]
Subsystem: ASUSTeK Computer Inc. Family 17h-19h IOMMU [1043:8870]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
PCIe GPP Bridge [1022:14ba]
Subsystem: ASUSTeK Computer Inc. Family 17h-19h PCIe GPP Bridge 
[1043:8870]
Kernel driver in use: pcieport
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
PCIe Dummy Host Bridge [1022:14b7] (rev 01)
DeviceName:  Onboard IGD
00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
PCIe GPP Bridge [1022:14ba]
Subsystem: ASUSTeK Computer Inc. Family 17h-19h PCIe GPP Bridge 
[1043:8870]
Kernel driver in use: pcieport
00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
PCIe GPP Bridge [1022:14ba]
Subsystem: ASUSTeK Computer Inc. Family 17h-19h PCIe GPP Bridge 
[1043:8870]
Kernel driver in use: pcieport
00:02.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
PCIe GPP Bridge [1022:14ba]
Subsystem: ASUSTeK Computer Inc. Family 17h-19h PCIe GPP Bridge 
[1043:8870]
Kernel driver in use: pcieport
00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
PCIe GPP Bridge [1022:14ba]
Subsystem: ASUSTeK Computer Inc. Family 17h-19h PCIe GPP Bridge 
[1043:8870]
Kernel driver in use: pcieport
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 19h 
USB4/Thunderbolt PCIe tunnel [1022:14cd]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 19h 
USB4/Thunderbolt PCIe tunnel [1022:1453]
Kernel driver in use: pcieport
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:04.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 19h 
USB4/Thunderbolt PCIe tunnel [1022:14cd]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 19h 
USB4/Thunderbolt PCIe tunnel [1022:1453]
Kernel driver in use: pcieport
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
PCIe Dummy Host Bridge [1022:14b7] (rev 01)
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
Internal PCIe GPP Bridge [1022:14b9] (rev 10)
Subsystem: Device [8870:1043]
Kernel driver in use: pcieport
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h-19h 
Internal PCIe GPP Bridge [1022:14b9] (rev 10)
Subsystem: Device [8870:1043]
Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller 
[1022:790b] (rev 71)
Subsystem: ASUSTeK Computer Inc. FCH SMBus Controller [1043:8870]
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge 
[1022:790e] (rev 51)
Subsystem: ASUSTeK Computer Inc. FCH LPC Bridge [1043:8870]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data 
Fabric: Device 18h; Function 0 [1022:1679]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data 
Fabric: Device 18h; Function 1 [1022:167a]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data 
Fabric: Device 18h; Function 2 [1022:167b]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Rembrandt Data 
Fabric: Device 18h; Function 3 [1022:167c]
Kernel driver in use: k10temp
Kernel modules: k1

Re: Sound loses my analog speakers after suspend, and power settings don't affect monitor poweroff

2023-08-09 Thread Marco
Am 09.08.2023 schrieb Carl Fink :

> I suspended my system from the System menu Monday night. When I woke
> it up Tuesday morning, sound was coming from the HDMI monitor. The
> Sound Settings didn't know about any other sound system.

This sounds like a driver problem with the soundcard. HDMI is realized
with the graphics card, analog with a onboard sound card, mostly
integrated into the chipset.

Run lspci -nnk
when it works and when it doesn't work.



Sound loses my analog speakers after suspend, and power settings don't affect monitor poweroff

2023-08-09 Thread Carl Fink

Hi,

I recently installed Debian Bookworm using the Mate environment.

I noticed that no matter what power settings I choose, the monitors 
never power off. The screensaver can lock the screen, but it then just 
stays on for many hours.


I have external analog speakers that I use, and also terrible, tinny 
speakers built into my HDMI monitor that i never use because they suck.


I suspended my system from the System menu Monday night. When I woke it 
up Tuesday morning, sound was coming from the HDMI monitor. The Sound 
Settings didn't know about any other sound system. I tried 
killing/restarting pulseaudio, but of course, Mate's seemingly-similar 
audio system was installed instead. I then uninstalled that and 
installed pulseaudio. This did not help. I had to reboot to get audio 
back through the speakers. This sort of defeats the point of suspending.


I suspended before leaving for the office today. When I came back, the 
sound system still didn't admit the existence of the analog speakers. I 
had to reboot again. Now "Analog Stereo Duplex" is there again.


Yes, I did try unplugging and replugging the speaker wire.

Please let me know what other information would help debug this problem. 
Also, should it become necessary, what packages would I report these 
bugs in? Perhaps, mate-power-manager and pulseaudio?


This is an ASUS PN53 small form-factor unit, if that helps any.

Thank you.

-Carl Fink