Skip to contentSkip to conversation

How .suspend and .resume are invoked

DISCUSSION Anand Moon 2 participants 3 messages Jun 1, 2015

lore
Share & tools
lore

Anand Moon

author
#0 lore raw

hi All,

I would like to know how .suspend and .resume
in device driver invoked where ACPI is not used.

What I meant is suppose you have USB not connected then what is the state of the device driver.

Is the .probe function running continuously in the background.

-Anand Moon

#1 lore raw
Quoted 4 lines · Anand Moon

hi All,

I would like to know how .suspend and .resume
in device driver invoked where ACPI is not used.

https://www.kernel.org/doc/Documentation/power/devices.txt

Quoted 4 lines

What I meant is suppose you have USB not connected then what is the state of the device driver.

Is the .probe function running continuously in the background.

No. Now your into USB hotplug, aren't you? But if this is related to suspend/resume, then it's probably answered by
https://www.kernel.org/doc/Documentation/usb/power-management.txt

Sorry for only pointing to further reading, but I'm definitely not capable of answering any better than the experts who have written those documents. And I seriously doubt anyone else is either - with the possible exception of those experts. And they shouldn't have to repeat their answers when they have taken the time to write excellent docs, should they?

Bj?rn

author
#2 lore raw

Hi Bjorn,

Quoted 4 lines · On Monday, June 1, 2015 1:54 PM, Bj?rn Mork <[email protected]> wrote: Anand Moon…

hi All,

I would like to know how .suspend and .resume
in device driver invoked where ACPI is not used.

https://www.kernel.org/doc/Documentation/power/devices.txt

Quoted 4 lines

What I meant is suppose you have USB not connected then what is the state of the device driver.

Is the .probe function running continuously in the background.

No. Now your into USB hotplug, aren't you? But if this is related to suspend/resume, then it's probably answered by
https://www.kernel.org/doc/Documentation/usb/power-management.txt

Sorry for only pointing to further reading, but I'm definitely not capable of answering any better than the experts who have written those documents. And I seriously doubt anyone else is either - with the possible exception of those experts. And they shouldn't have to repeat their answers when they have taken the time to write excellent docs, should they?

Bj?rn

Thanks for these pointers.

-Anand Moon
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies