summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_analog.c
Commit message (Collapse)AuthorAgeFilesLines
* [ALSA] hda-codec - Add support for Samsung Q1 UltraTobin Davis2007-02-091-1/+25
| | | | | | | | This adds support for the Samsung Q1 Ultra tablet pc. Signed-off-by: Tobin Davis <tdavis@dsl-only.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Use snd_pci_quirk_lookup() for board config lookupTakashi Iwai2007-02-091-73/+72
| | | | | | | | Use snd_pci_quirk_lookup() for looking up a board config table. The config table is sorted in numerical order of PCI SSIDs. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Add model for ASUS W3j laptopTakashi Iwai2007-02-091-0/+2
| | | | | | | | Added a proper model entry (model=laptop-eapd) for ASUS W3j laptop with AD1986A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Fix model for ASUS M2N-MXTakashi Iwai2007-02-091-0/+2
| | | | | | | Add a proper model (3stack) for ASUS M2N-MX with AD1986A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Fix model for Lenovo A60 desktopTakashi Iwai2007-02-091-0/+2
| | | | | | | | Add a proper model entry (3stack) for Lenovo A60 desktop with AD1986a codec to fix noise problems. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] snd_hda_intel 3stack mode for ASUS P5P-L2Nickolay V. Shmyrev2006-12-201-0/+2
| | | | | | | | | | | | | | | | | I have ASUS P5PL2 motherboard and it's embedded sound card requires the following patch which sets '3stack' model to operate properly: 00:1b.0 0403: 8086:27d8 (rev 01) Subsystem: 1043:817f Flags: bus master, fast devsel, latency 0, IRQ 177 Memory at dfdf8000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 2 Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable- Capabilities: [70] Express Unknown type IRQ 0 Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - fix typo in PCI IDsChristian Hesse2006-12-201-1/+1
| | | | | | | | my notebook is a Samsung X11 of course... The attached patch fixes the typo. Signed-off-by: Christian Hesse <mail@earthworm.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Fix model for ASUS V1j laptopTakashi Iwai2006-12-201-0/+2
| | | | | | | | Add a proper model entry (laptop-eapd) for ASUS V1j laptop with AD1986A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Fix wrong error checks in patch_{realtek,analog}.cTakashi Iwai2006-12-201-1/+1
| | | | | | | | | Fix wrong error checks of *_ch_mode_put() in patch_realtek.c and patch_analog.c. snd_hda_ch_mode_put() could return a positive value for success, too. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Add model entry for ASUS U5F laptopTakashi Iwai2006-10-221-0/+2
| | | | | | | Added a model entry for ASUS U5F laptop with AD1986A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Support multiple headphone pinsTakashi Iwai2006-09-231-2/+2
| | | | | | | | | | | | | | Some machines have multiple headpohne pins (usually on the lpatop and on the docking station) while the current hda-codec driver assumes a single headphone pin. Now it supports multiple hp pins (at least for detection). The sigmatel 92xx code supports this new multiple hp pins. It detects all hp pins for auto-muting, too. Also, the driver checks speaker pins in addition. In some cases, all line-out, speaker and hp-pins coexist. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Add missing TLV callbacks for HD-audio codecsTakashi Iwai2006-09-231-14/+2
| | | | | | | | Added missing TLV callbacks for HD-audio codec supports. Also cleaned up the tlv callback for ad1986a (no mutex is needed there). Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Fix compile errors with older gccTakashi Iwai2006-09-231-1/+1
| | | | | | | | | | | Fixed compile errors with older gcc for initialization of a union. sound/pci/ca0106/ca0106_mixer.c: At top level: sound/pci/ca0106/ca0106_mixer.c:499: unknown field 'p' specified in initializer sound/pci/ca0106/ca0106_mixer.c:499: warning: missing braces around initializer sound/pci/ca0106/ca0106_mixer.c:499: warning: (near initialization for 'snd_ca0106_volume_ctls[0].tlv') Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Fix noisy output with shared channel mode with hd-audioTakashi Iwai2006-09-231-3/+5
| | | | | | | | | | - Fix the wrong initialization of num_dacs when changing the channel mode between 2 and multi-channel modes. It must be evaluated after calling snd_hda_ch_mode_put() - Added the similar check of num_dacs fix in Realtek code. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Added model for ASUS M2NPV-VM moboTakashi Iwai2006-09-231-0/+2
| | | | | | | | Added the proper model (3stack) for ASUS M2NPV-VM mobo with AD1986A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Add model entry for Samsung X10 laptopTakashi Iwai2006-09-231-0/+2
| | | | | | | | Added the proper model entry (laptop-eapd) for Samsung X10-T2300 Culesa laptop with AD1986A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] HDA codec & CA0106 - add/fix TLV supportJaroslav Kysela2006-09-231-0/+17
| | | | Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Fix missing array terminators in AD1988 codec supportTakashi Iwai2006-07-121-0/+4
| | | | | | | Fixed the missing array terminators in AD1988 codec support code. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Fix workaround for AD1988A rev2 codecTakashi Iwai2006-07-121-6/+9
| | | | | | | | Fix the workaround for AD1988A rev2 codec not to apply to AD1988B codec chips. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Add model entry for Samsung X60 ChaneTakashi Iwai2006-06-281-0/+2
| | | | | | | | Added the model entry 'laptop-eapd' for Samsung X60 Chane with AD1986A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Use 3stack model for ASUS P5RD2-VM / P5GPL-X SETakashi Iwai2006-06-221-0/+2
| | | | | | | Use 3stack model as default for ASUS P5RD2-VM and P5GPL-X SE boards with AD1986A codec (ALSA bug#2103). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] HDA - Lenovo 3000 N100-07684JU - enable laptop-eapd by defaultDaniel T Chen2006-06-221-0/+2
| | | | | | | | | | | | | | | | Justin Sunseri reports that sound is audible on his Lenovo 3000 N100-07684JU by passing 'model=laptop-eapd' to modprobe, so this patch adds the pci ids for his sound device to patch_analog.c . This commit closes LP#39517. Alexey Parshin also confirmed the fix at http://bugs.gentoo.org/137245 TODO: Mute onboard speakers when device is plugged into the headphone jack. Muting the 'External Amplifier' mixer element while a device is plugged into the headphone jack allows sound to be played only from the headphone jack. From: Daniel T Chen <crimsun@ubuntu.com> Signed-off-by: Daniel T Chen <crimsun at ubuntu.com> Signed-off-by: Daniel Drake <dsd@gentoo.org> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Add SPDIF support to Thinkpad T/X/Z60Takashi Iwai2006-06-221-3/+10
| | | | | | | | | Added IEC958 (SPDIF) output support to Thinkpad T/X/Z60 with AD1981HD codec. The spdif jack is on docking station. Also, renamed 'IEC958 Playback Route' to 'IEC958 Playback Source' to avoid the mixer name confliction with IEC958 switch. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add model entry for HP nx6320Takashi Iwai2006-06-221-0/+2
| | | | | | | | Added a model entry for HP nx6320 with AD1981HD codec. It wasn't covered by the generic HP entry because of a hardware bug (the SSID is reversed). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix a typoTakashi Iwai2006-06-221-1/+1
| | | | | | Fixed a typo of 'pci_subsystem' in the last changeset. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add Thinkpad X60/T60/Z60 supportTakashi Iwai2006-06-221-1/+43
| | | | | | Added the support for Thinkpad X60/T60/Z60 laptops with AD1981HD codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add model entry for ASUS Z62FTakashi Iwai2006-04-271-0/+2
| | | | | | | Added a model entry 'laptop-eapd' for ASUS Z62F laptop with AD1986A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add codec id for AD1988B codec chipTakashi Iwai2006-04-271-0/+1
| | | | | | | Add codec id for AD1988B codec chip. The functionality is identical with AD1988(A) chip. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add model entry for ASUS M9 laptopTakashi Iwai2006-04-271-0/+2
| | | | | | Add a model entry to support ASUS M9 laptop with AD1986A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Use model 'hp' for all HP laptops with AD1981HDTakashi Iwai2006-04-271-6/+2
| | | | | | Use model 'hp' for all HP laptops with AD1981HD codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add support of ASUS U5A with AD1986A codecTakashi Iwai2006-04-121-0/+2
| | | | | | | | Modules: HDA Codec driver Add the model entry to support of ASUS U5A with AD1986A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - support HP Compaq Presario B2800 laptop with AD1986A codecCoywolf Qi Hunt2006-04-121-0/+2
| | | | | | | | | Modules: HDA Codec driver This adds the support for HP Compaq Presario B2800 laptop with AD1986A codec. Signed-off-by: Coywolf Qi Hunt <qiyong@freeforge.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add another HP laptop with AD1981HDTakashi Iwai2006-04-121-0/+2
| | | | | | | | Modules: HDA Codec driver Added the SSID of another HP laptop for the model 'hp' with AD1981HD. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix noisy output wtih AD1986A 3stack modelTakashi Iwai2006-03-311-1/+8
| | | | | | Fixed the noisy output wtih AD1986A 3stack model using 2 channels. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add support for HP nx9420 laptopTakashi Iwai2006-03-221-1/+3
| | | | | | | | Modules: HDA Codec driver Added the support for HP nx9420 (AngelFire) laptop with AD1981HD codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix BIOS auto-configurationTakashi Iwai2006-03-221-12/+11
| | | | | | | | | | | | | | | Modules: HDA Codec driver,HDA generic driver - Fix autoconfig speaker/hp detection Now it allows multiple speaker pins (e.g. Dell laptops have such config) - Use speaker or hp pins if no line-outs are available This fixes the silence output on recent Dell laptops with STAC9200 (ALSA bug#1843) - Fix analog/realtek/sigmatel autoconfig parser Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix for Samsung R65 and ASUS A6JTakashi Iwai2006-03-221-1/+115
| | | | | | | | | Modules: Documentation,HDA Codec driver Added a new model 'laptop-eapd' to AD1986A codec for Samsung R65 and ASUS A6J laptops. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix support of laptops with AD1986A codecTakashi Iwai2006-03-221-0/+131
| | | | | | | | | | | | Modules: Documentation,HDA Codec driver Fix the support of laptops with AD1986A HD-audio codec. Added new models '3stack' and 'laptop'. Currently, fixed for FSC V2060 and Samsung M50. Also fixed the description of missing models in ALSA-Configuration.txt. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix missing AD1986a capsrcTakashi Iwai2006-03-221-1/+1
| | | | | | | | Modules: HDA Codec driver Fix missing AD1986a capsrc setting in the last patch. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix AD198x recording and add HP modelTakashi Iwai2006-03-221-44/+255
| | | | | | | | | Modules: HDA Codec driver - Fixed recording of AD1981HD/AD1983/AD1986A - Added model 'hp' to AD1981HD for HP nx6320 Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] semaphore -> mutex (PCI part)Ingo Molnar2006-03-221-13/+15
| | | | | | | | | | | Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Small clean up and fixesTakashi Iwai2006-01-031-5/+3
| | | | | | | | | Modules: HDA Codec driver,HDA generic driver - Common labels for input pins - Fix and clean up of Realtek codec parsers Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add the support of ALC262,ALC883,ALC885,ALC861Kailang Yang2006-01-031-1/+1
| | | | | | | | | | Modules: HDA Codec driver,HDA generic driver This patch adds the support of ALC262,ALC883,ALC885,ALC861 to driver More models and improvements for ALC880, ALC260 and ALC882 codecs, too. Signed-off-by: Kailang Yang <kailang@realtek.com.tw> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix surrounds on 3stack mode of AD1988Takashi Iwai2006-01-031-10/+13
| | | | | | | | Modules: HDA Codec driver Fixed the swapped surround/CLFE on 3stack mode of AD1988. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix/enhance AD1988 supportTakashi Iwai2006-01-031-41/+531
| | | | | | | | | | | Modules: HDA Codec driver Fix/enhance AD1988 support code. - Fix for h/w bug of AD1988A rev 2 - The BIOS auto-configuration is added and used as fallback Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix AD1988 supportTakashi Iwai2006-01-031-20/+32
| | | | | | | | | Modules: HDA Codec driver Fix AD1988 support. As default, 6stack model is used. Still no auto-BIOS setup is implemented. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add AD1988 supportTakashi Iwai2006-01-031-0/+785
| | | | | | | | | Modules: HDA Codec driver Add AD1988 codec support to hda-codec driver. Still experimental, and no BIOS configuration parser is implemented yet. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove xxx_t typedefs: HD-Audio codecTakashi Iwai2006-01-031-21/+21
| | | | | | | | Modules: HDA Codec driver,HDA generic driver Remove xxx_t typedefs from the HD-Audio codec support codes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add channel-mode helperTakashi Iwai2006-01-031-1/+1
| | | | | | | | Modules: HDA Codec driver,HDA generic driver Add common channel-mode helper functions for all codec patches. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Minor rewritesTakashi Iwai2005-11-041-32/+101
| | | | | | | | | Modules: HDA Codec driver,HDA generic driver - Make bound controls global to all patches - Clean up analog patches (for the upcoming extension to AD1988) Signed-off-by: Takashi Iwai <tiwai@suse.de>