aboutsummaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
* ALSA: hda - Add missing KERN_* prefix to printkTakashi Iwai2009-02-051-2/+2
| | | | | | ... and disable the annoying debug message. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Add quirk for another HP laptopTakashi Iwai2009-02-051-0/+1
| | | | | | 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-051-0/+1
| | | | | | 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-051-0/+5
| | | | | | | | 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-051-1/+1
| | | | | | | | 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-051-12/+87
| | | | | | | | | | 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-051-16/+43
| | | | | | | | | | | 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-052-4/+6
|\
| * ALSA: hda - Fix misc workqueue issuesTakashi Iwai2009-02-052-4/+6
| | | | | | | | | | | | | | | | | | | | 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-041-0/+2
|\ \ | |/
| * ALSA: hda - Add quirk for FSC Amilo Xi2550Takashi Iwai2009-02-041-0/+2
| | | | | | | | | | | | | | | | | | 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-042-1/+63
| | | | | | | | | | | | | | 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: hda - Add tyan model for Realtek ALC262Tony Vroon2009-02-031-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-024-3/+18
|\ \ | |/
| * ALSA: hda - No widget selection for volume knob widgets in proc outputTakashi Iwai2009-02-021-1/+2
| | | | | | | | | | | | | | | | 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-311-0/+1
| | | | | | | | | | | | 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-301-0/+2
| | | | | | | | | | | | | | | | | | 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-281-0/+1
| | | | | | | | | | | | | | | | 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-271-2/+11
| | | | | | | | | | | | 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-271-0/+1
| | | | | | | | | | | | | | 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-291-3/+18
| | | | | | | | | | | | | | | | | | 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-281-28/+77
| | | | | | | | | | | | | | | | | | | | 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-261-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | 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-231-1/+1
| | | | | | | | | | | | 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-231-16/+2
| | | | | | | | | | | | 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-231-4/+4
| | | | | | | | | | | | | | 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-231-12/+0
| | | | | | | | | | | | | | 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-231-2/+2
| | | | | | | | | | | | | | 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-231-25/+53
| | | | | | | | | | | | | | | | 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-231-0/+2
|\ \ | |/
| * ALSA: hda - Fix PCM reference NID for STAC/IDT analog outputsTakashi Iwai2009-01-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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-231-0/+3
| | | | | | | | | | | | | | | | | | 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-231-0/+15
| | | | | | | | | | | | | | | | 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>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-01-231-8/+13
|\ \ | |/
| * ALSA: hda: Add STAC92HD83XXX_PWR_REF quirkMatthew Ranostay2009-01-231-7/+12
| | | | | | | | | | | | | | | | | | | | | | 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-231-1/+1
| | | | | | | | | | | | | | | | 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>
* | ALSA: hda - Add quirk for Gateway %1616 laptopTakashi Iwai2009-01-221-1/+9
| | | | | | | | | | | | | | | | | | | | Gateway T1616 laptop needs EAPD always on while the current STAC9205 code turns off per HP plug. Added a new model "eapd" to keep it on. Reference: Novell bnc#467597 https://bugzilla.novell.com/show_bug.cgi?id=467597 Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-01-221-0/+2
|\ \ | |/
| * ALSA: hda - Add model entry for HP dv4Takashi Iwai2009-01-221-0/+2
| | | | | | | | | | | | | | | | | | Added model=hp-dv5 for HP dv4 (103c:30f7). Reference: kernel bug #12440 http://bugzilla.kernel.org/show_bug.cgi?id=12440 Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Avoid to set the pin control again if already setTakashi Iwai2009-01-221-7/+13
| | | | | | | | | | | | | | | | Check the present pin control bit and avoid the write if it's already set in patch_sigmatel.c. This will reduce the number of verb execs at jack plugging. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'test/hda-vol-ofs' into next/hdaTakashi Iwai2009-01-223-17/+74
|\ \
| * | ALSA: hda - Halve too large volume scales for STAC/IDT codecsTakashi Iwai2009-01-201-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | STAC/IDT codecs have often too large volume scales such as -96dB, and exposing this as is results in too large scale in percentage representation. This patch adds the check of the volume scale and halves the volume range if it's too large automatically. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: hda - Add extra volume offset to standard volume amp macrosTakashi Iwai2009-01-202-9/+41
| | | | | | | | | | | | | | | | | | | | | | | | Added the volume offset to base for the standard volume controls to handle elements with too big volume scales like -96dB..0dB. For such elements, you can set the base volume to reduce the range. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: hda - Clean up old VAIO hack codes for STAC9872Takashi Iwai2009-01-211-217/+21
| | | | | | | | | | | | | | | | | | | | | Get rid of old VAIO static hack codes for STAC9872 and use the BIOS auto-parser for all models. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | Merge branch 'topic/hda' into next/hdaTakashi Iwai2009-01-211-5/+11
|\ \ \ | | |/ | |/|
| * | ALSA: hda: 83xxx port 0xe DAC selectionMatthew Ranostay2009-01-211-5/+11
| |/ | | | | | | | | | | | | | | On the 92hd8xxx codecs port 0xe needs the connection selected to be the last DAC in the list. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Allow digital-only I/O on ALC262 codecTakashi Iwai2009-01-201-10/+33
| | | | | | | | | | | | | | | | | | | | | | Some laptops like VAIO have multiple codecs and uses ALC262 only for the SPIDF output without analog I/O. So far, the codec-parser assumes the presence of analog I/O and returned an error for such a case. This patch adds some hacks to allow the digital-only configuration for ALC262. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Assign proper digital I/O type for STAC/IDTTakashi Iwai2009-01-202-2/+6
| | | | | | | | | | | | | | | | | | | | Assign the proper PCM digital I/O type (HDA_PCM_TYPE_*) for the digital I/O on STAC/IDT codecs. HDA_PCM_TYPE_HDMI is assigned for the HDMI I/O. A similar framework is implemented to patch_realtek.c, but it's not set up and still using only HDA_PCM_TYPE_SPDIF yet. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Check HDMI jack types in the auto configurationTakashi Iwai2009-01-202-0/+10
| | | | | | | | | | | | | | | | Add dig_out_type and dig_in_type fields to autocfg struct. A proper HDA_PCM_TYPE_* value is assigned to these fields according to the pin-jack location type value. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Don't break the PCM creation loopTakashi Iwai2009-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | Don't break the loop in snd_hda_codec_build_pcms() even if the item has no substreams. It's possible that it's an empty item and the next item containing the valid substreams (e.g. realtek codecs may create the analog and alt-analog but no digitl streams). Signed-off-by: Takashi Iwai <tiwai@suse.de>