Commit Graph

496 Commits

Author SHA1 Message Date
Jaroslav Kysela
abf58f0955 [ALSA] bt848 - added Leadtek Winfast tv 2000xp delux to whitelist
Modules: BT87x driver

- added 0x107d:0x6606 to whitelist
- print also the pci device ID for developers when model is not known

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2006-03-22 10:28:29 +01:00
Alan Horstmann
531af46279 [ALSA] ice1712 - disable unused ADCs & DACs on DMX6fire
Modules: ICE1712 driver

Change the value written to hardware configuration register of envy24 chip
in the case of Terratec DMX6fire to restrict the active ADCs & DACs to 6.

Also add the dxr_enable module option to eventually leave the old behaviour
when user requests.

Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2006-03-22 10:28:25 +01:00
Jaroslav Kysela
e957ebf164 [ALSA] ice1712 & cs8427 - fix problem for S/PDIF input setup
Modules: I2C cs8427,ICE1712 driver

See ALSA bug#1785 for more details.

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2006-03-22 10:28:15 +01:00
Jaroslav Kysela
5a25c5cfd4 [ALSA] ymfpci - make rear channel swap optional
Modules: YMFPCI driver

Added rear_swap module option / kernel parameter to configure the rear
channel swapping. Default value is enable to make the AC3 passthrough
working, but analog only users might revert the previous behaviour.

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2006-03-22 10:26:21 +01:00
Ingo Molnar
62932df8fb [ALSA] semaphore -> mutex (PCI part)
Semaphore to mutex conversion.

The conversion was generated via scripts, and the result was validated
automatically via a script as well.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-03-22 10:25:29 +01:00
Takashi Iwai
f0283f45a0 [ALSA] au88x0 - Fix structs for equalizer
Modules: au88x0 driver

Fixed the structures for equalizer.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-03-22 10:24:35 +01:00
Takashi Iwai
97c67b65cb [ALSA] au88x0 - 64bit arch fixes
Modules: au88x0 driver

Fix the driver codes to run on 64bit architectures.
The patch taken from ALSA BTS bug#1047.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-03-22 10:23:32 +01:00
Takashi Iwai
45fe722ba8 [ALSA] ice1724 - Add support of Prodigy-7.1LT
Modules: ICE1712 driver

Added the support of Prodigy-7.1LT board.
The patch taken from ALSA BTS bug#1090.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-03-22 10:23:23 +01:00
Clemens Ladisch
153abaa4ff [ALSA] ymfpci: fix swapped channels in SPDIF output
Modules: YMFPCI driver

The routing of the effect 2/3 channels to the digital output is the
opposite of the rear analog output (left/right swapped).

We make the order correct for the digital output (which will make the
analog rear have the channels swapped) to make AC3 output work.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2006-03-22 10:23:00 +01:00
Takashi Iwai
27346166a9 [ALSA] hda-intel - Add single_cmd option for debugging
Modules: Documentation,HDA Intel driver

Added single_cmd module option for debugging in the case CORB/RIRB
doesn't work well (e.g. due to wrong irq routings).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-03-22 10:22:51 +01:00
Takashi Iwai
84a43bd523 [ALSA] intel8x0 - Fix/cleanup detection of codecs on SIS7012
Modules: Intel8x0 driver

Fix the detection of tertriary codec on SIS7012, including clean-ups
of relevant codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-03-22 10:22:46 +01:00
Takashi Iwai
15f500a699 [ALSA] ens1370 - Fix resume
Modules: ENS1370/1+ driver

Fix resume of ens1370 driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-03-22 10:22:42 +01:00
Takashi Iwai
34226c4239 [ALSA] pcxhr - Suppress debug messages
Modules: Digigram PCXHR driver

Suppress debug messages.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-03-22 10:21:58 +01:00
Takashi Iwai
1494a92f4c [ALSA] hda-codec - Fix typos in alc882 model table
Modules: HDA Codec driver

Fixed typos in alc882 model table.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-02-01 13:09:34 +01:00
Arnaud Patard
bae2bdb334 [ALSA] patch_realtek.c: Add new model
Modules: HDA Codec driver

This little patch add the model for the motherboard K8N51 from Gigabyte
to the known models of ALC boards.

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-02-01 13:09:32 +01:00
Matt Porter
869264c45a [ALSA] hda: sigmatel fixes
Modules: HDA Codec driver

* Fix init sequence so manually retaskable jacks don't get added to
  the line_out list.
* Update intel mobo config defaults to specify surround outputs
  as line outs rather than speakers.

Signed-off-by: Matt Porter <mporter@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-02-01 13:09:28 +01:00
Takashi Iwai
89ac9c2564 [ALSA] intel8x0 - Add MCP51 PCI ID
Modules: Documentation,Intel8x0 driver

Added MCP51 PCI ID to intel8x0 driver.
Also, updated the supported chips in documentation.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-02-01 13:09:23 +01:00
Jonathan Woithe
fd56f2db93 [ALSA] hda-codec - Fix init verb of ALC260
Modules: HDA Codec driver

