<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/usb, branch linux-2.6.33.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-08-29T21:32:58Z</updated>
<entry>
<title>ALSA: snd_usb_caiaq: track submitted output urbs</title>
<updated>2011-08-29T21:32:58Z</updated>
<author>
<name>Daniel Mack</name>
</author>
<published>2011-08-14T09:31:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f699ee1f5af1aab237e573ee0b169d54fe24ab5d'/>
<id>urn:sha1:f699ee1f5af1aab237e573ee0b169d54fe24ab5d</id>
<content type='text'>
commit da6094ea7d3c2295473d8f5134279307255d6ebf upstream.

The snd_usb_caiaq driver currently assumes that output urbs are serviced
in time and doesn't track when and whether they are given back by the
USB core. That usually works fine, but due to temporary limitations of
the XHCI stack, we faced that urbs were submitted more than once with
this approach.

As it's no good practice to fire and forget urbs anyway, this patch
introduces a proper bit mask to track which requests have been submitted
and given back.

That alone however doesn't make the driver work in case the host
controller is broken and doesn't give back urbs at all, and the output
stream will stop once all pre-allocated output urbs are consumed. But
it does prevent crashes of the controller stack in such cases.

See http://bugzilla.kernel.org/show_bug.cgi?id=40702 for more details.

Signed-off-by: Daniel Mack &lt;zonque@gmail.com&gt;
Reported-and-tested-by: Matej Laitl &lt;matej@laitl.cz&gt;
Cc: Sarah Sharp &lt;sarah.a.sharp@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: snd-usb-caiaq: Correct offset fields of outbound iso_frame_desc</title>
<updated>2011-08-29T21:32:55Z</updated>
<author>
<name>Daniel Mack</name>
</author>
<published>2011-08-05T11:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=700ffba5936f73eddd3bfcb9fca5a945fd5a20c2'/>
<id>urn:sha1:700ffba5936f73eddd3bfcb9fca5a945fd5a20c2</id>
<content type='text'>
commit 15439bde3af7ff88459ea2b5520b77312e958df2 upstream.

This fixes faulty outbount packets in case the inbound packets
received from the hardware are fragmented and contain bogus input
iso frames. The bug has been there for ages, but for some strange
reasons, it was only triggered by newer machines in 64bit mode.

Signed-off-by: Daniel Mack &lt;zonque@gmail.com&gt;
Reported-and-tested-by: William Light &lt;wrl@illest.net&gt;
Reported-by: Pedro Ribeiro &lt;pedrib@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: snd-usb-caiaq: Fix keymap for RigKontrol3</title>
<updated>2011-08-16T02:01:55Z</updated>
<author>
<name>Daniel Mack</name>
</author>
<published>2011-08-06T07:13:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2aa30110a99b9770297e2542cb310f3a8fc7d0f3'/>
<id>urn:sha1:2aa30110a99b9770297e2542cb310f3a8fc7d0f3</id>
<content type='text'>
commit f4389489b5cbe60b3441869c68bb4afe760969c4 upstream.

Signed-off-by: Daniel Mack &lt;zonque@gmail.com&gt;
Reported-by: Renato &lt;naretobh@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: snd-usb-us122l: Fix missing NULL checks</title>
<updated>2011-03-21T19:45:40Z</updated>
<author>
<name>Karsten Wiese</name>
</author>
<published>2011-01-04T00:20:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd33d194a874963afdc3261fa1158b720e90633c'/>
<id>urn:sha1:bd33d194a874963afdc3261fa1158b720e90633c</id>
<content type='text'>
commit cdce2db74e156fbd9a2dc3c7b246166f8b70955b upstream.

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 &lt;fzu@wemgehoertderstaat.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: caiaq - Fix possible string-buffer overflow</title>
<updated>2011-03-21T19:45:11Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2011-02-14T21:45:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20e513d2753cc8172f478b8d0eec4375f3a090e7'/>
<id>urn:sha1:20e513d2753cc8172f478b8d0eec4375f3a090e7</id>
<content type='text'>
commit eaae55dac6b64c0616046436b294e69fc5311581 upstream.

