Jaroslav Kysela [Wed, 22 Mar 2006 13:37:15 +0000 (14:37 +0100)]
[ALSA] version 1.0.11rc4
Jaroslav Kysela [Wed, 22 Mar 2006 10:02:08 +0000 (11:02 +0100)]
Merge ... /linux/kernel/git/torvalds/linux-2.6.git
Tobias Klauser [Wed, 22 Mar 2006 09:53:19 +0000 (10:53 +0100)]
[PATCH] Intruduce DMA_28BIT_MASK
This patch introduces the DMA_28BIT_MASK constant in dma-mapping.h
ALSA drivers using this mask are changed to use the new constant.
Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Acked-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Jaroslav Kysela <perex@suse.cz>
Takashi Iwai [Tue, 21 Mar 2006 18:12:53 +0000 (19:12 +0100)]
[ALSA] hda-codec - Add support for ASUS P4GPL-X
Modules: HDA Codec driver
Added the support ASUS P4GPL-X with ALC880 codec.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Tue, 21 Mar 2006 18:11:50 +0000 (19:11 +0100)]
[ALSA] hda-codec - Add support for HP nx9420 laptop
Modules: HDA Codec driver
Added the support for HP nx9420 (AngelFire) laptop with AD1981HD codec.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Tue, 21 Mar 2006 15:07:13 +0000 (16:07 +0100)]
[ALSA] Fix memory leaks in error path of control.c
Modules: Control Midlevel
Fix memory leaks in error path of control.c (only with CONFIG_SND_DEBUG=y).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Sergei Shtylyov [Tue, 21 Mar 2006 11:01:17 +0000 (12:01 +0100)]
[ALSA] AMD Au1x00: AC'97 controller is memory mapped
Modules: MIPS AU1x00 driver
AMD Au1x00 ALSA driver erroneously calls request_region() for AC'97
controller registers -- the controller is actually memory mapped at
addresses 0x10000000 thru 0x100FFFFF.
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Sergei Shtylyov [Tue, 21 Mar 2006 10:58:48 +0000 (11:58 +0100)]
[ALSA] AMD Au1x00: fix DMA init/cleanup
Modules: MIPS AU1x00 driver
AMD Au1x00 ALSA driver causes kernel oops in au1000_init() by trying
to set DMA channel to -1 in yet unallocated audio streams. Here's the
patch that staightens up DMA init/cleanup code.
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Tue, 21 Mar 2006 10:29:07 +0000 (11:29 +0100)]
[ALSA] hda-codec - Fix generic auto-configurator
Modules: HDA generic driver
Fixed the generic auto-configurator to check speaker pins in
addition.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Tue, 21 Mar 2006 10:24:42 +0000 (11:24 +0100)]
[ALSA] hda-codec - Fix BIOS auto-configuration
Modules: HDA Codec driver,HDA generic driver
- Fix autoconfig speaker/hp detection
Now it allows multiple speaker pins (e.g. Dell laptops have such config)
- Use speaker or hp pins if no line-outs are available
This fixes the silence output on recent Dell laptops with STAC9200
(ALSA bug#1843)
- Fix analog/realtek/sigmatel autoconfig parser
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Thibault LE MEUR [Tue, 21 Mar 2006 10:06:40 +0000 (11:06 +0100)]
[ALSA] Fixes typos in Audiophile-USB.txt
Modules: Documentation
Fixes typos in Audiophile-USB.txt.
Signed-off-by: Thibault LE MEUR <Thibault.LeMeur@supelec.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Alan Horstmann [Tue, 21 Mar 2006 08:57:36 +0000 (09:57 +0100)]
[ALSA] ice1712 - typo fixes for dxr_enable module option
Modules: ICE1712 driver
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Sergei Shtylylov [Mon, 20 Mar 2006 17:38:21 +0000 (18:38 +0100)]
[ALSA] AMD Au1x00: make driver build after cleanup
Modules: MIPS AU1x00 driver
AMD Au1x00 ALSA driver doesn't build after the recent code cleanup:
sound/mips/au1x00.c: In function 'au1000_setup_dma_link':
sound/mips/au1x00.c:173: error: 'pointer' undeclared (first use in this function)
sound/mips/au1x00.c:173: error: (Each undeclared identifier is reported only once
sound/mips/au1x00.c:173: error: for each function it appears in.)
sound/mips/au1x00.c: In function 'snd_au1000_hw_params':
sound/mips/au1x00.c:339: warning: implicit declaration of function 'snd_mask_min'
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Mon, 20 Mar 2006 17:31:57 +0000 (18:31 +0100)]
[ALSA] ice1712 - Fix wrong value types for enum items
Modules: ICE1712 driver
Fix the access to wrong type values for enum items in aureon.c
(ALSA bug#1527).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jesper Juhl [Mon, 20 Mar 2006 10:27:13 +0000 (11:27 +0100)]
[ALSA] fix resource leak in usbmixer
Modules: USB generic driver
We may leak 'namelist' in sound/usb/usbmixer.c::parse_audio_selector_unit()
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Eugene Teo [Fri, 17 Mar 2006 15:32:52 +0000 (16:32 +0100)]
[ALSA] Fix gus_pcm dereference before NULL
Modules: GUS Library
The NULL check of substream is simply superfluous. It is
guaranteed to receive non-NULL substream. Thanks Takashi.
Coverity bug #861
Signed-off-by: Eugene Teo <eugene.teo@eugeneteo.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Eugene Teo [Fri, 17 Mar 2006 15:32:17 +0000 (16:32 +0100)]
[ALSA] Fix seq_clientmgr dereferences before NULL check
Modules: ALSA sequencer
cptr->pool must be non-NULL there, so just the if (cptr->pool) is
superfluous. Thanks Takashi.
Signed-off-by: Eugene Teo <eugene.teo@eugeneteo.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Fri, 17 Mar 2006 09:50:49 +0000 (10:50 +0100)]
[ALSA] hda-codec - Fix for Samsung R65 and ASUS A6J
Modules: Documentation,HDA Codec driver
Added a new model 'laptop-eapd' to
AD1986A codec for Samsung R65 and
ASUS A6J laptops.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Thu, 16 Mar 2006 15:04:58 +0000 (16:04 +0100)]
[ALSA] hda-codec - Add support for VAIO FE550G and SZ110
Modules: Documentation,HDA Codec driver
Add support for VAIO FE550G and SZ110 laptops with Sigmatel codec (7661).
The new model 'vaio' is added.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Clemens Ladisch [Thu, 16 Mar 2006 07:25:56 +0000 (08:25 +0100)]
[ALSA] usb-audio: add Maya44 mixer control names
Modules: USB generic driver
Add mixer control names for the AudioTrak Maya44 USB.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Clemens Ladisch [Thu, 16 Mar 2006 07:15:25 +0000 (08:15 +0100)]
[ALSA] usb-audio: add Casio PL-40R support
Modules: USB generic driver
Add a quirk entry for the Casio PL-40R.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Takashi Iwai [Wed, 15 Mar 2006 17:24:43 +0000 (18:24 +0100)]
[ALSA] hda-codec - Add model entry for FIC P4M-915GD1
Modules: HDA Codec driver
Add model entry for FIC P4M-915GD1 with ALC880 codec.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Wed, 15 Mar 2006 13:08:20 +0000 (14:08 +0100)]
[ALSA] ac97 - Clean up obsolete workarounds
Modules: AC97 Codec
Clean up obsolete workarounds provided only for nm256.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Florian Schlichting [Wed, 15 Mar 2006 13:05:19 +0000 (14:05 +0100)]
[ALSA] Fix NM256 hard lock up
Modules: NM256 driver
Treat the nm256 mixer as a write-only device so as to avoid hangs on
initialisation.
Signed-off-by: Florian Schlichting <Florian.Schlichting@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Wed, 15 Mar 2006 12:52:54 +0000 (13:52 +0100)]
[ALSA] ac97 - Allow drivers to set static volume resolution table
Modules: AC97 Codec
Add the pointer to a static volume resolution table to ac97 template,
so that the drivers can define the volume resolution, too.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Clemens Ladisch [Wed, 15 Mar 2006 11:24:19 +0000 (12:24 +0100)]
[ALSA] usb-audio: add MDP-5/EZ-J24 support
Modules: USB generic driver
Add support for the Yamaha MDP-5 and EZ-J24.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Thibault LE MEUR [Tue, 14 Mar 2006 10:44:53 +0000 (11:44 +0100)]
[ALSA] Fixes audiophile usb analog capture with the new device_setup parameter
Modules: Documentation,USB generic driver
The patch adds the 'device_setup' module parameter and a specific
quirk to correctly initialize the audiophile usb device: this fixes
the distorted sound bug on the Analog capture port. Backward
compatibility is achieved by simply omitting the new parameter.
Signed-off-by: Thibault LE MEUR <Thibault.LeMeur@supelec.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Adrian Bunk [Tue, 14 Mar 2006 10:16:26 +0000 (11:16 +0100)]
[ALSA] sound/pci/ice1712/delta.c: make 2 functions static
Modules: ICE1712 driver
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Adrian Bunk [Tue, 14 Mar 2006 08:44:19 +0000 (09:44 +0100)]
[ALSA] fix some memory leaks
Modules: Generic drivers,ES18xx driver,CS46xx driver
This patch fixes two memory leaks spotted by the Coverity checker.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Clemens Ladisch [Tue, 14 Mar 2006 07:06:12 +0000 (08:06 +0100)]
[ALSA] usb-audio: add error message about missing split iso support
Modules: USB generic driver
Add an error message for -ENOSYS for situations when split iso support
is needed but not enabled.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Takashi Iwai [Mon, 13 Mar 2006 13:21:16 +0000 (14:21 +0100)]
[ALSA] hda-codec - Fix Aopen i915GMm-HFS mobo
Modules: HDA Codec driver
Add a model entry for Aopen i915GMm-HFS mobo with ALC880 codec.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Adrian Bunk [Mon, 13 Mar 2006 13:15:04 +0000 (14:15 +0100)]
[ALSA] sound/pci/rme9652/hdspm.c: fix off-by-one errors
Modules: RME9652 driver
This patch fixes off-by-one errors found by the Coverity checker.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Adrian Bunk [Mon, 13 Mar 2006 13:14:10 +0000 (14:14 +0100)]
[ALSA] sound/core/: fix 3 off-by-one errors
Modules: ALSA Core
This patch fixes three off-by-one errors found by the Coverity checker.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Giuliano Pochini [Mon, 13 Mar 2006 13:11:11 +0000 (14:11 +0100)]
[ALSA] make control.c suspend aware
Modules: Control Midlevel
This patch prevents user-space apps from accessing the hardware via
control interface while the soundcard is suspended.
Signed-off-by: Giuliano Pochini <pochini@shiny.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Mon, 13 Mar 2006 12:49:49 +0000 (13:49 +0100)]
[ALSA] hda-codec - Fix support of laptops with
AD1986A codec
Modules: Documentation,HDA Codec driver
Fix the support of laptops with
AD1986A HD-audio codec.
Added new models '3stack' and 'laptop'. Currently, fixed for FSC V2060
and Samsung M50.
Also fixed the description of missing models in ALSA-Configuration.txt.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Clemens Ladisch [Mon, 13 Mar 2006 09:36:44 +0000 (10:36 +0100)]
[ALSA] bt87x: add more DVB card IDs
Modules: BT87x driver
Add more PCI subsystem IDs of DVB cards to the blacklist of cards the
driver is to ignore.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Clemens Ladisch [Thu, 9 Mar 2006 07:17:08 +0000 (08:17 +0100)]
[ALSA] usb-audio: change Casio quirk product name
Modules: USB generic driver
Use a generic name for USB device 0x07cf:0x6802 because this ID is used
by several devices without a product ID.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Clemens Ladisch [Thu, 9 Mar 2006 06:58:39 +0000 (07:58 +0100)]
[ALSA] usb-audio: show USB error descriptions
Modules: USB generic driver
When usb_submit_urb() fails, show an error description instead of just
the error code.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Clemens Ladisch [Thu, 9 Mar 2006 06:55:55 +0000 (07:55 +0100)]
[ALSA] usb-audio: add Casio AP-80R support
Modules: USB generic driver
Add a quirk for the Casio AP-80R.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Takashi Iwai [Mon, 6 Mar 2006 13:17:31 +0000 (14:17 +0100)]
[ALSA] Add default entry for CTL Travel Master U553W
Modules: HDA Codec driver
Added the default entry of ALC880 configuration table for
CTL Travel Master U553W.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Dave Jones [Mon, 6 Mar 2006 13:03:37 +0000 (14:03 +0100)]
[ALSA] Fix use after free in opl3_seq and opl3_oss
Modules: OPL3
Don't read from free'd memory. Also make use of the return
value, and don't register the device if something went wrong
creating the port.
Coverity #954, #955
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Dave Jones [Mon, 6 Mar 2006 12:31:18 +0000 (13:31 +0100)]
[ALSA] ad1848 double free
Modules: AD1848 driver
Same again, snd_ctl_add() already kfree's on error.
Coverity #956
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Dave Jones [Mon, 6 Mar 2006 12:28:34 +0000 (13:28 +0100)]
[ALSA] sound/isa/sb/sb_mixer.c double kfree
Modules: SB drivers
snd_ctl_add() already does the free on error.
Coverity bug #957
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Dave Jones [Mon, 6 Mar 2006 12:27:39 +0000 (13:27 +0100)]
[ALSA] emu10k1_synth use after free
Modules: EMU10K1/EMU10K2 driver
Thou shalt not dereference freed memory.
Coverity bug #958
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Dave Jones [Mon, 6 Mar 2006 12:26:10 +0000 (13:26 +0100)]
[ALSA] fix usbmixer double kfree
Modules: USB generic driver
snd_ctl_add() kfree's the kcontrol already if we fail there,
so this driver is currently doing a double kfree.
Coverity bug #959
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Mon, 6 Mar 2006 12:25:14 +0000 (13:25 +0100)]
[ALSA] emu10k1 - Add the entry for Audigy4 SB0400
Modules: EMU10K1/EMU10K2 driver
Added the missing card entry for Audigy4 SB0400 model.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Alexey Dobriyan [Mon, 6 Mar 2006 12:21:30 +0000 (13:21 +0100)]
[ALSA] vx - Fix memory leak on error path
Modules: Digigram VX core
Noticed by Eric Sesterhenn on kernel-janitors@
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
David Vrabel [Fri, 3 Mar 2006 17:01:57 +0000 (18:01 +0100)]
[ALSA] CS5535: shorter delays when accessing AC'97 codec registers
Modules: CS5535 driver
The 10 ms sleeps while waiting for AC'97 codec register reads/writes to
complete are excessive given the maxmium time is one AC'97 frame (~21 us).
With AC'97 codecs with integrated touchscreens (like the UCB1400) this
improves the interactive performance of the touchscreen.
Signed-off-by: David Vrabel <dvrabel@arcom.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Fri, 3 Mar 2006 15:47:17 +0000 (16:47 +0100)]
[ALSA] hda-codec - Add lg model for LG laptop
Modules: Documentation,HDA Codec driver
Added a new model 'lg' for LG laptop (m1 express dual) with ALC880 codec.
Also clean up the initialization/unsol_event hooks in patch_realtek.c.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Clemens Ladisch [Fri, 3 Mar 2006 13:08:43 +0000 (14:08 +0100)]
[ALSA] return ENODEV for disconnected devices
Modules: ALSA Core
Add dummy functions that return -ENODEV for the struct file_operations
of a disconnected device. Without such functions, userspace would get
ENOTTY.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Takashi Iwai [Thu, 2 Mar 2006 14:35:55 +0000 (15:35 +0100)]
[ALSA] Fix typos in document
Modules: Documentation
Fixed typos in document.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Wed, 1 Mar 2006 19:05:39 +0000 (20:05 +0100)]
[ALSA] Fix missing
AD1986a capsrc
Modules: HDA Codec driver
Fix missing
AD1986a capsrc setting in the last patch.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Wed, 1 Mar 2006 18:54:39 +0000 (19:54 +0100)]
[ALSA] hda-codec - Fix AD198x recording and add HP model
Modules: HDA Codec driver
- Fixed recording of AD1981HD/AD1983/
AD1986A
- Added model 'hp' to AD1981HD for HP nx6320
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Wed, 1 Mar 2006 18:52:23 +0000 (19:52 +0100)]
[ALSA] via82xx - Add dxs entry for ASRock mobo
Modules: VIA82xx driver
Add dxs_support entry for ASRock mobo.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Wed, 1 Mar 2006 13:16:53 +0000 (14:16 +0100)]
[ALSA] Update description of hda-intel models
Modules: Documentation
Updated the description of hda-intel models for realtek codecs.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Wed, 1 Mar 2006 13:16:17 +0000 (14:16 +0100)]
[ALSA] hda-codec - Fix ALC262 for Fujitsu laptop
Modules: HDA Codec driver,HDA generic driver
Add 'fujitsu' model for ALC262 patch to support a FSC laptop.
The internal speaker is turned on/off with jack sensing.
Also fixed alc262 'basic' model.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Doug McLain [Tue, 28 Feb 2006 10:53:06 +0000 (11:53 +0100)]
[ALSA] ice1712 - Fix wordclock status on Delta1010LT
Modules: ICE1712 driver
I posted this patch to bug 1806 a while back, and have been awaiting a
reply or commit. It currently reports the Locked/No Signal text
backwards in envy24control, since i was using an older version of
envy24control when I wrote the original code. The Locked/No Signal test
was recently reversed in envy24control cvs, so the test in my code needs
to be reversed as well. Here is the patch, once again.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jonathan Woithe [Tue, 28 Feb 2006 10:47:47 +0000 (11:47 +0100)]
[ALSA] HDA/ALC260: 7/7 - add SPDIF enable to test model
Modules: HDA Codec driver
This patch adds mixer controls to the 'test' ALC260 model which allow the
user to selectively enable or disable the SPDIF output pins. This should
assist people identify digital outputs on machines which bring them to the
outside world.
Note that while the patch *should* work, I cannot personally verify it since
my laptop doesn't bring the SPDIF lines out.
As for the GPIO switches added in patch 4, these controls are currently
only compiled in if debug mode is selected.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jonathan Woithe [Tue, 28 Feb 2006 10:46:14 +0000 (11:46 +0100)]
[ALSA] HDA/ALC260: 6/7 - Fujitsu/test model tweaks
Modules: HDA Codec driver
This patch is janitorial - it cleans up a number of cosmetic issues with
the 'fujitsu' and 'test' models. Issues addressed:
* spaces instead of tabs used for some indents,
* clarified/corrected selected comments.
Unlike a patch from earlier this week, this keeps both ADCs connected to
the mic1 pin widget by default. I believe this is the better default, since
some laptops don't bring the line1 widget to the outside world. Most (if
not all) do bring mic1 out though, so it seems to me that this default
should remain in place.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jonathan Woithe [Tue, 28 Feb 2006 10:45:11 +0000 (11:45 +0100)]
[ALSA] HDA/ALC260: 5/7 - add 'acer' model
Modules: HDA Codec driver
This patch adds a new 'acer' model. It is based on work by Rimas and many
other dedicated Acer owners over the past few weeks (see bug number
1618) - kudos to them. This adds support for a variety of Acer laptops,
although we are still in the process of collecting pci/subsystem IDs to add.
There are still some potentially outstanding issues: there are reports that
the CD control might not yet be functional for example. However, the time
is probably right to get a 'first cut' into the kernel which can be refined
as more test reports come in.
From the reports by various Acer owners, this code allows them to record
from internal mics and external jacks. Playback also seems to work to all
external jacks and the internal speaker. The 'beep' control doesn't appear
functional at the moment.
This patch depends on the changes made in patch 3/7.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jonathan Woithe [Tue, 28 Feb 2006 10:43:27 +0000 (11:43 +0100)]
[ALSA] HDA/ALC260: 4/7 - add GPIO switches to test model
Modules: HDA Codec driver
This patch adds 'test' model mixer switches for the GPIO controls found on
the ALC260. It has been found that some laptops (eg: Acer) can use these to
enable particular controls, so it would be useful to have access to these
via the 'test' model. It will make testing new models easy, especially if
certain outputs cannot be made to work any other way.
This patch *should* work, but because the GPIO pins don't do anything in
my laptop I cannot personally verify that all this works as expected.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jonathan Woithe [Tue, 28 Feb 2006 10:38:35 +0000 (11:38 +0100)]
[ALSA] HDA/ALC260: 3/7 - generalise some structures
Modules: HDA Codec driver
This patch generalises a structure added for the 'fujitsu' model but which
is potentially useful for other models as well. It turns the
'alc260_fujitsu_adc_nids' array into 'alc260_dual_adc_nids'; for other
models which decide to utilise the dual ADC functionality there's really
no reason why they need to define their own list of ADC nids.
The 'fujitsu' model preset is adjusted accordingly.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jonathan Woithe [Tue, 28 Feb 2006 10:36:42 +0000 (11:36 +0100)]
[ALSA] HDA/ALC260: 2/7 - switch pin buffer enables
Modules: HDA Codec driver
This patch adds functionality which switches the input/output buffer enables
of retasking pins when the user changes their mode with the mode control.
This probably reduces noise *slightly* for recording compared to the case
where both input and output buffers were enabled simultaneously.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jonathan Woithe [Tue, 28 Feb 2006 10:35:18 +0000 (11:35 +0100)]
[ALSA] HDA/ALC260: 1/7 - Fix test model input mux label
Modules: HDA Codec driver
This patch fixes input mux labels used for the ALC260 'test' model. This is
needed to avoid confusion which comes about because the two ADCs in the
ALC260 have slightly different mappings for their input selectors. Since
this is just the test model it's sufficient to simply report both options
where they exist. If a model comes along for which this becomes an issue,
the ALC260 input mux code will have to be extended to allow different mux
layouts for different ADCs.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jesper Juhl [Mon, 27 Feb 2006 17:35:46 +0000 (18:35 +0100)]
[ALSA] Don't NULL check vfree argument in pdaudiocf_pcm.c
Modules: PDAudioCF driver
Don't check pointers passed to vfree for null in pdaudiocf_pcm.c
Signed-off-by: Jesper Juhl <Jesper.Juhl@Gmail.Com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Mon, 27 Feb 2006 16:23:46 +0000 (17:23 +0100)]
[ALSA] opti9x - Fix compile without CONFIG_PNP
Modules: Opti9xx drivers
Fix compile errors without CONFIG_PNP.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Mon, 27 Feb 2006 16:20:41 +0000 (17:20 +0100)]
[ALSA] cs4236 - Fix a typo
Modules: CS4236+ driver
Fixed a typo in snd_cs4236_put_master_digital(), resulting in silence
right channel.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Clemens Ladisch [Mon, 27 Feb 2006 08:53:03 +0000 (09:53 +0100)]
[ALSA] usb-audio: optimize snd_usbmidi_count_bits()
Modules: USB generic driver
Reduce the code size of the snd_usbmidi_count_bits() function by using
simpler operations.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Takashi Iwai [Wed, 22 Feb 2006 16:14:34 +0000 (17:14 +0100)]
[ALSA] Fix sleep in atomic in virmidi driver
Modules: ALSA sequencer
Debug: sleeping function called from invalid context at /usr/src/linux/include/linux/rwsem.h:43
in_atomic():1, irqs_disabled():0
[<
f999d15e>] snd_seq_deliver_event+0xb4/0x1a8 [snd_seq]
[<
f999d2be>] snd_seq_kernel_client_dispatch+0x6c/0x7c [snd_seq]
[<
f93321fc>] snd_virmidi_output_trigger+0xca/0xe5 [snd_seq_virmidi]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Tue, 21 Feb 2006 13:14:50 +0000 (14:14 +0100)]
[ALSA] pcm - Move PAUSE ioctl to common ioctl handler
Modules: PCM Midlevel
Moved PAUSE ioctl to the common ioctl handler.
A capture stream may issue PAUSE, too.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Mon, 20 Feb 2006 10:57:34 +0000 (11:57 +0100)]
[ALSA] Fix check of enable module option
Fix the check of enable module option in probe of platform_device drivers.
It shouldn't break the loop but just ignore if enable[i] is false.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Thu, 16 Feb 2006 18:51:10 +0000 (19:51 +0100)]
[ALSA] hda-intel - Auto-correction of the DMA position mode
Modules: HDA Intel driver
Switch the method to measure the current DMA position automatically
from position-buffer mode to LPIB-read mode with a sanity check.
Some hardwares seems to have problem with the position buffer.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Thu, 16 Feb 2006 17:17:58 +0000 (18:17 +0100)]
[ALSA] hda-intel - Automatic correction to single_cmd mode
Modules: HDA Codec driver,HDA Intel driver
Switch to single_cmd mode automatically as a fallback when CORB/RIRB
communication doesn't work well. It may make the driver working on
some devices with broken BIOS/ACPI support.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Thu, 16 Feb 2006 17:16:17 +0000 (18:16 +0100)]
[ALSA] hda-codec - Add missing model entries for Intel 945 boards
Modules: HDA Codec driver
Added the missing entries for Intel 945 boards.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Wed, 15 Feb 2006 12:31:23 +0000 (13:31 +0100)]
[ALSA] intel8x0 - wait for ICH_RESETREGS
Modules: Intel8x0 driver
It seems that hardware requires some time to reset bus master registers.
We need to wait until ICH_RESETREGS bit is not released.
The suggestion and symptom was described by Mike Gorchak <lestat@i.com.ua>.
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Fri, 10 Feb 2006 07:42:17 +0000 (08:42 +0100)]
[ALSA] ice1712 - Delta 1010LT S/PDIF fixes
Modules: ICE1712 driver
See ALSA bug#1806 for details.
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Jesper Juhl [Thu, 9 Feb 2006 19:04:16 +0000 (20:04 +0100)]
[ALSA] no need to check pointers passed to vfree() for NULL
Modules: Digigram VX core,USB generic driver
There's no need to check pointers passed to vfree() for NULL.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Thu, 9 Feb 2006 15:29:44 +0000 (16:29 +0100)]
[ALSA] ac97 - Remove duplicated entry in lm4550_restbl
Modules: AC97 Codec
Removed the duplicated entry in lm4550_restbl.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Ken Arromdee [Thu, 9 Feb 2006 12:50:26 +0000 (13:50 +0100)]
[ALSA]
ad1816a - Fix PCM trigger direction
Modules:
AD1816A driver
Fixed the bug of capture with Shark Predator ISA resulting in:
arecord: pcm_read:1196: read error: Input/output error
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Thu, 9 Feb 2006 11:04:36 +0000 (12:04 +0100)]
[ALSA] via82xx - Add dxs entry for FSC Amilo L7300
Modules: VIA82xx driver
Added dxs_support entry for FSC Amilo L7300.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jonathan Woithe [Thu, 9 Feb 2006 11:01:26 +0000 (12:01 +0100)]
[ALSA] hda: ALC260 test model implementation
Modules: HDA Codec driver
The following patch adds a 'test' ALC260 model specification to the
patch_realtek.c driver if CONFIG_SND_DEBUG is set. This is similar to the
'test' ALC880 model in that it sets up mixer controls for almost everything
to make it easier for people to test their laptop/soundcard when working out
what pin widgets are connected to which real-world devices.
This patch assumes my previous patch (adding the second PCM to the ALC260)
has previously been applied since it uses infrastructure added by that
patch.
In developing this patch it was found that not all retasking pins accept all
the modes - in particular, some ignore the VREFxx variants. The pin mode
control has therefore been tweaked to prevent this becoming a problem in
mixer applications.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Thu, 9 Feb 2006 10:57:01 +0000 (11:57 +0100)]
[ALSA] hda: minor correction to fujitsu ALC260 initverbs
Modules: HDA Codec driver
Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
The following patch changes the initverbs associated with the output sum
widgets 0x08, 0x09 and 0x0a used with the fujitsu model in patch_realtek.c.
It is against alsa 1.0.11rc3.
Currently these widgets have their output muted, but a close reading of the
datasheet suggests that they don't actually have an output mute. They have
an *input* mute for each of their two inputs and a single output gain. This
patch therefore activates the input mutes and zeros the output gain. It has
not yet been tested but the above interpretation of the ALC260 datasheet
seems correct.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jonathan Woithe [Thu, 9 Feb 2006 10:53:48 +0000 (11:53 +0100)]
[ALSA] hda: add PCM for 2nd ADC on ALC260
Modules: HDA Codec driver
The following patch against alsa 1.0.11rc3 creates a PCM device (pcm1c) for
the second ADC present on the ALC260 codec used by the hda driver. It also
defines a new mixer control allowing the mode of retasking pins to be set;
this means a user can (for example) designate the headphone jack to be a
second input. With this patch in place it is possible to do 4 channel
recording on laptops equipped with an ALC260 codec assuming both a stereo
line-in jack is provided in addition to a headphone jack.
Mixer controls are provided to allow the headphone jack to be switched as
an input. In addition, an (input only) mode control is configured for
the line-in jack to allow a bias voltage to be requested (VREF80 or VREF50)
so headsets based on condensor microphones have a chance of working.
This patch has been tested on a Fujitsu S7020 laptop and as such these
features are currently only configured for the 'fujitsu' model.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Charl Coetzee [Thu, 9 Feb 2006 10:48:21 +0000 (11:48 +0100)]
[ALSA] ac97 - Added a codec patch for LM4550
Modules: AC97 Codec
Added a codec patch for LM4550. It sets up a static volume resolution
table.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Thu, 9 Feb 2006 10:45:20 +0000 (11:45 +0100)]
[ALSA] ac97 - Add support of static resolution tables
Modules: AC97 Codec
Added the support of static resolution table support for codecs
that the driver cannot probe the volume resolution properly.
The table pointer should be set in each codec patch.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Clemens Ladisch [Wed, 8 Feb 2006 11:38:23 +0000 (12:38 +0100)]
[ALSA] usb-audio: add Miditech Play'n Roll support
Modules: USB generic driver
Add a quirk entry for the Miditech Play'n Roll.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Wed, 8 Feb 2006 08:10:36 +0000 (09:10 +0100)]
[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>
Alan Horstmann [Wed, 8 Feb 2006 06:40:33 +0000 (07:40 +0100)]
[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>
Clemens Ladisch [Tue, 7 Feb 2006 16:11:06 +0000 (17:11 +0100)]
[ALSA] usb-audio: rename QUIRK_MIDI_MIDITECH to QUIRK_MIDI_CME
Modules: USB generic driver
Rename QUIRK_MIDI_MIDITECH to QUIRK_MIDI_CME because Miditech keyboards
are built by CME and use the same protocol, and don't force a Miditech
product name for the USB ID used by both Miditech and CME UF-x
keyboards.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Thu, 2 Feb 2006 06:56:54 +0000 (07:56 +0100)]
[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>
Takashi Iwai [Tue, 31 Jan 2006 13:44:28 +0000 (14:44 +0100)]
[ALSA] Removed unneeded page-reserve
Modules: Memalloc module
Removed unneeded page-reservation.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Mon, 23 Jan 2006 14:49:18 +0000 (15:49 +0100)]
[ALSA] Use dma_alloc_coherent() hack on i386 only
Modules: Memalloc module
Use dma_alloc_coherent() hack on i386 only (as a valid arch).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Fri, 20 Jan 2006 16:13:45 +0000 (17:13 +0100)]
[ALSA] Fix mulaw -> linear conversion in OSS PCM emulation
Modules: ALSA<-OSS emulation
Fixed the missing mulaw -> linear conversion in OSS PCM emulation code.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Fri, 20 Jan 2006 13:05:06 +0000 (14:05 +0100)]
[ALSA] Add the notes on PM to ens1370/ens1371 sections
Modules: Documentation
Add the notes on PM to ens1370/ens1371 sections.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Clemens Ladisch [Thu, 19 Jan 2006 07:25:19 +0000 (08:25 +0100)]
[ALSA] usb-audio: add UM-1EX/UM-2EX information
Modules: USB generic driver
Add comments with information about UM-1EX/UM-2EX devices.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Clemens Ladisch [Wed, 18 Jan 2006 14:44:53 +0000 (15:44 +0100)]
[ALSA] usb-audio: fix number of G-70 ports
Modules: USB generic driver
The G-70 has one MIDI port in each direction, no two.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Wed, 18 Jan 2006 10:50:40 +0000 (11:50 +0100)]
[ALSA] snd_pcm_format_name() is no longer exported
Modules: PCM Midlevel,USB generic driver
Because snd_pcm_format_name() function is used only for informational
purposes, it is no longer exported from the PCM midlevel to reduce
space and dependency. usbaudio module shows only numeric value for format.
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Clemens Ladisch [Wed, 18 Jan 2006 07:53:32 +0000 (08:53 +0100)]
[ALSA] usb-audio: add Roland G-70 support
Modules: USB generic driver
Add a quirk entry for the Roland G-70.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Wed, 18 Jan 2006 07:02:24 +0000 (08:02 +0100)]
[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>
Ingo Molnar [Mon, 16 Jan 2006 15:36:05 +0000 (16:36 +0100)]
[ALSA] semaphore -> mutex (Archs, misc buses)
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>