Fixed the wrong widget id for line-2 selector in the init verb
of ALC260.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-02-01 13:09:21 +01:00
Takashi Iwai
ad0651f97a [ALSA] hda-codec - Fix max_channels computation for STAC92xx codecs
Modules: HDA Codec driver

Fix max_channels computation for STAC92xx codecs in the case only
HP pin without line-out pins is detected in the default pin config.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-02-01 13:09:20 +01:00
Takashi Iwai
802c00f2f3 [ALSA] via82xx - Add dxs entry for P4M800/VIA8237R
Modules: VIA82xx driver

Added the dxs entry for P4M800/VIA8237R,
reported by OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-02-01 13:09:18 +01:00
Matt Porter
3cc08dc6ea [ALSA] hda-codec - add sigmatel 927x codec support
Modules: HDA Codec driver

Adds support for the SigmaTel STAC927x HDA codec family.

Signed-off-by: Matt Porter <mporter@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-02-01 13:09:17 +01:00
Matt Porter
d62c40e04c [ALSA] hda-codec - add D975XBK support to sigmatel patch
Modules: HDA Codec driver

Add SigmaTel HDA support for the Intel D975XBK motherboard.

Signed-off-by: Matt Porter <mporter@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-02-01 13:09:15 +01:00
Sasha Khapyorsky
e061bf1aa3 [ALSA] hda-codec - support for Agere's HDA soft modem
Modules: HDA Codec driver

This adds support for Agere's variant of Si3054/5 based HDA modem.

Signed-off-by: Sasha Khapyorsky <sashak@alsa-project.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-02-01 13:09:14 +01:00
Takashi Iwai
51c2bbfcdb [ALSA] via82xx - Add dxs entry for a FSC board
Modules: VIA82xx driver

Add dxs entry for a FSC board.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-02-01 13:09:05 +01:00
Andrew Morton
20cd22620a [ALSA] pcxhr - Fix printk warning
Modules: Digigram PCXHR driver

sound/pci/pcxhr/pcxhr.c: In function 'pcxhr_update_r_buffer':
sound/pci/pcxhr/pcxhr.c:460: warning: unsigned int format, different type arg (arg 7)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:25:03 +01:00
Andrew Morton
e2eba3e7d9 [ALSA] hdsp - Fix printk warnings
Modules: RME9652 driver

sound/pci/rme9652/hdspm.c: In function 'snd_hdspm_preallocate_memory':
sound/pci/rme9652/hdspm.c:3327: warning: int format, different type arg (arg 4)
sound/pci/rme9652/hdspm.c:3331: warning: int format, different type arg (arg 4)
sound/pci/rme9652/hdspm.c: In function 'snd_hdspm_create':
sound/pci/rme9652/hdspm.c:3513: warning: int format, different type arg (arg 4)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:25:01 +01:00
Andrew Morton
2f25b7feab [ALSA] Fix a typo in snd_assert()
Modules: CS46xx driver

Reported by <dcb314@hotmail.com> in
http://bugzilla.kernel.org/show_bug.cgi?id=5903

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:57 +01:00
Takashi Iwai
7113d680d4 [ALSA] au88x0 - Fix a compile warning
Modules: au88x0 driver

Fixed an uninitialized variable.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:55 +01:00
Takashi Iwai
cacd3347ce [ALSA] via82xx - Add dxs_support entry for EpoX 9HEAI
Modules: VIA82xx driver

Added the dxs_support entry for EpoX 9HEAI.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:54 +01:00
Takashi Iwai
0fd1708a19 [ALSA] hda-codec - Fix capture on Sigmatel STAC92xx codecs
Modules: HDA Codec driver

Added the missing 'Capture Switch' control for Sigmatel STAC92xx codecs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:23 +01:00
Chris Ball
c9fe51c492 [ALSA] intel8x0: Add quirk for Optiplex GX270
Modules: Intel8x0 driver

This patch adds a quirk entry for the Dell Optiplex GX270, on which
the volume is set by the headphone control, not the master control.

Signed-off-by: Chris Ball <cjb@mrao.cam.ac.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:21 +01:00
Jon Mason
ec6c8c3b25 [ALSA] ali5451: Add PCI_DEVICE and #defines in snd_ali_ids
Modules: ALI5451 driver

This patch uses #defines for the Vendor ID and Device ID and uses the
new PCI_DEVICE macro.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:19 +01:00
Jon Mason
e3183ec9cd [ALSA] Prevent ALSA trident driver from grabbing pcnet32 hardware
Modules: Trident driver

Some pcnet32 hardware erroneously has the Vendor ID for Trident.  The
pcnet32 driver looks for the PCI ethernet class before grabbing the
hardware, but the current trident driver does not check against the
PCI audio class.  This allows the trident driver to claim the pcnet32
hardware.  This patch prevents that.

Per Jiri Slaby's request, I changed the trident driver to use
PCI_DEVICE macro and PCI ID #defines.

This patch is untested on Trident 4DWAVE_DX hardware, but has been
tested on pcnet32 hardware.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:18 +01:00
Clemens Ladisch
fc80a2027a [ALSA] ymfpci: fix SPDIF sample rate information
Modules: YMFPCI driver

Set the (read only) sample rate field in the IEC958 mixer controls to
48 kHz (instead of 44.1 kHz) because that is the rate actually
supported by the hardware.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2006-01-22 16:24:14 +01:00
Takashi Iwai
da79e44df4 [ALSA] ac97 - Fix CLFE channel setting of ALC850
Modules: AC97 Codec

Fix CLFE channel setting of ALC850 (ALSA bug#1731).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:13 +01:00
Rene Rebe
363fa1d615 [ALSA] AMD cs5536 ID for cs5535audio
Modules: CS5535 driver

Added AMD CS5536 to the cs5535audio driver.

Signed-off-by: Rene Rebe <rene@exactcode.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:11 +01:00
Jaroslav Kysela
54c63cfc15 [ALSA] bt87x - fix detection of unknown card
Modules: BT87x driver

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2006-01-22 16:24:07 +01:00
Takashi Iwai
128a46a55d [ALSA] ac97 - Suppress jack sense controls for Thinkpads
Modules: AC97 Codec

Added a blacklist to suppress to create jack sense controls.
These controls must be always off on some devices (e.g. Thinkpad).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:05 +01:00
Takashi Iwai
b14e77e613 [ALSA] hda-codec - Add model entry for Sony VAIO
Modules: HDA Codec driver

Added an ALC260 model entry (basic) for Sony VAIO.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:03 +01:00
Takashi Iwai
8937fd8855 [ALSA] pcxhr - Fix the sample rate changes
Modules: Digigram PCXHR driver

Fix the hardware set up when the sample rate is changed multiple times.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:02 +01:00
Jason Gaston
d298139361 [ALSA] hda-intel - patch for Intel ICH8
Modules: HDA Intel driver

This patch adds the Intel ICH8 HD Audio DID to the hda_intel.c audio driver.

Signed-off-by: Jason Gaston <Jason.d.gaston@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:24:00 +01:00
James Courtier-Dutton
be3cd57aa6 [ALSA] snd-ca0106: Fixed ALSA bug#1600
Modules: CA0106 driver

Description:
Shuttle XPC SD11G5 which has an onboard Creative Labs
Sound Blaster Live! 24-bit EAX
high-definition 7.1 audio processor'.
Fixes ALSA bug#1600

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
2006-01-22 16:23:58 +01:00
Takashi Iwai
d0bd41e289 [ALSA] via82xx - Add dxs_support entry
Modules: VIA82xx driver

Added a dxs_support entry for Jetway K8M8MS.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:23:55 +01:00
Takashi Iwai
7eae36fbd5 [ALSA] emu10k1 - Fix the confliction of 'Front' control
Modules: EMU10K1/EMU10K2 driver

Fix the confliction of 'Front' controls on models with STAC9758 codec.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:23:53 +01:00
Martin Drab
6421776a6f [ALSA] bt87x - Fix the unability of snd-bt87x to recognize AVerMedia Studio
Modules: BT87x driver

The patch siply adds the PCI IDs of AVerMedia Studio No. 103, 203,
and possibly even other versions with the same PCI IDs to the snd-bt87x
driver and sets its default sampling rate to 48 kHz.

Signed-off-by: Martin Drab <drab@kepler.fjfi.cvut.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:23:51 +01:00
Takashi Iwai
4d7d759628 [ALSA] emu10k1 - Fix silence problems after suspend
Modules: EMU10K1/EMU10K2 driver

Fix silence problems on some boards after suspend/resume (bug#1674).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:23:49 +01:00
Ulrich Mueller
d82ed2ffc2 [ALSA] intel8x0 - Fix duplicate ac97_quirks entry
Modules: Intel8x0 driver

in recent -mm kernels additional quirks for ac97 hardware in HP laptops
have been added.  However, now the list in intel8x0.c contains a duplicate,
since the HP nx6110 and nc6120 have identical subdevice ids.

This was introduced in -mm1 by the following patch:
add-new-quirk-for-devices-with-mute-leds-and-separate-headphone-volume.patch

Since the HP nx6110 and nc6120 are almost identical, both entries
should really be combined, as in the following patch. I have checked
that AC97_TUNE_HP_MUTE_LED is the right thing to do.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:23:46 +01:00
Takashi Iwai
6c1080c1ea [ALSA] via82xx - Add dxs_support for ASUS mobo
Modules: VIA82xx driver

Add a dxs_support entry for ASUS mobo.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-01-22 16:23:44 +01:00
Arjan van de Ven
858119e159 [PATCH] Unlinline a bunch of other functions
Remove the "inline" keyword from a bunch of big functions in the kernel with
the goal of shrinking it by 30kb to 40kb

Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-14 18:27:06 -08:00
Randy.Dunlap
c59ede7b78 [PATCH] move capable() to capability.h
- Move capable() from sched.h to capability.h;

- Use <linux/capability.h> where capable() is used
	(in include/, block/, ipc/, kernel/, a few drivers/,
	mm/, security/, & sound/;
	many more drivers/ to go)

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-11 18:42:13 -08:00