Hi Dmitry,
On Thu, Oct 25, 2007 at 12:28:33AM +0400, Dmitry Artamonow wrote:
> On 14:34 Wed 24 Oct , Paul Sokolovsky wrote:
> > The current replacment list for HH.org kernel discussion is
> > kernel-bugs at handhelds.org. Please forward your message there.
>
> Ok. Hope now it's the right place for this topic :)
> Comments are welcome.
[snip]
> Then I dug into kernel code, but since I'm not a kernel hacker at all,
> the only thing I tried was commenting out mq1100fb_power call from
> mq1100fb_blank function in drivers/video/mq1100fb.c :
> --------------------------------------------------------------------------
> diff -u -r1.45 mq1100fb.c
> --- drivers/video/mq1100fb.c 18 Jul 2007 19:21:42 -0000 1.45
> +++ drivers/video/mq1100fb.c 21 Oct 2007 08:25:30 -0000
> @@ -318,7 +318,7 @@
> * blank_mode == 4: powerdown
> */
>
> - mq1100fb_power (info, blank_mode);
> +/* mq1100fb_power (info, blank_mode); */
>
> return 0;
> }
>
>
> --------------------------------------------------------------------------
> Suddenly it turned out to be a solution - screen was blanking anyway
> (seemed that it's somehow handled by drivers/video/backlight/h2200_lcd.c
> driver (and maybe backlight driver too)), but on unblanking it has all of
> its contents intact and X finally worked. Still I can't understand how it
> works and how screen blanking differs from device suspending which seemed
> to call the same mq1100fb_power without any problems.
Well, I recalling that I've spent a lot of time trying to get LCD/fb
blanking/unblancking (suspend/resume) to work correctly on h5555..
ugh. That's pain. And IIRC h5555 still have some issues: if hreset
issued with blanked LCD, h5555 will fail to display anything until
blank/unblank sequence.
Why am I talking about h5555? h2200 and h5555 are both using mq1100fb..
I wonder, did h2200 work correctly on some of -hh kernels? Did you try
some recent 2.6.15-hh? Maybe h5555 patches had broke h2200?.. Or maybe
they done something good for mq1100fb indeed, but
drivers/video/backlight/h2200_lcd.c stayed "unfixed"?
-- Anton Vorontsov email: cbou_at_mail.ru backup email: ya-cbou_at_yandex.ru irc://irc.freenode.net/bd2Received on Wed Oct 24 2007 - 20:21:31 EDT
This archive was generated by hypermail 2.2.0 : Wed Oct 24 2007 - 20:21:44 EDT