Use strlcpy() to assure not to overflow the string array sizes by
too long USB device name string.

Reported-by: Rafa &lt;rafa@mwrinfosecurity.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: usb - Fix Oops after usb-midi disconnection</title>
<updated>2010-04-26T14:47:54Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2010-04-10T19:27:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fae0017ccf08a2d2ddb5c420793f3591d8ab85cb'/>
<id>urn:sha1:fae0017ccf08a2d2ddb5c420793f3591d8ab85cb</id>
<content type='text'>
commit 29aac005ff4dc8a5f50b80f4e5c4f59b21c0fb50 upstream.

usb-midi causes sometimes Oops at snd_usbmidi_output_drain() after
disconnection.  This is due to the access to the endpoints which have
been already released at disconnection while the files are still alive.

This patch fixes the problem by checking disconnection state at
snd_usbmidi_output_drain() and by releasing urbs but keeping the
endpoint instances until really all freed.

Tested-by: Tvrtko Ursulin &lt;tvrtko@ursulin.net&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: USB MIDI support for Access Music VirusTI</title>
<updated>2010-03-15T16:06:21Z</updated>
<author>
<name>Sebastien Alaiwan</name>
</author>
<published>2010-02-16T07:55:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4d574122bc35f8c90effac2e3a2af2889e9ba81'/>
<id>urn:sha1:f4d574122bc35f8c90effac2e3a2af2889e9ba81</id>
<content type='text'>
commit d39e82db73eb876c60d00f00219d767b3be30307 upstream.

Here's a patch that adds MIDI support through USB for one of the Access
Music synths, the VirusTI.

The synth uses standard USBMIDI protocol on its USB interface 3, although
it does signal "vendor specific" class. A magic string has to be sent on
interface 3 to enable the sending of MIDI from the synth (this string was
found by sniffing usb communication of the Windows driver). This is all
my patch does, and it works on my computer.

Please note that the synth can also do standard usb audio I/O on its
interfaces 2&amp;3, which already works with the current snd-usb-audio driver,
except for the audio input from the synth. I'm going to work on it when I
have some time.

Signed-off-by: Sebastien Alaiwan &lt;sebastien.alaiwan@gmail.com&gt;
Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: usb-audio: reduce MIDI packet size to work around broken firmware</title>
<updated>2010-03-15T16:06:20Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2010-02-15T07:55:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7a4ea295be34290b584bdb1382a698af3cbd97c'/>
<id>urn:sha1:c7a4ea295be34290b584bdb1382a698af3cbd97c</id>
<content type='text'>
commit f167e1d073278fe231bbdd5d6c24fb9d091aa544 upstream.

Extend the list of devices whose firmware does not expect more than one
USB MIDI packet in one USB packet.

bug report: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3752

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ALSA: usb-audio - Avoid Oops after disconnect</title>
<updated>2009-12-28T11:24:22Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2009-12-28T11:24:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=78b8d5d2ee280c463908fd75f3bdf246bcb6ac8d'/>
<id>urn:sha1:78b8d5d2ee280c463908fd75f3bdf246bcb6ac8d</id>
<content type='text'>
As the release of substreams may be done asynchronously from the
disconnection, close callback needs to check the shutdown flag before
actually accessing the usb interface.

Reference: Novell bnc#505027
	http://bugzilla.novell.com/show_bug.cgi?id=565027

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>sound: sgio2audio/pdaudiocf/usb-audio: initialize PCM buffer</title>
<updated>2009-12-18T11:53:17Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2009-12-18T08:27:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3e85fd614c7b6bb7f33bb04a0dcb5a3bfca4c0fe'/>
<id>urn:sha1:3e85fd614c7b6bb7f33bb04a0dcb5a3bfca4c0fe</id>
<content type='text'>
When allocating the PCM buffer, use vmalloc_user() instead of vmalloc().
Otherwise, it would be possible for applications to play the previous
contents of the kernel memory to the speakers, or to read it directly if
the buffer is exported to userspace.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Cc: &lt;stable@kernel.org&gt;

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
</feed>
