[linux-pm] Regarding multifunction PC Card power management

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

 



Hi all,

I had noted from the Linux 2.6 PCMCIA mini Howto that

pccardctl suspend  <---->  echo -n 3 >
/sys/class/pcmcia-socket/pcmcia-socket*/device/power/state

where * is socket number 0 or like that.

and on doing so, we are getting the PM_SUSPEND event in the pcmcia
client driver and the card is powered off. So it is working absolutely
fine.

But I had found inside
/sys/class/pcmcia_socket/pcmcia_socket*/device/*-0 directory which I
think represents the function of the card, which is always 0 in case of
a single function card. 

I had tried 
echo -n 3 > /sys/class/pcmcia_socket/pcmcia_socket*/*-0/power/state

but had not got any event inside the PCMCIA client driver's event
handler, whereas I think we should get a PM_SUSPEND event in the event
handler.

As per as my understanding, if the
/sys/class/pcmcia_socket/pcmcia_socket*/*-0/ represents the function 0
of the card, then for a multifunction card we will have *-0/ and *-1/
directories, representing the function0 and function 1. And by "echo"ing
3 in the power/state of the function representing directories, we should
be able to suspend a specific function (function 0 or function 1) of the
card.

I want to validate my understanding. Thank you in advance for any
suggestion.

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