CE 6.0 SETPOWERMANAGEMENT display ioctl not working for VideoPower



Hi folks, i'm a display driver developer. Recently, ive seen that my a
user-app that uses SETPOWERMANAGEMENT display ioctl to change my drivers
power-state doesnt work properly anymore. (not sure if this happenned after
moving to R2 - but CE 5 works fine as it always has). When debugging my
driver, i find that the SETPOWERMANAGEMENT ioctl from app gets filtered thru
to my driver for VideoPowerStandby and VideoPowerSuspend. The VideoPowerOff
state doesnt get thru (with some middleware debug messages stating something
about this state is not supported). VideoPowerOn doesnt get filtered thru
also - but there is no message at all about what happens for this case. As
such, we can turn off the display but we cant turn it back on. I've found
that an invalid power state of '0' (zero) for the VIDEO_POWER_MANAGEMENT's
PowerState variable does get thru to the driver. This is odd, as its not a
valid state and yet when PowerState is VideoPowerOn, it never reaches the
driver. Can someone help me?
.



Relevant Pages

  • Re: [PATCH 09/10] MCDE: Add build files and bus
    ... in any system, and they are all using the same driver, do not add ... A good reason to add a bus_type would be e.g. if the "display" ... dss drivers from different vendors, ... from the new KMS infrastructure. ...
    (Linux-Kernel)
  • Re: [PATCH 09/10] MCDE: Add build files and bus
    ... Subject: MCDE: Add build files and bus ... I guess your display does not have. ... base driver is a good idea, but it would be helpful to also add the ...
    (Linux-Kernel)
  • Re: [PATCH 09/10] MCDE: Add build files and bus
    ... I guess your display does not have. ... in any system, and they are all using the same driver, do not add ... dss drivers from different vendors, ... Take out the infrastructure for multiple user-interfaces, hardcoding KMS ...
    (Linux-Kernel)
  • Re: Write directly to video
    ... You could paint the framebuffer yourself, if you knew where it was. ... The display driver is not designed to be loaded ... videomemory, but donot know how. ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Problem in setting Display resolution from TD
    ... I do not see the display resolution settings from TD ... driver so it means the driver is working fine in Windows XP Prof.. ...
    (microsoft.public.windowsxp.embedded)