summaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'topic/hda' into for-linusTakashi Iwai2009-12-0443-2208/+9209
|\
| * ALSA: hda - Fix memory leaks in the previous patchTakashi Iwai2009-12-031-7/+11
| | | | | | | | | | | | | | The previous hack for replacing the codec name give memory leaks at error paths. This patch fixes them. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Add ALC661/259, ALC892/888VD supportKailang Yang2009-12-031-2/+42
| | | | | | | | | | | | | | | | | | | | | | Fixed List: 1. Add alc_read_coef_idx function 2. Add ALC661 ALC259 3. Add ALC892 ALC888VD Signed-off-by: Kailang Yang <kailang@realtek.com.tw> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * Merge branch 'topic/ice1724-quartet' into topic/hdaTakashi Iwai2009-12-0110-78/+1995
| |\
| | * ALSA: ice1724 - Infrasonic Quartet supportPavel Hofman2009-09-214-1/+1144
| | | | | | | | | | | | | | | | | | | | | | | | * three external clock types * all controls supported Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * ALSA: ice1724 - Support for multiple external clock typesPavel Hofman2009-09-213-16/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support for customization of the external clock names * Adding hooks to playback_pro_open and capture_pro_open, allowing e.g. limiting available stream rates to a single value when the external clock rate is detected Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * ALSA: ice1724 - pro-rate-locking makes sense only for internal clock modePavel Hofman2009-09-211-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | * pro-rate-locking applies to internal clock mode only * required rate and current rate are compared for internal clock mode only Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * ALSA: ice1724 - adding GPIO routines for mask and directionPavel Hofman2009-09-213-0/+38
| | | | | | | | | | | | | | | | | | | | | * get/set routines for GPIO mask and direction Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * ALSA: ak4113 supportPavel Hofman2009-09-212-1/+641
| | | | | | | | | | | | | | | | | | | | | | | | * complete support for ak4113 * based on code for ak4114 and ak4117 Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * ALSA: ak4620 support, codec regs listed in procPavel Hofman2009-09-212-53/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * complete support for ak4620 * codec regs listed in proc for all codecs/chips * adding total regs for each codec * fixing nb. of steps in input attenuation controls Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | Merge branch 'topic/oxygen' into topic/hdaTakashi Iwai2009-12-0114-1188/+2276
| |\ \
| | * | sound: oxygen: fix input monitor control namesClemens Ladisch2009-09-281-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Insert "Playback" into the input monitor control names to prevent alsa-lib from treating these controls as global controls. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: oxygen: add high-pass filter controlClemens Ladisch2009-09-281-2/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a control that allows disabling the high-pass filter of the WM8785 ADC. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: oxygen: add digital filter controlClemens Ladisch2009-09-283-9/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a control to select between sharp and slow roll-of filter responses of the DACs. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: virtuoso: add PCM1796 oversampling controlClemens Ladisch2009-09-281-25/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a control to increase the oversampling factor to 128x on cards with PCM1796 or PCM1792A DACs. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: oxygen: allow custom MCLK ratesClemens Ladisch2009-09-286-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a callback that allows model drivers to modify the default I2S MCLK rate. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: virtuoso: add headphone impedance controlClemens Ladisch2009-09-281-11/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a mixer control to adjust the headphone amplifier output for headphones with different impedances. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: oxygen: cache codec registersClemens Ladisch2009-09-284-152/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep a cache of codec registers to avoid unnecessary writes. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: oxygen: more hardware documentationClemens Ladisch2009-09-284-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some comments describing the hardware pin routing. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: oxygen: add stereo upmixing to center/LFE channelsClemens Ladisch2009-09-284-21/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the possibility to route a mix of the two channels of stereo data to the center and LFE outputs. This is implemented only for models where the DACs support this, i.e., for the Xonar D1 and DX. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: oxygen: better defaults for upmixing controlClemens Ladisch2009-09-283-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On card models with two-channel outputs, the base driver can automatically disable the upmixing control so that the model drivers do not need to do this. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: virtuoso: fix Xonar Essence ST supportClemens Ladisch2009-09-282-6/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Essence ST uses the CS2000 chip to generate the DAC master clock, so we better initialize and program it appropriately. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: virtuoso: split virtuoso.cClemens Ladisch2009-09-287-1092/+1290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The virtuoso.c file has become rather big. This patch splits it up so that only code for very similar card models is in one file. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: oxygen: fix for PI7C9X110 compatibilityClemens Ladisch2009-09-281-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the card is used with a Pericom PI7C9X110 PCI-E/PCI bridge, reconfigure the latter's PCI buffering to fix an unknown problem. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | sound: oxygen: do not try to restore nonexistent EEPROMClemens Ladisch2009-09-281-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On cards where the EEPROM was deliberately omitted, we do not need to try to restore the EEPROM's contents. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - Add position_fix quirk for HP dv3Takashi Iwai2009-12-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HP dv3 requires position_fix=1. Reference: Novell bnc#555935 https://bugzilla.novell.com/show_bug.cgi?id=555935 Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - Add a pin-fix for FSC Amilo Pi1505Takashi Iwai2009-12-011-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FSC Amilo Pi 1505 has a buggy BIOS and doesn't set up the HP and speaker pins properly. Add the pinfix entry for that. Reference: Novell bnc#557403 https://bugzilla.novell.com/show_bug.cgi?id=557403 Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - Fix Cxt5047 test modeTakashi Iwai2009-11-301-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The NID 0x1a of Conexant 5047 chip is a mic boost volume only with the output amp unlike 5045 chip. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - Add a position_fix quirk for MSI Wind U115Takashi Iwai2009-11-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MSI Wind U115 seems to require position_fix=1 explicitly. Otherwise it screws up PulseAudio. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - Don't trigger pin-sense for STAC/IDT codecsTakashi Iwai2009-11-271-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | STAC/IDT codecs seem to behave weird when SET_PIN_SENSE verb is issued before reading the jack-detection although the TRIG_REQ pin capability is given by the hardware. Since snd_hda_jack_detect() issues the SET_PIN_SENSE verb simply judging from the pincap, we have to revert the change in the commit d56757abc11a21996d9839c0d4e3b2c3666cd318 ALSA: hda - Replace the rest of jack-detections with snd_hda_jack_detect() to plain GET_PIN_SENSE verb without triggering. Reported-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda: Fix max PCM level to 0 dB for Fujitsu-Siemens laptops using ↵Daniel T Chen2009-11-261-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CX20549 (Venice) BugLink: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4792 Cristian reported that these models have really bad sound above 6 dB and proposed the original patch. I've updated the comment to reflect this change. Signed-off-by: Daniel T Chen <crimsun@ubuntu.com> Reported-by: Cristian Klein Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - Make Dell Vostro 1015n mic and speaker switching workEinar Rünkaru2009-11-241-0/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dell Vostro 1015n uses Conexant CX20583-10Z (0x14f1:5067). Patch is based on "olpc-xo-1_5" branch. Dell uses digital mic. Signed-off-by: Einar Rünkaru <einarry@smail.ee> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | Revert "ALSA: hda - Change quirk for Acer Aspire 5930G"Takashi Iwai2009-11-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f2624791a0c2a2d7664b12d75ca327917141fd3b. Łukasz Wojniłowicz reported that the change causes both internal and external mics not working any more. The headphone jacking issue was fixed by his previous patch, it's better to revert to acer-aspire-4930g model. Reported-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - Fix input and jack Kconfig depenenciesTakashi Iwai2009-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CONFIG_SND_JACK needs to be selected explicitly only when INPUT=y or INPUT_SND. The current way, INPUT=SND_HDA_INTEL isn't strict enough. Reported-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - 4930g mute lfe and side when pluging in headphonesŁukasz Wojniłowicz2009-11-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes first issue from comment 0021423 in bug 0004317 for Acer Aspire 5930g Signed-off-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - Change quirk for Acer Aspire 5930GTakashi Iwai2009-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the quirk for Acer Aspire 5930G from model=acer-aspire-4930g to model=acer-aspre-6530g. The tuba bass gets muted along with the other built-in speakers upon headphones insertion, the internal mic works perfectly etc. Reported-by: Claudio Viano <claudio.viano@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - Fix mute-LED sync on HP laptops with IDT92HD83xxx codecsTakashi Iwai2009-11-181-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mute-LED isn't synchronized with the actual mute state on some HP laptops with IDT 92HD83xxx codecs. A similar hack using check_power_status callback is added for this codec, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - Fix detection of dual headphonesTakashi Iwai2009-11-181-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dual-headphone mode with STAC/IDT codecs is useful only for machines that have two (or more) built-in headphones. But, some HP laptops give multiple headphone pin configs, one for the built-in and another for the separate (likely a docking station) one. This results in a missing speaker volume control. This patch adds more check for the dual-headphone mode to avoid this problem. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - Replace the rest of jack-detections with snd_hda_jack_detect()Takashi Iwai2009-11-185-95/+45
| | | | | | | | | | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - show EPSS capability in procWu Fengguang2009-11-182-0/+35
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: intelhdmi - sticky channel countWu Fengguang2009-11-181-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't change channel count if not necessary. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: intelhdmi - sticky stream id and formatWu Fengguang2009-11-181-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We tracked down the first-0.5s-hdmi-audio-samples-lost problem to the AC_VERB_SET_CHANNEL_STREAMID command. It is suspected that many HDMI sinks need some time to adapt to the new state. The workaround is to avoid changing stream id/format whenever possible. Proposed by David. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: intelhdmi - sticky infoframeWu Fengguang2009-11-181-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remember the active infoframe, so as to avoid stop/restart infoframe transmission when switching between audio clips of the same format. Proposed by Shang and David. CC: Shane W <shane-alsa@csy.ca> CC: David Härdeman <david@hardeman.nu> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: intelhdmi - separate out infoframe checksum routineWu Fengguang2009-11-181-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | And make it right when called for more than one times. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: intelhdmi - probe for monitor/eld presence at module init timeWu Fengguang2009-11-181-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids lost of presence info on module reloading. The presence info used to be only updated at the (rare) hotplug events. Proposed by David, thanks! CC: David Härdeman <david@hardeman.nu> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - introduce snd_hda_jack_detect() and snd_hda_pin_sense()Wu Fengguang2009-11-185-177/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps merge duplicate code. v2: add snd_hda_jack_detect() and comments recommended by Takashi. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: intelhdmi - export monitor-presence and ELD-valid statusWu Fengguang2009-11-183-7/+13
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: intelhdmi - fix channel mapping slot maskWu Fengguang2009-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: intelhdmi - fix audio infoframe fill sizeWu Fengguang2009-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Reported-by: David Härdeman <david@hardeman.nu> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | ALSA: hda - Disable default quirk for Sony VAIO with ALC262 codecTakashi Iwai2009-11-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ALC262 has a quirk entry matching with all Sony Vaio laptops to use model=sony-assamd as default. But, model=auto works much better for new models in the recent driver versions, thus it's safer to disable that default quirk entry. Signed-off-by: Takashi Iwai <tiwai@suse.de>