LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-03-2021, 02:54 PM   #1
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204

Rep: Reputation: 44
14.2 Lost audio input in pulse


I'm going crazy with this one. For some unknown reason I've lost my sound card input on pulse. However the input works in Audacity if I select the any of these devices:

HDA Intel PCH: ALC892 Analog (hw:0,0): Front Mic:0
sysdefault: Front Mic:0

(but not pulse:Front Mic:0 or default:Front Mic:0)

pavucontrol shows no hardware input device

relevant dmesg:
Code:
snd_hda_intel 0000:01:00.1: Disabling MSI
snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC892: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
snd_hda_codec_realtek hdaudioC0D0:    inputs:
snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a
input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input10
input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input11
input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1f.3/sound/card0/input12
input: HDA Intel PCH Line Out as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
relevant lspci:
Code:
00:1f.3 Audio device: Intel Corporation Device a348 (rev 10)
alsamixer shows the input mic is not muted

So I believe the issue is in pulse. Any hints on how I can get pulse to recognize this hardware again? (I have no idea how it got removed, this worked well since I installed slackware 14.2 on this machine a year ago and I haven't done any changes in configuration).
 
Old 05-03-2021, 06:02 PM   #2
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,780

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
First I'd run "alsamixer" as root (for global effect) and follow the menu (probably starting with F6) to see if the mic is disabled there. Oulse doesn't speak directly to hardware. It uses ALSA. If it is disabled as well as unmuted in alsamixer enable it (should show a green "M" toggled by Spacebar)) and after "ESC" run "alsactl store". If all seems OK in alsamixer but the mic still doesn't show up (unlikely) you may choose to specify mic parameters in "~/.asoundrc" to control it specifically. This is also where one can control such things as sampling rate if you want top quality. The ALSA asoundrc site is very useful and has examples for most audio chipsets.

I'm not certain buty Audacity's Mic button may do exactly that - toggle the ALSA item.

Last edited by enorbet; 05-03-2021 at 06:06 PM.
 
Old 05-03-2021, 09:50 PM   #3
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204

Original Poster
Rep: Reputation: 44
Quote:
Originally Posted by enorbet View Post
First I'd run "alsamixer" as root (for global effect) and follow the menu (probably starting with F6) to see if the mic is disabled there. Oulse doesn't speak directly to hardware. It uses ALSA. If it is disabled as well as unmuted in alsamixer enable it (should show a green "M" toggled by Spacebar)) and after "ESC" run "alsactl store". If all seems OK in alsamixer but the mic still doesn't show up (unlikely) you may choose to specify mic parameters in "~/.asoundrc" to control it specifically. This is also where one can control such things as sampling rate if you want top quality. The ALSA asoundrc site is very useful and has examples for most audio chipsets.

I'm not certain buty Audacity's Mic button may do exactly that - toggle the ALSA item.
I did say in my post that alsamixer showed that the mic was enabled...

I will try messing with .asoundrc, but I am convinced that the problem is in pulse, not in ALSA, as seen from Audacity (the ALSA devices work, the pulse ones don't).

thanks
 
Old 05-03-2021, 10:33 PM   #4
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 72
Code:
rm -rf ~/.config/pulse && rm ~/.config/pavucontrol.ini
Then reboot you have a corrupted control file.
enjoy.
 
1 members found this post helpful.
Old 05-04-2021, 06:55 AM   #5
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204

Original Poster
Rep: Reputation: 44
Quote:
Originally Posted by lovemeslk View Post
Code:
rm -rf ~/.config/pulse && rm ~/.config/pavucontrol.ini
Then reboot you have a corrupted control file.
enjoy.
Bingo! This fixed it. Thanks a lot!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio output to File - Pulse Audio pr0xibus Linux - Software 3 08-26-2019 06:36 AM
Pulse Audio--just lost sound dmcgarrett@optonline.net Linux - Software 6 08-24-2018 04:17 PM
ALSA/Pulse - remap input to output big_bum Linux - Laptop and Netbook 0 07-19-2012 07:13 AM
Pulse counter or frequency of incoming pulse train jayhorizon Programming 15 10-29-2010 04:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration