16 Oct, 2007
40 commits
-
Fixed SKU ID function for realtek codecs. It's used by the automatic
BIOS configuration mode. Now it supports the correct jack-detection
mechanism, too.Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Reported by Jan-Marek Glogowski.
The dmic array is passed to snd_hda_parse_pin_def_config() and
should be zero-terminated.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Reported by zhejiang
'I found that STAC_VOLKNOB hardwired the KNOB nid to 0x24.
It is okay for stac9205 and stac927x.
But the VolumeKnob nid of stac9220-9221 is 0x16.'Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed ALC262 fujitsu model to support Fujitsu Lifebook C1410 properly.
It requires EAPD and has separate int/ext mic inputs (which was missing
in the current driver).Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
My bad, I forgot to update the num_items field when added a new item
to vaio_mux items table, so the last item 'PCM' disappeared.
Now it has the right number 3.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Tim Gardner
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix the output of Gateway laptops with STAC9200 codec chip.
They require the EAPD control for some pins. These pins shouldn't be
powered down.
To enable EAPD control, a new model 'gateway' was added to STAC9200.
The known PCI SSIDs are included in the quirk list.
The fix was originally suggested by Brian Hinz, in ALSA bug#2948.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added zero checks in input-mux helper functions to avoid Oops.
Some devices may have no input pins while the driver registers
control elements calling these functions.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add the MCP79 support to hda driver.
The patch base on kernel 2.6.23-rc7Signed-off-by: Peer Chen
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the missing support for ASUS A7J [0x1043 0x1243]
Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
* Fixed ALC662 init verbs (wrong NIDs)
* Fixed ALC662 auto model issue (wrong DAC index)Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix schedule_timeout() use in alsa-kernel. Mostly just
schedule_timeout(1) --> schedule_timeout_uninterruptible(1)
The wavefront_synth one fixes the surrounding loop as well. In ymfpci_main,
delete a superfluous set_current_state() and in soc/soc-dapm.c replace an
_interruptible with _uninterruptible in some debug code; it's not waiting
for signals.Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
More laptop BIOS changes the subsystem id for STAC9205 cards if the
microphone is toggled on/off in the settings.
The patch removes the old STAC_9205_M43xx and use STAC_9205_DELL_M43.Signed-off-by: Matthew Ranostay
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added CONFIG_SND_AC97_POWER_SAVE_DEFAULT and CONFIG_SND_HDA_POWER_SAVE_DEFAULT
Kconfig options as the default values for power-saving mode of AC97 and
HD-audio drivers, respectively.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Intel HD Audio: Use list_for_each_entry(_safe) instead of
list_for_each(_safe)Signed-off-by: Matthias Kaehlcke
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds support for the Asus M2A-VM HDMI and Abit IP35-PRO
motherboards.Signed-off-by: Tobin Davis
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
I had a request for a 4 channel mode. This should implement front
and surround outputs, leaving the 3rd plug for mic input.Signed-off-by: Tobin Davis
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
When modem is disabled in the BIOS, detection of the number of codecs
always fails after booting if STATESTS is not cleared first.
This patch fixes this problem and also adds an error check in a place
where a read error would lead to a very large number of pointless loops.Signed-off-by: Danny Tholen
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Some laptop BIOS change the subsystem id for STAC9205 cards if the
microphone isn't toggled on/off in the settings.Signed-off-by: Matthew Ranostay
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the proper model=toshiba for Toshiba A305 with ALC268 codec.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Mic Boost mixer volume was missing in some ALC882 models. Added now.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the quirk entry for Casper CPR2000 (model=acer) with ALC268 codec
(ALSA bug#3343).Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the missing model option strings for ALC882 codecs.
Also added the corresponding description in ALSA-Configuration.txt.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the support for ASUS A7M with ALC882 codec.
It's slightly different from ASUS A7J.
The patch taken from ALSA bug#3000
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3000Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added a new model laptop-automute for AD1986A, which has the HP jack
detection and auto-muting of the speaker. Currently, it's used for
Lenovo N100.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The last patch to change/add Dell models have wrong pin config orders.
This patch fixes the pin positions.
Taken from ALSA bug#3319,
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3319Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add the entry for Acer Aspire 9303 (model=acer-aspire) with ALC883 codec.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
1) Create seperate mixer controls for each ADC
2) Make number of substreams of capture PCM device be equal to
number of ADCsSigned-off-by: Maxim Levitsky
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
VolumeKnob is present on most sigmatel codecs, it allows to decrease
volume of all DACs at once, it is a kind of post-procesing volume.
Note that all output amps of sigmatel only decrease volume, and all
input amps only increase volume.Signed-off-by: Maxim Levitsky
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The analog loopback routes the sound just before it enters ADC0
to output of DAC0.Signed-off-by: Maxim Levitsky
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Center/LFE channels are located on same jack, so it can be usefull
to swap them.Signed-off-by: Maxim Levitsky
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Comment in hda_intel.c states that 'the explicit resume is needed only
when POWER_SAVE isn't set', but this is not true.
There is no code that will automaticly power up the codec on resume,
but only code that powers it up when user accesses it. So if user
leaves a sound playing, codec will not be powered
To fix that I check if there are any codecs that should be powered
codec->power_count, and if so I power them up together with main
controller.Signed-off-by: Maxim Levitsky
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
codec->power_transition is supposed to be true while codec is going
to be shut off if in the mean time somebody calls snd_hda_power_up,
hda_power_work will not shut down the codec, but nether will clear
codec->power_transition, thus it stays on forever. Fix this.Signed-off-by: Maxim Levitsky
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The STAC codes adds line_out_pins[] for shared mic/line-inputs accordingly.
But, the current code may give a hole with NID=0 in some setting, which
results in an error at probe. This patch fixes the problem.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The resume procedure for STAC codecs overrides the cached values and
results in the wrong (reset) PIN state. The patch gets rid of the
overriding part and simplifies the resume.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Clean up the mixer entries for Input Source using a macro.
Signed-off-by: Maxim Levitsky
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix the index for Front Mic capture source on ALC262 HP machines.
Also, added the new capture source list for HP BPC DC7000 series
to work properly.
From: zhejiangSigned-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Some codecs need Mic Boost mixer controls for obtaining a proper recording
level, but the auto-configuration doesn't create them.
This patch adds the creation of mic-boost controls on corresponding codecs.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed Dell laptops support with STAC92xx codecs.
Many pin-config models are introduced. See ALSA-Configuration.txt
for details.
The patch taken from ALSA bug#3319, originally by Jorg Prante:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3319Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela