Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
ca-valencia:howtos:hardware:audio_and_snd-hda-intel [2015/01/26 13:36 (UTC)] – [Diagnosing the issue] translation to valencia el_pinux_penat | ca-valencia:howtos:hardware:audio_and_snd-hda-intel [2015/01/27 14:19 (UTC)] – [La solució] el_pinux_penat |
---|
| |
Execute la ordre <code>aplay -l</code> en una finestra de terminal. Si hi ha més d'un dispositiu d'àudio caldrà que identifiques i definisques el dispositiu que t'agradaria utilitzar. Mira http://docs.slackware.com/howtos:hardware:sound_problems_on_slackware | Execute la ordre <code>aplay -l</code> en una finestra de terminal. Si hi ha més d'un dispositiu d'àudio caldrà que identifiques i definisques el dispositiu que t'agradaria utilitzar. Mira http://docs.slackware.com/howtos:hardware:sound_problems_on_slackware |
===== The fix ===== | ===== La solució ===== |
| |
The ''snd-hda-intel kernel'' module tries to autodetect and configure your sound hardware, but this is not always successful. Some further configuration may help. | El mòdul ''snd-hda-intel kernel'' intenta auto-detectar i configurar el teu maquinari de so, però no sempre amb èxit. Una mica de configuració extra pot ajudar. |
| |
Often the fix is simple. Just create a file in the ''/etc/modprobe.d/'' directory and provide suitable options to the ''snd-hda-intel'' kernel module. The actual file name is not important although it must have a ''.conf'' suffix. You could use ''snd-hda-intel.conf''. Names used by other distributions to hold this information include ''sound.conf'' and ''alsa-base.conf''. | Sovint la solucion és senzilla. Tan sols crea un fitxer al directori ''/etc/modprobe.d/'' i proporciona-li les opcions adequades al mòdul del nucli ''snd-hda-intel''. El nom del fitxer en sí no és important malgrat que ha de tindre el sufixe ''.conf''. Pots utilitzar ''snd-hda-intel.conf''. Els noms utilitzats per altres distribucions per a sostindre aquesta informació inclouen ''sound.conf'' i ''alsa-base.conf''. |
| |
A simple way is to execute (as root) <code>echo "options snd-hda-intel model=auto" > /etc/modprobe.d/snd-hda-intel.conf</code> | Una forma simple de fer-ho és executar (com root) <code>echo "options snd-hda-intel model=auto" > /etc/modprobe.d/snd-hda-intel.conf</code> |
| |
<note warning>If you use an editor to create files in /etc/modprobe.d/ be sure to remove any backup copies.</note> | <note warning>Si utilitzes un editor per a crear els fitxers a /etc/modprobe.d/ assegura't d'esborrar qualsevol còpia de seguretat.</note> |
| |
It is probably easiest just to reboot at this stage to check if it works right. | És probablement més fàcil reiniciar en aquesta fase per a comprovar si tot funciona correctament. |
| |
If you have multiple sound devices, then you can specify the index values that are to be assigned to each device, where index=0 is the default. For example, if <code>aplay -l | Si tens múltiples dispositius de so, pots especificar els valors d'índex que s'han d'assignar a cada dispositiu, on index=0 és el valor per defecte. Per exemple, si <code>aplay -l |
**** List of PLAYBACK Hardware Devices **** | **** List of PLAYBACK Hardware Devices **** |
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] | card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] |