From: moon.linux@yahoo.com (Anand Moon) Date: Mon, 1 Jun 2015 18:39:49 +0000 (UTC) Subject: How .suspend and .resume are invoked In-Reply-To: <87zj4jdelk.fsf@nemi.mork.no> References: <991521038.2837340.1433142845246.JavaMail.yahoo@mail.yahoo.com> <87zj4jdelk.fsf@nemi.mork.no> Message-ID: <499912526.3376431.1433183989415.JavaMail.yahoo@mail.yahoo.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi Bjorn, On Monday, June 1, 2015 1:54 PM, Bj?rn Mork wrote: Anand Moon writes: > 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 > 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