linux-2.6.git
17 years ago[ALSA] Fix compilation on 32bit arch
Takashi Iwai [Fri, 27 May 2005 10:40:52 +0000 (12:40 +0200)]
[ALSA] Fix compilation on 32bit arch

ALSA<-OSS emulation
Fix the division with int64 for 32bit architectures.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] emu10k1: add details for the audigy player box version
Arnaud Patard [Fri, 27 May 2005 10:31:34 +0000 (12:31 +0200)]
[ALSA] emu10k1: add details for the audigy player box version

EMU10K1/EMU10K2 driver
Add details for the audigy player box version.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] ice1724 - Add support of Chaintech AV-710
Takashi Iwai [Fri, 27 May 2005 10:10:40 +0000 (12:10 +0200)]
[ALSA] ice1724 - Add support of Chaintech AV-710

Documentation,ICE1724 driver
Add the support of Chaintech AV-710 to ice1724 driver.
The patch includes the WM-codec initialization fix by
Jaanus Kivistik <jaanus@no.spam.ee>.

Since both AV-710 and AMP Audio2000 have the same SSID, initialize
WM codecs as default for both devices.  In case it breaks Audio2000,
you can pass 'model=amp2000' option to avoid WM codec initialization.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] als4000 - Fix kernel panic with MPU401
Takashi Iwai [Fri, 27 May 2005 09:34:34 +0000 (11:34 +0200)]
[ALSA] als4000 - Fix kernel panic with MPU401

ALS4000 driver
Fix kernel panic with als4000 when MPU401 is accessed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] alsa-oss - 2nd - improved readability
Jaroslav Kysela [Fri, 27 May 2005 09:15:20 +0000 (11:15 +0200)]
[ALSA] alsa-oss - 2nd - improved readability

ALSA<-OSS emulation
Use 'long' for byte counters in snd_pcm_oss_bytes() snd_pcm_alsa_bytes().

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] alsa-oss - improve readability of snd_pcm_oss_bytes() function
Jaroslav Kysela [Fri, 27 May 2005 09:12:35 +0000 (11:12 +0200)]
[ALSA] alsa-oss - improve readability of snd_pcm_oss_bytes() function

ALSA<-OSS emulation
Added bytes variable and do not use the frames argument as a temporaly
storage for the byte counter.

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] [doc] Fix a comment about dxs_support for via82xx driver
Takashi Iwai [Fri, 27 May 2005 09:11:02 +0000 (11:11 +0200)]
[ALSA] [doc] Fix a comment about dxs_support for via82xx driver

Documentation
Fixed/improved a comment about dxs_support option for via82xx driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Add dxs_support for a Twinhead mobo
Takashi Iwai [Fri, 27 May 2005 09:10:18 +0000 (11:10 +0200)]
[ALSA] Add dxs_support for a Twinhead mobo

VIA82xx driver
Added dxs_support=4 for a Twinhead mobo.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Fix a wrong bit set in AC1985 code
Takashi Iwai [Fri, 27 May 2005 08:42:45 +0000 (10:42 +0200)]
[ALSA] Fix a wrong bit set in AC1985 code

AC97 Codec
Fixed a wrong bit set in AD1985 surround jack controls.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Reverted last patch for SNDCTL_DSP_GETOPTR fix & possible overflow fix
Jaroslav Kysela [Fri, 27 May 2005 08:07:06 +0000 (10:07 +0200)]
[ALSA] Reverted last patch for SNDCTL_DSP_GETOPTR fix & possible overflow fix

ALSA<-OSS emulation
This reverts the last patch which wrongly mixes bytes and frames.
The real culprit might be the 32-bit overflow, so the return expression uses
64-bit values now in snd_pcm_oss_bytes().

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] pcm_oss - fix SNDCTL_DSP_GETOPTR not working correctly
Roger Mach [Thu, 26 May 2005 15:58:01 +0000 (17:58 +0200)]
[ALSA] pcm_oss - fix SNDCTL_DSP_GETOPTR not working correctly

ALSA<-OSS emulation
This patch changes snd_pcm_oss_bytes() by adding a local variable
for the frames -> bytes conversion, which means that the frame count
is no longer corrupted by this conversion.

Signed-off-by: Roger Mach <bigmach@us.ibm.com>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
17 years ago[ALSA] Fix ALC880 capture problems
Takashi Iwai [Wed, 25 May 2005 16:11:40 +0000 (18:11 +0200)]
[ALSA] Fix ALC880 capture problems

HDA Codec driver
Fixed the capture on some ALC880 devices.
The node 0x07 is sometimes invalid as an ADC.  Also, the intialization
of ADC nodes are fixed on some models.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] hda-code: Fix the array size of codec list
Takashi Iwai [Wed, 25 May 2005 14:41:43 +0000 (16:41 +0200)]
[ALSA] hda-code: Fix the array size of codec list

HDA Codec driver
Fixed the wrong array size of the codec pointer list.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Use standard form for URL
Takashi Iwai [Tue, 24 May 2005 15:27:00 +0000 (17:27 +0200)]
[ALSA] Use standard form for URL

Sound Core
Use the standard form with <> for URL in Kconfig help texts.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Make docproc happy
Takashi Iwai [Tue, 24 May 2005 15:24:59 +0000 (17:24 +0200)]
[ALSA] Make docproc happy

PCM Midlevel
Make docproc happy by moving '#if 0' before comments.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Add comments for
Takashi Iwai [Tue, 24 May 2005 13:22:40 +0000 (15:22 +0200)]
[ALSA] Add comments for

Sound Core
Added (minimal) comments for  in Kconfig, so that
configurators can choose this entry explicitly.

A more descriptive comment by someone else is appreciated...

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Update documentation for ice1712 and ice1724
Takashi Iwai [Tue, 24 May 2005 11:41:03 +0000 (13:41 +0200)]
[ALSA] Update documentation for ice1712 and ice1724

Documentation,ICE1712 driver
Updated the documentation for ice1712 and ice1724 drivers.
Added the device description for shuttle SN25P missing in the last patch.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Add Shuttle SN25P support
Takashi Iwai [Tue, 24 May 2005 11:16:56 +0000 (13:16 +0200)]
[ALSA] Add Shuttle SN25P support

ICE1712 driver
Added the support for Shuttle SN25P.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] cmipci: Fix obsolete description
Takashi Iwai [Tue, 24 May 2005 08:40:49 +0000 (10:40 +0200)]
[ALSA] cmipci: Fix obsolete description

Documentation
Fixed obsolete description about CMIPCI driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Add the vendor 0x1558 to PM whitelist of es1968
Takashi Iwai [Mon, 23 May 2005 08:33:08 +0000 (10:33 +0200)]
[ALSA] Add the vendor 0x1558 to PM whitelist of es1968

ES1968 driver
Added the vendor id 0x1558 to the power management whitelist of es1968 driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] sound/isa/: cleanups
Adrian Bunk [Mon, 23 May 2005 08:29:53 +0000 (10:29 +0200)]
[ALSA] sound/isa/: cleanups

GUS Library
This patch contains the following possible cleanups:
- make needlesly global code static
- #if 0 the following unused global functions:
  - gus/gus_volume.c: snd_gf1_gvol_to_lvol_raw
  - gus/gus_volume.c: snd_gf1_calc_ramp_rate
  - gus/gus_volume.c: snd_gf1_compute_vibrato
  - gus/gus_volume.c: snd_gf1_compute_pitchbend
  - gus/gus_volume.c: snd_gf1_compute_freq
  - gus/gus_io.c: snd_gf1_i_adlib_write
  - gus/gus_io.c: snd_gf1_i_write_addr
  - gus/gus_io.c: snd_gf1_pokew
  - gus/gus_io.c: snd_gf1_peekw
  - gus/gus_io.c: snd_gf1_dram_setmem
  - gus/gus_io.c: snd_gf1_print_global_registers
  - gus/gus_io.c: snd_gf1_print_setup_registers
  - gus/gus_io.c: snd_gf1_peek_print_block
  - gus/gus_io.c: snd_gf1_print_setup_registers
  - gus/gus_io.c: snd_gf1_peek_print_block
- #if 0 the following unused global variable:
  - gus/gus_tables.h: snd_gf1_scale_table
- remove the following unneeded EXPORT_SYMBOL's:
  - gus/gus_main.c: snd_gf1_i_write16
  - gus/gus_main.c: snd_gf1_start
  - gus/gus_main.c: snd_gf1_stop

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Tidy up card recognition.
James Courtier-Dutton [Sat, 21 May 2005 20:35:58 +0000 (22:35 +0200)]
[ALSA] Tidy up card recognition.

CA0106 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
17 years ago[ALSA] When the alsamixer says 'SPDIF Out [Off]', SPDIF output should be off and...
James Courtier-Dutton [Sat, 21 May 2005 14:45:58 +0000 (16:45 +0200)]
[ALSA] When the alsamixer says 'SPDIF Out [Off]', SPDIF output should be off and Analog output should be on.

CA0106 driver
         This fixes a bug whereby when the snd-ca0106 module first loads,
         alsamixer says 'SPDIF Out [Off]' but no analog sound comes from the speakers.

         This covers any bug reports that said things like
         'mixer fails to remember analog output on, when the system is rebooted.'

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
17 years ago[ALSA] Implement surround71 outputs on SB Live 24bit.
James Courtier-Dutton [Sat, 21 May 2005 14:23:37 +0000 (16:23 +0200)]
[ALSA] Implement surround71 outputs on SB Live 24bit.

CA0106 driver
Notes: Requires updated alsa-lib.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
17 years ago[ALSA] maestro3: Add hardware volume control quirk list
Ville Syrjala [Fri, 20 May 2005 16:40:38 +0000 (18:40 +0200)]
[ALSA] maestro3: Add hardware volume control quirk list

Maestro3 driver
Add a hardware volume quirk list to the maestro3 driver. Details were
taken from the Windows driver. Hardware volume control is enabled only for
the systems in the list.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Fix resume of via82xx-modem
Takashi Iwai [Fri, 20 May 2005 14:13:00 +0000 (16:13 +0200)]
[ALSA] Fix resume of via82xx-modem

VIA82xx-modem driver
Fix the resume of via82xx-modem, removing invalid __devinit.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] sound/core/: possible cleanups
Adrian Bunk [Wed, 18 May 2005 16:02:04 +0000 (18:02 +0200)]
[ALSA] sound/core/: possible cleanups

PCM Midlevel,ALSA Core,Timer Midlevel,ALSA sequencer,Virtual Midi
This patch contains the following possible cleanups:
- make needlessly global code static
- #if 0 the following unused global functions
- remove the following unneeded EXPORT_SYMBOL's

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] ppc32: Fix Alsa PowerMac driver on old machines
Benjamin Herrenschmidt [Wed, 18 May 2005 14:31:51 +0000 (16:31 +0200)]
[ALSA] ppc32: Fix Alsa PowerMac driver on old machines

PPC PMAC driver
The g5 support code broke some earlier models unfortunately as those
bail out early from the detect function, before the point where I added
the code to locate the PCI device for use with DMA allocations.

This patch fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Export missing snd_pcm_format_*()
Takashi Iwai [Wed, 18 May 2005 14:25:46 +0000 (16:25 +0200)]
[ALSA] Export missing snd_pcm_format_*()

PCM Midlevel
Export snd_pcm_format_size().  This function is used by some out-of-kernel
drivers.

Make snd_pcm_format_cpu_endian() macro for optimization.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years ago[ALSA] Fix Mic/CLFE sharing on AD1985
Takashi Iwai [Tue, 17 May 2005 15:17:57 +0000 (17:17 +0200)]
[ALSA] Fix Mic/CLFE sharing on AD1985

AC97 Codec
Fixed Mic/CLFE jack sharing on AD1985 codec.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>