Re: Does SmartReflex pm patches affect USB suspend resume operations

2009-05-19 Thread Kevin Hilman
Elvis Dowson  writes:

> Hi Kevin,
>
> On May 19, 2009, at 8:12 PM, Kevin Hilman wrote:
>>>
>>
>> You're testing something that others are not: PM branch minus SR
>> patches.
>>
>> I suggest you re-add the SR patches and try the suggestions of others:
>> Roger's patches + fix your board file.
>
> I've just finished the board-overo.c modifications and will try the SR
> patches now.
>
> I try it first without Roger's modifications and see what happens, and
> then apply his modifications.
>
>> That being said, the USB driver is known to be not fully PM aware yet.
>> On my SDP, I've tested MUSB in host mode with mass storage and a USB
>> key and it can suspend/resume just fine.  However, it does not work
>> with off-mode.
>
> What is off-mode?
>

Off-mode is when most of the chip goes off during suspend/idle.  This
requires some driver support which is missing in many of the drivers since
if the chip goes off, the driver needs to save/restore state.

Off-mode is disabled by default on the PM branch, but can be enabled
by doing

   # echo 1 > /sys/power/enable_off_mode

Kevin


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Does SmartReflex pm patches affect USB suspend resume operations

2009-05-19 Thread Elvis Dowson

Hi Kevin,

On May 19, 2009, at 8:12 PM, Kevin Hilman wrote:




You're testing something that others are not: PM branch minus SR
patches.

I suggest you re-add the SR patches and try the suggestions of others:
Roger's patches + fix your board file.


I've just finished the board-overo.c modifications and will try the SR  
patches now.


I try it first without Roger's modifications and see what happens, and  
then apply his modifications.



That being said, the USB driver is known to be not fully PM aware yet.
On my SDP, I've tested MUSB in host mode with mass storage and a USB
key and it can suspend/resume just fine.  However, it does not work
with off-mode.


What is off-mode?

Best regards,

Elvis
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Does SmartReflex pm patches affect USB suspend resume operations

2009-05-19 Thread Kevin Hilman
Elvis Dowson  writes:

>  Does the SmartReflex pm patches affect the operation of USB
> suspend/resume functions? Without the SR patches, the TI OMAP 3503
> does not go to suspend mode at the moment.

You're testing something that others are not: PM branch minus SR
patches.

I suggest you re-add the SR patches and try the suggestions of others:
Roger's patches + fix your board file.

Then try USB again.

That being said, the USB driver is known to be not fully PM aware yet.
On my SDP, I've tested MUSB in host mode with mass storage and a USB
key and it can suspend/resume just fine.  However, it does not work
with off-mode.

Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html