看现象,重启系统,有时候有声音,有时候没声音。
分析,看硬件列表:
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中声卡不会发声的解决
转载请注明出处:服务器评测 » Linux中声卡不会发声的解决
相关推荐
- 129 美元/月双 E5-2620 v2 + 128GB RAM + 2x1TB SSD + 2TB 备份 + 1Gbps @ 100TB 限时优惠!
- DARKVPS – 便宜的裸机 RDP – 4vCPU-128vCPU – 防挂起 – 可续订 – 43💥 美元起
- PLiKhost:便宜且可靠的印度尼西亚(IIX)专用服务器 – 雅加达
- 优惠从 62 美元/月起 |32GB DDR3 内存 |10 TB 带宽 |印度位置
- *▌E3 服务器 30 美元/月起 ▌ Ryzen 9900X 99 美元/月 ▌10Gbps 不限流量 229 美元/月 ▌
- HaBangNet – 中国大陆,香港 CTG-GIA,欧洲和美国专用服务器优惠
- 台湾专用服务器 |到中国的低延迟 |在线管理
- 本周优惠:加利福尼亚州洛杉矶的 AMD Ryzen 7600 仅需 69 美元/月 |NetDynamics 有限责任公司