summaryrefslogtreecommitdiff
path: root/src/conf
AgeCommit message (Collapse)AuthorFilesLines
2014-02-18conf: Add surround 2.1 support to all cardsDavid Henningsson28-1/+28
All cards that support 4.1 surround now also support 2.1 surround, because they both have surround 5.1 as slave. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-02-18conf: Add basic infrastructure for 2.1 surround soundDavid Henningsson3-1/+66
For now, we do 2.1 over 5.1, because that's what ALSA allows per default. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-09-26HDA-Intel: present up to 8 HDMI/DP outputs via "hdmi" deviceAnssi Hannula1-0/+92
Some new AMD cards have HDA codecs presenting 6 connected HDMI/DP pin nodes (plus 1 unconnected pin node) according to the ALSA card database. Example: http://www.alsa-project.org/db/?f=de3ced7af41de0ed54d218650e5e2f16c511787b Bump the maximum number of presented HDMI outputs per card via the "hdmi" PCM from 4 to 8 (so that the last possible device is DEV=7). Note that HDMI PCM devices DEV=4..7 use shared PCM device numbers, so HDA cards that have over 4 audio PCM devices or multiple S/PDIF or modem devices will have their remaining PCM devices misrepresented as HDMI devices. Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-07-31conf/cards: add Audio Advantage Micro IIPrzemek Rudy1-0/+35
With related kernel chnages add extended suport for: - AES bits controls (via device suffix AESn= or tools like iecset) - SPDIF switch control, turning on/off the optical transmitter (via alsamixer tool) Signed-off-by: Przemek Rudy <prudy1@o2.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-05-14conf/ucm: DAISY-I2S: Set default filter mode for HiFi.Dylan Reid1-0/+1
Default to music mode filter for the HiFi use case on the Samsung ARM Chromebook. This mode is better at 44.1k and 48k audio than the "Voice" setting. Signed-off-by: Dylan Reid <dgreid@chromium.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-05-14conf/ucm: Set up for installationTakashi Iwai7-1/+22
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-05-14conf/ucm: tegraalc5632: add UCM config from UbuntuMarcin Juszkiewicz1-0/+30
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-05-14conf/ucm: SDP4430: add UCM config from UbuntuMarcin Juszkiewicz7-0/+378
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-05-14conf/ucm: PandaBoardES: add UCM config from UbuntuMarcin Juszkiewicz7-0/+380
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-05-14conf/ucm: PandaBoard: add UCM config from UbuntuMarcin Juszkiewicz7-0/+380
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-05-14conf/ucm: DAISY-I2S: add Samsung ARM Chromebook UCM config from ChromeOSMarcin Juszkiewicz2-0/+67
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-04-26conf - Add Scarlett 2i2 USB to S/PDIF blacklistDavid Henningsson1-0/+1
The Scarlett 2i2 USB interface does not have any S/PDIF connections. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-04-02USB-audio: Add "HP Digital Stereo Headset" to SPDIF blacklistDavid Henningsson1-1/+2
Yet another headset without digital I/O. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-02-21Add workaround for conflicting IEC958 controls for HD-audioTakashi Iwai1-0/+16
When both an SPDIF and an HDMI output are present on HD-audio, both try to access IEC958 controls with index=0 although one of them must be wrong. For avoiding this conflict, the recent kernel code (3.9 and 3.8 stable) moves the IEC958 controls of an SPDIF with index=16 once when the conflict happens. In this patch, the corresponding support is added in alsa-lib side. The new "skip_rest" boolean flag is added to the hooked element definition which indicates that the rest of element array will be ignored once when this element is present and evaluated. With this new flag, the HD-audio config takes index=16 primarily, then take index=0 as fallback. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-09-13conf: Add chmap definitions to TRIDENT and SI7018 configurationsTakashi Iwai2-0/+4
Manually add the channel map definitions as the channel front/rear is determined dynamically. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-09-13PCM: Use compounds for overriding / enhancing chmapsTakashi Iwai3-10/+10
Instead of a single channel map, multiple channel maps can be provided in a form of compound (array) to hw and null plugins. In null get_chmap, the channel map corresponding to the current channels is copied from the given channel maps. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-09-13Add chmap override definitions for Emu10k1, Audigy and Audigy2 cardsTakashi Iwai3-0/+10
These cards won't provide the channel maps from the driver itself because of the dynamic routing. For simplicity, define chmaps in the configurations, so that chmap querying of individual stereo streams and combined multi streams works properly. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-05-23conf: Add more USB devices to S/PDIF blacklistDavid Henningsson1-0/+4
These devices don't have digital in/out, so prevent them from being opened. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-04-23alsa-lib conf: Add two more USB devices to iec958 blacklistDavid Henningsson1-2/+4
Add "Logitech Wireless Headset" and "Logitech Speaker Lapdesk N700" to the iec958 blacklist. Also reorder the list in alphabetic order. BugLink: https://bugs.launchpad.net/bugs/987163 Reported-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com> Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-04-14alsa-lib conf: block S/PDIF access for Sennheiser USB headsetDavid Henningsson1-0/+1
The Sennheiser USB headset has no S/PDIF input or output, so make sure we can't open it that way. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-03-09USB-Audio: Fixup card name for Logitech web cameraDavid Henningsson1-1/+1
Reported-by: Raymond Yau <superquad.vortex2@gmail.com> Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-03-09USB-Audio: Blacklist iec958 for some USB devicesDavid Henningsson1-0/+5
Some common USB devices are analog only, so prevent the digital devices from being opened. This simplifies probing the device in PulseAudio. I have a "Logitech USB Headset" myself, the "Logitech Web Camera" was reported by Raymond Yau, and the "Blue Snowball" was reported by Andy Whitcroft. Cc: Andy Whitcroft <andy.whitcroft@canonical.com> Cc: Raymond Yau <superquad.vortex2@gmail.com> BugLink: https://bugs.launchpad.net/bugs/940145 Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-02-08conf/pcm: Add support for Echo3G devices. Thanks to unimatrix.Luke Yelavich2-0/+319
BugLink: https://bugs.launchpad.net/bugs/433573 Signed-off-by: Luke Yelavich <luke.yelavich@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2011-09-20conf: Allow for a directory to be given as a config file.Colin Guthrie4-1/+18
When this is done, *.conf files can be placed in that directory and they will be processed by as if they were included directly. A directory (typically /usr/share/alsa/alsa.conf.d/) has been added into the distribution. v2: Used existing conf syntax rather than processing via autotools v3: Split file loading into separate function and made error handling more consistent. Signed-off-by: Colin Guthrie <colin@mageia.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-07-27Define "sysdefault" PCM and controlTakashi Iwai1-1/+3
When "default" PCM and control definitions are overwritten by others like PulseAudio setup, the original system-default defition is lost. This is a problem when PA is temporarily (or intentionally) disabled and user wants to use the default dmix. This patch adds a new standard definition for the system-default, "sysdefault". This can be used for fallbacks. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-05-16emu10k1.conf - Fix no sound problem when using SB Live! PlatinumRaymond Yau1-127/+140
Add asym to front, rear and center_lfe to prevent route change after removed the lock. After removed the lock, when application using "hw", "front", "rear", "surround40" and "surround51", the route of the front channel is changed (lost right channel or both channels) when other application using "front", "rear" or "center_lfe" to record Signed-off-by: Raymond Yau <superquad.vortex2@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-05-09Specficy subdevice 0 for front/surround* of HDA-Intel.confTakashi Iwai1-0/+1
The subdevice 0 is used for multi-channel outputs. This fixes the detection of multi-channel devices of VIA codecs by PulseAudio. Reported-by: Raymond Yau <superquad.vortex2@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-04-26HDA-Intel.conf - Fix low mic volume due to pulseaudio using "front" device ↵Raymond Yau1-6/+13
for playback and capture Signed-off-by: Raymond Yau <superquad.vortex2@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-04-20EMU10K1.conf: Don't lock hook controlsTakashi Iwai1-10/+10
Locking the controls in hooks causes a BUSY error when multiple streams are opened, typically in PulseAudio. Better not to touch the locking in hooks in such a case. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-04-19Fix typo in comment in surround71.confDavid Henningsson1-2/+2
BugLink: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591318 Reported-by: Ariel <asdebian@dsgml.com> Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2011-04-06Mark Heaphone {Center|LFE} control of emu10k1 conf as optionalTakashi Iwai1-0/+2
The controls referred in center_lfe definition in EMU10K1.conf should be marked as optional since some boards don't have these. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-03-28Conf: Fix channels of ICE1712 to 10/12David Henningsson1-6/+22
The ICE1712 kernel driver accepts 10 playback channels and 12 recording channels only. Therefore fix this channel count in alsa-lib. BugLink: http://bugs.launchpad.net/bugs/178442 Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2011-03-15alsa-lib: add LaCie Firewire Speakers/Griffin FireWave Surround driverClemens Ladisch3-0/+78
Add configuration files for the "default"/"front"/"surround51" devices of the FireWire driver. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2011-01-10aliases.conf: add aliases for CMI8788-based cardsClemens Ladisch1-0/+4
Add entries for all the aliases of the CMI8788 chip. (Not all of them are currently used by the driver.) Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2010-11-10USB-Audio.conf: fix Audiophile USB card nameClemens Ladisch1-2/+6
The device name of the M-Audio AudioPhile USB is actually "Audiophile USB (tm)". Also keep the old string, just to be sure. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2010-09-15Fix typo for surround PCMs in src/conf/cards/Loopback.confJaroslav Kysela1-3/+3
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2010-08-25Add Loopback.conf to define standard PCM devices for snd-aloop driverJaroslav Kysela1-0/+74
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2010-08-23HDA-Intel: do not lock IEC958 Playback switchPierre-Louis Bossart1-4/+0
As discussed with Takashi, removing the lock allows apps to mute the output using the mixer interface. Other AES controls remain locked. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-08-11pcm: introduce defaults.pcm.compat to change the params choose behaviourJaroslav Kysela1-0/+1
Having getenv directly in the function is not a good idea. Allow configuration of the behaviour change in snd_pcm_param_choose() function using alsa.conf. Use the environment variable LIBASOUND_COMPAT only as fallback. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2010-08-11pcm: add defaults.pcm.minperiodtime parsingJaroslav Kysela1-0/+1
Some broken applications like Audacious don't set any timing parameters. While the alsa-lib behaviour is to select the smallest period size and biggest buffer size, the result is the generation of thousands interrupts per second. The default value in alsa.conf is 5000usec. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2010-08-09HDA-Intel: present all 4 HDMI outputs instead of just the first oneAnssi Hannula1-4/+104
Commit 92608badc519a8c1f65d93743396517aaa582b53 in linux kernel added the possibility of 3 additional HDMI devices on indexes 7-9. Present all those additional devices using the "hdmi" alias as well. Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-09-09Change dmix.conf to accept user configuration from defaults.dmix.<driver_id>.xxxJaroslav Kysela1-6/+6
An attempt to fix problem described in reverted patch "Fix driver conf parsing in snd_config_hook_load_for_all_cards()". Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2009-07-13USB-Audio.conf: fix definition for M-Audio AudioPhile spdif deviceClemens Ladisch1-5/+42
Add custom definitions for the AudioPhile "default" and "iec958" devices so that output and input are routed to the correct PCM device. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2009-06-09Fix SB-Xfi.confTakashi Iwai1-5/+3
Added missing hint.device for rear, clfe, etc definitions. Removed invalid iec958 capture definition. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-06-02Add IEC958 status bits support to SB-XFi.confTakashi Iwai1-4/+28
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-06-02Add config file for SB-XFi driverTakashi Iwai2-0/+87
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-23Add route_policy copy to HDA-Intel.conf for captureTakashi Iwai1-0/+2
Since some digital mics have the phase-inversion problem in one channel, adding both channels for mono stream results in the noise. Use route_policy copy to avoid that situation. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-17oxygen: remove softvol pluginClemens Ladisch1-10/+3
The change that removed the Master controls for Xonar D2(X) cards was reverted, so we don't need to use the softvol plugin anymore ... Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2009-02-13Add hint.device = 0 to pcm.default of HDA-Intel.confTakashi Iwai1-0/+1
The hd-audio driver may have no analog stream but only a digital one which has usually non-zero device number. To avoid the bogus namehint, set hint.device 0 for pcm.default (it wasn't handled properly due to asym). Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-28Remove own "default" PCM config from GUS.confTakashi Iwai1-54/+0
The system-wide default PCM config works now (by the fix of plug mmap_emul support), thus no card-specific hackish config is needed for GUS. Signed-off-by: Takashi Iwai <tiwai@suse.de>