after pm-suspend is executed, suspend and resume call back functins are not executed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I got suspend and resume callback functions executed using
echo standby >/sys/power/stat.

But pm-suspend does not execute suspend function.


--- On Wed, 4/15/09, hong zhang <henryzhang62 at yahoo.com> wrote:

> From: hong zhang <henryzhang62 at yahoo.com>
> Subject: after pm-suspend is executed, suspend and resume call back functins are not executed
> To: devel at linuxdriverproject.org
> Date: Wednesday, April 15, 2009, 4:30 PM
> List,
> 
> I add printk in suspend and resume callback functions in
> pci_driver in an ethernet NIC.
> 
> I expect to see suspend and resume functions are executed
> after pm-suspend that puts PC in sleep mode and then hit
> enter key to wake PC up. But I do not see suspend and resume
> functions are executed.
> 
> Here is my question,
> 
> how to make suspend and resume callback functions in
> pci_driver structure executed?
> 
> Thanks.
> 
> ---henry
> 
> 
>       
> _______________________________________________
> devel mailing list
> devel at linuxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


      


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux