Hi Rahul , values are as folows : 1) urb->number_of_packets = 1 2) runtime->frame_bits = 32 3) urb->iso_frame_desc[i].actual_length = 0 4) urb->iso_frame_desc[i].length = 192 let me know if u need some other information . Thanx & Regards Amit Nagal On Wed, Oct 27, 2010 at 1:07 AM, Rahul Ruikar <rahul.ruikar@xxxxxxxxx> wrote: > Amit, > > in snd_complete_urb() > snd_pcm_stop() is only linked to failure of subs->ops.prepare(subs, > substream->runtime, urb) or usb_submit_urb(urb, GFP_ATOMIC) > > when you get continuous loop of -18 error messages ..can you find out > following values in function retire_capture_urb() > - urb->number_of_packets > - runtime->frame_bits > - urb->iso_frame_desc[i].actual_length > - len > > Thanks > Rahul Ruikar > > > > > > On 26 October 2010 16:00, Amit Nagal <helloin.amit@xxxxxxxxx> wrote: >> Hi , >> >> >> Before doing any modification , i tried as suggested : >> >> 1) >> i tried these 3 patches : >> >> a) ALSA: usb - Release capture substream URBs properly . >> b) ALSA: usb-audio - Avoid Oops after disconnect . >> c) ALSA: usb - Fix Oops after usb-midi disconnection . >> >> end result : problem remains same . >> >> 2) >> >> i found sound stack in my embedded kernel and 2.6.30.9 sound stack ( >> linux / sound and linux / include/sound ) files same . >> even i replaced complete sound stack from 2.6.32 , 2.6.34 , 2.6.35 >> from www.kernel.org . >> but still problem didnot went away . >> >> end result : problem remains same . >> >> 3) then i tried whatever i checked in my last mail . >> >> >> Thanx for your time . please suggest accordingly . >> >> Thanx & Regards >> Amit Nagal >> >> >> >> >> >> >> >> >> >> >> >> >> >> On Tue, Oct 26, 2010 at 2:02 PM, Clemens Ladisch <clemens@xxxxxxxxxx> wrote: >>> Amit Nagal wrote: >>>> We are able to do usb audio disconnect with some change in >>>> retire_capture_urb() function . >>>> but we are not sure whether our way to handle this is right or not . >>> >>> Is there a reason why you didn't try the patch that I pointed out >>> to you? >>> >>> >>> Regards, >>> Clemens >>> >> > ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user