Lubuntu 上的 SB X-Fi Surround 5.1 USB

Lubuntu 上的 SB X-Fi Surround 5.1 USB

在 Ubuntu 服务器(64 位)上安装 Lubuntu-desktop 后我遇到了问题。

问题是,如果不进行可怕的黑客攻击,我无法让我的 X-Fi 外置 USB 声卡工作,而且即使这样,它也只能在某些应用程序中工作。

我目前只能使用 ~./asoundrc 中的以下 hack 在 VLC 媒体播放器中播放媒体

pcm.!default {
    type hw
    card 1
}
ctl.!default {
    type hw           
    card 1
}

这可以按预期工作,但对于许多应用程序来说并非如此(无法启动,并显示与以下内容相关的错误消息(没有混频器控件))

┌──────────────────────────── AlsaMixer v1.0.24.2 ────────────────────────────┐
│ Card: SB X-Fi Surround 5.1 Pro                      F1:  Help               │
│ Chip: USB Mixer                                     F2:  System information │
│ View: F3: Playback  F4: Capture  F5: All            F6:  Select sound card  │
│ Item:                                               Esc: Exit               │
│                                                                             │
│                                                                             │
│                This sound device does not have any controls.                │
│                                                                             │
└─────────────────────────────────────────────────────────────────────────────┘

我可能遗漏了什么?一些诊断信息(任何其他信息可根据要求提供):

daniel@daniel-desktop:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
front:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC888 Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Direct sample mixing device
dmix:CARD=Intel,DEV=1
    HDA Intel, ALC888 Digital
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
    HDA Intel, ALC888 Digital
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
    HDA Intel, ALC888 Digital
    Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
    HDA Intel, ALC888 Digital
    Hardware device with all software conversions
front:CARD=Pro,DEV=0
    SB X-Fi Surround 5.1 Pro, USB Audio
    Front speakers
surround40:CARD=Pro,DEV=0
    SB X-Fi Surround 5.1 Pro, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Pro,DEV=0
    SB X-Fi Surround 5.1 Pro, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Pro,DEV=0
    SB X-Fi Surround 5.1 Pro, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Pro,DEV=0
    SB X-Fi Surround 5.1 Pro, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Pro,DEV=0
    SB X-Fi Surround 5.1 Pro, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Pro,DEV=0
    SB X-Fi Surround 5.1 Pro, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Pro,DEV=0
    SB X-Fi Surround 5.1 Pro, USB Audio
    Direct sample mixing device
dmix:CARD=Pro,DEV=1
    SB X-Fi Surround 5.1 Pro, USB Audio #1
    Direct sample mixing device
dsnoop:CARD=Pro,DEV=0
    SB X-Fi Surround 5.1 Pro, USB Audio
    Direct sample snooping device
dsnoop:CARD=Pro,DEV=1
    SB X-Fi Surround 5.1 Pro, USB Audio #1
    Direct sample snooping device
hw:CARD=Pro,DEV=0
    SB X-Fi Surround 5.1 Pro, USB Audio
    Direct hardware device without any conversions
hw:CARD=Pro,DEV=1
    SB X-Fi Surround 5.1 Pro, USB Audio #1
    Direct hardware device without any conversions
plughw:CARD=Pro,DEV=0
    SB X-Fi Surround 5.1 Pro, USB Audio
    Hardware device with all software conversions
plughw:CARD=Pro,DEV=1
    SB X-Fi Surround 5.1 Pro, USB Audio #1
    Hardware device with all software conversions
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
dmix:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Direct sample mixing device
dsnoop:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Direct sample snooping device
hw:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Hardware device with all software conversions

答案1

首先,删除你的黑客程序,否则你会遇到越来越多的问题。

观看此问题以了解如何配置 pulseaudio 以便声音从正确的卡中发出: 如何从命令行更改默认音频设备?

答案2

以下解决了我的问题:

defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1

pcm.upmix51 {
    type upmix
    slave.pcm "surround51"
    delay 15
    channels 6
}

pcm.!default "plug:upmix51"

感谢 TrilbyArchlinux 论坛在他对 Fluxed 的回应中。

答案3

实际上,我已经在 Ubuntu 下很好地驯服了我的 X-Fi Titanium。我甚至写了一篇关于它的文章来帮助我记住每次我弄坏它、ubuntu 更新或重新安装 linux 时如何修复它。

祝你好运! :)

http://www.piotrkrzyzek.com/creative-x-fi-titanium-5-1-digital-surround-on-ubuntu/

相关内容