aboutsummaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
* [ALSA] hda-intel - Automatic correction to single_cmd modeTakashi Iwai2006-03-222-17/+49
| | | | | | | | | | 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>
* [ALSA] hda-codec - Add missing model entries for Intel 945 boardsTakashi Iwai2006-03-221-0/+6
| | | | | | | | Modules: HDA Codec driver Added the missing entries for Intel 945 boards. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] intel8x0 - wait for ICH_RESETREGSJaroslav Kysela2006-03-221-1/+10
| | | | | | | | | | | 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>
* [ALSA] ice1712 - Delta 1010LT S/PDIF fixesJaroslav Kysela2006-03-222-1/+38
| | | | | | | | Modules: ICE1712 driver See ALSA bug#1806 for details. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] no need to check pointers passed to vfree() for NULLJesper Juhl2006-03-222-8/+6
| | | | | | | | | 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>
* [ALSA] ac97 - Remove duplicated entry in lm4550_restblTakashi Iwai2006-03-221-1/+0
| | | | | | | | Modules: AC97 Codec Removed the duplicated entry in lm4550_restbl. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ad1816a - Fix PCM trigger directionKen Arromdee2006-03-221-6/+9
| | | | | | | | | 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>
* [ALSA] via82xx - Add dxs entry for FSC Amilo L7300Takashi Iwai2006-03-221-0/+1
| | | | | | | | Modules: VIA82xx driver Added dxs_support entry for FSC Amilo L7300. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda: ALC260 test model implementationJonathan Woithe2006-03-221-3/+170
| | | | | | | | | | | | | | | | | | | | | 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>
* [ALSA] hda: minor correction to fujitsu ALC260 initverbsTakashi Iwai2006-03-221-4/+10
| | | | | | | | | | | | | | | | | | | 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>
* [ALSA] hda: add PCM for 2nd ADC on ALC260Jonathan Woithe2006-03-221-30/+119
| | | | | | | | | | | | | | | | | | | | | | 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>
* [ALSA] ac97 - Added a codec patch for LM4550Charl Coetzee2006-03-223-1/+33
| | | | | | | | | 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>
* [ALSA] ac97 - Add support of static resolution tablesTakashi Iwai2006-03-221-0/+12
| | | | | | | | | | | 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>
* [ALSA] usb-audio: add Miditech Play'n Roll supportClemens Ladisch2006-03-221-0/+9
| | | | | | | | Modules: USB generic driver Add a quirk entry for the Miditech Play'n Roll. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] bt848 - added Leadtek Winfast tv 2000xp delux to whitelistJaroslav Kysela2006-03-221-4/+6
| | | | | | | | | 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>
* [ALSA] ice1712 - disable unused ADCs & DACs on DMX6fireAlan Horstmann2006-03-222-2/+15
| | | | | | | | | | | | | 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>
* [ALSA] usb-audio: rename QUIRK_MIDI_MIDITECH to QUIRK_MIDI_CMEClemens Ladisch2006-03-224-8/+10
| | | | | | | | | | | 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>
* [ALSA] ice1712 & cs8427 - fix problem for S/PDIF input setupJaroslav Kysela2006-03-222-17/+23
| | | | | | | | Modules: I2C cs8427,ICE1712 driver See ALSA bug#1785 for more details. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Removed unneeded page-reserveTakashi Iwai2006-03-221-30/+2
| | | | | | | | Modules: Memalloc module Removed unneeded page-reservation. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Use dma_alloc_coherent() hack on i386 onlyTakashi Iwai2006-03-221-1/+1
| | | | | | | | Modules: Memalloc module Use dma_alloc_coherent() hack on i386 only (as a valid arch). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix mulaw -> linear conversion in OSS PCM emulationTakashi Iwai2006-03-221-1/+2
| | | | | | | | Modules: ALSA<-OSS emulation Fixed the missing mulaw -> linear conversion in OSS PCM emulation code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] usb-audio: add UM-1EX/UM-2EX informationClemens Ladisch2006-03-221-2/+3
| | | | | | | | Modules: USB generic driver Add comments with information about UM-1EX/UM-2EX devices. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: fix number of G-70 portsClemens Ladisch2006-03-221-2/+2
| | | | | | | | Modules: USB generic driver The G-70 has one MIDI port in each direction, no two. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] snd_pcm_format_name() is no longer exportedJaroslav Kysela2006-03-222-2/+1
| | | | | | | | | | 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>
* [ALSA] usb-audio: add Roland G-70 supportClemens Ladisch2006-03-221-1/+14
| | | | | | | | Modules: USB generic driver Add a quirk entry for the Roland G-70. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] ymfpci - make rear channel swap optionalJaroslav Kysela2006-03-222-15/+32
| | | | | | | | | | 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>
* [ALSA] semaphore -> mutex (Archs, misc buses)Ingo Molnar2006-03-2210-54/+55
| | | | | | | | | | | 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>
* [ALSA] semaphore -> mutex (PCI part)Ingo Molnar2006-03-2239-483/+543
| | | | | | | | | | | 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>
* [ALSA] semaphore -> mutex (ISA part)Ingo Molnar2006-03-228-50/+50
| | | | | | | | | | | 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>
* [ALSA] semaphore -> mutex (driver part)Ingo Molnar2006-03-2216-89/+90
| | | | | | | | | | | 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>
* [ALSA] semaphore -> mutex (core part)Ingo Molnar2006-03-2222-270/+281
| | | | | | | | | | | 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>
* [ALSA] au88x0 - Fix structs for equalizerTakashi Iwai2006-03-221-6/+3
| | | | | | | | Modules: au88x0 driver Fixed the structures for equalizer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] #4/4 for Zoom Video - add Zoom Video supportMark Salazar2006-03-221-3/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: ES18xx driver Forth of 4 es18xx.c patches culminating in Zoom Video support. This patch adds Zoom Video support for those chipsets that support it. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879. I could not test the Zoom Video function for an ES1878 or ES1869. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. One quirk (noted in my comments below) is that apparently the datasheet is wrong for one of the ES1879 Zoom Video 'enable' bits, because 1) if you set this bit it messes up PCM playback (speaker_test play a lower frequency) 2) even if you don't set this bit Zoom Video still works. I added a control to toggle the bit on just in case there might be a version of the ES1879 that requires it, but I expect noone will need it. Signed-off-by: Mark Salazar <markTheCoder@justmyself.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] #3/4 for Zoom Video - change Hardware Volume interrupt handlingMark Salazar2006-03-221-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: ES18xx driver Third of 4 es18xx.c patches culminating in Zoom Video support. This patch changes the Hardware Volume support to reflect the fact that not all of the supported chipsets have seperate registers dedicated to the Hardware Volume inputs. Although all the chipsets can generate an HWV interrupt whenever a Hardware Volume input is received only those with seperate HWV registers can split the HWV registers from the Master volume registers. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879 and an ES1878 machine. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. Signed-off-by: Mark Salazar <markTheCoder@justmyself.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] #2/4 for Zoom Video - resolve number of record sourcesMark Salazar2006-03-221-9/+90
| | | | | | | | | | | | | | | | | | | | | | | Modules: ES18xx driver Second of 4 es18xx.c patches culminating in Zoom Video support. This patch changes the 'record source' mux routines to reflect the fact that not all of the supported chipsets have 8 possible inputs. Some have 4 and some have 5. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879 and an ES1878 machine. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. Signed-off-by: Mark Salazar <markTheCoder@justmyself.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] #1/4 for Zoom Video - resolve common vs chipset specific mixer controlsMark Salazar2006-03-221-11/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: ES18xx driver First of 4 es18xx.c patches culminating in Zoom Video support. While adding support for Zoom Video to the es18xx driver I found some of the mixer controls were wrong. Since you guys went to the trouble of supplying the datasheets for the supported chipsets I did a review of all of them and tried to get es18xx.c to accurately reflect the proper mixer controls for each chipset. If the datasheets are wrong then so are my patches. This first patch moves some controls from the common-to-all-chipsets array 'snd_es18xx_base_controls' to a chipset-specific array and adds code to manage that new array. Also while testing on my ES1878 test machine I discovered it needed a couple of udelays in the identify function so those are in this patch as well. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879 and an ES1878 machine. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. Signed-off-by: Mark Salazar <markTheCoder@justmyself.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] usb-audio: add Edirol PC-50 supportClemens Ladisch2006-03-221-1/+14
| | | | | | | | Modules: USB generic driver Add a quirk entry for the Edirol PC-50. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] au88x0 - 64bit arch fixesTakashi Iwai2006-03-2211-72/+81
| | | | | | | | | 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>
* [ALSA] ice1724 - Add support of Prodigy-7.1LTTakashi Iwai2006-03-222-18/+68
| | | | | | | | | 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>
* [ALSA] Clean up pcm-oss pluginsTakashi Iwai2006-03-227-924/+117
| | | | | | | | | Modules: ALSA<-OSS emulation Clean up pcm-oss plugin codes. Removed dead codes, and simplified route/rate plugins. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix a typoTakashi Iwai2006-03-221-1/+1
| | | | | | | | Modules: ALSA<-OSS emulation Fixed a typo. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] PCM midlevel & PCM OSS - make procfs & OSS plugin code optionalJaroslav Kysela2006-03-2212-5/+95
| | | | | | | | | | | | Modules: ALSA Core,PCM Midlevel,ALSA<-OSS emulation,USB generic driver 1) The verbose procfs code for the PCM midlevel and usb audio can be removed now (more patches will follow). CONFIG_SND_VERBOSE_PROCFS 2) The PCM OSS plugin system can be also compiled optionaly. CONFIG_SND_PCM_OSS_PLUGINS Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] ymfpci: fix swapped channels in SPDIF outputClemens Ladisch2006-03-221-4/+8
| | | | | | | | | | | | 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>
* [ALSA] hda-intel - Add single_cmd option for debuggingTakashi Iwai2006-03-221-31/+26
| | | | | | | | | 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>
* [ALSA] intel8x0 - Fix/cleanup detection of codecs on SIS7012Takashi Iwai2006-03-221-54/+84
| | | | | | | | | 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>
* [ALSA] ens1370 - Fix resumeTakashi Iwai2006-03-221-0/+7
| | | | | | | | Modules: ENS1370/1+ driver Fix resume of ens1370 driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] usb-audio: factor out packet size calculation codeClemens Ladisch2006-03-221-20/+14
| | | | | | | | | | Modules: USB generic driver Move the common packet size calculation code from prepare_startup_playback_urb() and prepare_playback_urb() to a new function. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: cosmetic changesClemens Ladisch2006-03-222-33/+23
| | | | | | | | Modules: USB generic driver Move some entries around to keep them sorted by ID. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Add support for EDIROL UM-3exBrent Cook2006-03-222-0/+24
| | | | | | | | | | | | | | | | | | Modules: USB generic driver This is my naive attempt at adding ALSA device support. The attached patch provides support for the EDIROL UM-3ex. This is a 3-port USB midi interface with a built-in USB hub and the ability to chain 2 other UM-3x's in a master-slave configuration. I only have one, so I do not know how this works in practice. Though this is a 3-port device, I had to throw in that 4th 'Control' interface to the definition in order to make the 3rd port work. If I set in/out_cables to 0x000b, a 3rd interface appears on the driver, but it does nothing. Changing it to 0x000f allows the 3rd interface to work, but of course interface 4 does not work because it does not exist. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] pcxhr - Suppress debug messagesTakashi Iwai2006-03-221-1/+1
| | | | | | | | Modules: Digigram PCXHR driver Suppress debug messages. Signed-off-by: Takashi Iwai <tiwai@suse.de>