aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-03-05ALSA: hda - Fix check of ALC888S-VC in alc888_coef_init()Takashi Iwai
Fixed the wrong bits check to identify ALC888S-VC model in alc888_coef_init(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-04ALSA: hda - Map 3stack-hp model (ALC888) for HP Educ.arHerton Ronaldo Krzesinski
Added model=3stack-hp for HP Educ.ar desktop machine (103c:2a72). Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-04ALSA: hda - Add headphone automute support for 3stack-hp model (ALC888)Herton Ronaldo Krzesinski
Mute speaker outputs on headphone insertion for machines that use 3stack-hp model. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-04ALSA: hda - Add 4 channel mode for 3stack-hp model (ALC888)Herton Ronaldo Krzesinski
Add additional 4 channel mode for 3stack-hp models. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-04ALSA: hda - Fix conflict of mixer controls on Sony VAIO VGN-AR71STakashi Iwai
The recent update enabled the model=sony-assamd for all ALC262 with PCI SSID 104d:90xx. But this includes the VAIO VGN-AR* that has the primary codec of STAC92xx and the secondary ALC262 as a slave digital-only codec. For this device, the model=auto must be chosen to work properly. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-04ALSA: hda - Fix HP dv6736 mic inputTakashi Iwai
Fix the mic input of HP dv6736 with Conexant 5051 codec chip. This laptop seems have no mic-switching per jack connection. A new model hp-dv6736 is introduced to match with the h/w implementation. Reference: Novell bnc#480753 https://bugzilla.novell.com/show_bug.cgi?id=480753 Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-03ALSA: hda - Fix gcc compile warningTakashi Iwai
It's false positive, but annoying. sound/pci/hda/hda_codec.c: In function ‘get_empty_pcm_device’: sound/pci/hda/hda_codec.c:2772: warning: ‘dev’ may be used uninitialized in this function Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-02ALSA: hda - Update documetation for hints sysfs entryTakashi Iwai
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-02ALSA: hda - Add more hint options for IDT/Sigmatel codecsTakashi Iwai
Allow more options to be set/reset via hwdep hint entry. hp_detect, gpio_mask, gpio_dir, gpio_data, eapd_mask and eapd_switch can be checked. For example, to disable hp_detect on the fly, # echo "hp_detect=0" > /sys/class/sound/hwC0D0/hints Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-02ALSA: hda - Create "Analog Loopback" controls optionallyTakashi Iwai
Don't create "Analog Loopback" controls as default since these controls are usually more harmful than useful for normal users. Only created when "loopback = yes" hint is given. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-02ALSA: hda - Add show for init_verbs and hints sysfs entriesTakashi Iwai
Added the show method for init_verbs and hints hwdep sysfs entries. They show the current values. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-02ALSA: hda - Add hint string helper functionsTakashi Iwai
Added snd_hda_get_hint() and snd_hda_get_bool_hint() helper functions to retrieve a hint value. Internally, the hint is stored in a pair of two strings, key and val. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-02ALSA: hda - Don't return a fatal error at PCM-creation errorsTakashi Iwai
Don't return a fatal error to the driver but continue to probe when any error occurs at creating PCM streams for each codec. It's often non-fatal and keeping it would help debugging. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-02ALSA: hda - Revert the codec probe at control-creation errorsTakashi Iwai
Revert the codec probe instead of returning the error to the driver when any error occurs at creating the control elements. The control element conflict can be non-fatal in many cases, especially if it comes from the digital-only codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-02ALSA: hda - Intialize more codec fields in snd_hda_codec_reset()Takashi Iwai
Initiailize forgotten fields in snd_hda_codec_reset(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-02ALSA: hda - Remove Toshiba probe_mask quirkTakashi Iwai
Revert the Toshiba probe_mask quirk for 2.6.29 kernel (commit 38f1df27e3191d76e983cb9c6b4392582fd32fda). In the current tree, the digital-only codec is handled properly so no codec conflict should occur. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-02ALSA: hda - Don't create a beep control for digital-only ALC268Takashi Iwai
When an ALC268 codec is set up as the digital-only (as found in Toshiba laptops), it shouldn't contain any beep control that conflict with the primary codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-02Merge branch 'fix/hda' into topic/hdaTakashi Iwai
Conflicts: sound/pci/hda/hda_intel.c
2009-03-02ALSA: hda - Add probe_mask default for Toshiba laptop with ALC268Takashi Iwai
Some Toshiba laptops have another ALC268 codec on slot#3 that conflicts with the primary codec. The codec#3 is for the digital I/O, and should be fixed by the driver, but it'd need a bunch of changes. So, let's fix the probe problem temporarily by setting the default probe_mask value. Reference: kernel bugzilla #12735 http://bugzilla.kernel.org/show_bug.cgi?id=12735 Tested-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-27ALSA: hda - Fix an "unused variable" compile warningTakashi Iwai
Forgot to remove an unused variable. sound/pci/hda/patch_realtek.c: In function ‘alc882_auto_init_analog_input’: sound/pci/hda/patch_realtek.c:7018: warning: unused variable ‘vref’ Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-27ALSA: hda - Match all 103c:17xx devices for HP BPC modelTakashi Iwai
Use SND_PCI_QUIRK_MASK() to match all devices with 103c:17xx for HP BPC model. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-27Merge branch 'fix/hda' into topic/hdaTakashi Iwai
Conflicts: sound/pci/hda/patch_realtek.c
2009-02-27ALSA: hda - Add quirk for new HP xw seriesTakashi Iwai
Added model=hp-bpc for new HP xw series (103c:170b). Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-27ALSA: hda - Fix digital mic on dell-m4-1 and dell-m4-3Takashi Iwai
Fix num_dmuxes initialization for dell-m4-1 and dell-m4-3 models of IDT 92HD71bxx codec, which was wrongly set to zero. Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-27ALSA: hda - Add the Device IDs for MCP89 and remove IDs of MCP7Bpeerchen
Added the Device IDs for MCP89 HD audio controller. Removed the IDs of MCP7B cause this chipset had been cancelled. Signed-off-by: Peer Chen <peerchen@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-26ALSA: hda - Add model=auto for STAC/IDT codecsTakashi Iwai
Added the model=auto to STAC/IDT codecs to use the BIOS default setup explicitly. It can be used to disable the device-specific model quirk in the driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-26ALSA: hda - Clean up the input pin setup in automatic modeTakashi Iwai
Clean up the input-pin setup in automatic mode in patch_realtek.c. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-26ALSA: sound/pci/hda: fix sparse warning: different signednessHannes Eder
Fix this sparse warning: sound/pci/hda/hda_codec.c:1544:19: warning: incorrect type in assignment (different signedness) sound/pci/hda/hda_codec.c:1544:19: expected unsigned long *vals sound/pci/hda/hda_codec.c:1544:19: got long *<noident> Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-26ALSA: hda - Clean up / fix quirk for Sony laptops with ALC262Takashi Iwai
Clean up / fix quirk entries for Sony laptops with ALC262 codec using NSD_PCI_QUIRK_MASK(). This also fixes the kernel bug #12780 http://bugme.linux-foundation.org/show_bug.cgi?id=12780 Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-25ALSA: hda - Clean up / fix quirks for HP laptops with AD1984ATakashi Iwai
Use SND_PCI_QUIRK_MASK() to clean up / support better HP laptops with AD1984A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-23ALSA: hda - Add pseudo device-locking for clear/reconfigTakashi Iwai
Added the pseudo device-locking using card->shutdown flag to avoid the crash via clear/reconfig during operations. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-23Merge branch 'test/hda-pincfg' into topic/hdaTakashi Iwai
2009-02-23ALSA: hda - Add an example about pin reconfigurationTakashi Iwai
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-23ALSA: hda - Don't give over 0dB volume for AD1984A HP laptopsTakashi Iwai
Set the upper limit 0dB to the volume of mixer amp 0x20 for AD1984A HP laptops. The overloaded volume may damage the internal speaker. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-23ALSA: hda - Make user_pin overriding the driver setupTakashi Iwai
Make user_pin overriding even the driver pincfg, e.g. the static / fixed pin config table in patch_sigmatel.c. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-23ALSA: hda - Rename {override,cur}_pin with {user,driver}_pinTakashi Iwai
Rename from override_pin and cur_pin with user_pin and driver_pin, respectively, to be a bit more intuitive. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-23ALSA: hda - Use snd_hda_codec_get_pincfg() in the rest placesTakashi Iwai
Replace with snd_hda_codec_get_pincfg() in the places where available. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-23Merge branch 'fix/hda' into topic/hdaTakashi Iwai
Conflicts: sound/pci/hda/patch_realtek.c
2009-02-23ALSA: hda - Quirk for Acer Aspire 6530GJuan Jesus Garcia de Soria
The Acer Aspire 6530G needs the 4930G "model" for the front mic to work properly. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-23ALSA: hda - add another MacBook Pro 3,1 SSIDLuke Yelavich
Reference: Ubuntu bug #33245 https://bugs.launchpad.net/bugs/332456 Signed-off-by: Luke Yelavich <themuso@ubuntu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-23ALSA: hda - add support for "Maxdata Favorit 100XS" (Intel HDA/ALC260)Michael Schwingen
Signed-off-by: Michael Schwingen <michael@schwingen.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-20ALSA: hda - Update documentation for pincfg sysfs entriesTakashi Iwai
Added the brief descriptions of new sysfs entries for pint default config values. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-20ALSA: hda - Remove codec-specific pin save/restore functionsTakashi Iwai
Replace the accessor to pin defaults with the common code for caching. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-20ALSA: hda - Remove IDT codec-specific pin save/restore functionsTakashi Iwai
Removed its own save/restore functions and replaced with the common code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-20ALSA: hda - Remove realtek codec-specific pin save/restore functionsTakashi Iwai
Now it's done in the common code. Also use the common access functions for pin defaults. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-20ALSA: hda - Add generic pincfg initializationTakashi Iwai
Added the generic pincfg cache and save/restore functions. Also introduced the pin-overriding via hwdep sysfs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-20Merge branch 'fix/hda' into topic/hdaTakashi Iwai
2009-02-20ALSA: hda - Fix parse of init_verbs sysfs entryTakashi Iwai
Fixed the parse of init_verbs hwdep sysfs entry. Simplieied using sscanf. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-19ALSA: hda - Add digital-only mode for ALC268Takashi Iwai
ALC268 can be configured as digital-only, e.g. for HDMI, on some machines. Allow the parser to set up the digital-only mode. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-19ALSA: hda - Avoid doubly beep attachment in patch_alc268()Takashi Iwai
Remove the doubly attachment in patch_alc268(). The input beep is attached conditionally only when needed. Signed-off-by: Takashi Iwai <tiwai@suse.de>