summaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
* [ALSA] usb-audio: throttle MIDI URB resubmits on USB errorsClemens Ladisch2005-08-301-13/+64
| | | | | | | | | USB generic driver When a USB error occurs that might indicate that the device has been unplugged, don't resubmit the URB immediately to prevent flooding the log with error messages before khubd has us disconnect()ed. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [PATCH] Assign device pointer to OSS devicesTakashi Iwai2005-08-302-11/+23
| | | | | | | Add register_sound_special_device() function to allow assignment of device pointer to a specific OSS device for HAL. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add identification for Live 5.1 [SB0220]Lee Revell2005-08-301-0/+7
| | | | | | | | EMU10K1/EMU10K2 driver Add identification for Live 5.1 [SB0220] Signed-off-by: Lee Revell <rlrevell@joe-job.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] emu10k1 - Add missing ac97 support on SBLive! Player 5.1Takashi Iwai2005-08-301-0/+1
| | | | | | | EMU10K1/EMU10K2 driver Added the missing ac97 support on SBLive! Player 5.1. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] intel8x0 - Add quirk for FSC 4010Takashi Iwai2005-08-301-0/+6
| | | | | | | Intel8x0 driver Added ac97_quirk for FSC 4010. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] pcm - Fix zero-division in 32bit compat layerTakashi Iwai2005-08-301-3/+8
| | | | | | | PCM Midlevel Fixed zero-division bug in PCM 32bit compat layer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] intel8x0 - add AC97_TUNE_MUTE_LED quirk for HP nx8220 laptop 103c:0934Daniel Horchner2005-08-301-0/+6
| | | | | | Intel8x0 driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] usb-audio: fix Emagic MIDI protocol handlingClemens Ladisch2005-08-301-5/+12
| | | | | | | | USB generic driver Emagic devices pad their packets not with 0xff bytes but with a 0xff byte followed by garbage, so we have to stop at the first such byte. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Fix missing spin_unlockTakashi Iwai2005-08-302-2/+3
| | | | | | | au88x0 driver,Common EMU synth Fixed missing spin_unlock. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - Fix ULI M5461 supportTakashi Iwai2005-08-301-33/+117
| | | | | | | | | | | HDA Intel driver Fix and clean up for the support of ULI M5461 - set CORB/RIRB sizes explicitly - add workarounds for ULI on ia32 - max number of streams depends on the chip type now - increase the size of BDL Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add beep support for UniwillTakashi Iwai2005-08-301-1/+7
| | | | | | | HDA Codec driver Added the missing beep support for Uniwill laptop (ALSA bug#1358). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] vxpocket - Register device pointerTakashi Iwai2005-08-301-0/+1
| | | | | | | Digigram VX Pocket driver Add snd_card_set_dev() to register the device pointer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] vxpocket - Fix wrong index assignmentTakashi Iwai2005-08-301-1/+1
| | | | | | | Digigram VX Pocket driver Fixed the wrong index number assignment. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] vxpocket - Add missing event callbackTakashi Iwai2005-08-301-4/+5
| | | | | | | Digigram VX Pocket driver Added the missing event callback. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix compilation without CONFIG_PROC_FSTakashi Iwai2005-08-301-2/+1
| | | | | | | Memalloc module Fix an error when built without CONFIG_PROC_FS. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Code clean upTakashi Iwai2005-08-301-11/+18
| | | | | | | HDA Codec driver Use struct instead of array to improve the readability of hda_codec.c. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - correct a bug in detection of rate supportedNicolas Graziano2005-08-301-1/+5
| | | | | | | | | HDA Codec driver The insertion of the rate 9600 make a shift in detection of supported rate, put this rate at the end of the list. Signed-off-by: Nicolas Graziano <nicolas.graziano@wanadoo.fr> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] HP nx6110 quirksSergey Vlasov2005-08-302-0/+7
| | | | | | | | | | | | | | Intel8x0 driver,AC97 Codec The HP nx6110 laptop needs to have Headphone Jack Sense enabled so that the internal speakers will be turned off when headphones are plugged in. Also ac97_quirk=hp_only is needed to make a single Master volume in the mixer instead of separate volumes for internal speakers and headphones, which just confuses the user. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97_bus - revert last change and do it only in the ALSA treeJaroslav Kysela2005-08-301-1/+1
| | | | | | AC97 Codec Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] ac97_bus - replace <linux/module.h> with <sound/driver.h> for consistencyJaroslav Kysela2005-08-301-1/+1
| | | | | | AC97 Codec Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] via82xx - Add DXS entry for MSI 7142Takashi Iwai2005-08-301-0/+1
| | | | | | | VIA82xx driver Added the DXS entry for MSI 7142 (K8MM-V). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] PCM resume cleanupsJaroslav Kysela2005-08-308-19/+32
| | | | | | | | | Digigram VX core,CS4231 driver,ATIIXP driver,VIA82xx driver VIA82xx-modem driver,au88x0 driver,CS46xx driver,Trident driver This patch disables SNDRV_PCM_INFO_RESUME flag for drivers which does not support the full resume. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] ac97 - make ac97 codec device name uniqueBjorge Dijkstra2005-08-301-1/+1
| | | | | | | | | AC97 Codec The patch fixes the bus_id conflict error when registering two codecs of the same type (ALSA bug#1334). Signed-off-by: Bjorge Dijkstra <bjorge@gmx.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hdspm - Fix module parameter descriptionTakashi Iwai2005-08-301-1/+1
| | | | | | | RME9652 driver Fix the module parameter description after proofreading. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] nm256 - Fix PM and irq handlingTakashi Iwai2005-08-301-23/+70
| | | | | | | | | | NM256 driver - Fixed the PCM resume - restoring the rate setting - Fixed the handling of buggy irqs - Dynamically acquire/release irq handler to make the driver more robust to unknown irq storms (as OSS driver does). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] intel8x0 - Fix PMTakashi Iwai2005-08-301-8/+31
| | | | | | | | Intel8x0 driver Fixed the PCM resume of intel8x0. Restores the requested register setting. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ALSA timer - fixed compilationJaroslav Kysela2005-08-301-2/+2
| | | | | | Timer Midlevel Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Timer API - added SUSPEND/RESUME eventsJaroslav Kysela2005-08-302-5/+11
| | | | | | | | PCM Midlevel,Timer Midlevel,ALSA Core - added SNDRV_TIMER_EVENT_SUSPEND / RESUME events - changed timer events from PAUSE / CONTINUE in PCM midlevel to SUSPEND / RESUME Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-intel: Suspend/resume fixes for PCM devicesJaroslav Kysela2005-08-301-2/+5
| | | | | | | | HDA Intel driver - removed SNDRV_PCM_INFO_RESUME (the driver cannot do PCM resume at the time) - fixed chip->pcm_devs initialization Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-patch-realtek - added pci subdevice ID for Acer TravelMate 8100 ↵Jaroslav Kysela2005-08-301-0/+1
| | | | | | | | (3 stack model + digital out) HDA Codec driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] via82xx - Fix SPDIF sample ratesTakashi Iwai2005-08-301-4/+4
| | | | | | | VIA82xx driver Fixed the sample rates set in the fourth DXS channel with Non-VRA mode. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix PCM 32bit compat layerTakashi Iwai2005-08-301-14/+28
| | | | | | | | PCM Midlevel Fixed the handling of boundary in PCM 32bit compat layer. Positions in hwsync are bound in the 32bit boundary size. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] opl3sa2 - use different name for PnP BIOS driverJaroslav Kysela2005-08-301-2/+2
| | | | | | | | OPL3SA2 driver - use different name (opl3sa2-pnpbios) for PnP BIOS driver - don't print warning when manual config of resources fails (PnP BIOS) Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] ac97: make patch_wolfson_wm97??_specific() functions staticClemens Ladisch2005-08-301-4/+4
| | | | | | | | AC97 Codec Make the patch_wolfson_wm97??_specific() functions static again. This patch was accidentally reverted in rev. 1.92. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: use vmalloc for the PCM bufferClemens Ladisch2005-08-301-9/+44
| | | | | | | | | USB generic driver With the double buffering, we no longer need contiguous memory for the PCM buffer, so we can use vmalloc() instead of the preallocation functions, and increase the maximum size to 256 KB. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: use usb_buffer_alloc/freeClemens Ladisch2005-08-302-23/+46
| | | | | | | | USB generic driver Use the USB buffer allocation functions to avoid repeated DMA mappings of our buffers, which are re-used quite a lot. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: properly lock hwptr_done accessesClemens Ladisch2005-08-301-2/+8
| | | | | | | | USB generic driver Take the substream lock when reading hwptr_done to avoid a race condition with the updates in the URB callbacks. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: actually schedule playback URBs at frame boundariesClemens Ladisch2005-08-301-1/+7
| | | | | | | | USB generic driver Change prepare_playback_urb() not to stop preparing packets before a frame boundary has been reached. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: double-buffer all playback dataClemens Ladisch2005-08-301-86/+65
| | | | | | | | | | | | | | | USB generic driver We always had to use double buffering when capturing, and when playback data for one URB crosses a buffer boundary. The latter would make hwptr updates less precise because the double-buffered data is read from the buffer much earlier than the other data is read by the host controller. Double-buffering all data allows to update hwptr immediately after the data was copied to the USB buffer(s), which has the additional benefit of avoiding the latency imposed by the host controller's delay of up to one frame when interrupting. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: optimize handling of capture URBsClemens Ladisch2005-08-301-18/+8
| | | | | | | | | | | | | | USB generic driver When preparing capture URBs, we don't need to stop when we cross a period boundary because we now never handle more than one millisecond of data per URB anyway. When handling captured data, use an extra flag to call snd_pcm_period_elapsed() no more than once. This allows us to move the period boundary checking code before the copying of the data which avoids a second locking of the substream's lock. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Add new card ID. Fixes ALSA bug #1297James Courtier-Dutton2005-08-301-1/+1
| | | | | | EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] Add new ID. Fixes ALSA bug #1298James Courtier-Dutton2005-08-301-0/+8
| | | | | | CA0106 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] opl3sa2 - fixed typo in PnP BIOS IDs (YMF0021 -> YMH0021)Jaroslav Kysela2005-08-301-1/+1
| | | | | | OPL3SA2 driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] opl3sa2 driver - added support for PnP BIOS devicesJaroslav Kysela2005-08-301-23/+89
| | | | | | | | | | | OPL3SA2 driver The driver has been extended to support also PnP BIOS devices. The detection path is: 1) detect PnP BIOS devices 2) detect ISA PnP devices Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] via82xx - Add DXS entry for MSI K8MM-VTakashi Iwai2005-08-301-1/+2
| | | | | | | | VIA82xx driver Added the DXS entry for MSI K8MM-V. Also fixed a typo in last patch for Acer Aspire 1524 WLMi. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add VT1617A codec supportPhilip Prindeville2005-08-303-6/+19
| | | | | | | AC97 Codec Added (minimal) support of VT1617A codec with SPDIF. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - Add SiS966 supportTakashi Iwai2005-08-301-1/+3
| | | | | | | HDA Intel driver Added SiS966 pci id to snd-hda-intel driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] usb-audio: schedule high speed URBs with 1 ms alignmentClemens Ladisch2005-08-301-6/+14
| | | | | | | | | USB generic driver The EHCI driver doesn't interrupt more than once per millisecond, and organizes all iso transfers with frame-sized ITDs, so we can (try to) be more efficient by aligning all URBs on frame boundaries. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: make nrpacks parameter writeableClemens Ladisch2005-08-301-3/+5
| | | | | | | | USB generic driver The nrpacks module parameter is used only when initializing a playback stream, so it doesn't hurt to make it writeable. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: fix packets per URB calculation for playbackClemens Ladisch2005-08-301-1/+9
| | | | | | | | | | USB generic driver When determining how many packets are needed for one period, we cannot assume that all packets have their maximum size -- we always use the nominal sample rate when sending data, and could use an even lower rate when the endpoint uses frequency feedback. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>