No sound

LSHW gives me this output:
description: Audio device
product: FCH Azalia Controller
vendor: Advanced Micro Devices, Inc. [AMD]
physical id: 14.2
bus info: pci@0000:00:14.2
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: irq:16 memory:f0340000-f0343fff

FCH Azalia is listed as my primary output. BeaverCreek HDMI Audio is listed as my secondary output. Alsa is my audio. In YAST it shows the correct card but I have no sound after trying many different things and restarting the sound server each time. No sound. Anyone have any ideas about how to fix it?

description: Notebook
product: HP Pavilion dv6 Notebook PC (LK237AV)
vendor: Hewlett-Packard
capabilities: smbios-2.7 dmi-2.7 smp vsyscall32
configuration: boot=normal chassis=notebook family=103C_5335KV G=N L=CON B=HP S=PAV sku=LK237AV

Welcome to openSUSE Forums cm0ss. You might find installing the PulseAudio volume control helpful here. That can be done from a terminal window using

zypper in pavucontrol

It is a graphical utility that helps to configure audio inputs, outputs, and levels…

PulseAudio Volume Control (pavucontrol) is a simple GTK based volume control tool (“mixer”) for the PulseAudio sound server. In contrast to classic mixer tools this one allows you to control both the volume of hardware devices and of each playback stream separately.

This troubleshooting guide may also be helpful to you
https://en.opensuse.org/SDB:Audio_troubleshooting

I am running xfce. I tried all you suggested and none worked. I have read some other posts about sound not working in xfce in LEAP 42.2. Seems like it may be a bug with xfce. I may try MATE. If that don’t work guess I’ll give up on SuSE for a while.

Can you give us a better look at your PC’s audio configuration?

You can do this by running in an xterm as a regular user the diagnostic script:


/usr/sbin/alsa-info.sh

Select the ‘share/upload’ option when prompted. Let the script run to completion. The script at the end will give you / tell you the URL where the diagnostic information was uploaded to the internet (alsa site). Please post that URL here.

Looking at that may help us better assess if there is something wrong with your PC’s openSUSE audio configuration.
.

The troubleshooting guide describes how to generate a comprehensive config output (as oldcpu described). The alsa-info.sh script will upload the output to a server and provide a URL which can be shared here for others to review and advise further.

Have you tried yast - sound - other (bottom right) - pulse audio config. You might get asked to enable, if no sound enable it. For some reason the test sound offered there doesn’t always produce any sound.

I would also set the card as default so that yast’s list shows it as card 0 before doing anything else.

Another possible option but I haven’t had to do this for a long time is to delete and then add and use auto config. I’m not sure if that option is still available. It can help especially if there has been a user problem and may do a better job than the install did.

Also last but not least the master volume controls can be set via the other option in yast-sound. 'cause if those have got set to zerp some how there wont be any sound.

John

Here is the link:

http://www.alsa-project.org/db/?f=935e8cc364531820a6a89b469ec6254c6544a936

I’ve only had a brief look but the master mixer setting jumped out at me…

Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
   Playback channels: Mono
   Limits: Playback 0 - 127
   Mono: Playback 0 [0%] -99999.99dB] [off]

Indeed that will block the OPs sound.

Further note this from Aplay:


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: 92HD81B1X5 Analog [92HD81B1X5 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Card-0 is HDMI. Card-1 is Analog.

By default sound from an application will go to card-0, where in this case the HDMI sound device is assigned to card-0. So the OP after fixing the master sound also needs to re-assign HDMI to card-1 and re-assign analog sound to card-0, … or alternatively use an application such as ‘pavucontrol’ to redirect sound. Note both HDMI and analog sound use different instances of the same “snd_hda_intel” sound module, and hence YaST will not work for permanently redirecting the sound.

I can give code to put in a configuration file to have sound card 0 as analog sound device if the OP does not know how to do such.
.

I’m a bit rusty … but anyway … for the OP, wrt the Master sound being muted, with this currently card-1, it can be forced to be unmuted with the ‘amixer’ command in an xterm as a regular user:


amixer -c 1 -- set 'Master' on 60%

I may have the syntax wrong … possibly it should be:


amixer -c 1 -- sset 'Master' on 60%

Now the above only works as long as analog is card-1, and as noted audio by default goes to card-0. So after setting the above, you likely need to do what I note below to swap card-0 and card-1.

From the script I note:


00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series]
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)

and also


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:01.1 0403: 1002:1714
    Subsystem: 103c:358b
--
00:14.2 0403: 1022:780d (rev 01)
    Subsystem: 103c:358b

The above is very useful, as it gives us sufficient information to deduce the ID the PCI vendor/device/subystem ID for both the HDMI and the analog devices. We can then configure a setup file so to assign the analog sound to card-0 and the HDMI sound to card-1.

So either as the first couple lines in the start of the /etc/modprobe.d/50-sound.conf file add the following, (or if the file does not exist create the file with the following content):


options snd_hda_intel index=0 vid=1022 pid=780d
options snd_hda_intel index=1 vid=1002 pid=1714

then with the /etc/modprobe.d/50-sound.conf file saved (you will need to use root permissions to edit/create the file) save the settings and test. Do NOT (I repeat do NOT) run YaST sound after creating this file, as YaST will wipe out those settings.

IF after doing the above edit, swaping the analog sound and HDMI sound, if the Master volume is muted, then with the analog sound as card-0, then the unmute command will be something like the following in an xterm as a regular user:


amixer -c 0 -- set 'Master' on, 60

again - be careful with the syntax

Good luck.

I should have typed " … save the settings and reboot and test.".