SR2:VDD autocomp is not active ::: BeagleBoard Halts

2010-02-09 Thread Mai Daftedar
Hi all,
   I have the following very odd observation, can anyone please
elaborate on why this could be happening and possible solutions to it.

When running beagleboard with android image, After running a userspace
application for a while the board prints the following:
  SR2:VDD autocomp is not active
and simply halts!!!..

Note: Smart reflex is enabled in the linux kernel...


Any help would be appreciated...

Thanks
Best Regards
Mai
--
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: SR2: VDD autocomp is not active

2009-12-30 Thread tarek attia
Thank you very much :-) .

Appreciate it really .

Regards,

On Wed, Dec 30, 2009 at 8:36 AM, Romit Dasgupta  wrote:
> tarek attia wrote:
>> Thank you :) ,
>>
>> I found the "omap2_clk_init_cpufreq_table" function in the kernel
>> image installed on my board ,and the hanging up is not permanent
>> ,sometimes occurs and some time doesn't .
>>
>> So what the reason may be for this case? ..also what is the usage of
>> "sr_vdd1_autocomp" ??
>>
>> I know that I'm bothering you,,but thanks for your reply in advance :-)
>>
> Nothing to be bothered. Always glad to reply. sr_vdd1_autocomp enables Smart
> reflex voltage autocompensation for VDD1 voltage rail.
> You do seem to have the low level cpufreq driver in place. May be you can try
> with pm branch.
>



-- 
tarek
--
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: SR2: VDD autocomp is not active

2009-12-29 Thread Romit Dasgupta
tarek attia wrote:
> Thank you :) ,
> 
> I found the "omap2_clk_init_cpufreq_table" function in the kernel
> image installed on my board ,and the hanging up is not permanent
> ,sometimes occurs and some time doesn't .
> 
> So what the reason may be for this case? ..also what is the usage of
> "sr_vdd1_autocomp" ??
> 
> I know that I'm bothering you,,but thanks for your reply in advance :-)
> 
Nothing to be bothered. Always glad to reply. sr_vdd1_autocomp enables Smart
reflex voltage autocompensation for VDD1 voltage rail.
You do seem to have the low level cpufreq driver in place. May be you can try
with pm branch.
--
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: SR2: VDD autocomp is not active

2009-12-29 Thread tarek attia
Thank you :) ,

I found the "omap2_clk_init_cpufreq_table" function in the kernel
image installed on my board ,and the hanging up is not permanent
,sometimes occurs and some time doesn't .

So what the reason may be for this case? ..also what is the usage of
"sr_vdd1_autocomp" ??

I know that I'm bothering you,,but thanks for your reply in advance :-)

Regards,

On Tue, Dec 29, 2009 at 4:00 PM, Romit Dasgupta  wrote:
> tarek attia wrote:
>> Basically I'm working on beagleboard rev B5 .
>> I'm not using the pm branch of kevin ,,however I'm using source files
>> from the rowboat project (Android) ,just I enabled the cpufreq and
>> smartreflex in the kernel configuration while I'm building the linux
>> kernel of Android .
>>
>
> Do you have this function in your code?
> 'omap2_clk_init_cpufreq_table' If not please use pm branch.
>



-- 
tarek
--
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: SR2: VDD autocomp is not active

2009-12-29 Thread Romit Dasgupta
tarek attia wrote:
> Basically I'm working on beagleboard rev B5 .
> I'm not using the pm branch of kevin ,,however I'm using source files
> from the rowboat project (Android) ,just I enabled the cpufreq and
> smartreflex in the kernel configuration while I'm building the linux
> kernel of Android .
> 

Do you have this function in your code?
'omap2_clk_init_cpufreq_table' If not please use pm branch.
--
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: SR2: VDD autocomp is not active

2009-12-29 Thread tarek attia
Basically I'm working on beagleboard rev B5 .
I'm not using the pm branch of kevin ,,however I'm using source files
from the rowboat project (Android) ,just IĀ enabled the cpufreq and
smartreflex in the kernel configuration while I'm building the linux
kernel of Android .

Any Idea :-) ??

On Tue, Dec 29, 2009 at 2:30 PM, Romit Dasgupta  wrote:
>
> >>> Each time I enable the ondemand governor ,it works fine for a while
> >>> ,but each time the frequency is changed this messages appears :-
> >>>
> >>> SR1: VDD autocomp is not active
> >>>
> >>> then it works again ,but after small amount of time this messages
> >>> appears followed by hang up for the overall system
> >>>
> >>> SR2: VDD autocomp is not active
> >>>
> >>>
> >> try this:
> >> echo 1 > /sys/power/sr_vdd1_autocomp; echo 1 > /sys/power/sr_vdd2_autocomp
> What platform are you using? Also what is your git HEAD?
> I can smell 3630... ;-) please confirm.



--
tarek
--
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: SR2: VDD autocomp is not active

2009-12-29 Thread Romit Dasgupta
>>> Each time I enable the ondemand governor ,it works fine for a while
>>> ,but each time the frequency is changed this messages appears :-
>>>
>>> SR1: VDD autocomp is not active
>>>
>>> then it works again ,but after small amount of time this messages
>>> appears followed by hang up for the overall system
>>>
>>> SR2: VDD autocomp is not active
>>>
>>>
>> try this:
>> echo 1 > /sys/power/sr_vdd1_autocomp; echo 1 > /sys/power/sr_vdd2_autocomp
What platform are you using? Also what is your git HEAD?
I can smell 3630... ;-) please confirm.
--
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: SR2: VDD autocomp is not active

2009-12-29 Thread tarek attia
Thank you for your reply ,

