Changes v1.0.15rc2 v1.0.15rc3

From AlsaProject
Revision as of 08:38, 26 September 2007 by Perex (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Changelog between 1.0.15rc2 and 1.0.15rc3 releases

alsa-driver

Sound Core

add empty kthread wrappers
release 1.0.15rc3
Disable link with ac97_bus driver for older kernels
PC-Speaker driver update

ALSA Core

add empty kthread wrappers
change return type of pci_save/restore_state wrappers

AC97 Codec

Disable link with ac97_bus driver for older kernels
Add default values for power-saving as Kconfig options
ac97: YMF743 missing controls support (1/2)
ac97: YMF743 missing controls support (2/2)

AD1848 driver

ad1848_lib: waiting loops done after cs4231_lib
ad1848: Fix msleep while atomic
ad1848: simplify MCE down code

ALSA sequencer

schedule_timeout() fix for core/seq/seq_instr.c

Asihpi driver

alsa-driver: use schedule_timeout_{,un}interruptible.

BT87x driver

bt87x: fix detection of generic boards

CMI8788 driver

cmi8788: prevent autoloading

CMIPCI driver

cmipci: fix version 37 detection
cmipci: update register definitions
cmipci: show more registers in proc file
cmipci: reset the chip when initializing
cmipci: initialize 0x90 registers
cmipci: allow 96 kHz playback on non-multichannel rear
cmipci: remove 5.0 format
cmipci: reorganize set_dac_channels()
cmipci: fix lookup of double rates
cmipci: clean up struct cmipci_pcm
cmipci: fix distortion on rear channels

Documentation

sc6000: documentation fix
Add descriptions for new module options of snd-sscape driver
Add description about power-saving mode

EMU10K1/EMU10K2 driver

emu10k1: enable emu1010 only on 2.6 kernels
Routines for effect processor FX8010: Use list_for_each_entry

ES1968 driver

ESS Maestro 1/2/2E Sound Card: Use list_for_each_entry

Echoaudio driver

echoaudio - Add barrier() to prevent compiler optimization

Generic drivers

PC-Speaker driver update

HDA Codec driver

hda-codec: Add 4 channel support for Realtek ALC883
hda-codec: Add two new systems to ALC883
Add default values for power-saving as Kconfig options
hda-codec - Fix ALC662 codec support
hda-codec - Missing support ASUS A7J
hda: More subsystem id BIOS changes

HDA Intel driver

Intel HD Audio: Use list_for_each_entry(_safe)
alsa-kernel: schedule_timeout() fixes

HDA generic driver

Intel HD Audio: Use list_for_each_entry(_safe)

I2C cs8427

Workaround for invalid signature read of CS8427

MSND driver

fix request_firmware() calls for 2.4 kernels
alsa-driver: use schedule_timeout_{,un}interruptible.

Opti9xx drivers

opti9xx: adjust OPL3 FM resource value

PCI drivers

Add default values for power-saving as Kconfig options

SC6000 (CompuMedia ASC-9308 + AD1848) driver

sc6000 build fix
sc6000: 2 minor fixes

SPARC cs4231 driver

sun-cs4231 - Remove merge errors

Sound Scape driver

sscape: driver extension to 2nd DMA and WSS port
sscape: support for audio part of VIVO cards
alsa-kernel: schedule_timeout() fixes

USB

caiaq - support for Native Instrument's RigKontrol3

USB caiaq

caiaq - support for Native Instrument's RigKontrol3

USB generic driver

usb-audio: add Ozone Academic support

Utils

Fix the handling of Kconfig int items
PC-Speaker kernel patch for 2.6.22

VIA82xx driver

alsa-kernel: schedule_timeout() fixes

Wavefront drivers

fix request_firmware() calls for 2.4 kernels
alsa-kernel: schedule_timeout() fixes

alsa-lib

Core

release 1.0.15rc2
changed python-incdir to python-includes for configure.in

PCM API

Fix wrong offset calculation in snd_pcm_{read|write}_mmap()

Configuration

Fix subdevice number to 0 for dmix/dsnoop
PC-Speaker config update

Simple Abstraction Mixer Modules

changed python-incdir to python-includes for configure.in

Detailed changelog between 1.0.15rc2 and 1.0.15rc3 releases

alsa-driver

Sound Core

- add empty kthread wrappers
Add empty wrappers for the kthread functions to allow compilation to
succeed. There is no implementation, so one cannot actually use them.
- release 1.0.15rc3
- Disable link with ac97_bus driver for older kernels
The older kernels have no proper support of ac97_bus driver, so let's
simply disable it.
- PC-Speaker driver update
- PCSP_HOOK is no longer needed, removed.
The driver fully moved to hrtimers and the kernel patch is now optional.
- Depend on EXPERIMENTAL in preparation to submit this upstream.
- Remove the built-in software volume control in favour of softvol.
Signed-off-by: Stas Sergeev <stsp@aknet.ru>

ALSA Core

- add empty kthread wrappers
Add empty wrappers for the kthread functions to allow compilation to
succeed. There is no implementation, so one cannot actually use them.
- change return type of pci_save/restore_state wrappers
Change the return type of pci_save/restore_state() from void to int
because it is actually checked in a driver.

AC97 Codec

- Disable link with ac97_bus driver for older kernels
The older kernels have no proper support of ac97_bus driver, so let's
simply disable it.
- Add default values for power-saving as Kconfig options
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.
- ac97: YMF743 missing controls support (1/2)
These patches enable some YMF743 controls (Tone/3D/IEC958) that won't
be detected with the current version of ALSA.
The first one contains only cosmetic changes to share a few
YMF753-specific symbols with YMF743.
Signed-off-by: Keita Maehara <maehara@debian.org>
- ac97: YMF743 missing controls support (2/2)
These patches enable a few YMF743 controls (Tone/3D/IEC958) that won't
be detected with the current version of ALSA.
The second one contains following changes:
- A chip-specific SPDIF support for YMF743 (It doesn't have AC97
standard SPDIF registers seen on YMF753).
- The implementation for "IEC958 Playback Source" and "IEC958 Mute"
are identical to the ones for YMF753. But there is no "IEC958 Output
Pin" for YMF743.
Signed-off-by: Keita Maehara <maehara@debian.org>

AD1848 driver

- ad1848_lib: waiting loops done after cs4231_lib
This patch fixes ad1848_lib waiting loops to be the same as in the cs4231_lib.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Acked-by: Rene Herman <rene.herman@gmail.com>
- ad1848: Fix msleep while atomic
Simplest fix.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Rene Herman <rene.herman@gmail.com>
- ad1848: simplify MCE down code
The polling loop to check for ACI to go down was more convoluted than it
needed to be. New loop should be more efficient and it is a lot simpler. The
old loop checked for a timeout before checking for ACI down, which could
result in an erroneous timeout. It's only a failure if the timeout expires
_and_ ACI is still high. There is nothing wrong with the timeout expiring
while the task is sleeping if ACI went low.
A polling loop to check for the device to leaving INIT mode is removed. The
device must have already left init for the previous ACI loop to have finished.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Rene Herman <rene.herman@gmail.com>

ALSA sequencer

- schedule_timeout() fix for core/seq/seq_instr.c
Replace schedule_timeout() with schedule_timeout_uninterruptible()
to avoid signals in loop.
Signed-off-by: Rene Herman <rene.herman@gmail.com>

Asihpi driver

- alsa-driver: use schedule_timeout_{,un}interruptible.
Replace 3 open-coded implementations of schedule_timout_{,un}interruptible
and use {u,m}secs_to_jiffies.
Signed-off-by: Rene Herman <rene.herman@gmail.com>

BT87x driver

- bt87x: fix detection of generic boards
Add an "unknown" board type so that it is possible to differentiate
between unknown and generic boards.

CMI8788 driver

- cmi8788: prevent autoloading
The snd-cmi8788 driver is too buggy to allow it to load automatically,
so add a module parameter that must be set explicitly before it loads.

CMIPCI driver

- cmipci: fix version 37 detection
Use the proper value for the bit that identifies chip version 37.
- cmipci: update register definitions
Update comments for many register symbols, add some new register
symbols, and rename a few ones.
- cmipci: show more registers in proc file
Show a dump of all registers in the 0x00-0x27 and 0x90-0x93 ranges in
the "cmipci" proc file.
- cmipci: reset the chip when initializing
When the chip is initialized, reset it.
- cmipci: initialize 0x90 registers
Initialize the registers at 0x90 and 0x91 with some undocumented values.
- cmipci: allow 96 kHz playback on non-multichannel rear
Move the code that enables 96 kHz out of the if() that checks for
availability of both DMA channels so that it is enabled even when
another stream is playing on the front channels.
- cmipci: remove 5.0 format
Disallow playback of five channels because the hardware does not support
it (or nobody knows how to do it).
- cmipci: reorganize set_dac_channels()
By reorganizing the code that sets the CHB3DxC bits we can not only
simplify this code but also fix the bug where the CHB3D8C bit was not
reset when playing a stereo stream after a 7.1 stream.
- cmipci: fix lookup of double rates
When using one of the double sampling rates, use half the sample rate to
look up in the rates[] table, otherwise we stumble over the BUG().
- cmipci: clean up struct cmipci_pcm
Remove some unused field from the struct cmipci_pcm, and change the type
of some others to save some space.
- cmipci: fix distortion on rear channels
When playing multichannel data, the rear channels can get distorted if
the last sample of the last played stereo stream was not zero. To avoid
this, add a hack to play a few silence samples after the stream is
stopped.

Documentation

- sc6000: documentation fix
This patch fixes MPU-401 irq values list in documentation.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
- Add descriptions for new module options of snd-sscape driver
Add descriptions for new module options of snd-sscape driver,
wss_port and dma2.
- Add description about power-saving mode
Added the description about power-saving mode on AC97 and HD-audio drivers.

EMU10K1/EMU10K2 driver

- emu10k1: enable emu1010 only on 2.6 kernels
Disable support for emu1010 on 2.2/2.4 kernels because we have not yet
emulation code for kthread_*.
- Routines for effect processor FX8010: Use list_for_each_entry
Routines for effect processor FX8010: Use list_for_each_entry instead
of list_for_each
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>

ES1968 driver

- ESS Maestro 1/2/2E Sound Card: Use list_for_each_entry
ESS Maestro 1/2/2E Sound Card: Use list_for_each_entry instead of
list_for_each
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>

Echoaudio driver

- echoaudio - Add barrier() to prevent compiler optimization
This patch adds a barrier() to prevent the compiler from
moving the read outside of the loop. It also fixes a comment.
Signed-off-by: Giuliano Pochini <pochini@shiny.it>

Generic drivers

- PC-Speaker driver update
- PCSP_HOOK is no longer needed, removed.
The driver fully moved to hrtimers and the kernel patch is now optional.
- Depend on EXPERIMENTAL in preparation to submit this upstream.
- Remove the built-in software volume control in favour of softvol.
Signed-off-by: Stas Sergeev <stsp@aknet.ru>

HDA Codec driver

- hda-codec: Add 4 channel support for Realtek ALC883
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 <tdavis@dsl-only.net>
- hda-codec: Add two new systems to ALC883
This patch adds support for the Asus M2A-VM HDMI and Abit IP35-PRO
motherboards.
Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
- Add default values for power-saving as Kconfig options
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.
- hda-codec - Fix ALC662 codec support
* Fixed ALC662 init verbs (wrong NIDs)
* Fixed ALC662 auto model issue (wrong DAC index)
Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
- hda-codec - Missing support ASUS A7J
Added the missing support for ASUS A7J [0x1043 0x1243]
Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
- hda: More subsystem id BIOS changes
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 <mranostay@embeddedalley.com>

HDA Intel driver

- Intel HD Audio: Use list_for_each_entry(_safe)
Intel HD Audio: Use list_for_each_entry(_safe) instead of
list_for_each(_safe)
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
- alsa-kernel: schedule_timeout() fixes
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 <rene.herman>

HDA generic driver

- Intel HD Audio: Use list_for_each_entry(_safe)
Intel HD Audio: Use list_for_each_entry(_safe) instead of
list_for_each(_safe)
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>

I2C cs8427

- Workaround for invalid signature read of CS8427
Reading the signature of CS8427 over SPI/I2C fails on some devices
by mysterious reason. In most cases, however, it succeeds at the
sequential read. So, let's give a second chance to check the signature
again.

MSND driver

- fix request_firmware() calls for 2.4 kernels
Update the patches for wavefront_synth and msnd_pinnacle to use a
different third parameter for request_firmware() on 2.4 kernels.
- alsa-driver: use schedule_timeout_{,un}interruptible.
Replace 3 open-coded implementations of schedule_timout_{,un}interruptible
and use {u,m}secs_to_jiffies.
Signed-off-by: Rene Herman <rene.herman@gmail.com>

Opti9xx drivers

- opti9xx: adjust OPL3 FM resource value
The OPTi ISA-PnP chips advertise their OPL4 base at 0x380 (to 0x3f0) through
pnp and put their on-chip OPL3 at +8. The driver assumes the provided
value is the ALBase (OPL3 address) though and checks for an OPL4 at -8,
which means that simply adding 8 to the pnp provides value works to fix
detection of both OPL3 and OPL4.
Problem spotted on 931 and 933 by Krzysztof Helt and confirmed on 924 and
925 (together all OPTi ISA-PnP chips) by me.
Signed-off-by; Rene Herman <rene.herman@gmail.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>

PCI drivers

- Add default values for power-saving as Kconfig options
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.

SC6000 (CompuMedia ASC-9308 + AD1848) driver

- sc6000 build fix
sound/isa/sc6000.c: In function 'sc6000_dsp_reset':
sound/isa/sc6000.c:270: error: implicit declaration of function 'udelay' sound/isa/sc6000.c: In function 'sc6000_init_mss':
sound/isa/sc6000.c:327: error: implicit declaration of function 'msleep'
{standard input}: Assembler messages:
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
- sc6000: 2 minor fixes
This patch zeroes buffer for the card name and
fixes incorrect jump in the probe function.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>

SPARC cs4231 driver

- sun-cs4231 - Remove merge errors
Remove the garbage codes remaining after merging from the upstream changes.
From: Krzysztof Helt <krzysztof.h1@poczta.fm>

Sound Scape driver

- sscape: driver extension to 2nd DMA and WSS port
This patch adds second DMA channel and WSS port settings
to the sscape driver. Also, it adds internal card type setting.
The Ensoniq SoundScape VIVO PnP id is added but not handled
yet.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
- sscape: support for audio part of VIVO cards
This patch adds support for audio part of the Ensoniq
SoundScape VIVO cards. The MIDI part is not supported.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
- alsa-kernel: schedule_timeout() fixes
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 <rene.herman>

USB

- caiaq - support for Native Instrument's RigKontrol3
This patch adds support for Native Instrument's upcoming
RigKontrol3 sound interface.
Signed-off-by: Daniel Mack <daniel@caiaq.de>

USB caiaq

- caiaq - support for Native Instrument's RigKontrol3
This patch adds support for Native Instrument's upcoming
RigKontrol3 sound interface.
Signed-off-by: Daniel Mack <daniel@caiaq.de>

USB generic driver

- usb-audio: add Ozone Academic support
Add a quirk to detect the MIDI port on the M-Audio Ozone Academic.

Utils

- Fix the handling of Kconfig int items
Kconfig int items aren't handled properly. They are misconfigured
as cards. Now fixed as non-changeable card options.
In future, we really need to improve the configure options for
Kconfig options...
- PC-Speaker kernel patch for 2.6.22
The attached is an OPTIONAL patch for 2.6.22, which makes nothing except
disabling the old pcspkr driver in favour of the snd-pcsp.
Signed-off-by: Stas Sergeev <stsp@aknet.ru>

VIA82xx driver

- alsa-kernel: schedule_timeout() fixes
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 <rene.herman>

Wavefront drivers

- fix request_firmware() calls for 2.4 kernels
Update the patches for wavefront_synth and msnd_pinnacle to use a
different third parameter for request_firmware() on 2.4 kernels.
- alsa-kernel: schedule_timeout() fixes
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 <rene.herman>

alsa-lib

Core

- release 1.0.15rc2
- changed python-incdir to python-includes for configure.in

PCM API

- Fix wrong offset calculation in snd_pcm_{read|write}_mmap()
The offset used in snd_pcm_{read|write}_mmap() is not the linear offset
but the offset in a ring buffer. It has to be rounded.

Configuration

- Fix subdevice number to 0 for dmix/dsnoop
The dmix and dsnoop plugins need a fixed substream number instead of
the next-available one (-1) as the default number. Now it's set to 0.
- PC-Speaker config update
The attached patch updates the PC-Speaker.conf for the use of softvol.
Signed-off-by: Stas Sergeev <stsp@aknet.ru>

Simple Abstraction Mixer Modules

- changed python-incdir to python-includes for configure.in
Custom Search
Personal tools
Namespaces

Variants
Actions
Navigation
wiki
Toolbox