16 Oct, 2007
40 commits
-
Allow output interrupt transfers for some MIDI devices that require
them.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Some Fujitsu laptops have SPDIF output jack (ALSA bug#3009).
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch fixes white spaces, spelling and formatting
to conform closer to the coding standard of the kernel.
It contains few fixes pointed out by the checkpatch.pl script.Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
1. Support Lenovo 420A (PCI SSID: 0x17aa 0x3bfc)
2. Support Haier W66 (PCI SSID: 0x1991 0x5625)Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the black-list of probe_mask option to set the default value for
known non-working devices. Currently, Thinkpad *60 and *61 series are set.
I'm afraid more will be added to the list in near future...Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
ALC268 has different NIDs from ALC262. Acer model should use NID 0x02 and
0x03 instead of 0x0c and 0x0d for the master volume.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The number of mixer elements for SPDIF control don't match with the
actual array size (3). This may result in a memory corruption that
overwrites the i2c_capture_source field (ALSA bug#3095).Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add model=lenovo for Toshiba Satellite P205 with ALC861VD codec chip.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the support for Macbook Pro rev3 with ALC885 codec chip.
The patch taken from ALSA bug#3242.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed the double entries in the model presets.
Toshib A135 prefers model=lenovo rather than dallas.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added auto-mute function with HP jack to Sony VAIO laptop with STAC9872
codec. The patch taken from ALSA bug#3275.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added model=targa-dig for MSI m673x with ALC883 codec.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Avoid unnecessary work scheduling for power-off.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added unsol_event handling to ALC883 Acer Aspire codes.
Also, removed unneeded channel-mode mixer control from 2-ch only presets.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Remove the superfluous code that's actually not used at all.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix power-management on ALC885 Intel Macs.
It fixes the problem with power-saving mode, too.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added model=acer for ALC268 codec support.
The configuration is: headphone = 0x14, speaker = 0x15
needs hp-jack auto-detection. The same routine as alc262-fujitsu model
is used.
Also, added the auto-muting routine for ALC268 model=toshiba.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Dell Precision 390 needs position_fix=1 as default (ALSA bug#3295).
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
When CME keyboards send a SysEx message (e.g. master volume), the USB
packet uses a format different from the standard format. Parsing this
packet according to the specification corrupts the SysEx message itself
and can cause the following MIDI messages to be misinterpreted, too.
This patch adds a workaround for this case.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Use the bind-control for NID 0x1a and 0x1b as Master volume control
on AD1986 model=laptop as well as model=laptop-eapd. This will fix
the missing output on some devices.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added flush_scheduled_work() in snd_hda_codec_free() to make sure that
the all work is gone. Also, optimized the condition to schedule the
delayed work in snd_hda_power_down().Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the missing text entries and descriptions for the newly added
model values for Realtek codec chips.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the support for Biostar NF61S SE mobo with ALC861VD codec,
model=6stack-digout (ALSA bug#3190).Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
1. Support Acer Aspire 9810
2. Support TOSHIBA A205
3. Support HP TX1000Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Removed conflicting capture mixers for ALC861VD model=dallas.
It fixes the ALSA bug#3236.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
In the power-saving mode, the suspend is done dynamically at power-down.
So we don't have to call suspend stuff explicitly if it's already
powered down.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
codec->patch_ops.init can be NULL. Check before calling it.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add a snd_pcm_rate_to_rate_bit() function to factor out common code used
by several drivers.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Merge the rates[] arrays from pcm_misc.c and pcm_native.c because they
are both the same.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Set the SNDRV_PCM_INFO_SYNC_START flag and the substream's sync ID
(only) if the substream actually can be linked to another one.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Check ioremap error and handle properly at initialization.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add power_save_controller module option instead of define flag.
Also, added descriptions of new module options in ALSA-Configuration.txt.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Tested against a couple of different systems (with different pin
configs), but the others should also work. Also cleaned up some of the
9205 patch code.Signed-off-by: Tobin Davis
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The controller power wasn't turned on properly at resume due to the
power-saving patch. Now fixed.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
isn't needed there. Upatched code uses:
memset(info, 0, sizeof(info));
where 'info' is a pointer and therefore only first 4 bytes of 'info' gets
cleared on a 32bit machine. Anyway looking at the code zeoring this memory
region isn't needed at all because the snd_emu10k1_fx8010_info() function
initializes all the 'info' fields on its own. So that's why this code works
at all in its original form.
This patch removes this redundant code. Also snd_emu10k1_fx8010_info() can't
fail so lets save some bytes and change its return type to void.Signed-off-by: Mariusz Kozlowski
Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Update the documentation to reflect the last changes regarding the
power-saving mode and register caches.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added CONFIG_SND_HDA_POWER_SAVE kconfig. It's an experimental option
to achieve an aggressive power-saving. With this option, the driver
will turn on/off the power of each codec and controller chip dynamically
on demand.
The patch introduces a new module option 'power_save'. It specifies
the second of time-out for automatic power-down. As default, it's
10 seconds. Setting 0 means to suppress the power-saving feature.
The codec may have analog-input loopbacks, which are usually represented
by mixer elements such as 'Mic Playback Switch' or 'CD Playback Switch'.
When these are on, we cannot turn off the mixer and the codec chip has
to be kept on. For bookkeeping these states, a new codec-callback is
introduced.
For the bus-controller side, a new callback pm_notify is introduced,
which can be used to turn on/off the contoller appropriately.
Note that this power-saving might cause slight click-noise at
power-on/off. Also, it might take some time to wake up the codec, and
might even drop some tones at the very beginning. This seems to be the
side-effect of turning off the controller chip.
This turn-off of the controller can be disabled by undefining
HDA_POWER_SAVE_RESET_CONTOLLER in hda_intel.c.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
We have already a generic bind-control helper, so let's clean up the codes
using it.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added snd_hda_codec_amp_stereo() function that changes both of stereo
channels with the same mask and value bits. It simplifies most of
amp-handling codes.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
So far, the driver looked the table of snd_kcontrol_new used for creating
mixer elements and forces to call each of its put callbacks in PM resume
code. This is too ugly and hackish.
Now, the resume is simplified using the codec amp and command register
caches. The driver simply restores the values that have been written
in the cache table. With this simplification, most codec support codes
don't require any special resume callback.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela