运行 Ubuntu 16.04 的 Dell XPS all-in-one 2710 中声音不起作用

运行 Ubuntu 16.04 的 Dell XPS all-in-one 2710 中声音不起作用

规格

PC:Dell XPS 一体机 2710
操作系统:Ubuntu 16.04

在我安装 QasMixer 或 GNOME ALSA Mixer 之前,我的扬声器的声音默认不起作用。

当我打开 gnome-alsamixer 时,我发现扬声器没有静音,耳机也静音了。如果我取消耳机静音,扬声器就可以工作,但每次启动电脑时我都必须再次这样做。

lspci -nnk | grep -A Audio以下是andaplay -l的输出pactl list sinks

linux@linux-XPS-One-2710:~$ lspci -nnk | grep -A Audio
grep: Audio: invalid context length argument  

linux@linux-XPS-One-2710:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3260 Analog [ALC3260 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

linux@linux-XPS-One-2710:~$ pactl list sinks
Sink #0
    State: RUNNING
    Name: alsa_output.pci-0000_00_1b.0.analog-stereo
    Description: Built-in Audio Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 6
    Mute: no
    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 63069 /  96% / -1.00 dB
    Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
    Latency: 50769 usec, configured 56000 usec
    Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    Properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "ALC3260 Analog"
        alsa.id = "ALC3260 Analog"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "HDA Intel PCH"
        alsa.long_card_name = "HDA Intel PCH at 0xf7c10000 irq 36"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:00:1b.0"
        sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.id = "1e20"
        device.product.name = "7 Series/C210 Series Chipset Family High Definition Audio Controller"
        device.form_factor = "internal"
        device.string = "front:0"
        device.buffering.buffer_size = "65536"
        device.buffering.fragment_size = "32768"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "Built-in Audio Analog Stereo"
        alsa.mixer_name = "Realtek ALC3260"
        alsa.components = "HDA:10ec0275,1028054b,00100008 HDA:80862806,80860101,00100000"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    Ports:
        analog-output-speaker: Speakers (priority: 10000)
        analog-output-headphones: Headphones (priority: 9000, not available)
    Active Port: analog-output-speaker
    Formats:
        pcm

答案1

我通过安装“hda-jack-retask”解决了这个问题

打开终端并运行此命令:

sudo apt-get install alsa-tools-gui

然后:

hdajackretask 

在“jack retasking”的 GUI 中,我发现“绿色耳机”设置为“耳机”。

我检查了覆盖并选择内置扬声器

然后我按下了按钮现在申请然后安装引导覆盖然后重新启动。

最后,问题解决了,我很高兴。

感谢所有帮助我的人。

相关内容