我一直在努力尝试我的声卡在 Linux 下工作,从命令行它报告如下:
user@desktop:~$ sudo lspci -v | grep -A7 -i "audio"
84:04.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]
Subsystem: ASUSTeK Computer Inc. Device 8521
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at f000 [size=256]
Capabilities: [c0] Power Management version 2
user@desktop:~$ lshw -C sound
WARNING: you should run this program as super-user.
*-multimedia UNCLAIMED
description: Multimedia audio controller
product: CMI8788 [Oxygen HD Audio]
vendor: C-Media Electronics Inc
physical id: 4
bus info: pci@0000:84:04.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=64 maxlatency=24 mingnt=2
resources: ioport:f000(size=256)
*-multimedia
description: Audio device
product: Barts HDMI Audio [Radeon HD 6800 Series]
vendor: Hynix Semiconductor (Hyundai Electronics)
physical id: 0.1
bus info: pci@0000:85:00.1
version: 00
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:384 memory:fbe40000-fbe43fff
经过一番检查,我发现虽然系统似乎识别了它,但 alsa 似乎没有将其识别为音频设备。我已经尝试过重新编译相关模块但我还是不太走运。另外,根据版本和内核,它应该可以开箱即用,所以为什么它不能正常工作就有点神秘了。
user@desktop:~$ cat /etc/issue
Ubuntu 12.04.1 LTS \n \l
user@desktops:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"
user@desktop:~$ uname -r
3.2.0-31-generic
user@desktop:/proc/asound$ cat version
Advanced Linux Sound Architecture Driver Version 1.0.24.
该snd-oxygen
模块似乎正在正确加载并sudo modinfo snd-oxygen
报告以下内容:
user@desktop:~$ sudo modinfo snd-oxygen
filename: /lib/modules/3.2.0-31-generic/kernel/sound/pci/oxygen/snd-oxygen.ko
license: GPL v2
description: C-Media CMI8788 driver
author: Clemens Ladisch <[email protected]>
srcversion: 396D66C73AFE20AFAF981B5
alias: pci:v000013F6d00008788sv00007284sd00009781bc*sc*i*
alias: pci:v000013F6d00008788sv00007284sd00009761bc*sc*i*
alias: pci:v000013F6d00008788sv00005431sd0000017Abc*sc*i*
alias: pci:v000013F6d00008788sv0000415Asd00005431bc*sc*i*
alias: pci:v000013F6d00008788sv000014C3sd00001711bc*sc*i*
alias: pci:v000013F6d00008788sv000014C3sd00001710bc*sc*i*
alias: pci:v000013F6d00008788sv000013F6sd0000FFFFbc*sc*i*
alias: pci:v000013F6d00008788sv000013F6sd00008782bc*sc*i*
alias: pci:v000013F6d00008788sv00001043sd00008467bc*sc*i*
alias: pci:v000013F6d00008788sv00001A58sd00000910bc*sc*i*
alias: pci:v000013F6d00008788sv0000147Asd0000A017bc*sc*i*
alias: pci:v000013F6d00008788sv000013F6sd00008788bc*sc*i*
alias: pci:v000013F6d00008788sv000013F6sd00000010bc*sc*i*
alias: pci:v000013F6d00008788sv000013F6sd00000001bc*sc*i*
alias: pci:v000013F6d00008788sv000010B0sd00000219bc*sc*i*
alias: pci:v000013F6d00008788sv000010B0sd00000218bc*sc*i*
alias: pci:v000013F6d00008788sv000010B0sd00000217bc*sc*i*
alias: pci:v000013F6d00008788sv000010B0sd00000216bc*sc*i*
depends: snd-oxygen-lib,snd
intree: Y
vermagic: 3.2.0-31-generic SMP mod_unload modversions
parm: index:card index (array of int)
parm: id:ID string (array of charp)
parm: enable:enable card (array of bool)
答案1
我通过在终端中打开 alsamixer 并将输出设置为多通道来解决这个问题。
然后重新启动并在 Ubuntu 声音设置中选择正确的设置。现在一切正常:)
答案2
查看http://www.alsa-project.org/main/index.php/Matrix:Vendor-Asus;看来你的内核太旧了。
对于 Xonar DGX,你需要内核 3.5 或更高版本最近的快照alsa-driver 包。
答案3
有人建议输入alsamixer
控制台,然后按F6,选择 Xonar 作为声卡,然后有“模拟输出”之类的开关,你可以将其从“前面板”更改为后面的开关。这对我很有帮助。