我在 HP Pavilion dm1 4200sg 上网本上运行 Ubuntu 12.04 studio。这几乎是一个全新的安装。我尝试通过运行启动jackd服务器
jackd -R -d alsa
它失败并输出:
JACK server starting in realtime mode with priority 10
control device hw:0
control device hw:0
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Cannot initialize driver
JackServer::Open() failed with -1
Failed to open server
运行 aplay -l 给出以下输出:
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
我发现通过运行
jackd -R -d alsa -d hw:1
jackd 启动成功。我想配置我的机器,使 hw:1 成为默认选项(即使原始的 'jackd -R -d alsa' 命令工作)。谁能帮我做到这一点?
我尝试将 ~/.asoundrc 编辑为
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
但这似乎不起作用。我已经远离了我的舒适区,任何帮助都将不胜感激。谢谢!