Skip to content

Instantly share code, notes, and snippets.

@vchuravy
Created November 15, 2020 18:19
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vchuravy/a25ea9533099224a0c4604191f6c668d to your computer and use it in GitHub Desktop.
Save vchuravy/a25ea9533099224a0c4604191f6c668d to your computer and use it in GitHub Desktop.
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
; Shure MV7
;
; See default.conf for an explanation on the directives used here.
[General]
auto-profiles = no
[Mapping analog-stereo-headphone]
description = Headphone
device-strings = hw:%f
channel-map = front-left,front-right
direction = output
[Mapping analog-input-mic]
description = Microphone
device-strings = hw:%f
channel-map = mono
direction = input
[Profile output:analog-stereo-headphone+input:analog-input-mic]
description = Microphone+Headphone
output-mappings = analog-stereo-headphone
input-mappings = analog-input-mic
skip-probe = yes
@airtonGit
Copy link

Hi, just got this mic, having trouble in linux mint (debian/ubuntu). In mixer sound mixer shure mic input and headphone output just flashes and cant use. Already found some info on the net about but no look. How do you use it? Thank you.

@douglaszaltron
Copy link

+1

@VRehnberg
Copy link

As reference for how to use this see this gist see the folowing issue alsa-project/alsa-lib#98

@douglaszaltron
Copy link

douglaszaltron commented Dec 7, 2021

Replaced PulseAudio with PipeWire

Add ppa for latest build
sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream

Update
sudo apt update

Install components
sudo apt install gstreamer1.0-pipewire pipewire-media-session libspa-0.2-bluetooth libspa-0.2-jack pipewire pipewire-audio-client-libraries

If you get unmet dependencies, you can run:
sudo apt --fix-broken install

Then re-run
sudo apt install gstreamer1.0-pipewire pipewire-media-session libspa-0.2-bluetooth libspa-0.2-jack pipewire pipewire-audio-client-libraries

Reload new services
systemctl --user daemon-reload

Disable PulseAudio service
systemctl --user --now disable pulseaudio.service pulseaudio.socket

If you update from previous version
systemctl --user mask pulseaudio
Enable Pipewire services
systemctl --user --now enable pipewire pipewire-pulse

Enable Pipewire media session
systemctl --user --now enable pipewire-media-session.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment