linux-2.6
19 years ago[ALSA] usb-audio - fix synchronization packet interval with Audigy 2 NX
Clemens Ladisch [Tue, 17 May 2005 07:15:27 +0000 (09:15 +0200)] 
[ALSA] usb-audio - fix synchronization packet interval with Audigy 2 NX

USB generic driver
When a device does not provide the bRefresh field in its audio endpoint
descriptors, use the bInterval field instead.

Furthermore, increase the number of sync URBs for better queueing.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - claim all interfaces for Roland USB MIDI devices
Clemens Ladisch [Tue, 17 May 2005 07:14:27 +0000 (09:14 +0200)] 
[ALSA] usb-audio - claim all interfaces for Roland USB MIDI devices

USB generic driver
Many Roland USB MIDI devices have two interfaces that are currently not
used by the driver; claim them anyway.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] fixed PAUSE ioctl for user space interface
Jaroslav Kysela [Mon, 16 May 2005 11:51:39 +0000 (13:51 +0200)] 
[ALSA] fixed PAUSE ioctl for user space interface

Timer Midlevel
- fixed traditional cut-n-paste error

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
19 years ago[ALSA] Change some timer ioctls due to confliction
Takashi Iwai [Sun, 15 May 2005 13:43:54 +0000 (15:43 +0200)] 
[ALSA] Change some timer ioctls due to confliction

Timer Midlevel,ALSA Core
Change values of some timer ioctls to avoid confliction with FIO* ioctls.
The protocol version is increased to indicate this change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Add missing PAUSE ioctl
Takashi Iwai [Sun, 15 May 2005 13:04:14 +0000 (15:04 +0200)] 
[ALSA] Add missing PAUSE ioctl

Timer Midlevel
Added the missing implemenation of TIMER PAUSE ioctl.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Add PnP ID ADS7180
Takashi Iwai [Sun, 15 May 2005 12:41:20 +0000 (14:41 +0200)] 
[ALSA] Add PnP ID ADS7180

AD1816A driver
Added PnP ID 'ADS7180' (AD1816?).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Suppress debug message
Takashi Iwai [Sun, 15 May 2005 12:32:50 +0000 (14:32 +0200)] 
[ALSA] Suppress debug message

Control Midlevel
Suppress 'unknown ioctl' debug message (replaced with snd_printdd).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Add Analog Devices vendor name
Takashi Iwai [Sun, 15 May 2005 12:30:10 +0000 (14:30 +0200)] 
[ALSA] Add Analog Devices vendor name

HDA Codec driver
Added the missing vendor name entry for Analog Devices.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Allow more than 2 channel modes
Takashi Iwai [Fri, 13 May 2005 15:18:42 +0000 (17:18 +0200)] 
[ALSA] Allow more than 2 channel modes

HDA Codec driver
Allow 'Channel Mode' control to have more than 2 modes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Fix a typo in position_fix module option type
Takashi Iwai [Fri, 13 May 2005 14:44:27 +0000 (16:44 +0200)] 
[ALSA] Fix a typo in position_fix module option type

HDA Intel driver
Fixed a typo in the type of position_fix module option.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Suppress error message
Takashi Iwai [Fri, 13 May 2005 14:06:14 +0000 (16:06 +0200)] 
[ALSA] Suppress error message

HDA Codec driver
Suppressing the error message regarding no AFG.
This is often harmless (e.g. probing a modem codec).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] make code static
Adrian Bunk [Fri, 13 May 2005 13:28:08 +0000 (15:28 +0200)] 
[ALSA] make code static

CA0106 driver,HDA Codec driver
This patch makes needlessly global code static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Remove obsolete mixer control
Takashi Iwai [Fri, 13 May 2005 09:01:13 +0000 (11:01 +0200)] 
[ALSA] Remove obsolete mixer control

AC97 Codec
Removed the obsolete mixer control for AD1985.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] usb-audio - avoid unnecessary double buffering
Clemens Ladisch [Fri, 13 May 2005 05:50:28 +0000 (07:50 +0200)] 
[ALSA] usb-audio - avoid unnecessary double buffering

USB generic driver
When a USB packet boundary falls exactly on a buffer boundary, hwptr
remains at the end of the buffer which causes an overflow in the next
iteration and triggers double buffering although the next packet would
actually be contiguous.

This patch ensures that hwptr is always smaller than buffer_size.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - sanity-check sync feedback frequency values
Clemens Ladisch [Fri, 13 May 2005 05:44:13 +0000 (07:44 +0200)] 
[ALSA] usb-audio - sanity-check sync feedback frequency values

USB generic driver
Check that the synchronization feedback frequency values returned by the
device are more or less near the nominal frequency.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] Rename pci_vendor/pci_device to pci_subvendor/pci_subdevice
Takashi Iwai [Thu, 12 May 2005 14:49:45 +0000 (16:49 +0200)] 
[ALSA] Rename pci_vendor/pci_device to pci_subvendor/pci_subdevice

HDA Codec driver,HDA generic driver
Renamed pci_vendor/pci_device fields to pci_subvendor/pci_subdevice.
They are really PCI subsystem IDs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Add support of VIA VT8251/VT8237A HD-Audio controllers
Takashi Iwai [Thu, 12 May 2005 13:00:41 +0000 (15:00 +0200)] 
[ALSA] Add support of VIA VT8251/VT8237A HD-Audio controllers

Documentation,HDA Intel driver
Added the support of VIA VT8251/VT8237A HD-Audio controllers.
They are (almost) compatible with Intel ICH6/7.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Adding support for ATI IXP450 HD Audio device support
Frederick Li [Thu, 12 May 2005 12:55:20 +0000 (14:55 +0200)] 
[ALSA] Adding support for ATI IXP450 HD Audio device support

Documentation,HDA Intel driver
This patch changes the Intel HD Audio device driver to include
the support of HD Audio device embedded in ATI south bridge
IXP450. Because the design of ATI chipset follows intel HD Audio
specification 1.0, the programming method is the same as that
of intel HD Audio device exception one minor change which requires
to enable snoop for DMA transport. There are 3 changes that have been
made to hda_intel.c file.
  1. Added device ID for ATI HD Audio device;
  2. Increase maximum CODEC supported to 4;
  3. Enable snoop during the driver initialization.

Signed-off-by: Frederick Li <fli@ati.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Add test model for debugging ALC880 devices
Takashi Iwai [Thu, 12 May 2005 12:51:12 +0000 (14:51 +0200)] 
[ALSA] Add test model for debugging ALC880 devices

HDA Codec driver
Added 'test' model for testing/debugging the devices with ALC880 codec.
This model is built only when CONFIG_SND_DEBUG is set.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Add ASUS Z71V support
Takashi Iwai [Thu, 12 May 2005 12:31:49 +0000 (14:31 +0200)] 
[ALSA] Add ASUS Z71V support

Documentation,HDA Codec driver
Added the ASUS Z71V (or similar) laptop support.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Add position_fix module option
Takashi Iwai [Thu, 12 May 2005 12:26:27 +0000 (14:26 +0200)] 
[ALSA] Add position_fix module option

Documentation,HDA Intel driver
Added position_fix module option to HDA-intel driver for fixing up
the DMA position (possibly hardware-) bugs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] maestro3: HP OmniBook HW volume button magic
Ville Syrjala [Thu, 12 May 2005 12:20:57 +0000 (14:20 +0200)] 
[ALSA] maestro3: HP OmniBook HW volume button magic

Maestro3 driver
Some HP OmniBook laptops (500 and 6000 at least) require some GPIO magic
before the HW volume buttons work. This patch makes them work mostly.
Something is still missing to make them work perfectly. However I have been
unable to figure out what exactly.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] maestro3: Add HW volume button support
Ville Syrjala [Thu, 12 May 2005 12:19:32 +0000 (14:19 +0200)] 
[ALSA] maestro3: Add HW volume button support

Maestro3 driver
Add support for hardware volume buttons.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] maestro3: Fix interrupt ack and disable
Ville Syrjala [Thu, 12 May 2005 12:14:28 +0000 (14:14 +0200)] 
[ALSA] maestro3: Fix interrupt ack and disable

Maestro3 driver
Due to a typo interrupts were never actually acked or disabled.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] ARM AACI primecell driver
Russell King [Thu, 12 May 2005 12:04:59 +0000 (14:04 +0200)] 
[ALSA] ARM AACI primecell driver

ARM,/arm/Makefile,ARM AACI PL041 driver
Add support for the ARM AACI Primecell, which provides an AC'97
based interface.  This driver only provides playback support.

This has been extensively tested with an LM4549 AC'97 codec.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] ARM DMA subsystem
Russell King [Thu, 12 May 2005 08:25:58 +0000 (10:25 +0200)] 
[ALSA] ARM DMA subsystem

ARM DMA routines
The patch below adds a convenient re-usable shim around the extended
ARM DMA API, and is used by several ARM ALSA drivers.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] emu10k1 - add SB0060 to emu_chip_details
Mikael Magnusson [Wed, 11 May 2005 09:13:26 +0000 (11:13 +0200)] 
[ALSA] emu10k1 - add SB0060 to emu_chip_details

EMU10K1/EMU10K2 driver
The following patch adds SB0060 to emu_chip_details.

Signed-off-by: Mikael Magnusson <mikaelmagnusson@glocalnet.net>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
19 years ago[ALSA] usb-audio - bind to control interface instead of usb_device
Clemens Ladisch [Tue, 10 May 2005 12:51:40 +0000 (14:51 +0200)] 
[ALSA] usb-audio - bind to control interface instead of usb_device

USB generic driver
Bind the device files to the (first) audio control interface instead of
the entire USB device.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] ac97 - enable multichannel output on AD198x codecs
Clemens Ladisch [Tue, 10 May 2005 12:50:31 +0000 (14:50 +0200)] 
[ALSA] ac97 - enable multichannel output on AD198x codecs

AC97 Codec
The code for AD1980/AD1985/AD1986 codecs forgot to enable the code to
switch the jack sharing bits on AD1888-compatible codecs.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] ac97 - fix Mic jack sharing on AD1888 codecs
Clemens Ladisch [Tue, 10 May 2005 12:48:37 +0000 (14:48 +0200)] 
[ALSA] ac97 - fix Mic jack sharing on AD1888 codecs

AC97 Codec
The code for modifying the center/LFE disable bit on AD1888 codecs
accidentally toggled the mute split bit instead.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - add a proc file for Audigy 2 NX jack status
Clemens Ladisch [Tue, 10 May 2005 12:47:38 +0000 (14:47 +0200)] 
[ALSA] usb-audio - add a proc file for Audigy 2 NX jack status

USB generic driver
This patch adds a proc file for the SB Audigy 2 NX which shows the
connection status of the various jacks.  Unfortunately, no SPDIF input
frequency (yet).

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - remove superfluous LIRC ioctls
Clemens Ladisch [Mon, 9 May 2005 07:21:28 +0000 (09:21 +0200)] 
[ALSA] usb-audio - remove superfluous LIRC ioctls

USB generic driver
The ioctls for LIRC compatibility can be removed because the
infrastructure and detection stuff is better done in user space.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - enable high speed (not) on Audigy 2 NX
Clemens Ladisch [Mon, 9 May 2005 07:20:31 +0000 (09:20 +0200)] 
[ALSA] usb-audio - enable high speed (not) on Audigy 2 NX

USB generic driver
The SB Audigy 2 NX needs a special boot-up command before it works in
high speed mode.

However, we don't actually enable it yet because high speed
synchronization doesn't seem to work with this device.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] Fix snd-usb-audio dependency on snd-hwdep.
James Courtier-Dutton [Sun, 8 May 2005 20:22:27 +0000 (22:22 +0200)] 
[ALSA] Fix snd-usb-audio dependency on snd-hwdep.

USB

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
19 years ago[ALSA] cs4281 - fix DLLRDY not seen problem
Arnaud Patard [Sat, 7 May 2005 16:51:51 +0000 (18:51 +0200)] 
[ALSA] cs4281 - fix DLLRDY not seen problem

CS4281 driver
Reset the FPDN bit of the EPPMC register if needed.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
19 years ago[ALSA] Increase capture buffer sizes.
James Courtier-Dutton [Sat, 7 May 2005 14:13:40 +0000 (16:13 +0200)] 
[ALSA] Increase capture buffer sizes.

EMU10K1/EMU10K2 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
19 years ago[ALSA] Implement different capture sources.
James Courtier-Dutton [Sat, 7 May 2005 13:34:13 +0000 (15:34 +0200)] 
[ALSA] Implement different capture sources.

EMU10K1/EMU10K2 driver
e.g. When HD Capture source is set to SPDIF,
     setting HD Capture channel to 0 captures from CDROM digital input.
     setting HD Capture channel to 1 captures from SPDIF in.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
19 years ago[ALSA] Support multiple capture rates on p16v.
James Courtier-Dutton [Wed, 4 May 2005 15:26:28 +0000 (17:26 +0200)] 
[ALSA] Support multiple capture rates on p16v.

EMU10K1/EMU10K2 driver
The capture rate does in fact vary, but it only captures anything if
the HD Capture source is set to I2S or AC97. I have not tested if the sound
is actually captured from an physical input of some type or not.
TODO: Get SPDIF capture working.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
19 years ago[ALSA] Update A_SAMPLE_RATE register details.
James Courtier-Dutton [Wed, 4 May 2005 14:53:53 +0000 (16:53 +0200)] 
[ALSA] Update A_SAMPLE_RATE register details.

EMU10K1/EMU10K2 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
19 years ago[ALSA] usb-audio - set sample rate attribute on Audigy 2 NX endpoints
Clemens Ladisch [Wed, 4 May 2005 12:56:04 +0000 (14:56 +0200)] 
[ALSA] usb-audio - set sample rate attribute on Audigy 2 NX endpoints

USB generic driver
The SB Audigy 2 NX does not advertise the sample rate attribute in its
endpoint descriptors although it supports it.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - Audigy 2 NX blinkenlights
Clemens Ladisch [Tue, 3 May 2005 06:02:40 +0000 (08:02 +0200)] 
[ALSA] usb-audio - Audigy 2 NX blinkenlights

USB generic driver
Adds mixer controls for the CMSS/Dolby Digital/Power LEDs
on the SB Audigy 2 NX.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - make SB remote control device LIRC compatible
Clemens Ladisch [Mon, 2 May 2005 06:58:31 +0000 (08:58 +0200)] 
[ALSA] usb-audio - make SB remote control device LIRC compatible

USB generic driver
Add ioctls to the Sound Blaster remote control hwdep device so that it
can be used with LIRC.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - use only one packet in synchronization feedback URBs
Clemens Ladisch [Mon, 2 May 2005 06:55:54 +0000 (08:55 +0200)] 
[ALSA] usb-audio - use only one packet in synchronization feedback URBs

USB generic driver
Do not use more than one packet in synchronization feedback URBs because
it would be pointless to send or receive more than one value at the same
time.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - use proper interval between synchronization packets
Clemens Ladisch [Mon, 2 May 2005 06:53:46 +0000 (08:53 +0200)] 
[ALSA] usb-audio - use proper interval between synchronization packets

USB generic driver
Add sanity checks when reading the bRefresh value, and actually use it
for the synchronization packets instead of polling at 1000 Hz.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - allow type 0 extension units
Clemens Ladisch [Mon, 2 May 2005 06:52:32 +0000 (08:52 +0200)] 
[ALSA] usb-audio - allow type 0 extension units

USB generic driver
Extension units can have type 0, so do not ignore them when constructing
mixer controls.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - cache vendor/product IDs
Clemens Ladisch [Mon, 2 May 2005 06:51:26 +0000 (08:51 +0200)] 
[ALSA] usb-audio - cache vendor/product IDs

USB generic driver
Cache the decoded values of idVendor/idProduct to get rid of most of
those ugly le16_to_cpu() calls.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - add Extigy/Audigy 2 NX remote control support
Clemens Ladisch [Fri, 29 Apr 2005 14:29:28 +0000 (16:29 +0200)] 
[ALSA] usb-audio - add Extigy/Audigy 2 NX remote control support

ALSA Core,USB generic driver
Add an hwdep interface that supports reading remote control data from
Sound Blaster Extigy and Audigy 2 NX devices.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - add mixer control notifications
Clemens Ladisch [Fri, 29 Apr 2005 14:26:14 +0000 (16:26 +0200)] 
[ALSA] usb-audio - add mixer control notifications

USB generic driver
Add support for the optional status interrupt endpoint in audio control
interfaces, and translate USB status notifications into ALSA mixer
control notifications.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - move mixer data into separate struct
Clemens Ladisch [Fri, 29 Apr 2005 14:23:13 +0000 (16:23 +0200)] 
[ALSA] usb-audio - move mixer data into separate struct

USB generic driver
Move all data related to audio control interfaces into a separate struct
local to usbmixer.c.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - reduce size of unitbitmap array
Clemens Ladisch [Fri, 29 Apr 2005 07:56:17 +0000 (09:56 +0200)] 
[ALSA] usb-audio - reduce size of unitbitmap array

USB generic driver
Unit/terminal IDs are 8-bit integers, so the unitbitmap
variable does not need to be bigger than 256 bits.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - restrict Audigy 2 NX frequencies to 48/96 kHz
Clemens Ladisch [Thu, 28 Apr 2005 07:31:53 +0000 (09:31 +0200)] 
[ALSA] usb-audio - restrict Audigy 2 NX frequencies to 48/96 kHz

USB generic driver
On the SB Audigy 2 NX, frequency feedback doesn't quite work
when playing at 44.1 kHz, so temporarily disable this frequency.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years agoALSA CVS update
Jaroslav Kysela [Wed, 27 Apr 2005 14:09:21 +0000 (16:09 +0200)] 
ALSA CVS update
ALSA Version
1.0.9rc3

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
19 years ago[ALSA] hdsp - solved big endian problem
Thomas Charbonnel [Mon, 25 Apr 2005 09:35:29 +0000 (11:35 +0200)] 
[ALSA] hdsp - solved big endian problem

RME HDSP driver
ppc firmware upload fix

Signed-off-by: Thomas Charbonnel <thomas@undata.org>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
19 years ago[ALSA] ac97 - add the 'Mic Front Input Switch' control (ALC850)
Sergey Vlasov [Mon, 25 Apr 2005 09:34:33 +0000 (11:34 +0200)] 
[ALSA] ac97 - add the 'Mic Front Input Switch' control (ALC850)

