22 May, 2011
1 commit
18 May, 2011
8 commits
-
USB X-Fi S51 Pro volume and mute from the volume knob on the unit.
Compiled and tested with 2.6.39-rc7-git12Signed-off-by: Mathieu Bouffard
Signed-off-by: Takashi Iwai -
That way, the class compliant MIDI interface is also handled.
Signed-off-by: Daniel Mack
Reported-and-tested-by: Grant Diffey
Signed-off-by: Takashi Iwai -
If the interface can't report a clock's validity, assume that it's
valid.Signed-off-by: Daniel Mack
Reported-by: Vicente Joel
Signed-off-by: Takashi Iwai -
Signed-off-by: Daniel Mack
Reported-by: Jeffrey Scott Flesher
Signed-off-by: Takashi Iwai -
Signed-off-by: Daniel Mack
Reported-and-tested-by: Frédéric Jaume
Signed-off-by: Takashi Iwai -
This was a flaw in the reading of the spec tables - Native Instrument's
"Komplete Audio 6" device has no such extra controls.This patch also fixes the device name in two comments.
Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai -
Just in case a prototype changes, we'll be warned. This also fixes a
sparse warning.Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai -
Just defining it to nothing is dangerous as it can alter the code
execution flow, for example when used in as only function in a
conditional code block.Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai
29 Apr, 2011
1 commit
-
This patch adds support for the Terratec Aureon 7.1 USB which uses a
C-Media cm6206 and needs all the quirks already found in the past.Signed-off-by: Wolfgang Breyha
Signed-off-by: Takashi Iwai
28 Apr, 2011
1 commit
-
Some crappy USB-audio devices give broken dB ranges, e.g. both min and max
are 0dB. This confuses the volume control that prefers dB expression such
as alsactl or PulseAudio. In such a case, it's much better not to expose
the broken dB information.Signed-off-by: Takashi Iwai
26 Apr, 2011
1 commit
-
Signed-off-by: Daniel Mack
Cc: Torsten Schenk
Signed-off-by: Takashi Iwai
14 Apr, 2011
1 commit
-
This new device by Native Instruments is also compliant to the USB
standard v2.0, but hides this detail at when connected.It needs the same boot quirks than other models, and also has two
non-class-compliant mixer controls.Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai
11 Apr, 2011
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
ALSA: hda - Don't query connections for widgets have no connections
ALSA: HDA: Fix single internal mic on ALC275 (Sony Vaio VPCSB1C5E)
ALSA: hda - HDMI: Fix MCP7x audio infoframe checksums
ALSA: usb-audio: define another USB ID for a buggy USB MIDI cable
ALSA: HDA: Fix dock mic for Lenovo X220-tablet
ASoC: format_register_str: Don't clip register values
ASoC: PXA: Fix oops in __pxa2xx_pcm_prepare
ASoC: zylonite: set .codec_dai_name in initializer
06 Apr, 2011
1 commit
-
There are many USB MIDI cables out there that have buggy
firmware that reports it can do more than 4 bytes in a
packet when they can only properly handle 4This patch adds the ID of yet another one of those cables
Signed-off-by: Tarek Soliman
Signed-off-by: Takashi Iwai
04 Apr, 2011
5 commits
-
Digital Thru mixer element added (device can act as converter opticalcoax)
Signed-off-by: Torsten Schenk
Signed-off-by: Takashi Iwai -
Firmware loader: magical device bytes check updated (accepts all device
versions now and accepts possibly loaded firmware, if it is knowing to
be working)Signed-off-by: Torsten Schenk
Signed-off-by: Takashi Iwai -
Added support for sample format s32_le.
Signed-off-by: Torsten Schenk
Signed-off-by: Takashi Iwai -
Completion of signedness bug for pcm_runtime.rate: variable will never
get assigned a negative value now.Signed-off-by: Torsten Schenk
Signed-off-by: Takashi Iwai -
Kernel configuration updated:
- experimental dependency removed
- description updatedSigned-off-by: Torsten Schenk
Signed-off-by: Takashi Iwai
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
24 Mar, 2011
2 commits
-
Signed-off-by: Keith A. Milner
Signed-off-by: Takashi Iwai -
Add a quirk for the Cakewalk UM-1G USB MIDI interface in
"advanced driver" mode. (It already works in standard mode.)Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
21 Mar, 2011
1 commit
-
Some USB devices give trailing spaces in strings returned from
usb_string(). This confuses the automatic card-id creation, resulting
always in "default".
This patch fixes the behavior by removing trailing spaces.Signed-off-by: Takashi Iwai
11 Mar, 2011
3 commits
-
Devices are autosuspended if no pcm nor midi channel is open
Mixer devices may be opened. This way they are active when
in use to play or record sound, but can be suspended while
users have a mixer application running.[Small clean-ups using static inline by tiwai]
Signed-off-by: Oliver Neukum
Signed-off-by: Takashi Iwai -
- ESHUTDOWN must be correctly handled
- the optional interrupt endpoint's URB must be stopped and restartedSigned-off-by: Oliver Neukum
Signed-off-by: Takashi Iwai
10 Mar, 2011
2 commits
-
One more affected devices: Logitech Webcam C600 (046d:0808)
Volume range before quirk is 6400, after (also real) is 16.
Signed-off-by: Alexey Fisher
Signed-off-by: Takashi Iwai -
Signed-off-by: Alexey Fisher
Signed-off-by: Takashi Iwai
23 Feb, 2011
1 commit
-
When a USB audio device is disconnected, snd_usb_audio_disconnect()
kills all audio URBs. At the same time, the application, after being
notified of the disconnection, might close the device, in which case
ALSA calls the .hw_free callback, which should free the URBs too.Commit de1b8b93a0ba "[ALSA] Fix hang-up at disconnection of usb-audio"
prevented snd_usb_hw_free() from freeing the URBs to avoid a hang that
resulted from this race, but this introduced another race because the
URB callbacks could now be executed after snd_usb_hw_free() has
returned, and try to access already freed data.Fix the first race by introducing a mutex to serialize the disconnect
callback and all PCM callbacks that manage URBs (hw_free and hw_params).Reported-and-tested-by: Pierre-Louis Bossart
Cc:
[CL: also serialize hw_params callback]
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
15 Feb, 2011
4 commits
-
Use strlcpy() to assure not to overflow the string array sizes by
too long USB device name string.Reported-by: Rafa
Cc: stable
Signed-off-by: Takashi Iwai -
The number of cases has increased so use switch-case rather than
if-statements.Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai -
The MK2 generation of Native Instruments' sound cards are in fact
compliant to the USB audio standard of version 2 and other approved USB
standards. However, they come up as vendor-specific device when first
connected but can be told to come up with a new set of descriptors
upon their next enumeration. The interfaces announced by the new
descriptors will be handled by the kernel's class drivers. This is done
by issuing a vendor specific device request and sending the device to
reset.There are also some vendor-specific USB requests for some mixer elements
that can't be exported in a standard compliant way. The driver now
supports them with quirks handling mechanisms.Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai -
Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai
08 Feb, 2011
2 commits
-
Signed-off-by: Joseph Teichman
Signed-off-by: Takashi Iwai -
rt->rate is an unsigned char so it's never equal to -1. It's not a huge
problem because the invalid rate is caught inside the call to
usb6fire_pcm_set_rate() which returns -EINVAL. But if we fix the test
then it prints out the correct error message so that's good.Signed-off-by: Dan Carpenter
Signed-off-by: Takashi Iwai
25 Jan, 2011
1 commit
-
What is working: Everything except SPDIF
- Hardware Master volume
- PCM 44-192kHz@24 bits, 6 channels out, 4 channels in (analog)
- MIDI in/out
- firmware loading after cold start
- phono/line switchingSigned-off-by: Torsten Schenk
Signed-off-by: Takashi Iwai
12 Jan, 2011
2 commits
-
Fix missing NULL checks in usb_stream_hwdep_poll() and usb_stream_hwdep_ioctl().
Wake up poll waiters before returning from usb_stream_hwdep_ioctl().Signed-off-by: Karsten Wiese
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai -
The US-122L always reads 9 bytes per urb unless they are set to 0xFD.
Signed-off-by: Karsten Wiese
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai
10 Jan, 2011
1 commit
-
Add support for the 24-bit audio I/Os of the Edirol SD-90 interface.
Reported-any-tested-by: Jim Grusendorf
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai