No sound after trying to configure Mic...

I have tried to configure my microfone from the sound options in YaST but the sound is not working anymore? any idea how can I reset the sound card or something…

Here is the Alsa information: http://www.alsa-project.org/db/?f=68c410598f4de94c2f2fdec911507572ed47ab41

OK, I note LEAP-42.1 with 4.1.15-8-default kernel, where the hardware is using one instance of the snd_hda_intel alsa module. Pulse audio is installed and runing.

alsa detects two sound devices, and ATI (amd likely for HDMI associated with onboard graphics (?)) and a Nvidia HD audio controller. Hardware audio codec is an ALC662.

From the script:


ARECORD

**** List of CAPTURE Hardware Devices ****
**card 0**: SB [HDA ATI SB], **device 0**: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
**card 0**: SB [HDA ATI SB], **device 2**: ALC662 rev1 Alt Analog [ALC662 rev1 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

where record device is either hw**:**0,0, or hw:0,2.

Mixer has this:


Simple mixer control '**Master**',0
  Mono: Playback 31 **48%**] -33.00dB] **[off]**
...
Simple mixer control '**Front Mic'**,0
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback 0 **0%**] -34.50dB] **on**]
  Front Right: Playback 0 **0%**] -34.50dB] **on**]
...
Simple mixer control '**Front Mic Boost**',0
  Capabilities: volume
  Front Left: 0 **0%**] [0.00dB]
  Front Right: 0 **0%**] [0.00dB]
...
Simple mixer control '**Capture',0**
  Capture channels: Front Left - Front Right
  Front Left: Capture 26 **84%**] [25.50dB] **on**]
  Front Right: Capture 26 **84%**] [25.50dB] **on**]
Simple mixer control '**Capture',1**
  Capture channels: Front Left - Front Right
  Front Left: Capture 0 **0%**] -13.50dB] **off**]
  Front Right: Capture 0 **0%**] -13.50dB] **off**]

Your PC has Master volume muted. Why ? That should make it very difficult to assess if recording is working.

Your PC has the playback of the Front Mic at 0%. Why ? That should make it very difficult to assess if recording is working.

Your PC has the Front Mic Boost at 0% ? That’s not a good setting IMHO. It should be around 66% in order to obtain a decent mic capture.

Your PC has Capture-1 at 0% capture and the Mic off (albeit Capture-0 is set to capture).

Having two record devices (hw:0,0 and hw:0,2) and a Capture-0 and a Capture-1 suggests there are two record inputs on your PC. One may be a front mic and one may be a back (?) mic. Which are you using ?

In short, you need to better tune the mixer setting.

Then, after that is complete, you need to tune pulse audio to properly record given alsa settings are fixed. To do that install “pulse audio volume control” application (known as “pavucontrol”) and you can tune the audio capture on an application basis. ie each application can have different record settings, controlled by pavucontrol.

Good luck !
.

Thank you for the reply.

The HDMI is from my nVidia card, I don’t have onboard video on my Motherboard.

Yes the audio works when I configure it with pavucontrol but when I mute the sound for example from my keyboard shortcut or from the sound icon the in the bar I need to configure again pavucontrol I think I will also need to configure it when I restart my PC

So audio works after configuring the mic, if you go back to pavucontrol. Good. That was not clear from 1st post.

I can’t help wrt side effects of keyboard shortcuts nor any sound icon in the bar ?? (what bar ?? ) . But if pavucontrol works then there is no real problem from what I can see.

wrt being forced to configure when you start your PC, I see that a different issue. ie if volume savings are not being saved after a reboot, then to quote from an alsa developer, if this happens after reboot, it’s likely the wrongly saved mixer state. There are a few layers saving/restoring the mixer state, alsactl invoked via udev, PulseAudio, and kmix (assuming kde). Its possible the latest plasma/kde-5 has another layer ? (I’m not certain).

A possible fix would be to clean up the config. Go to runlevel 3 once, login as root, kill all pending Pulse Audio processes (if any). Then adjust via “alsamixer -c0”, and run “alsactl store”. This resets the mixer restored via alsactl.

For Pulse Audio, remove ~/.pulse and ~/.config/pulse directories (if they exist).
.