AC97 Codec
Add the 'Mic Front Input Switch' control to the mixer for ALC850.
Enabling this input is required for using the front panel microphone
connector with ASUS A8V motherboard.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
19 years ago[ALSA] fix behaviour of ac97_enum_mixer elements
Sergey Vlasov [Mon, 25 Apr 2005 09:22:20 +0000 (11:22 +0200)] 
[ALSA] fix behaviour of ac97_enum_mixer elements

AC97 Codec
ac97_enum mixer elements (e.g., 'Capture Source') did not work because
of wrong bitmask calculation in snd_ac97_get_enum_double() and
snd_ac97_put_enum_double().

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1072

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
19 years ago[ALSA] usb-audio - remove superfluous parameter
Clemens Ladisch [Mon, 25 Apr 2005 08:34:13 +0000 (10:34 +0200)] 
[ALSA] usb-audio - remove superfluous parameter

USB generic driver,USB USX2Y
This patch removes the superfluous driver parameter from the
disconnect functions.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - add selector unit names override for Audigy 2 NX
Clemens Ladisch [Fri, 22 Apr 2005 13:49:52 +0000 (15:49 +0200)] 
[ALSA] usb-audio - add selector unit names override for Audigy 2 NX

USB generic driver
Add a mechanism to specify source names of selector units,
and add such names for the SB Audigy 2 NX.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio - show exact synchronous frequency in proc file
Clemens Ladisch [Fri, 22 Apr 2005 13:33:01 +0000 (15:33 +0200)] 
[ALSA] usb-audio - show exact synchronous frequency in proc file

USB generic driver
In the streamX proc file, show the exact number of samples per
USB frame as 16.16 hexadecimal floating point value.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] usb-audio: add Audigy 2 NX control names
Clemens Ladisch [Fri, 22 Apr 2005 06:52:03 +0000 (08:52 +0200)] 
[ALSA] usb-audio: add Audigy 2 NX control names

USB generic driver
Add a mixer control map for the SB Audigy 2 NX so
that we get meaningful mixer control names.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] Add dxs_support entry for MSI K8T Neo-FIS2R
Takashi Iwai [Wed, 20 Apr 2005 18:54:43 +0000 (20:54 +0200)] 
[ALSA] Add dxs_support entry for MSI K8T Neo-FIS2R

VIA82xx driver
Report by Ronny V. Vindenes <s864@ii.uib.no>
Add dxs_support=5 for MSI K8T Neo-FIS2R.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Fix and cleanup of CM9880 auto-configuration
Takashi Iwai [Wed, 20 Apr 2005 11:45:55 +0000 (13:45 +0200)] 
[ALSA] Fix and cleanup of CM9880 auto-configuration

HDA Codec driver
Fix and cleanup of CM9880 automatic PIN configuration.
snd_hda_codec_setup_stream() doesn't do anything when NID is 0.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Show PIN jack type
Takashi Iwai [Wed, 20 Apr 2005 11:44:08 +0000 (13:44 +0200)] 
[ALSA] Show PIN jack type

HDA generic driver
Show the jack type of each PIN default configuration entry.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Fix a typo in comments
Takashi Iwai [Wed, 20 Apr 2005 11:43:00 +0000 (13:43 +0200)] 
[ALSA] Fix a typo in comments

HDA generic driver
Fix a typo in comments.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] prevent oops & dead keyboard on usb unplugging while the device is being used
Karsten Wiese [Wed, 20 Apr 2005 08:12:35 +0000 (10:12 +0200)] 
[ALSA] prevent oops & dead keyboard on usb unplugging while the device is being used

USB generic driver,USB USX2Y
Without this patch, some usb kobjects, which are parents to
the usx2y's kobjects can be freed before the usx2y's.
This led to an oops in get_kobj_path_length() and a dead
keyboard, when the usx2y's kobjects were freed.
The patch ensures the correct sequence.
Tested ok on kernel 2.6.12-rc2.

Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] trivial warning fix for emu10k1
Jesper Juhl [Wed, 20 Apr 2005 08:03:31 +0000 (10:03 +0200)] 
[ALSA] trivial warning fix for emu10k1

EMU10K1/EMU10K2 driver
When building with gcc -W sound/pci/emu10k1/emupcm.c produces this little
warning in 2.6.12-rc2-mm3 :
  sound/pci/emu10k1/emupcm.c:265: warning: 'inline' is not at beginning of
declaration
No big deal, but trivial to fix.

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Add dxs_support=5 for Insight P4-ITX
Takashi Iwai [Fri, 15 Apr 2005 11:51:48 +0000 (13:51 +0200)] 
[ALSA] Add dxs_support=5 for Insight P4-ITX

VIA82xx driver
Added dxs_support=5 entry for Insight P4-ITX.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Increase timer protocol number
Takashi Iwai [Thu, 14 Apr 2005 14:21:03 +0000 (16:21 +0200)] 
[ALSA] Increase timer protocol number

ALSA Core
Increase the timer protocl number (to distinguish the fix for TREAD ioctls).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Misc clean up
Takashi Iwai [Thu, 14 Apr 2005 11:37:13 +0000 (13:37 +0200)] 
[ALSA] Misc clean up

HDA Codec driver
Misc clean up: move the definitions of constants for pinctl to a single place.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Remove dead code
Takashi Iwai [Thu, 14 Apr 2005 11:36:24 +0000 (13:36 +0200)] 
[ALSA] Remove dead code

HDA Codec driver
Removed the dead (duplicated) code.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Add AD1981HD and AD1983 support
Takashi Iwai [Thu, 14 Apr 2005 11:35:51 +0000 (13:35 +0200)] 
[ALSA] Add AD1981HD and AD1983 support

HDA Codec driver
Added the support of AD1981HD and AD1983 codecs.
Including the fix for AD1986A.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] add sigmatel codec support
Matt [Wed, 13 Apr 2005 12:45:30 +0000 (14:45 +0200)] 
[ALSA] add sigmatel codec support

HDA generic driver,HDA Codec driver
Add initial SigmaTel codec support for 9200 and 922x. Note that
this hda patch relies on the configuration default registers to
be set correctly (normally by BIOS/firmware) in order for it to
set up pin widgets properly. There's a test switch in the patch
so it will work with the SigmaTel reference boards that are usually
plugged into a system that doesn't set the configuration default
registers. It supports 2 channel analog out and line/mic in. I
plan to add >2 channel support and spdif support shortly.
Please apply.

Signed-off-by: Matt <matt@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] hda: fix vref cap and ctl values
Matt [Wed, 13 Apr 2005 12:37:50 +0000 (14:37 +0200)] 
[ALSA] hda: fix vref cap and ctl values

HDA Codec driver,HDA generic driver
Fix some vref defines so they are valid for the different bits in
the pin cap and pin control registers. Please apply.

Signed-off-by: Matt <matt@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Improve the shared-jack handling on ac97
Takashi Iwai [Wed, 13 Apr 2005 12:32:57 +0000 (14:32 +0200)] 
[ALSA] Improve the shared-jack handling on ac97

AC97 Codec
The handling of shared surround/clfe output jacks with line/mic-in
on some AC97 codecs is improved.

Instead of 'Line-In As Surround' or 'Mic As Center/LFE' switch, two
new enum controls are introduced: 'Channel Mode' and 'Surround Jack Mode'.
The formar changes the current output mode among 2, 4 and 6-channels.
The latter controls whether the jacks are shared or independent.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] replace SNDRV_PCM_HW_PARAMS_RUNTIME -> SNDRV_PCM_HW_PARAMS_NORESAMPLE
Jaroslav Kysela [Wed, 13 Apr 2005 11:25:30 +0000 (13:25 +0200)] 
[ALSA] replace SNDRV_PCM_HW_PARAMS_RUNTIME -> SNDRV_PCM_HW_PARAMS_NORESAMPLE

ALSA Core

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
19 years ago[ALSA] Fix capture on OSS emulation
Takashi Iwai [Tue, 12 Apr 2005 15:33:59 +0000 (17:33 +0200)] 
[ALSA] Fix capture on OSS emulation

ALSA<-OSS emulation
Fix the noisy capture on some hardwares over OSS emulation.
Change back to avail_min = period_size for capture direction.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Fix permissions in some /proc files
Takashi Iwai [Tue, 12 Apr 2005 14:27:28 +0000 (16:27 +0200)] 
[ALSA] Fix permissions in some /proc files

PCM Midlevel,CA0106 driver,EMU10K1/EMU10K2 driver
Fix by Guillaume Chazarain <guichaz@yahoo.fr>:

Some tunables in /proc have a write() function, but as their
permission does not reflect it, it can be confusing to the user.

So here is a patch that corrects the mode of those files. Note that I
have only tested the 'xrun_debug' entry.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Fix compile warning
Takashi Iwai [Mon, 11 Apr 2005 15:03:03 +0000 (17:03 +0200)] 
[ALSA] Fix compile warning

EMU10K1/EMU10K2 driver
Fix compile warnings regarding the unused variables/functions.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Replace pci_module_init() with pci_register_driver()
Takashi Iwai [Mon, 11 Apr 2005 14:58:24 +0000 (16:58 +0200)] 
[ALSA] Replace pci_module_init() with pci_register_driver()

Documentation,ALS4000 driver,ATIIXP driver,ATIIXP-modem driver
AZT3328 driver,BT87x driver,CMIPCI driver,CS4281 driver
ENS1370/1+ driver,ES1938 driver,ES1968 driver,FM801 driver
Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver,RME32 driver
RME96 driver,SonicVibes driver,VIA82xx driver,VIA82xx-modem driver
ALI5451 driver,au88x0 driver,CA0106 driver,CS46xx driver
EMU10K1/EMU10K2 driver,HDA Intel driver,ICE1712 driver,ICE1724 driver
KORG1212 driver,MIXART driver,NM256 driver,RME HDSP driver
RME9652 driver,Trident driver,Digigram VX222 driver,YMFPCI driver
Replace the obsolete pci_module_init() with pci_register_driver().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Fix SPDIF rate with dxs_support=4
Takashi Iwai [Mon, 11 Apr 2005 13:08:32 +0000 (15:08 +0200)] 
[ALSA] Fix SPDIF rate with dxs_support=4

VIA82xx driver
Fix SPDIF rate setting with dxs_support=4.  It should be 48k fixed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Support all sample rate conversion capabilities of DXS channels
Sergey Vlasov [Mon, 11 Apr 2005 13:04:33 +0000 (15:04 +0200)] 
[ALSA] Support all sample rate conversion capabilities of DXS channels

Documentation,VIA82xx driver
Add support for full sample rate conversion capabilities of DXS
channels present in VIA VT8233/5/7 controllers:

- any sample rate in the 8000 ... 48000 Hz range is supported even if
  the AC'97 codec supports only 48000 Hz output;

- different DXS channels can use different sample rates at the same
  time (the controller performs required sample rate conversion and
  mixing in hardware).

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Add PCI ID for Gallant Odyssey Sound 4
Sergey Vlasov [Mon, 11 Apr 2005 12:17:19 +0000 (14:17 +0200)] 
[ALSA] Add PCI ID for Gallant Odyssey Sound 4

FM801 driver
The Gallant Odyssey Sound 4 card is based on the ForteMedia FM801
chip, but has a different PCI ID.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] remove dead code
Adrian Bunk [Mon, 11 Apr 2005 12:11:00 +0000 (14:11 +0200)] 
[ALSA] remove dead code

YMFPCI driver
This patch removes some dead code found by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Provides preliminary support for the Terratec Phase 28 card
Simone Zinanni [Mon, 11 Apr 2005 12:08:40 +0000 (14:08 +0200)] 
[ALSA] Provides preliminary support for the Terratec Phase 28 card

ICE1712 driver
Provides preliminary support for the Terratec Phase 28 card.
Not extensively tested and probably buggy, but it seems to work.

Signed-off-by: Simone Zinanni <simone@develer.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Fix typo in speaker routing. Now sound comes from the correct speakers
James Courtier-Dutton [Sun, 10 Apr 2005 13:43:35 +0000 (15:43 +0200)] 
[ALSA] Fix typo in speaker routing. Now sound comes from the correct speakers

EMU10K1/EMU10K2 driver
when using the p16v HD device.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
19 years ago[ALSA] Improve playback startup. Increase buffer size, and reduce xruns.
James Courtier-Dutton [Sat, 9 Apr 2005 22:00:24 +0000 (00:00 +0200)] 
[ALSA] Improve playback startup. Increase buffer size, and reduce xruns.

EMU10K1/EMU10K2 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
19 years ago[ALSA] Improve SPDIF playback via the P16V/CA0151 chip.
James Courtier-Dutton [Sat, 9 Apr 2005 21:38:25 +0000 (23:38 +0200)] 
[ALSA] Improve SPDIF playback via the P16V/CA0151 chip.

EMU10K1/EMU10K2 driver
Although we can set 44100 as the output rate, the SPDIF can do it, but the Analog output cannot.
The SPDIF has the bug, whereby the Left channel arrives one sample late, so although we don't do any resampling,
it is not good for AC3 non-audio output.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
19 years ago[ALSA] Display SPDIF in status in proc fs 'spdif-in' file.
James Courtier-Dutton [Sat, 9 Apr 2005 14:57:09 +0000 (16:57 +0200)] 
[ALSA] Display SPDIF in status in proc fs 'spdif-in' file.

EMU10K1/EMU10K2 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
19 years ago[ALSA] choose multi-channel jacks automatically
Takashi Iwai [Fri, 8 Apr 2005 13:05:13 +0000 (15:05 +0200)] 
[ALSA] choose multi-channel jacks automatically

HDA Codec driver
Patch by C.L. Tien <cltien@cmedia.com.tw>:

The patch makes cm9880 to choose multi-channel jacks automatically.

1. I found the current code has basic_init, which already includes
   necessary controls for 6-stack initialization, so I don't need
   another model.

2. I add a new model 'auto' to let the driver find a. if there are
   option real panel/front panel, b. the jacks to be used for multichannel.

