Linux on Asus P750 - display problem

10 views
Skip to first unread message

Banthar Core

unread,
Jan 8, 2009, 7:07:53 AM1/8/09
to Androi...@googlegroups.com
Hi !
I used your modified kernel linux-2.6.25-android to run linux on Asus P750.
With some minor changes, to support my SD card, I was able to even run Android.

But.

I have problem with display. The screen is moved right and up so i can
only see only part of it,
rest is filled with stripes and some junk left from WinCE.

I have no 2nd camera so here's only an image what it looks like:
http://img254.imageshack.us/my.php?image=p750androidbl0.jpg

I tried to randomly modify values in arch/arm/mach-pxa/p535_lcd.c . I
could see some changes but the problem was still the same.

What should i modify to make it work properly and how to determine
correct values ?

my dmesg:
http://rafb.net/p/kvZgGV93.html

some hardware info i was able to find:
http://linux-on-sx1.wiki.sourceforge.net/Asus+P750

lcd can also be JBT6K74 or T6K74
it supports QVGA and VGA (which is disabled in WinCE)

Reed Huang

unread,
Jan 8, 2009, 10:47:12 AM1/8/09
to Androi...@googlegroups.com
Did you try changing the "pixclock" value in the "struct pxafb_mode_info p535_pxafb_modes_toppoly" according to your LCD's clock frequency which can be found in the datasheet of the LCD?


Banthar Core 写道:

banthar

unread,
Jan 8, 2009, 3:42:13 PM1/8/09
to Androi...@googlegroups.com
the only datasheet i was able to find is here
www.tpo.biz/pdf/TD026TTEA1.pdf but it lacks this info.
I scrolled it with other values but there is small bar left and after
some time it loses synchronization.

Reed Huang

unread,
Jan 9, 2009, 11:23:09 PM1/9/09
to Androi...@googlegroups.com
You can use gnu-pxa version HaRET to dump LCD information as follows:

HaRET(14)# dump pxa27x
Run Mode clock: 208.00MHz (*16)
Turbo Mode clock: 520.00MHz (*2.5, active)
Memory clock: 208.00MHz (/2)
System bus clock: 208.00MHz
memclk_frequency_10khz: 20800
lcdlck_frequency_10khz: 10400
lcdlck_pixclock: 153846 pcd=8

In which the "lcdlck_pixclock" might be the value you are looking for.

The HaRET can be downloaded here:
http://sites.google.com/site/siteofhx/Home/android/relevant-porting-files


banthar 写道:

banthar

unread,
Jan 10, 2009, 3:07:49 PM1/10/09
to Androi...@googlegroups.com
Thanks a lot !
That was it. here are correct values if anybody's interested:

{
.pixclock = 153846,
.bpp = 16,
.xres = 240,
.yres = 320,
.hsync_len = 2,
.vsync_len = 2,
.left_margin = 1,
.upper_margin = 93,
.right_margin = 2,
.lower_margin = 1,
.sync = 0,
},


2009/1/10 Reed Huang <reed....@gmail.com>:
Reply all
Reply to author
Forward
0 new messages