04 Sep, 2008
10 commits
-
Fix a typo in the patch to remove snd_assert().
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The original fix by Julien Brunel .
aaci_init_card() returns a pointer with ERR_PTR(), but in aaci_init()
NULL is supposed at this error path.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
As noted by Gu Rui in http://bugzilla.kernel.org/show_bug.cgi?id=11444,
there is a typo in Documentation/sound/alsa/ALSA-Configuration.txt.
After checking the source (sound/pci/hda/hda_intel.c), the report
looks correct to me.Signed-off-by: Michael Kerrisk
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added Subsystem IDs (0x1179, 0xff64) for the Toshiba Satellite L305
laptop, so it automatically uses the ALC268_TOSHIBA quirk.Signed-off-by: Travis Place
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Only used in ac97_codec by including ac97_patch.c directly, effectively static
Found by sparse:
sound/pci/ac97/ac97_patch.c:3551:5: warning: symbol 'patch_vt1617a' was not declared. Should it be static?
sound/pci/ac97/ac97_patch.c:3767:5: warning: symbol 'patch_vt1618' was not declared. Should it be static?Signed-off-by: Harvey Harrison
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Limit the available channels for multi-channel playback device to
the real number of channels. Until now, always up to 8 channels
are created, which are simply useless without the real outputs.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Even though MIDI was fixed on ice1724 chips a while ago, it wasn't yet
enabled for some cards as it didn't get enough testing. This was tested
with MIDI keyboard on PHASE 22 and with looping back output to input and
it works stable, so it's safe to enable it.Besides this, there are some more minor fixes, not exactly user visible:
* added info about PHASE 28 (collected, as I don't have a card)
* added info about TS22PCI and new revisions of PHASE 22
* disable 192k on PHASE 22 as AK4524 I2S doesn't support it
* enable SPDIF reciever on PHASE 22Signed-off-by: Vedran Miletic
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This enables MIDI on Terratec Aureon 7.1 Universe cards specifically.
Apparently the other envy24ht-based Aureon cards do not have MIDI ports,
hence I added a Universe specific eeprom array.The newer cards (Aureon 7.1 PCI / 5.1 PCI/Fun) have MIDI but use a CMI
DSP so this driver does not concern them at all.Signed-off-by: Maximilian Rehkopf
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
29 Aug, 2008
19 commits
-
The AC97 clock detection is not accurate in some cases. This patch adds
an initial whitelist for audio devices gathered from RedHat's bugzilla:https://bugzilla.redhat.com/show_bug.cgi?id=441087
As a side effect, white-listing might speedup kernel booting (AC97 clock
measuring code is not activated).Signed-off-by: Jaroslav Kysela
-
sound/sound_core.c implements soundcore.ko and contains two parts -
sound_class which is shared by both ALSA and OSS and device
redirection support for OSS. It's always compiled when any sound
support is enabled although it's necessary only when OSS (the actual
one or emulation) is enabled. This is slightly wasteful and as device
redirection always registers character device region for major 14, it
prevents alternative implementation.This patch introduces a new config SOUND_OSS_CORE which is selected
iff OSS support is actually necessary and build the OSS core part
conditionally.If OSS is disabled, soundcore merely contains sound_class but leaving
it that way seems to be the simplest approach as otherwise sound_class
should be in ALSA core file if OSS is disabled but should be in
soundcore if OSS is enabled. Also, there's also the user confusion
factor.Signed-off-by: Tejun Heo
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the support of Toshiba RX1 laptop with ALC262 codec chip.
Related ALSA bug#3386:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3386Signed-off-by: Hiroshi Miura
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
1. Implement 7.1 Output for vt1618 codec.
2. Fix typos in comments from my previous 1617a patch.Signed-off-by: John L. Utz III
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Pop time configuration is a debugging feature which shouldn't be used in
normal operation so move it to debugfs where it is clearer. This also
simplifies the code since debugfs provides standard facilities for
exposing simple integer values to user space.Signed-off-by: Mark Brown
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the descriptions of missing model values.
Also, fixed the model strings of a few new models to a standard style.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add a workaround for bad DMA-position reporting on VIA chipset.
Signed-off-by: Joseph Chan
[modified and cleaned up by tiwai]
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix a few issues identified by Jean Delvare:
- Add missing newline to error display.
- Return an error when we fail to locate the I2C adaptor.
- Remove the static wm8903_i2c_device Jean suggested, it's redundant.Signed-off-by: Mark Brown
Acked-by: Jean Delvare
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Two warning messages lack their trailing new-line, add it.
Signed-off-by: Jean Delvare
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
- Add support for ECS (1019:9087)
- Delete G71V record from alc662_cfg_tbl[]
The PCI SubsystemID was the same with M70V
- Add more ASUS notebook supportSigned-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
- Add Lenovo Sky support (17aa:101d)
- Add ASUS M90V support (1043:8317)
- Add ASUS Eee 1601 support (1043:835f)Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the support of Quanta FL1 with ALC269 code chip.
Also a bit space clean-ups.Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the support of Acer Aspire One with ALC269 codec chip.
Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the support of Toshiba S06 with ALC262 codec chip.
Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed the support of HP DC7600 with ALC260, which was formerly handled
as model=hp-3013.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 -
The WM8903 is a high performance ultra-low power stereo CODEC optimised
for portable audio applications. Features include:* 5mW power consumption for DAC to headphone playback
* Stereo DAC SNR 96dB typical, THD -86dB typical
* Stereo ADC SNR 93dB typical, THD -80dB typical
* Up to 3 single ended inputs per stereo channel
* Up to 2 pseudo differential inputs per stereo channel
* Up to 1 fully differential mic input per stereo channel
* Digital Dynamic Range Controller (compressor/limiter)
* Digital sidetone mixingSigned-off-by: Mark Brown
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Make ',' delimited with space as for other entries in table.
Signed-off-by: Jaroslav Kysela
25 Aug, 2008
11 commits
-
Use the wss_dout function which does not mess
shadowed register values during chip probing.
Otherwise, user ends up with stupid mixer settings
after driver loading.Signed-off-by: Krzysztof Helt
Acked-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
- more register naming work
- finally figured out that weird CR register stuff
(and did I mention that I hate _really_ undecipherable open-coded values?)
- fix handling of IRQ sharing in interrupt handler
(hopefully properly, otherwise I'd be grateful to hear your
pedantic comments ;)
- add handy SPECS_PAGE references wherever useful
- comments, cleanup
- add me as module authorSigned-off-by: Andreas Mohr
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
ALC269 capture source wasn't properly set up.
It's an independent MUX (0x23), not a source of ADC.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Check continuous pages in the buffer set up so that the number of
BDL is reduced. Also increased the max buffer size.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The errors at buffer preallocations aren't fatal and safe to ignore.
The buffer will be allocated dynamically when opened.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Check the continuity of allocated pages to reduce the BDL size as much
as possible so that it can use more than 1MB buffers.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Most hardwares have limited buffer-descriptor table length. This
also restricts the max buffer size of the sound driver.
For example, snd-hda-intel has 1MB buffer size limit, and this is
because it can have at most 256 BDL entries. For supporting larger
buffers, we need to allocate larger pages even for sg-buffers.This patch changes the sgbuf allocation code to try to allocate
larger pages first. At each head of the allocated pages, the
number of allocated pages is stored in the lowest bits of the
corresponding entry of the table addr field. This change isn't
visible as long as the driver uses snd_sgbuf_get_addr() helper.Also, the patch adds a new function, snd_pcm_sgbuf_get_chunk_size().
This returns the size of the chunk on continuous pages starting at
the given position offset. If the chunk reaches to a non-continuous
page, it returns the size to the boundary.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
snd_dma_alloc_pages_fallback() always tries to reduce the size in a half,
but it's not good when the given size isn't a power-of-two.
Check it first then try to align.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Clean up SG-buffer helper functions and macros. Helpers take substream
as arguments now.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
It is ALSA bug #1754.
D6 bit in 02 register is PW4.Signed-off-by: Alexander Beregalov
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela