From: bjorn@mork.no (=?utf-8?Q?Bj=C3=B8rn_Mork?=) Date: Mon, 01 Jun 2015 10:20:39 +0200 Subject: How .suspend and .resume are invoked In-Reply-To: <991521038.2837340.1433142845246.JavaMail.yahoo@mail.yahoo.com> (Anand Moon's message of "Mon, 1 Jun 2015 07:14:05 +0000 (UTC)") References: <991521038.2837340.1433142845246.JavaMail.yahoo@mail.yahoo.com> Message-ID: <87zj4jdelk.fsf@nemi.mork.no> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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