aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
Commit message (Collapse)AuthorAge
* ALSA: HDA: Realtek: Avoid unnecessary volume control index on Surround/SideDavid Henningsson2011-03-23
| | | | | | | | | | | | | | Similar to commit 7e59e097c09b82760bb0fe08b0fa2b704d76c3f4, this patch avoids unnecessary volume control indices for more Realtek auto-parsers, e g the ALC66x family, on the "Surround" and "Side" controls. These indices cause these volume controls to be ignored by PulseAudio and vmaster and should be removed whenever possible. Cc: stable@kernel.org Reported-by: Jan Losinski <losinski@wh2.tu-dresden.de> Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Set EAPD for Realtek ALC665Andres Mejia2011-03-21
| | | | | | | | Set EAPD for Realtek ALC665 (Vendor Id: 0x10eSet EAPD for Realtek ALC665 (Vendor Id: 0x10ec0665). Signed-off-by: Andres Mejia <mcitadel@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Merge branch 'topic/misc' into for-linusTakashi Iwai2011-03-18
|\
| * Merge branch 'fix/misc' into topic/miscTakashi Iwai2011-03-11
| |\
| * | ALSA: hda - patch_realtek.c remove one to many l's in the word.Justin P. Mattock2011-02-25
| | | | | | | | | | | | | | | | | | | | | The patch below removes an extra "l" in the word. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: hda - Remove an unused variable in patch_realtek.cTakashi Iwai2011-03-14
| | | | | | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: hda - Move default input-src selection to init partTakashi Iwai2011-03-14
| | | | | | | | | | | | | | | | | | | | | | | | Move the default input-src selection code for alc268/269 to the init part instead of the parser. The input-src selection might be overwritten by init verbs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: hda - Initialize special cases for input src in init phaseTakashi Iwai2011-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently some special handling for the unusual case like dual-ADCs or a single-input-src is done in the tree-parse time in set_capture_mixer(). But this setup could be overwritten by static init verbs. This patch moves the initialization into the init phase so that such input-src setup won't be lost. Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: HDA: Realtek ALC88x: Do not over-initialize speakers and hp that are ↵David Henningsson2011-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | primary outputs Do not initialize again the what has already been initialized as multi outs, as this breaks surround speakers. Tested-by: Bartłomiej Żogała <nusch88@gmail.com> Cc: <stable@kernel.org> Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: HDA: Fixup unnecessary volume control index on Realtek ALC88xDavid Henningsson2011-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this change, a volume control named "Surround" or "Side" would get an unnecessary index, causing it to be ignored by the vmaster and PulseAudio. Tested-by: Bartłomiej Żogała <nusch88@gmail.com> Cc: <stable@kernel.org> Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: HDA: Fix volume control naming for surround speakers on Realtek ↵David Henningsson2011-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | auto-parser When more than one pair of internal speakers is present, allow names according to their channels. Tested-by: Bartłomiej Żogała <nusch88@gmail.com> Cc: <stable@kernel.org> Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: HDA: Enable surround and subwoofer on Lenovo Ideapad Y530David Henningsson2011-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pin config values would change the association instead of the sequence, this commit fixes that up. Tested-by: Bartłomiej Żogała <nusch88@gmail.com> Cc: <stable@kernel.org> Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: hda - Make common input-jack helper functionsTakashi Iwai2011-03-03
| | | | | | | | | | | | | | | | | | | | | Since multiple codec drivers already use the input-jack stuff, let's make common helper functions to reduce the duplicated codes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2011-03-03
|\ \ \
| * | | ALSA: hda - Fix unable to record issue on ASUS N82JVChih-Wei Huang2011-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The codec of N82JV is ALC269VB. Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: HDA: Realtek: Fixup jack detection to input subsystemDavid Henningsson2011-02-28
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes an error in the jack detection reporting, causing the jack detection sometimes not to be reported correctly to the input subsystem. It should apply to several Realtek codecs. Cc: stable@kernel.org Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* / | ALSA: hda - 4930g add internal lfe sliderŁukasz Wojniłowicz2011-02-24
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lately I sent patch that switched lfe with side in mixer for acer-aspire-4930g. Then I connected 5.1 speaker system and noticed that lfe slider wasn't working and that old lfe slider worked. What I'm doing now is: - reverting old patch - adding internal lfe slider - removing side as it is superfluous (ALC888S-VC is 7.1 but in fact laptop can only do 5.1 and it is so in drivers for MS Windows) Signed-off-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - add quirk for Ordissimo EVE using a realtek ALC662Anisse Astier2011-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | This netbook has a only one jack output and an internal mic. By default, mic and jack sense aren't working. Using lenovo-101e parameters makes both work. The device seems based on a Sharetronic Q70, so this should fix audio for this model too. Signed-off-by: Anisse Astier <anisse@astier.eu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: HDA: Add subwoofer quirk for Acer Aspire 8942GDavid Henningsson2011-02-10
| | | | | | | | | | | | | | | | | | | | | | | | According to the reporter, node 0x15 needs to be muted for subwoofer to stop sounding. This pin is marked as unused by BIOS, so fix that. BugLink: http://bugs.launchpad.net/bugs/715877 Cc: stable@kernel.org (2.6.37+) Reported-by: Hans Peter Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - switch lfe with side in mixer for 4930gŁukasz Wojniłowicz2011-02-07
| | | | | | | | | | | | | | | | Built-in sub-woofer can now be controlled by lfe slider instead of side slider on Acer Aspire 5930g Signed-off-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: HDA: Fix automute on Thinkpad L412/L512David Henningsson2011-01-26
|/ | | | | | | | | | BugLink: http://bugs.launchpad.net/bugs/707902 More Thinkpad machines with invalid SKU found, that disables automute between speakers and headphones on these machines. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Fix EAPD to low on CZC P10T tablet computer with ALC662Anisse Astier2011-01-20
| | | | | Signed-off-by: Anisse Astier <anisse@astier.eu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: HDA: Add SKU ignore for another Thinkpad Edge 14David Henningsson2011-01-20
| | | | | | | | | BugLink: http://bugs.launchpad.net/bugs/705323 Thinkpad Edge 14 has one more SSID that suffers from disabled auto-mute. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Fix "unused variable" compile warningTakashi Iwai2011-01-19
| | | | | | | | | sound/pci/hda/patch_realtek.c: In function ‘alc_apply_fixup’: sound/pci/hda/patch_realtek.c:1724:14: warning: unused variable ‘modelname’ snd_printdd() is evaluated only when CONFIG_SND_DEBUG_VERBOSE=y. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Add quirk for HP Z-series workstationTakashi Iwai2011-01-19
| | | | | | It seems working well with model=hp-bpc. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Revert "ALSA: HDA: Create mixers on ALC887"Takashi Iwai2011-01-19
| | | | | | | | | This reverts commit 03b7a1ab557efe34e8f79b78660e514bd7374248. This commit was mistakenly re-introduced. While the change is harmless (as ALC887 uses patch_alc888() now), we should get rid of any wrong code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Merge branch 'fix/hda' into for-linusTakashi Iwai2011-01-18
|\
| * ALSA: hda - consitify string arraysTakashi Iwai2011-01-18
| | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Rearrange fixup struct in patch_realtek.cTakashi Iwai2011-01-14
| | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Add fixup-call in init callbackTakashi Iwai2011-01-13
| | | | | | | | | | | | | | | | | | | | In some cases, the fix-up is required in the init callback to be called both at the first initialization and at the resume. The new action type ALC_FIXUP_ACT_INIT is used for this case. So far, only ALC275_FIXUP_SONY_HWEQ uses this. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Reorganize fixup structure for RealtekTakashi Iwai2011-01-13
| | | | | | | | | | | | | | | | | | Instead of keeping various data types in a single record, put the type field and keep a single value in each entry, but allows chaining multiple fixup entries. This allows more flexible data management (see ALC275_FIXUP_SONY_HWEQ for example). Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Apply Sony VAIO hweq fixup only onceTakashi Iwai2011-01-13
| | | | | | | | | | | | This should be applied also only once as a part of the initialization. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Apply mario fixup only onceTakashi Iwai2011-01-13
| | | | | | | | | | | | | | The amp-override is necessary only once at initialization time. Also fixed a coding style issue. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Remove unused fixup entry for ALC262Takashi Iwai2011-01-13
| | | | | | | | | | | | ... and a minor cleanup. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'topic/hda' into for-linusTakashi Iwai2011-01-13
|\|
| * ALSA: hda - Add missing NID 0x19 fixup for Sony VAIOTakashi Iwai2011-01-12
| | | | | | | | | | | | | | | | With GPIO2-fixup, another fixup for NID 0x19 was missing because the fixup is applied only once. Add the corresponding verb to the entry. Signed-off-by: Takashi Iwai <tiwai@suse.de> Cc: <stable@kernel.org>
| * ALSA: hda - Fix ALC275 enable hardware EQ for SONY VAIOKailang Yang2011-01-12
| | | | | | | | | | | | | | | | SONY VAIO ALC275 default BIOS verb set the hardware EQ to disable. Enable it when driver is loading. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Fix EAPD on Lenovo NB ALC269 to lowKailang Yang2011-01-12
| | | | | | | | | | | | | | | | Lenovo NB 0x9e54 use the external AMP in an inverted manner. Set EAPD to low will enable the AMP. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Fix missing EAPD for Acer 4930GTakashi Iwai2011-01-12
| | | | | | | | | | | | | | The proper initializatio of NID 0x15 EAPD is missing in the quirk for Acer 4930G. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Add support for multiple headphone/speaker controls for RealtekTakashi Iwai2011-01-10
| | | | | | | | | | | | | | | | | | | | So far, Realtek auto-parser assumed that the multiple pins are only for line-outs, and assigned the channel names like Front, Surround, etc for the multiple outputs. But, there are devices that have multiple headphones, and these can be better controlled with the corresponding control-name like "Headphone" with indicies. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: HDA: Fix volume control indices for Mics (Realtek)David Henningsson2011-01-10
| | | | | | | | | | | | | | | | | | | | | | | | If more than one mic is present with different locations, e g "Front Mic" and "Rear Mic", they can use the same index (0), since their names are different. Previous behavior was to have "Front Mic" as index 1, causing it to be ignored by e g PulseAudio. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: HDA: Rename "Mic Boost" to "Mic Boost Volume"David Henningsson2011-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | BugLink: http://bugs.launchpad.net/bugs/697240 If the "Volume" suffix is not given, alsa-lib gets confused and loses the dB information at the simple element level. Boosts generally affects both playback and capture, as they are applied early in the chain. Hence no "Playback" or "Capture" in the suffix. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * Merge branch 'fix/hda' into topic/hdaTakashi Iwai2011-01-10
| |\
| * | ALSA: HDA: Rename "e-Mic" and "i-Mic" to "Mic" and "Internal Mic"David Henningsson2010-12-20
| | | | | | | | | | | | | | | | | | | | | | | | Change non-standard mic control names to standard control names to clean up the namespace. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: HDA: Rename "Ext Mic" and "External Mic" to "Mic"David Henningsson2010-12-20
| | | | | | | | | | | | | | | | | | | | | | | | Usually external microphones are just labelled "Mic", so rename "Ext Mic" and "External Mic" to "Mic" to clear up the namespace. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: HDA: Rename "Int Mic" to "Internal Mic"David Henningsson2010-12-20
| | | | | | | | | | | | | | | | | | | | | | | | "Int Mic" and "Internal Mic" both mean the same thing, so rename the former to the latter in order to clean up the namespace a little. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2010-12-20
| |\ \
| * | | ALSA: hda - Clean up dead code in patch_realtek.cTakashi Iwai2010-12-16
| | | | | | | | | | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - factorize an automute_mic realtek quirk functionAnisse Astier2010-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multiple quirk functions were using the exact same code to verify if the Mic jack was plugged and mute the Mic accordingly Signed-off-by: Anisse Astier <anisse@astier.eu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda: Add fixup for mario systemTodd Broch2010-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | create fixup function for the mario model and override amp capabilities for NID 0x2 Signed-off-by: Todd Broch <tbroch@chromium.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>