如何配置 HP Compaq Elite 8300 CMT 上的华硕 Xonar DS 以保留 Ubuntu 18.04 LTS 中的默认声卡?

如何配置 HP Compaq Elite 8300 CMT 上的华硕 Xonar DS 以保留 Ubuntu 18.04 LTS 中的默认声卡?

我已经安装了一个华硕 Xonar DS 7.1声卡开启HP Compaq Elite 8300 CMT。它工作得很好,直到几天后就没有声音了。我必须使用手动选择声卡alsamixer。重启后一切都恢复默认,我必须再次执行此操作。我安装了脉冲音频控制来选择正确的组合以使声音工作。有时它使用模拟环绕 5.1 输出 + 模拟立体声输入工作,有时它使用模拟环绕 7.1 输出 + 模拟立体声输入工作。每次我听新的 mp3 或甚至必须从 youtube 更改视频时,都必须选择配置。

最近几天我读了很多。我已经全新安装了 Ubuntu 18.04。几天来一切正常。请帮我将华硕声卡配置为保持默认状态。pacmd list-sinks显示的内容如下:

3 sink(s) available.
    index: 0
    name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    state: SUSPENDED
    suspend cause: IDLE 
    priority: 9039
    volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
            balance 0,00
    base volume: 65536 / 100% / 0,00 dB
    volume steps: 65537
    muted: no
    current latency: 0,00 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 0
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    used by: 0
    linked by: 0
    configured latency: 0,00 ms; range is 0,50 .. 371,52 ms
    card: 0 <alsa_card.pci-0000_00_1b.0>
    module: 7
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "ALC221 Analog"
        alsa.id = "ALC221 Analog"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "1"
        alsa.card_name = "HDA Intel PCH"
        alsa.long_card_name = "HDA Intel PCH at 0xf7f30000 irq 29"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:00:1b.0"
        sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.id = "1e20"
        device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
        device.form_factor = "internal"
        device.string = "front:1"
        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 ALC221"
        alsa.components = "HDA:10ec0221,103c3396,00100003"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    ports:
        analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
            properties:

        analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
            properties:
                device.icon_name = "audio-speakers"
        analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "audio-headphones"
    active port: <analog-output-speaker>
  * index: 9
    name: <alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    state: RUNNING
    suspend cause: 
    priority: 9049
    volume: front-left: 41564 /  63% / -11,87 dB,   front-right: 41564 /  63% / -11,87 dB
            balance 0,00
    base volume: 65536 / 100% / 0,00 dB
    volume steps: 65537
    muted: no
    current latency: 55,81 ms
    max request: 8 KiB
    max rewind: 344 KiB
    monitor source: 11
    sample spec: s16le 2ch 48000Hz
    channel map: front-left,front-right
                 Stereo
    used by: 1
    linked by: 1
    configured latency: 46,00 ms; range is 46,00 .. 1837,50 ms
    card: 3 <alsa_card.usb-C-Media_Electronics_Inc._USB_Audio_Device-00>
    module: 26
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "USB Audio"
        alsa.id = "USB Audio"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "3"
        alsa.card_name = "USB Audio Device"
        alsa.long_card_name = "C-Media Electronics Inc. USB Audio Device at usb-0000:00:1a.0-1.4, full speed"
        alsa.driver_name = "snd_usb_audio"
        device.bus_path = "pci-0000:00:1a.0-usb-0:1.4:1.0"
        sysfs.path = "/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/sound/card3"
        udev.id = "usb-C-Media_Electronics_Inc._USB_Audio_Device-00"
        device.bus = "usb"
        device.vendor.id = "0d8c"
        device.vendor.name = "C-Media Electronics, Inc."
        device.product.id = "0012"
        device.product.name = "USB Audio Device"
        device.serial = "C-Media_Electronics_Inc._USB_Audio_Device"
        device.string = "front:3"
        device.buffering.buffer_size = "352800"
        device.buffering.fragment_size = "176400"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "USB Audio Device Analog Stereo"
        alsa.mixer_name = "USB Mixer"
        alsa.components = "USB0d8c:0012"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-usb"
    ports:
        analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
            properties:
                device.icon_name = "audio-speakers"
    active port: <analog-output-speaker>
    index: 10
    name: <alsa_output.pci-0000_02_01.0.analog-surround-71>
    driver: <module-alsa-card.c>
    flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    state: SUSPENDED
    suspend cause: IDLE 
    priority: 9039
    volume: front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB,   rear-left: 0 /   0% / -inf dB,   rear-right: 0 /   0% / -inf dB,   front-center: 0 /   0% / -inf dB,   lfe: 37081 /  57% / -14,84 dB,   side-left: 0 /   0% / -inf dB,   side-right: 0 /   0% / -inf dB
            balance 0,00
    base volume: 65536 / 100% / 0,00 dB
    volume steps: 65537
    muted: no
    current latency: 0,00 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 12
    sample spec: s16le 8ch 44100Hz
    channel map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
                 Surround 7.1
    used by: 0
    linked by: 0
    configured latency: 0,00 ms; range is 0,50 .. 1486,08 ms
    card: 2 <alsa_card.pci-0000_02_01.0>
    module: 9
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "Multichannel"
        alsa.id = "Multichannel"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "Xonar DS"
        alsa.long_card_name = "Asus Virtuoso 66 at 0xd000, irq 21"
        alsa.driver_name = "snd_virtuoso"
        device.bus_path = "pci-0000:02:01.0"
        sysfs.path = "/devices/pci0000:00/0000:00:1e.0/0000:02:01.0/sound/card0"
        device.bus = "pci"
        device.vendor.id = "13f6"
        device.vendor.name = "C-Media Electronics Inc"
        device.product.id = "8788"
        device.product.name = "CMI8788 [Oxygen HD Audio] (Virtuoso 66 (Xonar DS))"
        device.string = "surround71:0"
        device.buffering.buffer_size = "1048576"
        device.buffering.fragment_size = "1048576"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-surround-71"
        device.profile.description = "Analog Surround 7.1"
        device.description = "CMI8788 [Oxygen HD Audio] (Virtuoso 66 (Xonar DS)) Analog Surround 7.1"
        alsa.mixer_name = "AV200"
        alsa.components = "WM8776 WM8766 AV200"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    ports:
        analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
            properties:

    active port: <analog-output>

相关内容