All of lore.kernel.org
 help / color / mirror / Atom feed
* Support new HDA codec
@ 2012-02-21 11:14 Jorge Fernandez Monteagudo
  2012-02-24 15:51 ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: Jorge Fernandez Monteagudo @ 2012-02-21 11:14 UTC (permalink / raw)
  To: alsa-devel

Hi all,

This is my first email to the devel mailing list. I'm asking the same question in the user mailing list
but I suspect that I'll have to add some code in order to get this hda codec from Wolfson to work.

Attached is the log I get from alsa-info.sh. This codec has three output paths:

1) Node 0x06, DAC1, and Node 0x11, Port A, the stereo headphone playback, which is the
    default one and it seems it works because I can see the stream set to 5 when a sound is played.

2) Node 0x04, SPDIF Tx1, and Node 0x0f, SPDIF OUT, the SPDIF transmit functionality provides
    an IEC-60958-3 compatible S/PIDF output which I would like to enable but without luck yet.
    I can enable the node 0x04, with hda-verb, and the spdif amplifier receives spdif frames but
    without audio info.

3) Node 0x07, DAC2, and Node 0x12, Port G, the stereo line playback with a differential
    stereo output wich I would like to enable but without luck again. I just can mute/unmute the node
    but without effect in the outputs.

I would like to know if I have to develop a patch for this device or with the attached log info I
can expect to use it with the current code in kernel. Now, with alsamixer and other config tools
I can't see any control related to the outputs for 2) and 3)...

Any hint is welcome!
Thanks
Jorge

---

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.60
!!################################

!!Script ran on: Tue Feb 21 09:44:41 UTC 2012


!!Linux Distribution
!!------------------

Ubuntu 11.10 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 11.10"


!!DMI Information
!!---------------

Manufacturer:      nVidia
Product Name:      MMP9-ION
Product Version:   To Be Filled By O.E.M.


!!Kernel Information
!!------------------

Kernel release:    3.0.0-12-generic
Operating System:  GNU/Linux
Architecture:      i686
Processor:         i686
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     1.0.24
Library version:    1.0.24.1
Utilities version:  1.0.24.2


!!Loaded ALSA modules
!!-------------------

snd_hda_intel


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfae78000 irq 20


!!PCI Soundcards installed in the system
!!--------------------------------------

00:08.0 Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!--------------------------------------------------------

00:08.0 0403: 10de:0ac0 (rev b1)
        Subsystem: 10de:cb84


!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-caiaq: index=-2
snd-usb-ua101: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2
snd-usb-audio: index=-2


!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
        bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
        beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
        enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
        enable_msi : -1
        id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
        index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
        model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
        patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
        position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
        power_save : 0
        power_save_controller : Y
        probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
        probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
        single_cmd : N


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Wolfson Microelectronics ID 8800
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x1aec8800
Subsystem Id: 0x00000100
Revision Id: 0x100301
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x01, mute=1
GPIO: io=2, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
Node 0x02 [Audio Input] wcaps 0x1005d1: Stereo
  Device: name="HDA Generic", type="Audio", device=0
  Converter: stream=1, channel=0
  SDI-Select: 0
  PCM:
    rates [0x1ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Unsolicited: tag=02, enabled=0
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x0a
  Processing caps: benign=0, ncoeff=0
Node 0x03 [Audio Input] wcaps 0x1005d1: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Unsolicited: tag=03, enabled=0
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x09
  Processing caps: benign=0, ncoeff=0
Node 0x04 [Audio Output] wcaps 0x2d1: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Unsolicited: tag=04, enabled=0
  Processing caps: benign=0, ncoeff=0
Node 0x05 [Audio Input] wcaps 0x1003d1: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital: Copyright
  Digital category: 0x0
  PCM:
    rates [0x1f0]: 32000 44100 48000 88200 96000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Unsolicited: tag=05, enabled=0
  Connection: 1
     0x10
  Processing caps: benign=0, ncoeff=0
Node 0x06 [Audio Output] wcaps 0x495: Stereo Amp-Out
  Control: name="Master Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Master Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="HDA Generic", type="Audio", device=0
  Amp-Out caps: N/A
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=5, channel=0
  PCM:
    rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Unsolicited: tag=06, enabled=0
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x07 [Audio Output] wcaps 0x495: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0xff 0xff]
  Converter: stream=0, channel=0
  PCM:
    rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Unsolicited: tag=07, enabled=0
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x08 [Audio Output] wcaps 0x495: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0xff 0xff]
  Converter: stream=0, channel=0
  PCM:
    rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Unsolicited: tag=08, enabled=0
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x09 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x0b* 0x0e
Node 0x0a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x18, nsteps=0x30, stepsize=0x01, mute=1
  Amp-Out vals:  [0x18 0x18]
  Connection: 1
     0x0c
