Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 11397  / 3 Years ago, sun, november 14, 2021, 11:19:50

In Input Devices tab port is set to Line In, I change it to Front Microphone, but it always returns back to Line In after restart.



How can I change it permanently?



I guess the reason is that when system boots, mic is not plugged in front, so it switch it to back by default.




  • Removing the .pulse directory from my home directory didn't work



Some additional info:



$ pactl list sources https://gist.github.com/3914307



$ cat /etc/pulse/default.pa https://gist.github.com/3914316



$ arecord -L https://gist.github.com/3915130



$ pactl list sources https://gist.github.com/e6fa252686b4e4529032


More From » sound

 Answers
5

After reviewing your pastebins and consulting with the folks in #pulseaudio here is what we will do. Open a terminal and type pactl list sources to verify that the Line In is the active port.



Source #1
State: SUSPENDED
Name: alsa_input.pci-0000_00_07.0.analog-stereo
Description: Built-in Audio Analog Stereo

--SNIP--

Ports:
analog-input-microphone-front: Front Microphone (priority: 8500, not available)
analog-input-microphone-rear: Rear Microphone (priority: 8200, not available)
analog-input-linein: Line In (priority: 8100, available)
Active Port: analog-input-linein
Formats:
pcm


Once that is verified, we are going to check to make sure we are able to set the port with the pacmd command. pacmd "set-source-port 1 analog-input-microphone-front"
Run pactl list sources again to verify that the Front Panel is now active.



Source #1
State: SUSPENDED
Name: alsa_input.pci-0000_00_07.0.analog-stereo

--SNIP--

Ports:
analog-input-microphone-front: Front Microphone (priority: 8500, not available)
analog-input-microphone-rear: Rear Microphone (priority: 8200, not available)
analog-input-linein: Line In (priority: 8100, available)
Active Port: analog-input-microphone-front
Formats:
pcm


If all was successful we can now put that at the end of your /etc/pulse/default.pa file as such:



set-source-port 1 analog-input-microphone-front


As a matter of interest though, you should be aware that PulseAudio is supposed to manage this for you. It should be switching to the Front Panel mic when it is inserted automatically (provided the hardware supports device detection).


[#37815] Tuesday, November 16, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
barted

Total Points: 424
Total Questions: 103
Total Answers: 101

Location: Djibouti
Member since Sun, Feb 27, 2022
2 Years ago
barted questions
;