Because the jack color are based on MS's channel sequence, so the 'auto'
model will pick the same jacks for multichannel MS uses. I did this to
hope to minimize users questions. These code can also be applied to other
codecs but I don't have any to test.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] virmidi - fix ioctl parameter passing when setting client name
Clemens Ladisch [Fri, 8 Apr 2005 06:25:23 +0000 (08:25 +0200)] 
[ALSA] virmidi - fix ioctl parameter passing when setting client name

ALSA sequencer
The last change to reduce stack usage did not adjust the parameter to
SNDRV_SEQ_IOCTL_SET_CLIENT_IOCTL which resulted in passing the address
of the pointer instead of the structure.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] MC97 registers reset
Sasha Khapyorsky [Thu, 7 Apr 2005 18:23:58 +0000 (20:23 +0200)] 
[ALSA] MC97 registers reset

AC97 Codec
Separated ac97 registers reset for audio and modem (or both) as recommended
in AC97 spec.

Signed-off-by: Sasha Khapyorsky <sashak@smlink.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Fix MC97 codec initialization
Sasha Khapyorsky [Thu, 7 Apr 2005 18:22:58 +0000 (20:22 +0200)] 
[ALSA] Fix MC97 codec initialization

AC97 Codec
This (especially 12000 -> 8000 sample rate replace) fix popular
'MC97 converters.. not ready' error with modem codecs initializations.

Signed-off-by: Sasha Khapyorsky <sashak@smlink.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Fix 'semaphore is not ready' problem with snd-intel8x0m
Sasha Khapyorsky [Thu, 7 Apr 2005 18:21:21 +0000 (20:21 +0200)] 
[ALSA] Fix 'semaphore is not ready' problem with snd-intel8x0m

Intel8x0-modem driver
With some intel based ac97 modems codec access semaphore is not cleared
after 0x54 AC97 register (GPIO_STATUS) reads. This may causes problems
with newly applied modem mixer (Off-hook switch) and in other cases.

Signed-off-by: Sasha Khapyorsky <sashak@smlink.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Add CM9780 support, fix CM9761 SPDIF
Takashi Iwai [Thu, 7 Apr 2005 13:53:20 +0000 (15:53 +0200)] 
[ALSA] Add CM9780 support, fix CM9761 SPDIF

AC97 Codec
- Added CM9780 patch
- Fix the SPDIF support on CM9761/CM9780
- Allow the generic enum callback to pass any number (not power of 2)
  as the value mask

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Remove unused variables
Takashi Iwai [Thu, 7 Apr 2005 13:50:13 +0000 (15:50 +0200)] 
[ALSA] Remove unused variables

AC97 Codec
Removed unused variables (the old control definitions).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Check revision for the proper detection of audigy 2
Takashi Iwai [Thu, 7 Apr 2005 13:48:42 +0000 (15:48 +0200)] 
[ALSA] Check revision for the proper detection of audigy 2

EMU10K1/EMU10K2 driver
Check ther revision to detect non-listed audigy 2 boards.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] usb-audio - BOSS GS-10 PCM support
Clemens Ladisch [Wed, 6 Apr 2005 07:47:02 +0000 (09:47 +0200)] 
[ALSA] usb-audio - BOSS GS-10 PCM support

USB generic driver
This patch adds quirks to support 24-bit PCM I/O in the 'Advanced
Driver' mode of the BOSS GS-10.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] virmidi - fix ioctl parameter passing when creating seq port
Clemens Ladisch [Wed, 6 Apr 2005 07:43:59 +0000 (09:43 +0200)] 
[ALSA] virmidi - fix ioctl parameter passing when creating seq port

ALSA sequencer
The last change to reduce stack usage did not adjust the parameter to
SNDRV_SEQ_IOCTL_CREATE_PORT which resulted in passing the address of
the pointer instead of the structure.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
19 years ago[ALSA] timer - added tread semaphore
Jaroslav Kysela [Mon, 4 Apr 2005 14:44:58 +0000 (16:44 +0200)] 
[ALSA] timer - added tread semaphore

Timer Midlevel

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
19 years ago[ALSA] Add mixer map for Sound Blaster MP3+
Takashi Iwai [Fri, 1 Apr 2005 11:14:14 +0000 (13:14 +0200)] 
[ALSA] Add mixer map for Sound Blaster MP3+

USB generic driver
Added the mixer mapping for Sound Blaster MP3+
by Pavel Mihaylov <bin@bash.info>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 years ago[ALSA] Audigy SB0090 identification
Peter Zubaj [Fri, 1 Apr 2005 09:15:07 +0000 (11:15 +0200)] 
[ALSA] Audigy SB0090 identification

EMU10K1/EMU10K2 driver
This add identification of Audigy 1 model SB0090 and fixes
problems with ac97 codec (mic not working).

Signed-off-by: Peter Zubaj <pzad@pobox.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>