[linux-pm] Query regarding behavior of PCMCIA devices with respect to suspend and resume

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

 



Hi,

Thank you for the reply. 
If in a PCMCIA device, there will be a USB port, then suspend/resume can
be or will be handled by controller for that USB port. But I am not sure
whether in that case, the PCMCIA client driver should support the HCD or
not and if yes then in what way?

Thank you,
Regards,
Kaustav Majumdar


-----Original Message-----
From: Dominik Brodowski [mailto:linux@xxxxxxxxxxxxxxxxxxxx] 
Sent: Tuesday, January 17, 2006 2:28 PM
To: Kaustav Majumdar (WT01 - Semiconductors & Consumer Electronics)
Cc: linux-pm@xxxxxxxxxxxxxx
Subject: Re: [linux-pm] Query regarding behavior of PCMCIA devices with
respect to suspend and resume

Hi,

On Tue, Jan 17, 2006 at 02:12:20PM +0530, kaustav.majumdar@xxxxxxxxx
wrote:
> I am new to linux power management.... I had seen some PCMCIA client
> drivers, where in the event handler for events CARD_SUSPEND and
> CARD_RESUME nothing generic had been done but those events ultimately
> causes release and get configuration only.....

Exactly; and that's why this even gets moved into the upper layer for
2.6.17:
http://kernel.org/git/?p=linux/kernel/git/brodo/pcmcia-2.6.git;a=commit;
h=66b91eb48d18d4781bddcf8f0ac872e2405903fc

> So does that mean the expected behavior from any PCMCIA device in case
> of suspend/resume activity is to release its configurations on
> suspension and getting new configuration without actually resuming the
> task the device was performing at the time of suspension???

Well, most PCMCIA drivers are "dumb" in this regard -- but, for example,
the
net drivers do stop the queue and restart it on suspend and resume. To
do it
properly, you do need to stop all activity in the .suspend() callback
and
continue processing it in or after .resume()

	Dominik


[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