On Thu, 6 Mar 2014, Jagdish Gedia wrote:
> Hi Alan,
>
> As you have told, i have executed pm_request_resume() function from my
> interrupt handler, and it is waking up my USB device. I have
> implemented all this functionality in class driver(cdc-acm.c).
> but what is happening is after 2-3 times
>
> Hi Peter,
>
> My usb device is not capable of giving interrupt when it finishes using
> usb. So i dont have any idea where can i call pm_runtime_put for my usb
> device?
>
> the other thing is that, earlier you have told, waking up usb device
> through interrupt is same as writing "on" to
Hi Peter,
My usb device is not capable of giving interrupt when it finishes
using usb. So i dont have any idea where can i call pm_runtime_put for
my usb device?
the other thing is that, earlier you have told, waking up usb device
through interrupt is same as writing "on" to ../power/control , bu
Hi Alan,
As you have told, i have executed pm_request_resume() function from my
interrupt handler, and it is waking up my USB device. I have
implemented all this functionality in class driver(cdc-acm.c).
but what is happening is after 2-3 times, ausosuspend is getting
disable for my device. I want
>
> Hi Peter,
>
> Thanks for your reply.
>
> I can use pm_runtime_get in interrupt handler, but i am not getting your
> idea of using pm_runtime_put in interrupt handler?
>
After your device finishes using usb, it may need to toggle gpio to trigger
interrupt, and you can suspend usb at thi
Hi Peter,
Thanks for your reply.
I can use pm_runtime_get in interrupt handler, but i am not getting
your idea of using pm_runtime_put in interrupt handler?
My device is usb telephony modem, which will give interrupt through
gpio when call comes. so at that time i want to wakeup the usb
function
>
> > Hi,
> > There is some inconsistency in remote wakeup functionality in my
> > custom board. so I want to wakeup the runtime suspended USB host
> > through interrupt. My USB device is connected to the board through USB
> > interface and some gpios. device will give interrupt on processor gpi
On Wed, 5 Mar 2014, Jagdish Gedia wrote:
> Hi,
> There is some inconsistency in remote wakeup functionality in my
> custom board. so I want to wakeup the runtime suspended USB host
> through interrupt. My USB device is connected to the board through USB
> interface and some gpios. device will give
Hi,
There is some inconsistency in remote wakeup functionality in my
custom board. so I want to wakeup the runtime suspended USB host
through interrupt. My USB device is connected to the board through USB
interface and some gpios. device will give interrupt on processor gpio
when it needs attention