[linux-pm] power management for pcmcia based USB hc driver

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

 



Hi all,

We are facing an issue regarding power management of a PCMCIA based USB
Host Controller driver. 

When we are issuing the command "echo -n "3" >
/sys/class/pcmcia-socket/pcmcia-socket1/device/power/state" from the
command line (the PC Card was in socket 1), we received the "PM_SUSPEND"
event in the event handler of the PCMCIA client driver. On getting that,
inside the client driver, we are releasing the configuration by calling
pcmcia_release_configuration.

When we debugged the code, we noted that though we are getting suspend
event in the pcmcia client driver, the suspend entry points in the hc
driver are not being called.

So from that I think a mechanism is needed to communicate this event to
the hc driver. One possible solution is to set a variable in the PCMCIA
client driver on suspend and polling that variable from the hc driver.

Pl. suggest a better solution. Looking forward to your suggestions.

Thank you,
With Regards,
Kaustav Majumdar


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux