[Openchrome-users] 1024x600 panel size
Alan Bell
alan.bell
Mon Oct 13 02:48:55 PDT 2008
Hi,
I am working with Elonex on their webbook laptop. It has a via chipset
and a 1024x600 LCD. We were using the binary drivers from VIA patched to
support a 1024x600 resolution, but the binaries are locked to the kernel
version so keep breaking. The OpenChrome drivers seem to work OK with a
tweak to the xorg.conf to set the resolution to 1024x600, but with the
new xorg and the empty xorg.conf I think we need to fix the drivers so
it probes the resolution correctly. I think I need to patch via_modes.h,
in particular adding a line in the DisplayModeRec function. How do I
write one of these lines? What do all the numbers mean? Are there other
places I would need to add bits to support 1024x600?
static DisplayModeRec ViaPanelModes[] = {
{ MODEPREFIX("640x480"), 25312, 640, 656, 752, 800, 0, 480, 489, 491, 525, 0, V_NHSYNC | V_NVSYNC, MODESUFFIX },
{ MODEPREFIX("800x600"), 39822, 800, 840, 968, 1056, 0, 600, 600, 604, 628, 0, V_PHSYNC | V_PVSYNC, MODESUFFIX },
Alan Bell
http://webbookblog.com
More information about the Openchrome-users
mailing list