Tuesday, July 8, 2008

One step closer...

One more annoying issue was fixed tonight :)

No more LCD flickering after resume! :)

Problem was in timer1. rx1950 uses it somehow for clocking LCD (Don't know how :)). After booting from windows, linux reuse windows' timer settings, but these settings were lost after suspend/resume. Solution is simple: reconfigure timer1 in rx1950_lcd_power (some bits of TCON, TCFG0, TCFG1, regs TCNTB1, TCMPB1). Patch will be available as soon as embedded.net.ru get up :)

One more hint:

To get rid of 270 degrees screen rotation add following lines at the exports section 
of /etc/init.d/opie:

export QWS_DISPLAY=LinuxFb:Transformed
export QWS_SIZE=240x320