[Gta04-owner] Linux 3.2-rc2 on GTA04
NeilBrown
neilb at suse.de
Sat Nov 26 03:31:55 CET 2011
On Fri, 25 Nov 2011 00:13:08 +0100 Johannes Schauer <j.schauer at email.de>
wrote:
> Hi,
>
> sorry for the wait but my battery died and I'm recharging them using my
> nokia phone since apparently my gta04 refuses to charge them.
>
> On Fri, Nov 25, 2011 at 09:54:10AM +1100, NeilBrown wrote:
> > So you don't see::
> >
> > [ 20.786285] td028ttec1_panel_enable()
> > [ 20.790069] gta04_enable_lcd()
> >
> > at all?
>
> there is, earlier in the boot process (this is probably why i can see
> the penguin properly)
>
> [ 19.072143] Console: switching to colour frame buffer device 128x48
> [ 19.091003] td028ttec1_panel_enable()
> [ 19.094818] gta04_enable_lcd()
> [ 19.114501] td028ttec1_panel_resume()
> [ 19.333587] driver: 'omapfb': driver_bound: bound to device 'omapfb'
>
Hi,
I think I've managed to reproduce your problem by using
TERM=linux setterm -blank force < /dev/tty1
to blank the screen and
TERM=linux setterm -blank poke < /dev/tty1
to wake it up again - this doesn't unblank properly just like you reported.
It seems that
https://gitorious.org/gta04/gta04-kernel/commit/e871b67b2a52111c036995004bb126f28ba2c5af
added a call to ->platform_disable in td028ttec1_panel_suspend(), but didn't
add a matching call to ->platform_enable in td028ttec1_panel_resume().
So this patch might fix it.
diff --git a/drivers/video/omap2/displays/panel-tpo-td028ttec1.c b/drivers/video/omap2/displays/panel-tpo-td028ttec1.c
index bbbf1c3..224a9ff 100644
--- a/drivers/video/omap2/displays/panel-tpo-td028ttec1.c
+++ b/drivers/video/omap2/displays/panel-tpo-td028ttec1.c
@@ -379,6 +379,9 @@ static int td028ttec1_panel_resume(struct omap_dss_device *dssdev)
return -EIO;
// turn on backlight
+ if (dssdev->platform_enable)
+ dssdev->platform_enable(dssdev);
+
dssdev->state = OMAP_DSS_DISPLAY_ACTIVE;
return rc ? -EIO : 0;
Please let me know if it helps.
NeilBrown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20111126/180c96b5/attachment.bin>
More information about the Gta04-owner
mailing list