Outils pour utilisateurs

Outils du site


sound_trucs

Faites taire ce Speaker

squeeze

Lien: https://help.ubuntu.com/community/HdaIntelSoundHowto

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)

me presente une carte bien pauvre…

# cat /proc/asound/card0/codec#* | grep Codec
Codec: Analog Devices AD1984

Donc, je regarde la doc et je vois:

AD1984
======
  basic         default configuration
  thinkpad      Lenovo Thinkpad T61/X61
  dell_desktop  Dell T3400

Donc, dans /etc/modprobe.d/alsa-base.conf , j'ajoute:

options snd-hda-intel model=dell_desktop

Reboot ?

Alsa

Configurer le son avec Alsa:

# alsamixer

Sauvegarder la config

# alsactl store

/dev/dsp et /dev/mixer

Il n'existe pas !
Si j'ai bien compris (?):

  1. /dev/dsp et /dev/mixer sont gerer par OSS et non pas par Alsa.
  2. udev devrait installer ces devices ! bugs ?

J'ai resolu le probleme en faisant:

# modprobe snd-pcm-oss

Que j'ai, bien sur, ajouté dans /etc/modules (pour le prochain BOOT)

...
snd-pcm-oss
...

Voila, je peux regler le son de ma tv ;-)

Asus

Carte mère: ASUSTeK P5B-Plus (Intel P965 Express)

Pas de son ?

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
      Subsystem: ASUSTeK Computer Inc. Device 81ec
      Flags: bus master, fast devsel, latency 0, IRQ 21
      Memory at febf8000 (64-bit, non-prefetchable) [size=16K]
      Capabilities: [50] Power Management version 2
      Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
      Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
      Kernel driver in use: HDA Intel
      Kernel modules: snd-hda-intel
# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 3/3
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
# lsmod | grep snd
snd_hda_intel         275392  1
snd_pcm_oss            38272  0
snd_mixer_oss          15296  1 snd_pcm_oss
snd_pcm                71780  2 snd_hda_intel,snd_pcm_oss
snd_seq_dummy           3780  0
snd_seq_oss            29472  0
snd_seq_midi            8160  0
snd_rawmidi            22624  1 snd_seq_midi
snd_seq_midi_event      6976  2 snd_seq_oss,snd_seq_midi
snd_seq                46544  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              21092  2 snd_pcm,snd_seq
snd_seq_device          7820  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    48612  11 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               7552  1 snd
snd_page_alloc         10056  2 snd_hda_intel,snd_pcm
$ cat /etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
options snd-hda-intel index=0

Et alors?

Etch

Marche po…

# aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
# modinfo snd-hda-intel
filename:       /lib/modules/2.6.18-6-xen-686/kernel/sound/pci/hda/snd-hda-intel.ko
license:        GPL
description:    Intel HDA driver
vermagic:       2.6.18-6-xen-686 SMP mod_unload 686 REGPARM gcc-4.1
depends:        snd-pcm,snd-page-alloc,snd-hda-codec,snd
alias:          pci:v00008086d00002668sv*sd*bc*sc*i*
alias:          pci:v00008086d000027D8sv*sd*bc*sc*i*
alias:          pci:v00008086d0000269Asv*sd*bc*sc*i*
alias:          pci:v00008086d0000284Bsv*sd*bc*sc*i*
alias:          pci:v00001002d0000437Bsv*sd*bc*sc*i*
alias:          pci:v00001002d00004383sv*sd*bc*sc*i*
alias:          pci:v00001002d0000793Bsv*sd*bc*sc*i*
alias:          pci:v00001106d00003288sv*sd*bc*sc*i*
alias:          pci:v00001039d00007502sv*sd*bc*sc*i*
alias:          pci:v000010B9d00005461sv*sd*bc*sc*i*
alias:          pci:v000010DEd0000026Csv*sd*bc*sc*i*
alias:          pci:v000010DEd00000371sv*sd*bc*sc*i*
parm:           enable:bool
parm:           single_cmd:Use single command to communicate with codecs (for debugging only). (bool)
parm:           probe_mask:Bitmask to probe codecs (default = -1). (int)
parm:           position_fix:Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF, 3 = FIFO size). (int)
parm:           model:Use the given board model. (charp)
parm:           id:ID string for Intel HD audio interface. (charp)
parm:           index:Index value for Intel HD audio interface. (int)

Regarder dans la documentation des sources, là:

/usr/src/linux-source-2.6.18/Documentation/sound/alsa/ALSA-Configuration.txt

A propos des “model”, on y voit:

      AD1988
        6stack        6-jack
        6stack-dig    ditto with SPDIF
        3stack        3-jack
        3stack-dig    ditto with SPDIF
        laptop        3-jack with hp-jack automute
        laptop-dig    ditto with SPDIF
        auto          auto-confgi reading BIOS (default)

A essayer, pour ma sortie son TV ?:

# modprobe saa7134-alsa

Soluce

Donc, dans /etc/modprobe.d/alsa-base , ajouter:

options snd-hda-intel model=3stack-dig index=0

Et voila. J'avais déjà le son, mais en plus avec la tv ;-)

tvtime et alsa

sound_trucs.txt · Dernière modification : 2011/02/15 10:10 de thierry