Motherboard M2N-E SLI și C-Media – Activare sunet în Linux

“The ASUS M2N-E is an affordable Socket AM2 board with SLI support. The nForce 500 SLI MCP also delivers automatically increased bus speeds with nVIDIA‘s LinkBoost technology.
The board is also AMD Live! ready, so when used with a 64-bit dual core processor it turns your system into a multimedia powerhouse.
Internal and external connectivity is easy with 4 USB and 1 FireWire port on the back panel plus headers for 4 more USB and 1 more FireWire port. The most convenient connectivity feature is the Q-Connector.
This handy module lets you plug in all of your front panel connections to one adapter then plug the adapter in to the board. Gigabit LAN keeps you connected to your network and the world through your broadband connection.
You no longer have to fear making changes to your BIOS. The CrashFree BIOS3 lets you restore a corrupted BIOS from a USB flash drive that contains a copy of the file. Updates are just as easy with EZ Flash2, you no longer need a DOS boot disk to do the job. Asus continues to offer innovative solutions for your computing experience!” Via.
Pentru că dispun de o Placă de bază (Motherboard) M2N-E SLI iar sunetul este on-board realizat de C-Media CM6501, nu de puține ori am avut probleme în Linux cu detectarea acesteia și deci a sunetului care lipsea cu desăvârșire.

Căutând pe internet pentru a rezolva acest lucru, am dat peste o soluție destul de ingenioasă pentru a activa sunetul foarte rapid și ușor de realizat, fără a fi nevoit să fac alte schimbări (fizice) în PC.
Pentru a putea face modificarea fișierului “alsa-base.conf” executăm următoarea comandă în terminal, ca ROOT:
gedit /etc/modprobe.d/alsa-base.conf
Fișierul “alsa-base.conf” va arăta ca mai jos:
autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
Practic adaptoarele USB externe de sunet sunt folosite ca dispozitive audio secundare, setarea de mai sus interzice oricărui adaptor USB de sunet să fie setat ca dispozitiv implicit. În cazul meu, dispozitivul audio CM-6501 este setat ca primar, aşa că am stabilit ca indicele să fie 0 (zero) aşa cum se arată mai jos:
Original este așa:
Keep snd-usb-audio from beeing loaded as first soundcard options snd-usb-audio index=-2
Schimbăm cu acesta:
Keep snd-usb-audio from beeing loaded as first soundcard options snd-usb-audio index=-0
După editarea fișierului, salvăm și facem un restart al calculatorului. După restart vom avea sunet, evident! Sursa.
Related posts:

