Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Dynamically changing the WinCE Screen resolution

339 views
Skip to first unread message

adeed Mohamed

unread,
Mar 16, 2006, 9:52:19 PM3/16/06
to
I am looking for a way to dynamically change Wince Screen resolution. I have
Alchamy Dev Kit(AU1200 processor).
When I connect a 17 inch flat panel Monitor to the Dev board, Flat panel
complains about it.

Thanks in advance


Gpeica

unread,
Mar 17, 2006, 3:32:45 AM3/17/06
to
You can reconfig your registry settings. And then warmboot the Windows
CE

Gpeica

adeed Mohamed

unread,
Mar 17, 2006, 3:46:34 PM3/17/06
to
Gpeica,

How to add the registry component. I entered the regedit command on the RUN
applet. It does not recognize it.
Do I need to add registry view component?

I cannot find any component dealing with the registry ubder the platform
builder catalog.
I am new to wince.
Thanks alot for you help
Adeed

"Gpeica" <gpe...@gmail.com> wrote in message
news:1142584365....@e56g2000cwe.googlegroups.com...

voidcoder

unread,
Mar 17, 2006, 4:32:53 PM3/17/06
to
There is no standard regedit tool for Windows CE, you can
use a third party one instead.

But it seems to me you don't really need it. In case you are using
Platform Builder to build your own os design, just look through
the platform *.REG files: Platform.reg, Project.reg or may be
your video driver has a separate *.REG file. So look through
the REGs to find and modify the display driver settings.
Then rebuild the os image for the changes to take effect.

If you still want to to modify registry at run-time,
you can use Remote Regsitry Editor tool. Have a
look at "Tools" menu in Platform Builder.


"adeed Mohamed" <ade...@hotmail.com> wrote in message news:%23mBSnPg...@TK2MSFTNGP12.phx.gbl...

adeed Mohamed

unread,
Mar 19, 2006, 4:17:17 AM3/19/06
to
I am using BSP package for Alchemy board:au1200 MIPS processor.
I found the Platform.reg. It's located in the release/debug folder. Below is
the some of the code related with the LCD display:

; @CESYSGEN IF CE_MODULES_DISPLAY
IF BSP_NODISPLAY !
;[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
; "Display"="ddi_nop.dll"
#include "$(DRIVERS_DIR)\display\au1200lcd\ddi_au1200lcd.reg"

ENDIF BSP_NODISPLAY !
; @CESYSGEN ENDIF CE_MODULES_DISPLAY

It includes ddi_au1200lcd.reg file. This comes with the Display driver of
the BSP ( downloaded from BSQUARE).

I do not understand what BSP_NODISPLAY! means. Is it including the code
between BSP_NODISPLAY! and ENDIF BSP_NODISPLAY!

Thanks in advance

"voidcoder" <void...@yahoo.com> wrote in message
news:uXdwXpgS...@tk2msftngp13.phx.gbl...

voidcoder

unread,
Mar 19, 2006, 5:23:57 AM3/19/06
to
BSP_NODISPLAY is an environment variable. This is a kind of
filtering, if you don't add display support to your os design then
you have to define BSP_NODISPLAY=1. This can be done
either through the "Platform Settings -> Environment" or
WINCE500\PLATFORM\YourPlatformName\YouPlatformName.bat.

The driver settings are included from the separate REG,
you can find it here:

WINCE500\PLATFORM\YourPlatformName\Drivers\display\au1200lcd\ddi_au1200lcd.reg

or

WINCE500\PLATFORM\YourPlatformName\Src\Drivers\display\au1200lcd\ddi_au1200lcd.reg


"adeed Mohamed" <ade...@hotmail.com> wrote in message

news:O8H3xXz...@TK2MSFTNGP12.phx.gbl...

adeed Mohamed

unread,
Mar 19, 2006, 1:18:34 PM3/19/06
to
The ddi_au1200lcd.reg file contains this code. I think I have to modify the
"Width" and "Height" parameters before runtime.
IS there any way can know what type of a diplay monitor is attached and
modify the registry?
Or I have to write an application where at runtime it can be manually
modified the resolution of the LCD Display.
Thanks for your help


[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="ddi_au1200lcd.dll"

[HKEY_LOCAL_MACHINE\Drivers\Display\AU1200LCD]
"Width"=dword:280
"Height"=dword:1e0
"Bpp"=dword:10
"ActiveDisp"=dword:1
"Flags"=dword:2
"Rotation"=dword:0

"voidcoder" <void...@yahoo.com> wrote in message

news:O8lm28zS...@TK2MSFTNGP12.phx.gbl...

Voidcoder

unread,
Mar 20, 2006, 3:01:01 AM3/20/06
to
>> IS there any way can know what type of a diplay monitor is attached and

There is no standard way to detect the display type. Quite the contrary
the most of drivers require the display type and mode to be passed
by you through the registry or through the boot args (eg. stnadard VGA Flat).


"adeed Mohamed" <ade...@hotmail.com> wrote in message news:%23PNySG4...@TK2MSFTNGP09.phx.gbl...

Bryan Bassett

unread,
Mar 20, 2006, 2:02:53 PM3/20/06
to
There is a standard way to know what type of monitor is attached. The
VGA and DVI interfaces both have an I2C interface that allows the video
controller to query the monitors capabilities and identification (EDID
values). Most XP video drivers are written to support this. Most CE
drivers are probably not. If your board has the I2C lines from the VGA
connector wired to the video controller and you have the source code and
register definitions, you could make it work.

Bryan Bassett
Radiant Systems, Inc.

adeed Mohamed

unread,
Mar 21, 2006, 8:47:35 AM3/21/06
to
Finally,
I talked to the BSquare( The company that developed the BSP for au1200).
There is an interface code for the I2C bus.
There is also a rotary switch on the dev board that you can manually change
the resolution of the monitor.
I found the code that handles the switch.
I am not familiar with I2C bus and its protocle. I guess it's similar to
RS485 protocle. If you know any website that deals EDID protocle, let me
know.

Thank you guys for your help.

Thanks
Adeed

"Bryan Bassett" <bbassett> wrote in message
news:uJ$ZlDFTG...@TK2MSFTNGP14.phx.gbl...

0 new messages