mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
alsa-mixer: Add support for usb audio in the Dell dock TB16
There are one headset jack on the front panel of TB16, through this jack, we have one stereo headphone output (hw:%f,0,0) and one mono headset-mic input (hw:%f,0,0); and there is one speaker output jack (hw:%f,1,0) on the rear panel of TB16. The detail information of the Dell dock TB16: http://www.dell.com/support/article/sg/en/sgbsdt1/SLN301105 Signed-off-by: Hui Wang <hui.wang@canonical.com>
This commit is contained in:
parent
66885ad633
commit
60c0edd528
2 changed files with 56 additions and 0 deletions
|
|
@ -98,5 +98,6 @@ ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1021", ENV{PULSE_PROFILE_SET}="nativ
|
|||
ATTRS{idVendor}=="0763", ATTRS{idProduct}=="2012", ENV{PULSE_PROFILE_SET}="maudio-fasttrack-pro.conf"
|
||||
ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02bb", ENV{PULSE_PROFILE_SET}="kinect-audio.conf"
|
||||
ATTRS{idVendor}=="041e", ATTRS{idProduct}=="322c", ENV{PULSE_PROFILE_SET}="sb-omni-surround-5.1.conf"
|
||||
ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="4014", ENV{PULSE_PROFILE_SET}="dell-dock-tb16-usb-audio.conf"
|
||||
|
||||
LABEL="pulseaudio_end"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,55 @@
|
|||
# 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/>.
|
||||
|
||||
; Dell Dock TB16 USB audio
|
||||
;
|
||||
; This card has two stereo pairs of output, One Mono input.
|
||||
;
|
||||
; 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,0,0
|
||||
channel-map = left,right
|
||||
direction = output
|
||||
|
||||
[Mapping analog-stereo-speaker]
|
||||
description = Speaker
|
||||
device-strings = hw:%f,1,0
|
||||
channel-map = left,right
|
||||
direction = output
|
||||
|
||||
[Mapping analog-stereo-mic]
|
||||
description = Headset-Mic
|
||||
device-strings = hw:%f,0,0
|
||||
channel-map = left,right
|
||||
direction = input
|
||||
|
||||
|
||||
[Profile output:analog-stereo-speaker]
|
||||
description = Speaker
|
||||
output-mappings = analog-stereo-speaker
|
||||
priority = 60
|
||||
skip-probe = yes
|
||||
|
||||
[Profile output:analog-stereo-headphone+input:analog-stereo-mic]
|
||||
description = Headset
|
||||
output-mappings = analog-stereo-headphone
|
||||
input-mappings = analog-stereo-mic
|
||||
priority = 80
|
||||
skip-probe = yes
|
||||
Loading…
Add table
Add a link
Reference in a new issue