aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-22ALSA: hda - Add workarounds for CT-IBG controllersTakashi Iwai2-3/+11
Creative IBG controllers require the playback stream-tags to be started from 1, instead of capture+1. Otherwise the stream stalls. Reported-by: Wai Yew CHAY <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-10-22ALSA: hda - Fix wrong TLV mute bit for STAC/IDT codecsClemens Ladisch1-1/+2
The bit value set for TLV mute was wrong in commit de8c85f7840e5e29629de95f5af24297fb325e0b, which resulted in bogus dB ranges that screw up PulseAudio. Corrected with the right constant. Signed-off-by: Takashi Iwai <[email protected]>
2010-10-21ALSA: hda - Apply ideapad quirk to Acer laptops with Cxt5066Takashi Iwai1-2/+1
Multiple Acer laptops with the SSID 1025:04xx require the quirk mode=ideapad, so let's use mask to apply to all these. Signed-off-by: Takashi Iwai <[email protected]>
2010-10-21ALSA: hda - Add some workarounds for Creative IBGTakashi Iwai1-4/+12
Creative HD-audio controller chips require some workarounds: - Additional delay before RIRB response - Set the initial RIRB counter to 0xc0 The latter seems to be done in general in Windows driver, so we may use this value later for all types if it's confirmed to work better. Reported-by: Wai Yew CHAY <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-10-21ALSA: hda - Fix wrong SPDIF NID assignment for CA0110Takashi Iwai1-1/+1
The dig_out_nid field must take a digital-converter widget, but the current ca0110 parser passed the pin wrongly instead. Reported-by: Wai Yew CHAY <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-10-21ALSA: hda - Fix codec rename rules for ALC662-compatible codecsKailang Yang1-4/+8
Signed-off-by: Kailang Yang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-10-21ALSA: hda - Add alc_init_jacks() call to other codecsKailang Yang1-1/+11
Signed-off-by: Kailang Yang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-10-19ALSA: hda - Fix codec muted after rebooting from WindowsCharles1-0/+3
Windows may leave pin power-down registers set after reboot, and this resulted in muted output on Linux. Reset these registers at initialization properly. Signed-off-by: Charles Chin <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-10-17ALSA: tlv - Define numbers in sound/tlv.hTakashi Iwai2-2/+4
Signed-off-by: Takashi Iwai <[email protected]>
2010-10-17ALSA: HDA: Sigmatel: work around incorrect master mutingClemens Ladisch3-6/+17
The HDA specification does not allow for a codec to mute itself just because the volume is reduced, so _of course_ somebody had to go and do it. This wouldn'\''t hurt too much when the volume is adjusted by hand, but programs like PA that try to set the volume automatically could inadvertently mute the output. To work around this, change the TLV dB information for the Master volume on all Sigmatel HDA codecs to indicate the the minimal volume setting actually mutes. Reported-by: Colin Guthrie <[email protected]> Reported-by: "Alexander E. Patrakov" <[email protected]> Tested-by: Colin Guthrie <[email protected]> Signed-off-by: Clemens Ladisch <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-10-17ALSA: HDA: Apply SKU override for Acer aspire 7736zDavid Henningsson1-0/+5
BugLink: http://launchpad.net/bugs/617647 The current SKU value disables playback, so ignore the SKU value. Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-10-17ALSA: HDA: Enable SKU quirks for RealtekDavid Henningsson1-2/+33
Realtek have ways of specifying external amps and more via a special nid or via the Codec's subsystem ID, this is called "SKU". The computer manufacturer sometimes gets this wrong, so we need to be able to override or ignore the SKU customization value. Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-10-14ALSA: hda: Add speaker pin to automute Acer Aspire 8943GDaniel T Chen1-0/+8
BugLink: https://bugs.launchpad.net/bugs/656625 Add clause for handling Acer Aspire 8943G's subwoofer as additional speaker pin for automuting. Reported-by: RussianNeuroMancer Cc: [email protected] Signed-off-by: Daniel T Chen <[email protected]> Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-10-12ALSA: HDA: Correctly apply position_fix quirks for ATI and VIA controllersDavid Henningsson1-8/+9
Position_fix quirks for specific machines now override the default position_fix behavior for all HDA controllers. BugLink: http://launchpad.net/bugs/465942 BugLink: http://launchpad.net/bugs/580749 BugLink: http://launchpad.net/bugs/587546 Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-10-11ALSA: hda - Add input volume control for each mic/line-in pinTakashi Iwai1-0/+27
The input pins on cirrus codecs have also input amps. Let's make control elemetns for them. Signed-off-by: Takashi Iwai <[email protected]>
2010-10-11ALSA: hda - Add model=mbp55 entry for MacBookPro 7,1Takashi Iwai1-0/+1
Reference: Novell bnc#645066 https://bugzilla.novell.com/show_bug.cgi?id=645066 Signed-off-by: Takashi Iwai <[email protected]>
2010-10-04ALSA: hda - Added fixup for Lenovo Y550PValentine Sinitsyn1-0/+1
Signed-off-by: Valentine Sinitsyn <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-30ALSA: HDA: Add position_fix=3 module option, and refactor related codeDavid Henningsson2-25/+24
What was previously known as via_dmapos_patch, and hard-coded to be used for VIA and ATI controllers, is now configurable through a module option. The background is that some VIA controllers seem to prefer via_dmapos_patch to be turned off. Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-28ALSA: hda - Add quirk for another Acer laptop with a CX20585 codecLuke Yelavich1-0/+1
BugLink: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/647374 Set another Acer laptop (SSID 1025:043d) to use CXT5066_IDEAPAD Signed-off-by: Luke Yelavich <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-27ALSA: hda: add Vortex86MX PCI idsOtavio Salvador1-0/+2
Signed-off-by: Otavio Salvador <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-25ALSA: hda - Fix switching between dmic and mic using the same mux on IDT/STACVitaliy Kulikov1-1/+3
Fix bug in switching between dmic and mic when both use the same mux. Signed-off-by: Vitaliy Kulikov <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-24Merge branch 'fix/hda' into topic/hdaTakashi Iwai1-6/+16
2010-09-24ALSA: hda - Fix auto-parse of SPDIF input of Realtek codecsTakashi Iwai1-6/+16
The SPDIF in audio widget must be searched through the list as the widget that contains the given pin as the connection source. The current code was implemented in a reverse way. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-23ALSA: hda - MacBookPro 5,3 line-in supportVince Weaver1-1/+21
I've found the following patch is necessary to enable line-in on my MacBookPro 5,3 machine. With the patch applied I've successfully recorded audio from the line-in jack. This is based on the existing 5,5 support. Signed-off-by: Vince Weaver <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-21ALSA: hda - Apply ALC269 VAIO fix-up to all Sony laptops with ALC269Takashi Iwai1-2/+1
We've applied a fix-up for ALC269 VAIO only for two models. But all Sony VAIO models with ALC269 codec seem to require the similar fix. Let's apply it with vendor-id mask. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-21Merge branch 'fix/hda' into topic/hdaTakashi Iwai2-0/+11
2010-09-21ALSA: hda - Check invalid NIDs in alc_init_jacks()Takashi Iwai1-8/+12
The headphone and external-mic pin NIDs can be null, and the jack input elements should be skipped in such a case. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-21ALSA: hda - Add Dell Latitude E6400 model quirkLuke Yelavich1-0/+1
BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/643891 Set the Dell Latitude E6400 (1028:0233) SSID to use AD1984_DELL_DESKTOP Cc: [email protected] Signed-off-by: Luke Yelavich <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-21ALSA: hda - Introduce hda_call_check_power_status() helperTakashi Iwai4-20/+20
Replace the explicit ifdef check and call of check_power_status ops with a new helper function, hda_call_check_power_status(). Signed-off-by: Takashi Iwai <[email protected]>
2010-09-21ALSA: hdmi - fix surround41 channel mappingJerry Zhou1-1/+1
Channel 2 and channel 3 were all wrongly mapped to HDMI slot 4. This shows up as a bug that one channel is "lost" when playing in surround41 mode. Signed-off-by: Jerry Zhou <[email protected]> Signed-off-by: Wu Fengguang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-21ALSA: hdmi - support infoframe for DisplayPortWu Fengguang1-37/+73
DisplayPort works mostly in the same way as HDMI, except that it expects a slightly different audio infoframe format. Citations from "HDA036-A: Display Port Support and HDMI Miscellaneous Corrections": The HDMI specification defines a data island packet with a header of 4 bytes (3 bytes content + 1 byte ECC) and packet body of 32 bytes (28 bytes content and 4 bytes ECC). Display Port specification on the other hand defines a data island packet (secondary data packet) with header of 4 bytes protected by 4 bytes of parity, and data of theoretically up to 1024 bytes with each 16 bytes chunk of data protected by 4 bytes of parity. Note that the ECC or parity bytes are not present in the DIP content populated by software and are hardware generated. It tests DP connection based on the ELD conn_type field, which will be set by the graphics driver and can be overriden manually by users through the /proc/asound/card0/eld* interface. The DP infoframe is tested OK on Intel SandyBridge/CougarPoint platform. Signed-off-by: Wu Fengguang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-20ALSA: hda - Refactor ALC269 power-ups/downs in PM callbacksTakashi Iwai1-30/+21
Create a helper function to simplify the code. Also, cleaned up the ifdef SND_HDA_NEEDS_RESUME and CONFIG_SND_HDA_POWER_SAVE. The former is always defined when the latter is set. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-20ALSA: hda - Fix capture widget for ALC269vb and coTakashi Iwai1-1/+5
ALC269vb and other variants don't use the widgets 0x24 but prefer the widget 0x22 instead. We need to fix the input parser. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-20ALSA: hda - Optimize the check of ALC269 codec variantsTakashi Iwai1-6/+15
Don't call the COEF check for checking ACL269 codec variants at each time in init but remember the type at the initialization. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-20ALSA: hda - Fix initialization of multiple output pins for ALC268/269Takashi Iwai1-6/+14
When multiple pins are assigned to headphones or speakers, they haven't been initialized properly. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-20ALSA: hda - Fix up autocfg output pin numbers in realtek parserTakashi Iwai1-0/+24
When quirks are applied, the numbers of output pins in autocfg aren't set up properly but only pin arrays are changed. Let's fix it up so that the rest of the parser can use autocfg.line_outs & co safely. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-20ALSA: hda - Merge all HDMI modules into the unified moduleTakashi Iwai7-1107/+691
This patch merges all three patch_*hdmi variants to the single HDMI parser. There is only one snd-hda-codec-hdmi module now. In this patch, the behavior of each parser isn't changed much. The old ATI parser still doesn't use the dynamic parser yet. In later patches, they'll be cleaned up. Also, this patch gets rid of the individual snd-hda-eld module and builds into snd-hda-codec-hdmi, since this is referred only from the HDMI parser. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-17ALSA: hda - Check the external mic pin more strictly for Conexant chipsTakashi Iwai1-1/+2
The external mic jack for auto-mic switch must be really an external jack and with a presense-detection capability. This patch makes the check more paranoia. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-17ALSA: hda - Make snd_hda_get_input_pin_attr() helperTakashi Iwai6-67/+59
Make the helper function to give the input-pin attribute for jack connectivity and location. This simplifies checks of input-pin jacks a bit in some places. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-17ALSA: HDA: Sort CXT5066 quirk tableDavid Henningsson1-5/+5
It was just a boring day. Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-17ALSA: HDA: Fix spelling (change VOSTO to VOSTRO)David Henningsson1-5/+5
It was just a boring day. Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-17ALSA: hda - Fix mic attribute check for internal micsTakashi Iwai1-2/+5
Now Windows claims that the BIOS sets pins for internal mics to be BOTH connection instead of FIXED. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-17ALSA: hda - Fix automatic MIC switching and include dock MIC for IDT codecsCharles Chin1-11/+29
Signed-off-by: Charles Chin <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-16ALSA: hda - Fix input-pin setup for Realtek codecsTakashi Iwai1-6/+6
Through the transition of autocfg to individual inputs array, I forgot to rewrite the argument passed to alc_set_input_pin(). This resulted in wrongly setup input pins. Fixed now. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-16ALSA: hda - Fix initialization of secondary headphone and speakerTakashi Iwai1-4/+9
The secondary or later headphones or speakers aren't initialized preoprly for some codecs. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-16ALSA: HDA: Enable internal speaker on Dell M101zDavid Henningsson1-0/+10
BugLink: http://launchpad.net/bugs/640254 In some cases a magic processing coefficient is needed to enable the internal speaker on Dell M101z. According to Realtek, this processing coefficient is only present on ALC269vb. Cc: [email protected] Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2010-09-16ALSA: hda - Add quirk for Acer laptop with CX20585 codecTakashi Iwai1-0/+1
Its pin configuration is compatible with ideapad. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-16ALSA: hda - Reduce pci id list for Intel with class idTakashi Iwai1-13/+5
Most of Intel controllers work as generic HD-audio without quirks, and it'll be hopefully so in future. Let's mark pci id with the PCI_CLASS_MULTIMEDIA_HD_AUDIO for Intel so that the driver will work with any new control chips in future. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-16ALSA: hda - Preliminary support for new Conexant audio codecsTakashi Iwai1-1/+639
This patch adds the preliminary support for new Conexant audio codecs with 14f1:5097, 14f1:5098, 14f1:50a1, 14f1:50a2, 14f1:50ab, 14f1:50ac, 14f1:50b8 and 14f1:50b9. Unlike other Conexant parsers, this is designed to be mostly automatic, parsing from BIOS pin configurations. Signed-off-by: Takashi Iwai <[email protected]>
2010-09-16Merge branch 'fix/hda' into topic/hdaTakashi Iwai429-2459/+4931