Node 0x0b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x18, nsteps=0x30, stepsize=0x01, mute=1
  Amp-Out vals:  [0x98 0x98]
  Connection: 1
     0x0d
Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00000064: IN Detect Balanced
  Pin Default 0x018130f0: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x20: IN
  Unsolicited: tag=0c, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400083: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00001767: IN Detect Balanced Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a190f0: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=0d, enabled=0
Node 0x0e [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
  Amp-In caps: ofs=0x18, nsteps=0x58, stepsize=0x01, mute=1
  Amp-In vals:  [0x18 0x18]
  Pincap 0x00000020: IN
  Pin Default 0x10a600f0: [Jack] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x20: IN
Node 0x0f [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x014190f0: [Jack] SPDIF Out at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=0f, enabled=0
  Connection: 1
     0x04
Node 0x10 [Pin Complex] wcaps 0x400281: Stereo Digital
  Pincap 0x00000020: IN
  Pin Default 0x01c520f0: [Jack] SPDIF In at Ext Rear
    Conn = Optical, Color = Grey
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x20: IN
  Unsolicited: tag=10, enabled=0
Node 0x11 [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x01014020: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=11, enabled=0
  Connection: 1
     0x06
Node 0x12 [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x01016121: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x2, Sequence = 0x1
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=12, enabled=0
  Connection: 1
     0x07
Node 0x13 [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x01011022: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x2
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=13, enabled=0
  Connection: 1
     0x08
Node 0x14 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x04, nsteps=0x04, stepsize=0x17, mute=0
  Amp-Out vals:  [0x04]
Node 0x15 [Audio Input] wcaps 0x1003d1: Stereo Digital
  Converter: stream=0, channel=2
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Unsolicited: tag=15, enabled=0
  Connection: 1
     0x16
  Processing caps: benign=0, ncoeff=0
Node 0x16 [Pin Complex] wcaps 0x40030b: Stereo Digital Amp-In
  Amp-In caps: ofs=0x18, nsteps=0x58, stepsize=0x01, mute=1
  Amp-In vals:  [0x18 0x18]
  Pincap 0x00000030: IN OUT
  Pin Default 0x10a601f0: [Jack] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Connection: 1
     0x17
Node 0x17 [Audio Output] wcaps 0x291: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Unsolicited: tag=17, enabled=0
--endcollapse--


!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [NVidia]

Card hw:0 'NVidia'/'HDA NVidia at 0xfae78000 irq 20'
  Mixer name    : 'Wolfson Microelectronics ID 8800'
  Components    : 'HDA:1aec8800,00000100,00100301'
  Controls      : 3
  Simple ctrls  : 2
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 87 [69%] [-20.00dB] [on]
  Front Right: Playback 87 [69%] [-20.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]


!!Alsactl output
!!-------------

--startcollapse--
state.NVidia {
        control.1 {
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 2
                }
        }
        control.2 {
                iface MIXER
                name 'Master Playback Volume'
                value.0 87
                value.1 87
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 127'
                        dbmin -6350
                        dbmax 0
                        dbvalue.0 -2000
                        dbvalue.1 -2000
                }
        }
        control.3 {
                iface MIXER
                name 'PCM Playback Volume'
                value.0 255
                value.1 255
                comment {
                        access 'read write user'
                        type INTEGER
                        count 2
                        range '0 - 255'
                        tlv '0000000100000008ffffec1400000014'
                        dbmin -5100
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
}
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116,  5 Feb 21 09:38 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  4 Feb 21 09:38 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  3 Feb 21 09:38 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  2 Feb 21 09:39 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  1 Feb 21 09:37 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Feb 21 09:37 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Feb 21 09:38 .
drwxr-xr-x 3 root root 180 Feb 21 09:38 ..
lrwxrwxrwx 1 root root  12 Feb 21 09:38 pci-0000:00:08.0 -> ../controlC0


Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o CONFIDENCIAL. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege.
If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Support new HDA codec
  2012-02-21 11:14 Support new HDA codec Jorge Fernandez Monteagudo
@ 2012-02-24 15:51 ` Takashi Iwai
  2012-02-25 11:50   ` Mark Brown
  0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2012-02-24 15:51 UTC (permalink / raw)
  To: Jorge Fernandez Monteagudo; +Cc: alsa-devel, Mark Brown

At Tue, 21 Feb 2012 12:14:02 +0100,
Jorge Fernandez Monteagudo wrote:
> 
> Hi all,
> 
> This is my first email to the devel mailing list. I'm asking the same question in the user mailing list
> but I suspect that I'll have to add some code in order to get this hda codec from Wolfson to work.

The topology looks simple, so it would fit to some existing parsers,
such as Realtek, VIA or IDT codecs.  The problem seems to be in the
capture path: both Realtek and VIA parsers can't handle these paths
correctly, so far.

The generic parser in the current form can support only the very
limited functions.  I think it's good to start moving the code from
these vendor-specific parsers to the generic parser slowly now...

That being said, if nothing special is needed, the support of this
codec wouldn't be too difficult, I suppose.  But, sometimes codecs
need special vendor-specific verbs, and we can't know without the help
of vendors.

Maybe Mark can tell us.


Takashi

> Attached is the log I get from alsa-info.sh. This codec has three output paths:
> 
> 1) Node 0x06, DAC1, and Node 0x11, Port A, the stereo headphone playback, which is the
>     default one and it seems it works because I can see the stream set to 5 when a sound is played.
> 
> 2) Node 0x04, SPDIF Tx1, and Node 0x0f, SPDIF OUT, the SPDIF transmit functionality provides
>     an IEC-60958-3 compatible S/PIDF output which I would like to enable but without luck yet.
>     I can enable the node 0x04, with hda-verb, and the spdif amplifier receives spdif frames but
>     without audio info.
> 
> 3) Node 0x07, DAC2, and Node 0x12, Port G, the stereo line playback with a differential
>     stereo output wich I would like to enable but without luck again. I just can mute/unmute the node
>     but without effect in the outputs.
> 
> I would like to know if I have to develop a patch for this device or with the attached log info I
> can expect to use it with the current code in kernel. Now, with alsamixer and other config tools
> I can't see any control related to the outputs for 2) and 3)...
> 
> Any hint is welcome!
> Thanks
> Jorge
> 
> ---
> 
> upload=true&script=true&cardinfo=
> !!################################
> !!ALSA Information Script v 0.4.60
> !!################################
> 
> !!Script ran on: Tue Feb 21 09:44:41 UTC 2012
> 
> 
> !!Linux Distribution
> !!------------------
> 
> Ubuntu 11.10 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 11.10"
> 
> 
> !!DMI Information
> !!---------------
> 
> Manufacturer:      nVidia
> Product Name:      MMP9-ION
> Product Version:   To Be Filled By O.E.M.
> 
> 
> !!Kernel Information
> !!------------------
> 
> Kernel release:    3.0.0-12-generic
> Operating System:  GNU/Linux
> Architecture:      i686
> Processor:         i686
> SMP Enabled:       Yes
> 
> 
> !!ALSA Version
> !!------------
> 
> Driver version:     1.0.24
> Library version:    1.0.24.1
> Utilities version:  1.0.24.2
> 
> 
> !!Loaded ALSA modules
> !!-------------------
> 
> snd_hda_intel
> 
> 
> !!Sound Servers on this system
> !!----------------------------
> 
> Pulseaudio:
>       Installed - Yes (/usr/bin/pulseaudio)
>       Running - Yes
> 
> ESound Daemon:
>       Installed - Yes (/usr/bin/esd)
>       Running - No
> 
> 
> !!Soundcards recognised by ALSA
> !!-----------------------------
> 
>  0 [NVidia         ]: HDA-Intel - HDA NVidia
>                       HDA NVidia at 0xfae78000 irq 20
> 
> 
> !!PCI Soundcards installed in the system
> !!--------------------------------------
> 
> 00:08.0 Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)
> 
> 
> !!Advanced information - PCI Vendor/Device/Subsystem ID's
> !!--------------------------------------------------------
> 
> 00:08.0 0403: 10de:0ac0 (rev b1)
>         Subsystem: 10de:cb84
> 
> 
> !!Modprobe options (Sound related)
> !!--------------------------------
> 
> snd-atiixp-modem: index=-2
> snd-intel8x0m: index=-2
> snd-via82xx-modem: index=-2
> snd-usb-audio: index=-2
> snd-usb-caiaq: index=-2
> snd-usb-ua101: index=-2
> snd-usb-us122l: index=-2
> snd-usb-usx2y: index=-2
> snd-cmipci: mpu_port=0x330 fm_port=0x388
> snd-pcsp: index=-2
> snd-usb-audio: index=-2
> 
> 
> !!Loaded sound module options
> !!--------------------------
> 
> !!Module: snd_hda_intel
>         bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
>         beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
>         enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
>         enable_msi : -1
>         id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
>         index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
>         model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
>         patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
>         position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
>         power_save : 0
>         power_save_controller : Y
>         probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
>         probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
>         single_cmd : N
> 
> 
> !!HDA-Intel Codec information
> !!---------------------------
> --startcollapse--
> 
> Codec: Wolfson Microelectronics ID 8800
> Address: 0
> AFG Function Id: 0x1 (unsol 1)
> Vendor Id: 0x1aec8800
> Subsystem Id: 0x00000100
> Revision Id: 0x100301
> No Modem Function Group found
> Default PCM:
>     rates [0x0]:
>     bits [0x0]:
>     formats [0x0]:
> Default Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
> Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x01, mute=1
> GPIO: io=2, o=0, i=0, unsolicited=1, wake=1
>   IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
>   IO[1]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
> Node 0x02 [Audio Input] wcaps 0x1005d1: Stereo
>   Device: name="HDA Generic", type="Audio", device=0
>   Converter: stream=1, channel=0
>   SDI-Select: 0
>   PCM:
>     rates [0x1ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000
>     bits [0x1e]: 16 20 24 32
>     formats [0x3]: PCM FLOAT
>   Unsolicited: tag=02, enabled=0
>   Power states:  D0 D1 D2 D3
>   Power: setting=D0, actual=D0
>   Connection: 1
>      0x0a
>   Processing caps: benign=0, ncoeff=0
> Node 0x03 [Audio Input] wcaps 0x1005d1: Stereo
>   Converter: stream=0, channel=0
>   SDI-Select: 0
>   PCM:
>     rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
>     bits [0x1e]: 16 20 24 32
>     formats [0x3]: PCM FLOAT
>   Unsolicited: tag=03, enabled=0
>   Power states:  D0 D1 D2 D3
>   Power: setting=D0, actual=D0
>   Connection: 1
>      0x09
>   Processing caps: benign=0, ncoeff=0
> Node 0x04 [Audio Output] wcaps 0x2d1: Stereo Digital
>   Converter: stream=0, channel=0
>   Digital:
>   Digital category: 0x0
>   PCM:
>     rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
>     bits [0x1e]: 16 20 24 32
>     formats [0x3]: PCM FLOAT
>   Unsolicited: tag=04, enabled=0
>   Processing caps: benign=0, ncoeff=0
> Node 0x05 [Audio Input] wcaps 0x1003d1: Stereo Digital
>   Converter: stream=0, channel=0
>   SDI-Select: 0
>   Digital: Copyright
>   Digital category: 0x0
>   PCM:
>     rates [0x1f0]: 32000 44100 48000 88200 96000
>     bits [0x1e]: 16 20 24 32
>     formats [0x3]: PCM FLOAT
>   Unsolicited: tag=05, enabled=0
>   Connection: 1
>      0x10
>   Processing caps: benign=0, ncoeff=0
> Node 0x06 [Audio Output] wcaps 0x495: Stereo Amp-Out
>   Control: name="Master Playback Switch", index=0, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Control: name="Master Playback Volume", index=0, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Device: name="HDA Generic", type="Audio", device=0
>   Amp-Out caps: N/A
>   Amp-Out vals:  [0x57 0x57]
>   Converter: stream=5, channel=0
>   PCM:
>     rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
>     bits [0x1e]: 16 20 24 32
>     formats [0x3]: PCM FLOAT
>   Unsolicited: tag=06, enabled=0
>   Power states:  D0 D1 D2 D3
>   Power: setting=D0, actual=D0
> Node 0x07 [Audio Output] wcaps 0x495: Stereo Amp-Out
>   Amp-Out caps: N/A
>   Amp-Out vals:  [0xff 0xff]
>   Converter: stream=0, channel=0
>   PCM:
>     rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
>     bits [0x1e]: 16 20 24 32
>     formats [0x3]: PCM FLOAT
>   Unsolicited: tag=07, enabled=0
>   Power states:  D0 D1 D2 D3
>   Power: setting=D0, actual=D0
> Node 0x08 [Audio Output] wcaps 0x495: Stereo Amp-Out
>   Amp-Out caps: N/A
>   Amp-Out vals:  [0xff 0xff]
>   Converter: stream=0, channel=0
>   PCM:
>     rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
>     bits [0x1e]: 16 20 24 32
>     formats [0x3]: PCM FLOAT
>   Unsolicited: tag=08, enabled=0
>   Power states:  D0 D1 D2 D3
>   Power: setting=D0, actual=D0
> Node 0x09 [Audio Selector] wcaps 0x300101: Stereo
>   Connection: 2
>      0x0b* 0x0e
> Node 0x0a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x18, nsteps=0x30, stepsize=0x01, mute=1
>   Amp-Out vals:  [0x18 0x18]
>   Connection: 1
>      0x0c
> Node 0x0b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x18, nsteps=0x30, stepsize=0x01, mute=1
>   Amp-Out vals:  [0x98 0x98]
>   Connection: 1
>      0x0d
> Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
>   Pincap 0x00000064: IN Detect Balanced
>   Pin Default 0x018130f0: [Jack] Line In at Ext Rear
>     Conn = 1/8, Color = Blue
>     DefAssociation = 0xf, Sequence = 0x0
>   Pin-ctls: 0x20: IN
>   Unsolicited: tag=0c, enabled=0
> Node 0x0d [Pin Complex] wcaps 0x400083: Stereo Amp-In
>   Amp-In caps: N/A
>   Amp-In vals:  [0x00 0x00]
>   Pincap 0x00001767: IN Detect Balanced Trigger ImpSense
>     Vref caps: HIZ 50 GRD 80
>   Pin Default 0x02a190f0: [Jack] Mic at Ext Front
>     Conn = 1/8, Color = Pink
>     DefAssociation = 0xf, Sequence = 0x0
>   Pin-ctls: 0x20: IN VREF_HIZ
>   Unsolicited: tag=0d, enabled=0
> Node 0x0e [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
>   Amp-In caps: ofs=0x18, nsteps=0x58, stepsize=0x01, mute=1
>   Amp-In vals:  [0x18 0x18]
>   Pincap 0x00000020: IN
>   Pin Default 0x10a600f0: [Jack] Mic at Int N/A
>     Conn = Digital, Color = Unknown
>     DefAssociation = 0xf, Sequence = 0x0
>   Pin-ctls: 0x20: IN
> Node 0x0f [Pin Complex] wcaps 0x400381: Stereo Digital
>   Pincap 0x00000014: OUT Detect
>   Pin Default 0x014190f0: [Jack] SPDIF Out at Ext Rear
>     Conn = 1/8, Color = Pink
>     DefAssociation = 0xf, Sequence = 0x0
>   Pin-ctls: 0x40: OUT
>   Unsolicited: tag=0f, enabled=0
>   Connection: 1
>      0x04
> Node 0x10 [Pin Complex] wcaps 0x400281: Stereo Digital
>   Pincap 0x00000020: IN
>   Pin Default 0x01c520f0: [Jack] SPDIF In at Ext Rear
>     Conn = Optical, Color = Grey
>     DefAssociation = 0xf, Sequence = 0x0
>   Pin-ctls: 0x20: IN
>   Unsolicited: tag=10, enabled=0
> Node 0x11 [Pin Complex] wcaps 0x400181: Stereo
>   Pincap 0x0000001c: OUT HP Detect
>   Pin Default 0x01014020: [Jack] Line Out at Ext Rear
>     Conn = 1/8, Color = Green
>     DefAssociation = 0x2, Sequence = 0x0
>   Pin-ctls: 0xc0: OUT HP
>   Unsolicited: tag=11, enabled=0
>   Connection: 1
>      0x06
> Node 0x12 [Pin Complex] wcaps 0x400181: Stereo
>   Pincap 0x00000014: OUT Detect
>   Pin Default 0x01016121: [Jack] Line Out at Ext Rear
>     Conn = 1/8, Color = Orange
>     DefAssociation = 0x2, Sequence = 0x1
>     Misc = NO_PRESENCE
>   Pin-ctls: 0x40: OUT
>   Unsolicited: tag=12, enabled=0
>   Connection: 1
>      0x07
> Node 0x13 [Pin Complex] wcaps 0x400181: Stereo
>   Pincap 0x00000014: OUT Detect
>   Pin Default 0x01011022: [Jack] Line Out at Ext Rear
>     Conn = 1/8, Color = Black
>     DefAssociation = 0x2, Sequence = 0x2
>   Pin-ctls: 0x40: OUT
>   Unsolicited: tag=13, enabled=0
>   Connection: 1
>      0x08
> Node 0x14 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
>   Amp-Out caps: ofs=0x04, nsteps=0x04, stepsize=0x17, mute=0
>   Amp-Out vals:  [0x04]
> Node 0x15 [Audio Input] wcaps 0x1003d1: Stereo Digital
>   Converter: stream=0, channel=2
>   Digital:
>   Digital category: 0x0
>   PCM:
>     rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
>     bits [0x1e]: 16 20 24 32
>     formats [0x3]: PCM FLOAT
>   Unsolicited: tag=15, enabled=0
>   Connection: 1
>      0x16
>   Processing caps: benign=0, ncoeff=0
> Node 0x16 [Pin Complex] wcaps 0x40030b: Stereo Digital Amp-In
>   Amp-In caps: ofs=0x18, nsteps=0x58, stepsize=0x01, mute=1
>   Amp-In vals:  [0x18 0x18]
>   Pincap 0x00000030: IN OUT
>   Pin Default 0x10a601f0: [Jack] Mic at Int N/A
>     Conn = Digital, Color = Unknown
>     DefAssociation = 0xf, Sequence = 0x0
>     Misc = NO_PRESENCE
>   Pin-ctls: 0x20: IN
>   Connection: 1
>      0x17
> Node 0x17 [Audio Output] wcaps 0x291: Stereo Digital
>   Converter: stream=0, channel=0
>   Digital:
>   Digital category: 0x0
>   PCM:
>     rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
>     bits [0x1e]: 16 20 24 32
>     formats [0x3]: PCM FLOAT
>   Unsolicited: tag=17, enabled=0
> --endcollapse--
> 
> 
> !!Aplay/Arecord output
> !!------------
> 
> APLAY
> 
> **** List of PLAYBACK Hardware Devices ****
> card 0: NVidia [HDA NVidia], device 0: HDA Generic [HDA Generic]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> ARECORD
> 
> **** List of CAPTURE Hardware Devices ****
> card 0: NVidia [HDA NVidia], device 0: HDA Generic [HDA Generic]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> !!Amixer output
> !!-------------
> 
> !!-------Mixer controls for card 0 [NVidia]
> 
> Card hw:0 'NVidia'/'HDA NVidia at 0xfae78000 irq 20'
>   Mixer name    : 'Wolfson Microelectronics ID 8800'
>   Components    : 'HDA:1aec8800,00000100,00100301'
>   Controls      : 3
>   Simple ctrls  : 2
> Simple mixer control 'Master',0
>   Capabilities: pvolume pswitch penum
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 127
>   Mono:
>   Front Left: Playback 87 [69%] [-20.00dB] [on]
>   Front Right: Playback 87 [69%] [-20.00dB] [on]
> Simple mixer control 'PCM',0
>   Capabilities: pvolume penum
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 255
>   Mono:
>   Front Left: Playback 255 [100%] [0.00dB]
>   Front Right: Playback 255 [100%] [0.00dB]
> 
> 
> !!Alsactl output
> !!-------------
> 
> --startcollapse--
> state.NVidia {
>         control.1 {
>                 iface MIXER
>                 name 'Master Playback Switch'
>                 value.0 true
>                 value.1 true
>                 comment {
>                         access 'read write'
>                         type BOOLEAN
>                         count 2
>                 }
>         }
>         control.2 {
>                 iface MIXER
>                 name 'Master Playback Volume'
>                 value.0 87
>                 value.1 87
>                 comment {
>                         access 'read write'
>                         type INTEGER
>                         count 2
>                         range '0 - 127'
>                         dbmin -6350
>                         dbmax 0
>                         dbvalue.0 -2000
>                         dbvalue.1 -2000
>                 }
>         }
>         control.3 {
>                 iface MIXER
>                 name 'PCM Playback Volume'
>                 value.0 255
>                 value.1 255
>                 comment {
>                         access 'read write user'
>                         type INTEGER
>                         count 2
>                         range '0 - 255'
>                         tlv '0000000100000008ffffec1400000014'
>                         dbmin -5100
>                         dbmax 0
>                         dbvalue.0 0
>                         dbvalue.1 0
>                 }
>         }
> }
> --endcollapse--
> 
> 
> !!ALSA Device nodes
> !!-----------------
> 
> crw-rw----+ 1 root audio 116,  5 Feb 21 09:38 /dev/snd/controlC0
> crw-rw----+ 1 root audio 116,  4 Feb 21 09:38 /dev/snd/hwC0D0
> crw-rw----+ 1 root audio 116,  3 Feb 21 09:38 /dev/snd/pcmC0D0c
> crw-rw----+ 1 root audio 116,  2 Feb 21 09:39 /dev/snd/pcmC0D0p
> crw-rw----+ 1 root audio 116,  1 Feb 21 09:37 /dev/snd/seq
> crw-rw----+ 1 root audio 116, 33 Feb 21 09:37 /dev/snd/timer
> 
> /dev/snd/by-path:
> total 0
> drwxr-xr-x 2 root root  60 Feb 21 09:38 .
> drwxr-xr-x 3 root root 180 Feb 21 09:38 ..
> lrwxrwxrwx 1 root root  12 Feb 21 09:38 pci-0000:00:08.0 -> ../controlC0
> 
> 
> Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o CONFIDENCIAL. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.
> 
> This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege.
> If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Support new HDA codec
  2012-02-24 15:51 ` Takashi Iwai
@ 2012-02-25 11:50   ` Mark Brown
  2012-02-25 18:02     ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Brown @ 2012-02-25 11:50 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Jorge Fernandez Monteagudo


[-- Attachment #1.1: Type: text/plain, Size: 480 bytes --]

On Fri, Feb 24, 2012 at 04:51:13PM +0100, Takashi Iwai wrote:

> That being said, if nothing special is needed, the support of this
> codec wouldn't be too difficult, I suppose.  But, sometimes codecs
> need special vendor-specific verbs, and we can't know without the help
> of vendors.

It should be very standards confirming and not require any magic Wolfson
specific verbs to use the functionality, a generic HDA driver should do
fine with an appropriate setup from the BIOS.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Support new HDA codec
  2012-02-25 11:50   ` Mark Brown
@ 2012-02-25 18:02     ` Takashi Iwai
  2012-02-27 13:51       ` Mark Brown
  0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2012-02-25 18:02 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel, Jorge Fernandez Monteagudo

At Sat, 25 Feb 2012 11:50:48 +0000,
Mark Brown wrote:
> 
> On Fri, Feb 24, 2012 at 04:51:13PM +0100, Takashi Iwai wrote:
> 
> > That being said, if nothing special is needed, the support of this
> > codec wouldn't be too difficult, I suppose.  But, sometimes codecs
> > need special vendor-specific verbs, and we can't know without the help
> > of vendors.
> 
> It should be very standards confirming and not require any magic Wolfson
> specific verbs to use the functionality, a generic HDA driver should do
> fine with an appropriate setup from the BIOS.

OK.  BTW, what is the name of the codec chip?  WM8800?


thanks,

Takashi

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Support new HDA codec
  2012-02-25 18:02     ` Takashi Iwai
@ 2012-02-27 13:51       ` Mark Brown
       [not found]         ` <AB277FB27524F74C87ACAFF84F2767490D56E514A4@NTMBOX.central.cirsa.com>
  2013-08-25  9:44         ` Mikel García
  0 siblings, 2 replies; 9+ messages in thread
From: Mark Brown @ 2012-02-27 13:51 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Jorge Fernandez Monteagudo


[-- Attachment #1.1: Type: text/plain, Size: 321 bytes --]

On Sat, Feb 25, 2012 at 07:02:55PM +0100, Takashi Iwai wrote:

> OK.  BTW, what is the name of the codec chip?  WM8800?

It'll be WM8850 or WM8860 - the two chips are indistinguishable from
software.  WM8800 is another variant but it is not generally available,
though I appreciate it is what the ID register reads back.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Support new HDA codec
       [not found]         ` <AB277FB27524F74C87ACAFF84F2767490D56E514A4@NTMBOX.central.cirsa.com>
@ 2012-02-27 14:07           ` Mark Brown
       [not found]             ` <AB277FB27524F74C87ACAFF84F2767490D56E514C0@NTMBOX.central.cirsa.com>
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Brown @ 2012-02-27 14:07 UTC (permalink / raw)
  To: Jorge Fernandez Monteagudo; +Cc: Takashi Iwai, alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 947 bytes --]

On Mon, Feb 27, 2012 at 03:01:11PM +0100, Jorge Fernandez Monteagudo wrote:
> > Mark Brown wrote

> > It should be very standards confirming and not require any magic Wolfson
> > specific verbs to use the functionality, a generic HDA driver should do
> > fine with an appropriate setup from the BIOS.

> With the generic HDA the only enabled path is DAC1 and PORT-A, the first
> it founds. In our carrier design we only use the stereo differential and
> SPIDF outputs. I've implemented a 'patch_wolfson.c' in order to enable these
> outputs and share the stream through both outputs, because I've no access
> to the BIOS code. The inputs are not used in our carrier, then I've not
> implemented anything.

Please share this code.  

Whatever is being done to work around the BIOS probably ought to be
board specific, even if the BIOS is not configurable hopefully there's
enough information been added to distinguish the board.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Support new HDA codec
       [not found]             ` <AB277FB27524F74C87ACAFF84F2767490D56E514C0@NTMBOX.central.cirsa.com>
@ 2012-03-05 12:16               ` Mark Brown
  0 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2012-03-05 12:16 UTC (permalink / raw)
  To: Jorge Fernandez Monteagudo; +Cc: Takashi Iwai, alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 904 bytes --]

On Thu, Mar 01, 2012 at 10:44:23AM +0100, Jorge Fernandez Monteagudo wrote:

> Attached it's the patch applied to alsa 1.0.23. A new patch_wolfson.c file
> is created. I would like to note that no Wolfson support was received to
> develop to this code, and this code is useful for us because we only need

Hrm, that's not strictly accurate - we didn't help with the code but I
know there's been some help (possibly via the distributor).

> the outputs differential and SPDIF. This code must be revisited in order to
> support the different inputs, the stereo normal output and the I/O.

Looking at the code it seems like most of this is things that I'd really
expect the generic driver to be able to cope with assuming a suitable
BIOS setup, but looking at the generic driver it seems like it might
need some enhancement to do so.  Things like the S/PIDF output should
really be able to Just Work.  Hrm.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Support new HDA codec
  2012-02-27 13:51       ` Mark Brown
       [not found]         ` <AB277FB27524F74C87ACAFF84F2767490D56E514A4@NTMBOX.central.cirsa.com>
@ 2013-08-25  9:44         ` Mikel García
  2013-08-26 12:39           ` Takashi Iwai
  1 sibling, 1 reply; 9+ messages in thread
From: Mikel García @ 2013-08-25  9:44 UTC (permalink / raw)
  To: alsa-devel

Mark Brown <broonie <at> opensource.wolfsonmicro.com> writes:

> 
> On Sat, Feb 25, 2012 at 07:02:55PM +0100, Takashi Iwai wrote:
> 
> > OK.  BTW, what is the name of the codec chip?  WM8800?
> 
> It'll be WM8850 or WM8860 - the two chips are indistinguishable from
> software.  WM8800 is another variant but it is not generally available,
> though I appreciate it is what the ID register reads back.
> 
> 
> On Sat, Feb 25, 2012 at 07:02:55PM +0100, Takashi Iwai wrote:
> 
> > OK.  BTW, what is the name of the codec chip?  WM8800?
> 
> It'll be WM8850 or WM8860 - the two chips are indistinguishable from
> software.  WM8800 is another variant but it is not generally available,
> though I appreciate it is what the ID register reads back.
> 

Hello, a this moment with a 3.7.10 kernel and debian wheezy I only have
control of the Master volume with the generic parser (wm8850). Only one
output can be controlled. No inputs are detected. What do you mean with
appropriate bios setup? Do you know if there is more compatibility in higher
kernels?

Thank you.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Support new HDA codec
  2013-08-25  9:44         ` Mikel García
@ 2013-08-26 12:39           ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2013-08-26 12:39 UTC (permalink / raw)
  To: Mikel García; +Cc: alsa-devel

At Sun, 25 Aug 2013 09:44:09 +0000 (UTC),
Mikel García wrote:
> 
> Mark Brown <broonie <at> opensource.wolfsonmicro.com> writes:
> 
> > 
> > On Sat, Feb 25, 2012 at 07:02:55PM +0100, Takashi Iwai wrote:
> > 
> > > OK.  BTW, what is the name of the codec chip?  WM8800?
> > 
> > It'll be WM8850 or WM8860 - the two chips are indistinguishable from
> > software.  WM8800 is another variant but it is not generally available,
> > though I appreciate it is what the ID register reads back.
> > 
> > 
> > On Sat, Feb 25, 2012 at 07:02:55PM +0100, Takashi Iwai wrote:
> > 
> > > OK.  BTW, what is the name of the codec chip?  WM8800?
> > 
> > It'll be WM8850 or WM8860 - the two chips are indistinguishable from
> > software.  WM8800 is another variant but it is not generally available,
> > though I appreciate it is what the ID register reads back.
> > 
> 
> Hello, a this moment with a 3.7.10 kernel and debian wheezy I only have
> control of the Master volume with the generic parser (wm8850). Only one
> output can be controlled. No inputs are detected. What do you mean with
> appropriate bios setup? Do you know if there is more compatibility in higher
> kernels?

You should use 3.9 or later kernels.  There have been huge rewrites of
the generic parser from that version.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-08-26 12:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-21 11:14 Support new HDA codec Jorge Fernandez Monteagudo
2012-02-24 15:51 ` Takashi Iwai
2012-02-25 11:50   ` Mark Brown
2012-02-25 18:02     ` Takashi Iwai
2012-02-27 13:51       ` Mark Brown
     [not found]         ` <AB277FB27524F74C87ACAFF84F2767490D56E514A4@NTMBOX.central.cirsa.com>
2012-02-27 14:07           ` Mark Brown
     [not found]             ` <AB277FB27524F74C87ACAFF84F2767490D56E514C0@NTMBOX.central.cirsa.com>
2012-03-05 12:16               ` Mark Brown
2013-08-25  9:44         ` Mikel García
2013-08-26 12:39           ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.