- 13 8月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Enable line-out detection for IDT/STAC codecs only when speaker pins exist. In some cases, the speaker itself is identified as line-out, and this confuses the situation. Only the extra line-outs should do auto-muting. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 10 8月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
The previous auto-mic patch for STAC/IDT codecs causes the Oops on machines without digital mic pins. This patch fixes the problem. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 06 8月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
The new HP laptops have PCI SSID 103c:701x and requires model=hp-dv5. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 04 8月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
When the line-out jack is plugged/unplugged, the driver needs to check the headphone plug, not only the line-out jack itself. Otherwise the headphone or the speaker may be wrongly muted/unmuted. As a result, both STAC_HP_EVENT and STAC_LO_EVENT need to call the same function, stac92xx_hp_detect(). Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 03 8月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
The commit fefd67f3 ALSA: hda - Add line-out jack detection on IDT/STAC codecs enabled wrong pins for jack detections. Fixed to the correct ones. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Chengu Wang 提交于
The commit 24918b61 statically changes the model from dell-bios to dell-3stack to solve the sound decreasing regression (http://lkml.org/lkml/2008/9/12/203), however it leads to another problem that the 2nd headphone jack doesn't work (https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3987). So I think the commit 249**2dc is just a workaround. I would like to give a true solution here. The datasheet for STAC9228 says, GPIO2 is the same pin as VOL DOWN, and the EAPD pin is GPIO0. This is why the sound decreases if we set EAPD as GPIO2. This patch changes EAPD to GPIO0 to solve the problem. Signed-off-by: NChengu Wang <wangchengu@gmail.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 31 7月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Add the automatic mute of speakers via line-out jack plugging on STAC/IDT codecs. The feature is enabled when the HP detect is present. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 30 7月, 2009 3 次提交
-
-
由 Takashi Iwai 提交于
STAC/IDT codecs provide both "Input Source" and "Digital Input Source" controls to choose the analog input source and the digital input source. But this is far user-unfriendly. This patch merges the input source selections into one "Input Source" control. To have separate digital and analog input source controls, you can pass "separate_dmux = 1 " hint string. At the same time, this patch gets rid of analog mixer stuff that was already disabled in previous patches. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
The commit 6479c631 ALSA: hda - Create Capture controls dynamically introduced typos of "Capture". Fixed now. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
The analog mix is disabled now as default (unless "analog_mixer" hint is given), so it shoudn't appear in the digital input source as well. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 29 7月, 2009 6 次提交
-
-
由 Takashi Iwai 提交于
Added the missing initialization of DMUX connection (to analog input) for auto-mic mode with STAC/IDT codecs. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
We don't need any more static connection to the port F (which is often used for docking stations) since its connection is done dynamically via DAC assignment now. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Support the automatic mic-switching with some devices with IDT/STAC codecs. The condition is that the device has only two inputs, one for an external mic and one for an internal mic. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Since only one event can be associated to a (pin) widget, it's safer to avoid the multiple mapping. This patch fixes the behavior of the STAC/IDT codec driver. Now stac_get_event() doesn't take the type argument but simply returns the first hit element. Then enable_pin_detect() checks the validity of the type, and returns non-zero only if a valid entry. The caller can call stac_issue_unsol_event() after checking the return value. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
The analog mixer unit on IDT 92HD71Bxx codecs is almost useless since we use only the direct connections from DAC to pin. Remove the controls to avoid unneeded confusion as default now. This can be still back via "analog_mixer = 1" hint. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Instead of static snd_kcontrol_new arrays, create "Capture Volume" and "Capture Switch" controls dynamically based on the mixer attr values (made via HDA_COMPOSE_AMP_VAL()). This reduces the code size and gives more flexibility to change the number of controls later. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 28 7月, 2009 3 次提交
-
-
由 Takashi Iwai 提交于
The current driver creates always the digital input source mixer elements for IDT 92HD71x codecs no matter whether digital mics are present. This patch adds the proper check to avoid the creation of these controls if unnecessary. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
The sentense "Unknown model for xxx, ..." makes people too nervous and drives them to a direction to a wrong "fix" by giving any mismatching model option. Let's rephrase the messages to be more nice and easy (at least that won't make people suspect conspiracies). Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Added a quirk entry for Dell Studio 1555. Reference: Novell bnc#525244 https://bugzilla.novell.com/show_bug.cgi?id=525244Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 27 7月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Add a helper macro to retrieve the widget type from wiget cap bits. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 22 7月, 2009 3 次提交
-
-
由 Jaroslav Kysela 提交于
This patch adds a check to snd_hda_get_connections() routine for presence of AC_WCAP_CONN_LIST. Also, make sure that negative error codes from noted route are handled on all places as errors. Signed-off-by: NJaroslav Kysela <perex@perex.cz> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Use snprint() for creating the jack name string instead of sprintf() in patch_sigmatel.c. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Add some tricks to reduce the click noise at powering down to D3 in the power saving mode on STAC/IDT codecs. The key seems to be to reset PINs before the power-down, and some delay before entering D3. The needed delay is significantly long, but I don't know why. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 20 7月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
The recent rewrite of the codec parser for STAC9872 caused a regression for some Sony VAIO models that don't give proper pin default configs by BIOS. Even using model=vaio doesn't work because the pin definitions are set after the pin overrides. This patch fixes the pin definitions in patch_stac9872() to be put in the right place before the pin overrides. Also the patch adds the new quirk entry for VAIO F/S to have the correct pin default configs. Signed-off-by: NTakashi Iwai <tiwai@suse.de> Cc: <stable@kernel.org>
-
由 Hao Song 提交于
Gateway T6834c laptops need EAPD always on while the default behavior for the STAC9205 reference board is to turn it off upon every HP plug. By using the special "eapd" model, which is first introduced for Gateway T1616 laptops for this same reason, this peculiarity can be properly handled. Signed-off-by: NHao Song <baritono.tux@gmail.com> Cc: <stable@kernel.org> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 04 7月, 2009 1 次提交
-
-
Signed-off-by: NHerton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 22 6月, 2009 2 次提交
-
-
由 Takashi Iwai 提交于
Make the jack-plug notification via input layer selectable via Kconfig. This is often unnecessary, and the similr function will be provided using the ALSA control API in near future anyway. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Fix the comparison of unsigned int that causes a compile warning below by changing to the right signed type: patch_sigmatel.c: In function ‘stac92xx_vref_set’: patch_sigmatel.c:658: warning: comparison of unsigned expression < 0 is always false Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 11 6月, 2009 1 次提交
-
-
由 Simos Xenitellis 提交于
A quirk is required for 8086:284b (rev 03) [Subsystem: 161f:2073]. The following has been tested with Alsa 1.0.20 (git master). Background details can be found at https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4561 http://forum.ubuntu-gr.org/viewtopic.php?f=38&t=5290Tested-by: NTheodora Iliopoulou <th30dr@gmail.com> Signed-off-by: NSimos Xenitellis <simos@gnome.org> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 02 6月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
The reset of a BUS controller during operations is somehow risky and shouldn't be done inevitably for devices that have apparently no such codec-communication problems. This patch adds the check of the hardware and limits the bus-reset capability. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 01 6月, 2009 1 次提交
-
-
由 Nickolas Lloyd 提交于
This patch changes Line In as Out Switch and Mic In as Out Switch to enums for consistency, and causes all mic and line in ports to be probed and controls to be added appropriately. Signed-off-by: NNickolas Lloyd <ultrageek.lloyd@gmail.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 30 5月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
The commit 86d190e7 reverted the bit flip of LED GPIO for HP DX and DV4-1222nr. Fixed now. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 26 5月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
- Remove unneeded semicolons - Introduce spec->gpio_led to specify the GPIO bit for LED control Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 25 5月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
The recent fix for the headphone volume control on IDT/STAC codecs resulted in the removal of invalid "Side" volume eventually. But, if the front panel doesn't exist, this setup could be regarded as a sort of regression, as reported in kernel bug #13250. Now as a workaround, a new model 5stack-no-fp is added so that the user without the front panel can choose this one explicitly. Reference: bko#13250 http://bugzilla.kernel.org/show_bug.cgi?id=13250Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 19 5月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
The digital beep tone is calculated in two different ways depending on the codec chip. The standard one is using a divider, and another one is a linear tone for IDT/STAC codecs. Currently, only the latter type is used for all codecs, which resulted in a wrong tone pitch. This patch adds the calculation of the standard HD-audio type. Also clean-up the fields in hda_beep struct. Reference: bko#13162 http://bugzilla.kernel.org/show_bug.cgi?id=13162Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 15 5月, 2009 1 次提交
-
-
由 Nickolas Lloyd 提交于
This patch adds a mixer control for the STAC92XX boards to control the DC bias of mic ports, allowing recording from both powered and non-powered sources. It replaces the "Mic Output Switch" with "Mic Jack Mode" to switch between Mic, Line In, and Line Out. Signed-off-by: NNickolas Lloyd <ultrageek.lloyd@gmail.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 08 5月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
BIOS on Mac Mini Core2 Duo sets both INPUT and OUTPUT pinctl bits to the line-in jack, and it confuses the driver as if it's a valid input. This patch adds the check of OUTPUT bit so that the driver fixes the invalid pin setup. Tested-by: NTino Keitel <tino.keitel@gmx.de> Cc: <stable@kernel.org> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 04 5月, 2009 1 次提交
-
-
由 James Gardiner 提交于
Signed-off-by: NJames Gardiner <renidragsemaj@yahoo.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 16 4月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
When the headphone can have no unique DAC, the current code doesn't check the HP-detection although it should. Put the hp-detection check before the DAC check to fix this bug. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 14 4月, 2009 1 次提交
-
-
由 Takashi Iwai 提交于
Don't call snd_jack_report at release of sigmatel and conexnat codecs which results in Oops at unloading the module. The Oops is triggered by the power-up sequence during the free due to the pincfg restoration. Since the power-up sequence is involved with the unsol handling, the jack reporting may be issued during that. The Oops occurs with this jack reporting because the jack instances have been already released but the codec doesn't do the proper book-keeping. This patch adds the book-keeping of jack instances to avoid the access to bogus pointers. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-