Hello,
I'm running the OE linux for quite some time now on the PanelCard. But since today, my system is crashing when I wake up the system. So when I launch the Linux, I don't have any problems, and when I keep on using it, there is nothing wrong. But when I don't use the linux, the screen go's black, and when at that point, I touch my mouse or keyboard to wake up the system, the screen does react and shows me the right stuff, but at that point the system crashes.
I know my explanation isn't very clear but it's hard to explain what's going wrong... But to try again: when I wake up the system, it reacts for some seconds and than crashes.
I have no clue what the problem could be but I'll try to find it out myself also of course..
Kind regards,
Jan Pannecoeck

Re: OpenEmbedded Crash after "screensaver"
Maybe interesting to know:
When I activate the screensave myself using "xset s activate", the system also crashes when I wake up the system again... So it's not only when the system activated the screensaver itself...
Jan
Re: OpenEmbedded Crash after "screensaver"
This seems to be a problem from an first hardware revision we thought is fixed. Can you try this software workaround (kernel patch):
http://armbedded.eu/download/support/lcd-startup.patch
Re: OpenEmbedded Crash after "screensaver"
Hello,
I tried the kernel patch, and I don't have the problem any-more, so that should be ok now... But I had to change some things to the patch.
First of all, the udelay isn't included so at the top of the page:
#include < asm/delay.h >
Then the patch says:
if (on)
for(int i = 0; i < 10; i++) {
at91_set_gpio_value(AT91_PIN_PC10, 0); /* power up */
at91_set_gpio_value(AT91_PIN_PC10, 1); /* power down */
if(i < 4)
udelay(1);
}
at91_set_gpio_value(AT91_PIN_PC10, 0); /* power up */
else
at91_set_gpio_value(AT91_PIN_PC10, 1); /* power down */
But this could not work, first of all, after the if(on) there should be a { and one } before the else. Second, the for(int i = 0; i < 10; i++) gives me an error about C99, so this should be:
int i;
for(i=0; i < 10; i++){
...
}
But thanks for the patch! Now the system isn't crashing anymore!
Re: OpenEmbedded Crash after "screensaver"
I'm sorry, it was just a quick patch, which I thought to have compile tested, but unfortunately I didn't use a SAM9261 config during the compile, so I couldn't see the errors. I have updated the patch now on the server.
Re: OpenEmbedded Crash after "screensaver"
No problem, fixing those minor problems was only some seconds work so that wasn't a problem! I'm already happy that you could help me with this problem! And that it's fixed now...
Thank you again!