On Thu, 29 Nov 2012, amit nagal wrote:
> On Wed, Nov 28, 2012 at 9:58 PM, Alan Stern wrote:
> > Vivek and Amit, are you two copies of the same person?
> No . Actually vivek's post to linux-usb forum failed . so i ended up
> posting for him.
> sorry for inconvinience .
No problem.
> >> As urb p
On Wed, Nov 28, 2012 at 9:58 PM, Alan Stern wrote:
> Vivek and Amit, are you two copies of the same person?
No . Actually vivek's post to linux-usb forum failed . so i ended up
posting for him.
sorry for inconvinience .
>> As urb processing is complete by the
>> time urb->complete()
>> is called
On Wed, 28 Nov 2012, Vivek Bhagat wrote:
> Hi Alan,
>
> In function usb_hcd_giveback_urb() , urb completion handler is called first
> followed by decrement of urb->use_count .
> usb_hcd_giveback_urb(){
> ...
> urb->complete (urb);
> atomic_dec (&urb->use_count);
> ...
> }
>
> In urb completion h
On Thu, Nov 22, 2012 at 6:50 PM, naveen yadav wrote:
> urb_count is incremented at only one place in usb_hcd_submit_urb() and
> decremented in usb_hcd_giveback_urb(). (Also, in error case inside
> usb_hcd_submit_urb()). After taking print of urb->use_count at all
Hi Alan ,
In function usb_hcd_gi
On Mon, 26 Nov 2012, naveen yadav wrote:
> Dear Alan,
>
> Thanks for your reply ,
>
> We check on 3.2.34 and 3.6.7 on X86 host machine. and result is same
> without connecting Bluetooth device.
> I am attaching log
Yes, very good. But you still have to do what I mentioned in my
earlier email:
On Thu, 22 Nov 2012, naveen yadav wrote:
> Hi,
>
> we are using 3.2.2 version of kernel.
>
> When Bluetooth(connected to USB 2.0) is suspended, urb->use_count
> value does not become zero and eventually there is a continuous wait
> in wait_event() of usb_kill_urb().
> wait_event(usb_ki