aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* ALSA: hda - Don't touch non-existent port f on 4-port 92hd71bxx codecsHerton Ronaldo Krzesinski2009-02-09
| | | | | | | | | | When checking for input amps on pins 0x0a, 0x0d and 0x0f, and initializing them for 92hd71xxx codec models, we must skip nid 0x0f for 4-port models too like with 5-port models, as it is unused (nid 0x0f is vendor reserved in 4-port models). Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Bind new ecs mobo id (1019:2950) to model=ecs202Herton Ronaldo Krzesinski2009-02-09
| | | | | | | | This adds a new sound quirk entry (model=ecs202) for an ecs motherboard with IDT STAC9221 codec (1019:2950). Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Fix unused variable compile warningTakashi Iwai2009-02-06
| | | | | | sound/pci/hda/patch_realtek.c:12693: warning: unused variable ā€˜i’ Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Use digital beep for AD codecsTakashi Iwai2009-02-06
| | | | | | | Use digital beep instead of analog pc-beep for AD codecs. Create the beep mixer controls dynamically on demand. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Remove superfluous code in patch_realtek.cTakashi Iwai2009-02-06
| | | | | | codec->spec is reset in the caller side. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Clear codec->beep at releaseTakashi Iwai2009-02-06
| | | | | | Clear codec->beep field in snd_hda_detach_beep_device() to be sure. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Add missing NULL check in snd_hda_create_spdif_in_ctls()Takashi Iwai2009-02-06
| | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-06
|\
| * ALSA: hda - Add missing COEF initialization for ALC887Takashi Iwai2009-02-06
| | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Add missing initialization for ALC272Takashi Iwai2009-02-06
| | | | | | | | | | | | | | ALC272 needs EAPD for speaker outputs as well as other similar ALC codecs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Create beep mixer controls dynamically for Realtek codecsTakashi Iwai2009-02-06
| | | | | | | | | | | | | | Create beep mixer controls dynamically for Realtek codecs instead of static arrays. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: enable concurrent digital outputs for ALC1200Wu Fengguang2009-02-06
| | | | | | | | | | | | | | | | | | Add the SPDIF pin as slave digital out to enable concurrent HDMI/SPDIF outputs for ASUS M3A-H/HDMI with ALC1200 codec. Tested-by: Thomas Schneider <nailstudio@gmx.net> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add missing KERN_* prefix to printkTakashi Iwai2009-02-05
| | | | | | | | | | | | ... and disable the annoying debug message. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add quirk for another HP laptopTakashi Iwai2009-02-05
| | | | | | | | | | | | Add model=laptop entry for another HP laptop (103c:3077) with AD1984A. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add quirk for HP zenith laptopTakashi Iwai2009-02-05
| | | | | | | | | | | | Added model=laptop for another HP laptop (103c:3072) with AD1984A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda: Added stac378x digital slave out structMatthew Ranostay2009-02-05
| | | | | | | | | | | | | | | | Added the ADATOut nid to a slave digital outs struct to allow output via the DigOut pin. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Don't call stac92xx_parse_auto_config with wrong dig_inHerton Ronaldo Krzesinski2009-02-05
| | | | | | | | | | | | | | | | Don't use uneeded/wrong third parameter for stac92xx_parse_auto_config in patch_stac92hd71bxx (no SPDIF in). Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Dynamic detection of dmics/dmuxes/smuxes in stac92hd71bxxHerton Ronaldo Krzesinski2009-02-05
| | | | | | | | | | | | | | | | | | | | Detect the number of connected ports and number of smuxes dynamically, looking at pin configs, using new introduced functions stac92hd71bxx_connected_ports and stac92hd71bxx_connected_smuxes. Also use proper input mux configuration for 4port and 5port models. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Additional pin nids for STAC92HD71Bx and STAC92HD75Bx codecsHerton Ronaldo Krzesinski2009-02-05
| | | | | | | | | | | | | | | | | | | | | | Current code for STAC92HD71Bx and STAC92HD75Bx doesn't consider pin complexes 0x20 and 0x27. Also for 4 port models, nids 0x0e and 0x0f are vendor reserved. This commit changes code so it'll consider the additional pin complexes for models that have it, and avoid reserved nids to be touched on 4 port models. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-05
|\|
| * ALSA: hda - Fix misc workqueue issuesTakashi Iwai2009-02-05
| | | | | | | | | | | | | | | | | | | | Some fixes regarding snd-hda-intel workqueue: - Use create_singlethread_workqueue() instead of create_workqueue() as per-CPU work isn't required. - Allocate workq name string properly - Renamed the workq name to "hd-audio*" to be more obvious. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-04
|\|
| * ALSA: hda - Add quirk for FSC Amilo Xi2550Takashi Iwai2009-02-04
| | | | | | | | | | | | | | | | | | Added model=fujisu-pi2515 for FSC Amilo Xi2550 with ALC883 codec. Refernece: Novell bnc#450979 https://bugzilla.novell.com/show_bug.cgi?id=450979 Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda: Add digital beep generator support for Realtek codecs.Kusanagi Kouichi2009-02-04
| | | | | | | | | | | | | | A digital beep generator can be used via input layer. Signed-off-by: Kusanagi Kouichi <slash@ma.neweb.ne.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: Document tyan model for Realtek ALC262Tony Vroon2009-02-03
| | | | | | | | | | | | | | | | | | | | As just pointed out to me, the new tyan model for ALC262 was implemented but not documented. This adds the board to the list, using both its marketing name (Thunder n6650W) and its model number (S2915-E). Signed-off-by: Tony Vroon <tony@linx.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add tyan model for Realtek ALC262Tony Vroon2009-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The Realtek ALC262 on the Tyan Thunder n6650W (S2915-E) mainboard has a rather odd configuration template. As a result, the white AUX connector can not be used. This rewrites the default config to more accurately reflect the connector layout, colour and function. Unfortunately the black CD_IN connector, which is suspected to be widget 0x1c refuses to switch into input (0x20), instead opting to remain on 0x0. As such, no mixer controls are exposed for it. Autoswitching is implemented between the front headphone output and back line output. Signed-off-by: Tony Vroon <tony@linx.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-02
|\|
| * ALSA: hda - No widget selection for volume knob widgets in proc outputTakashi Iwai2009-02-02
| | | | | | | | | | | | | | | | Volume-knob widgets have no widget selection although they have widget connections. Thus, the connection list in the proc output shouldn't contain the selection (*). Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Add support of iMac 24 AluminiumMark Eggleston2009-01-31
| | | | | | | | | | | | Added the support for 24" Aluminium iMac (106b:3e00) Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Add quirk for another HP dv5 modelTakashi Iwai2009-01-30
| | | | | | | | | | | | | | | | | | Added model=hp-dv5 for another HP dv5 model with AMD chip (103c:3600) Reference: kernel bug#12440 http://bugzilla.kernel.org/show_bug.cgi?id=12440 Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - add another MacBook Pro 4, 1 subsystem IDLuke Yelavich2009-01-28
| | | | | | | | | | | | | | | | Add another MacBook Pro 4,1 SSID (106b:3800). It seems that latter revisions, (at least mine), have different IDs to earlier revisions. Signed-off-by: Luke Yelavich <themuso@ubuntu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Fix compile warning with CONFIG_SND_JACK=nTakashi Iwai2009-01-27
| | | | | | | | | | | | sound/pci/hda/patch_conexant.c:352: warning: 'conexant_add_jack' defined but not used Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Add quirk for HP DV6700 laptopJoerg Schirottke2009-01-27
| | | | | | | | | | | | | | Added the matching model=laptop for HP DV6700 laptop. Signed-off-by: Joerg Schirottke <master@kanotix.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - make alc882_auto_init_input_src aware of selectorsHerton Ronaldo Krzesinski2009-01-29
| | | | | | | | | | | | | | | | | | In the case of having a selector instead of mixer while initing input sources, the case that happens with ALC889, we must select instead of muting input. Problem was found while testing with hda-emu. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Consider additional capture source/selector in ALC889Herton Ronaldo Krzesinski2009-01-28
| | | | | | | | | | | | | | | | | | | | Currently code for capture source support in ALC889 only considers capture mixers. This change adds additional support for ADC+selector present in ALC889, taking into account also the presence of an additional DMIC connection item in the selector. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda: 92hd71xxx disable unmute support for codecs that don't have input ↵Matthew Ranostay2009-01-26
| | | | | | | | | | | | | | | | | | | | | | | | amps Some revisions of the 92hd71xxx codec families don't have input amps on ports 0xa, 0xd and 0xf, so probe the widget caps on port 0xa and check for support, if found run snd_hda_sequence_write_cache() on the stac92hd71xxx_unmute_core_init verb list. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Fix wrong initial verb for AD1984 thinkpad modelTakashi Iwai2009-01-23
| | | | | | | | | | | | The docking mic-boost (0x25) has no mute bit. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Fix invalid amp init for ALC268 codecTakashi Iwai2009-01-23
| | | | | | | | | | | | Fix some invalid AMP initializations for ALC268 codecs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Fix invalid verbs for mic-boosts on AD1884*Takashi Iwai2009-01-23
| | | | | | | | | | | | | | The mic-boosts (0x14 and 0x15) on AD1884* codecs are input-amps, not output-amps. Fix the invalid initialization verbs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Remove invalid amp initializations for AD1988* codecsTakashi Iwai2009-01-23
| | | | | | | | | | | | | | The ADC widgets on AD1988* codecs have no amp controls. Remove invalid initialization verbs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Fix initial verbs for mic-boosts on AD1981HDTakashi Iwai2009-01-23
| | | | | | | | | | | | | | The mic boosts (NID 0x08 and 0x18) are input-amps, not output-amps. Fix the initial verbs for them. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Create "Input Source" control dynamically for STAC/IDTTakashi Iwai2009-01-23
| | | | | | | | | | | | | | | | Instead of fixed kcontrol_new element, build "Input Source" controls dynamically. If the number of input-source items is 0 or 1, we don't need to create such a control. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-01-23
|\|
| * ALSA: hda - Fix PCM reference NID for STAC/IDT analog outputsTakashi Iwai2009-01-23
| | | | | | | | | | | | | | | | | | | | | | The reference NID for the analog outputs of STAC/IDT codecs is set to a fixed number 0x02. But this isn't always correct and in many codecs it points to a non-existing NID. This patch fixes the initialization of the PCM reference NID taken from the actually probed DAC list. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add model=ref for Intel board with STAC9221Takashi Iwai2009-01-23
| | | | | | | | | | | | | | | | | | An intel board (8086:0204) works only with model=ref. Reference: Novell bug #406529 https://bugzilla.novell.com/show_bug.cgi?id=406529 Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda: add reference board SND_PCI_QUIRKMatthew Ranostay2009-01-23
| | | | | | | | | | | | | | | | Add another LanParty reference board SND_PCI_QUIRK to quirk lists of all codec families. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Add PCI DFI vendor IDMatthew Ranostay2009-01-23
| | | | | | | | | | | | | | Add a define for DFI PCI vendor id. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-01-23
|\|
| * ALSA: hda: Add STAC92HD83XXX_PWR_REF quirkMatthew Ranostay2009-01-23
| | | | | | | | | | | | | | | | | | | | | | Some revisions of the 92hd8xxx codec's not supporting port power downs in which the using of it causes capture and also randomly playback streams to not function at all. Thus by disabling it by default and adding a option to enable it manually will fix all issue on current and future revisions. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda: revert change to 92hd83xxx power mappingMatthew Ranostay2009-01-23
| | | | | | | | | | | | | | | | Port 0xe power mapping was incorrect set to 0x80 changed to the correct value 0x40. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>