歡迎您光臨本站 註冊首頁

Linux中音效卡又罷工,思路心得

←手機掃碼閱讀     火星人 @ 2014-03-23 , reply:0

看現象,重啟系統,有時候有聲音,有時候沒聲音。
分析,看硬體列表:
varrily@Varrily-Ubuntu:~$ cat /proc/asound/cards
0 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
Ensoniq AudioPCI ENS1371 at 0xe000, irq 20
1 [V8237 ]: VIA8237 - VIA 8237
VIA 8237 with ALC655 at 0x1000, irq 21

varrily@Varrily-Ubuntu:~$ lspci
00:0a.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)

果然,系統識別了兩張音效卡。
一張是主板集成的Realtek ALC655
另一張是後來加上去的Ensoniq AudioPCI音效卡

很奇怪的是明明在BIOS中禁用了集成的Realtek ALC655,怎麼還是出現了?
也許上面的命令只是說明系統有兩張音效卡,以及所佔用的IRQ,或許這就是UBUNTU的特點??
如何讓系統只使用第一塊音效卡呢?

於是Google一下,看到這樣一個方法:

I fixed my Ensoniq 1371 issue buy doing the following:

(please use do not make these changes if your not comfortable doing so)

1. You'll need to edit the 「modules」 file thru a terminal window.
2. Start you terminal window
3. Once at the flashing prompt type:
4. cd /etc
5. then type
6. sudo nano modules (when asked for the root password please enter it)

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
psmouse

7. now move your blinking courser to the line just below the list line mine is 「psmouse」, yours could be different. then type in 「snd-ens1371」, your modules file should look similar to mine:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
psmouse
snd-ens1371

8. To exit and save please do the following:
* Crtl-O
* You'll be asked: 「File Name to Write: modules」; just hit the "enter" key.
* next you should see 「[ Wrote 9 lines ]」

9. Now it Ctrl-X to exit GNU nano
10. Once that is done you should be back at 「/etc$」 prompt.
11. Now restart your computer. Once back in Ubuntu test your sound card.

Your sound card should work now, if you have speakers connected to your sound card you should hear the Ubuntu startup sounds. Please let me know if this works for you.

改之,重啟,正常!

[火星人 ] Linux中音效卡又罷工,思路心得已經有446次圍觀

http://coctec.com/docs/linux/show-post-123206.html