mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
alsa-mixer: Add support for HP Thunderbolt Dock
The HP Thunderbolt Dock [1] has two separate USB cards, a headset jack and an optional module which is a speakerphone. This patch adds new description for them, and mark the intended-roles as phone for the speakerphone module. [1] https://store.hp.com/us/en/pdp/hp-thunderbolt-dock-120w-g2-with-audio
This commit is contained in:
parent
69ba5a2b58
commit
05c373d939
5 changed files with 70 additions and 1 deletions
30
src/modules/alsa/mixer/profile-sets/hp-tbt-dock-120w-g2.conf
Normal file
30
src/modules/alsa/mixer/profile-sets/hp-tbt-dock-120w-g2.conf
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# 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/>.
|
||||
|
||||
; HP Thunderbolt Dock Audio Headset
|
||||
;
|
||||
; This card has one stereo input and one stereo output.
|
||||
|
||||
[General]
|
||||
auto-profiles = no
|
||||
|
||||
[Mapping analog-stereo-headset]
|
||||
device-strings = hw:%f,0,0
|
||||
channel-map = left,right
|
||||
|
||||
[Profile output:analog-stereo-headset+input:analog-stereo-headset]
|
||||
output-mappings = analog-stereo-headset
|
||||
input-mappings = analog-stereo-headset
|
||||
skip-probe = yes
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
# 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/>.
|
||||
|
||||
; HP Thunderbolt Dock Audio Module
|
||||
;
|
||||
; This card has one stereo input and one stereo output.
|
||||
|
||||
[General]
|
||||
auto-profiles = no
|
||||
|
||||
[Mapping analog-stereo-speakerphone]
|
||||
device-strings = hw:%f,0,0
|
||||
channel-map = left,right
|
||||
intended-roles = phone
|
||||
|
||||
[Profile output:analog-stereo-speakerphone+input:analog-stereo-speakerphone]
|
||||
output-mappings = analog-stereo-speakerphone
|
||||
input-mappings = analog-stereo-speakerphone
|
||||
skip-probe = yes
|
||||
Loading…
Add table
Add a link
Reference in a new issue