But another thing appears and also the system hangs up after
activation the ondemand governor

OPP4 doesn't support SmartReflex
SR1: VDD autocomp not activated

P.S:- I did as you told me by echo 1>sys/power/,,,etc


Regards,

On Mon, Dec 28, 2009 at 9:48 AM, Romit Dasgupta  wrote:
>
> tarek attia wrote:
> > Hi all,
> >
> > Each time I enable the ondemand governor ,it works fine for a while
> > ,but each time the frequency is changed this messages appears :-
> >
> > SR1: VDD autocomp is not active
> >
> > then it works again ,but after small amount of time this messages
> > appears followed by hang up for the overall system
> >
> > SR2: VDD autocomp is not active
> >
> >
>
> try this:
> echo 1 > /sys/power/sr_vdd1_autocomp; echo 1 > /sys/power/sr_vdd2_autocomp
>



--
tarek
--
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: SR2: VDD autocomp is not active

2009-12-27 Thread Romit Dasgupta
tarek attia wrote:
> Hi all,
> 
> Each time I enable the ondemand governor ,it works fine for a while
> ,but each time the frequency is changed this messages appears :-
> 
> SR1: VDD autocomp is not active
> 
> then it works again ,but after small amount of time this messages
> appears followed by hang up for the overall system
> 
> SR2: VDD autocomp is not active
> 
> 

try this:
echo 1 > /sys/power/sr_vdd1_autocomp; echo 1 > /sys/power/sr_vdd2_autocomp

--
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


SR2: VDD autocomp is not active

2009-12-27 Thread tarek attia
Hi all,

Each time I enable the ondemand governor ,it works fine for a while
,but each time the frequency is changed this messages appears :-

SR1: VDD autocomp is not active

then it works again ,but after small amount of time this messages
appears followed by hang up for the overall system

SR2: VDD autocomp is not active


Any one has an idea ??


Regards,
-- 
tarek
--
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: error message - SR1/SR2: VDD autocomp is not active

2009-06-07 Thread Elvis Dowson

Hi,
	More specifically, the touchscreen controller doesn't work after it  
resumes. Is there any way to fix this?


Otherwise my only option is to disable patches 0149, 151, 152, 153,  
154, 155, 156, 157, 158, 159, & 168 onwards, generated using the  
command git format-patch master.


Elvis


On Jun 8, 2009, at 9:14 AM, Elvis Dowson wrote:


Hi,
	I have applied the latest linux-omap-pm patches to the  
android-2.6.29 kernel and I get the following error message:


SR2: VDD autocomp is not active
SR1: VDD autocomp is not active

What should I do? It interferes with my touchscreen controller. If I  
disable the SR patches, the build works fine. If I incorporate all  
204 pm patches from the linux-omap-pm branch, I get the above error.


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


error message - SR1/SR2: VDD autocomp is not active

2009-06-07 Thread Elvis Dowson

Hi,
	I have applied the latest linux-omap-pm patches to the android-2.6.29  
kernel and I get the following error message:


SR2: VDD autocomp is not active
SR1: VDD autocomp is not active

What should I do? It interferes with my touchscreen controller. If I  
disable the SR patches, the build works fine. If I incorporate all 204  
pm patches from the linux-omap-pm branch, I get the above error.


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: SR1 / SR2 VDD autocomp is not active error & cannot suspend due to USB

2009-05-19 Thread Elvis Dowson

Hi,
	I managed to get USB suspend to work after enabling the appropriate  
USB suspend/resume option in the kernel. Now it works fine.


However, I still get the SR1 and SR2 VDD autocomp not active errors.  
What could the reason for this be?


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


SR1 / SR2 VDD autocomp is not active error & cannot suspend due to USB

2009-05-19 Thread Elvis Dowson

Hi,
	I am getting the following errors when I connect a USB hub device.  
There are no other USB devices connected to the hub.


SR1: VDD autocomp is not active
SR2: VDD autocomp is not active

After a period of inactivity, it starts to complain and here is an  
output of the error messages. How can I fix it so that atleast the USB  
devices will suspend?


request_suspend_state: wakeup (3->0) at 12501739541 (2000-01-01  
00:18:47.133209230 UTC)

SR1: VDD autocomp is not active
SR2: VDD autocomp is not active
request_suspend_state: sleep (0->3) at 73701507603 (2000-01-01  
00:19:48.332977292 UTC)

PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
musb_bus_suspend 2205: trying to suspend as a_host is_active=1
pm_op(): usb_dev_suspend+0x0/0x18 returns -16
PM: Device usb1 failed to suspend: error -16
PM: Some devices failed to suspend
PM: resume devices took 0.070 seconds
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 1 chg  evt 
done.
suspend: exit suspend, ret = -16 (2000-01-01 00:19:49.390563970 UTC)
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
musb_bus_suspend 2205: trying to suspend as a_host is_active=1
pm_op(): usb_dev_suspend+0x0/0x18 returns -16
PM: Device usb1 failed to suspend: error -16
PM: Some devices failed to suspend
PM: resume devices took 0.070 seconds
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 1 chg  evt 
done.
suspend: exit suspend, ret = -16 (2000-01-01 00:19:50.105102534 UTC)
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
musb_bus_suspend 2205: trying to suspend as a_host is_active=1
pm_op(): usb_dev_suspend+0x0/0x18 returns -16
PM: Device usb1 failed to suspend: error -16
PM: Some devices failed to suspend
PM: resume devices took 0.062 seconds
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 1 chg  evt 
done.
suspend: exit suspend, ret = -16 (2000-01-01 00:19:50.777069089 UTC)
PM: Syncing filesystems ... done.



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