From: Takashi Iwai Subject: Re: v2.6.25.3 BUG (due to usb audio device?) Date: Sun, 18 May 2008 09:41:36 +0200 Message-ID: References: <3aa654a40805110953s66a27271y4356cb3d032dcb38@mail.gmail.com> <3aa654a40805170750x6e88368k56b3d88035c97a41@mail.gmail.com> <3aa654a40805170754n43136961j3dfee3c642a612b2@mail.gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 9C60B10382A for ; Sun, 18 May 2008 09:41:36 +0200 (CEST) In-Reply-To: <3aa654a40805170754n43136961j3dfee3c642a612b2@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Avuton Olrich Cc: Alsa-Devel List-Id: alsa-devel@alsa-project.org At Sat, 17 May 2008 07:54:04 -0700, Avuton Olrich wrote: > > On Sat, May 17, 2008 at 7:50 AM, Avuton Olrich wrote: > > On Tue, May 13, 2008 at 4:25 AM, Takashi Iwai wrote: > >> At Sun, 11 May 2008 09:53:01 -0700, > >> Avuton Olrich wrote: > >>> > >>> This locks up KDE due to kmixer somehow trying to stay attached to the > >>> audio device after resume from suspend-to-disk. This is the second > >>> time of dealing with this (or a similar bug) with the usb audio > >>> device: > >>> > >>> http://mailman.alsa-project.org/pipermail/alsa-devel/2008-March/006867.html > >>> > >>> I got it working by using the head of the git tree recommended in that > >>> thread (unfortunately I don't have the hash it was related to). > >> > >> If the recent git works, it should be the series of my patches: > >> > >> 73d38b13ffb105ab633bd91969c8d218b2de38d4 > >> [ALSA] Fix the race of card instance unregistration > >> f18638dcf0c481eca2430206ebcdc7295aec8623 > >> [ALSA] Clean up snd_card_free*() > >> 9eb70e68f38bbc5996a2193e7b7dc0b5487a08cb > >> [ALSA] usb-audio - Fix race in reconnection > >> > >> But the patches are intrusive, and I'm not keen on applying them to > >> stable trees... > > > > OK, finally had the time to try the newer master and here's what I get now; > > > > I suspend and resume fine, but the sound card no longer works again > > after resume and the only thing I see in the dmesg is: > > > > [ 125.873947] usb 3-1: reset full speed USB device using ohci_hcd and address 2 > > [ 126.017265] snd-usb-audio 3-1:1.0: no reset_resume for driver snd-usb-audio? > > [ 126.017265] snd-usb-audio 3-1:1.1: no reset_resume for driver snd-usb-audio? > > [ 126.017265] snd-usb-audio 3-1:1.2: no reset_resume for driver snd-usb-audio? > > Forgot to mention the hash for this one is linus tree: > f26a3988917913b3d11b2bd741601a2c64ab9204 It's: Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc Are you using ppc? Otherwise I suspect it's due to the addition of suspend/resume callbacks in usbaudio.c. Takashi