|
H/PC Sensei Posts: | 1,330 |
Location: | North of England | Status: | |
| Folks, a long shot I know, but I thought I'd ask.
Is there any way that anyone knows of forcing a driver reset on Windows CE?
I'm specifically after causing the MQ200 driver to reinitialise and re-read the registry settings without having to warm reboot the machine... If I can get this working, then I'll have a fairly decent control panel applet for the G138.
I'll ask on the microsoft.public.windowsce developer groups too... |
|
|
|
H/PC Oracle Posts: | 16,175 |
Location: | Budapest, Hungary | Status: | |
| you can have the display driver reread the registry settings, if thats what you need, szilamer knows the details |
|
|
|
H/PC Sensei Posts: | 1,330 |
Location: | North of England | Status: | |
| that's exactly what I'm after
Can you pass this thread onto szilamer and get their input? |
|
|
|
| cmonex and chiark
The method cmonex metioned only works for backlight.
HANDLE hEvent = CreateEvent(NULL, TRUE, TRUE, L"BackLightChangeEvent" );
SetEvent(hEvent);
This one rereads the registry settings only for backlight.
But maybe you should run itsme util's testpi ( from xda-developers ) on Smartbook, and maybe you'll find your event. I don't know.
|
|
|
|
H/PC Sensei Posts: | 1,330 |
Location: | North of England | Status: | |
| Cheers for that, I'll give it a go - I don't know of anything that forces a re-read of the registry short of a reinit of the driver. Perhaps there is a way... No, scrap that, there *must* be a way |
|
|
|
| Is this going to allow setting external resolution and so on? If so, great, i've been trying to create something but with little sucess.
I dont think its possible to 'refresh' a driver, based on the fact that Nyditot still requires you to soft reset.
EDIT: Is this applet in EVC and will you be making the source code available?
EDIT2: Any chance of screenshots of the work in progress? Edited by chazco 2006-09-11 2:16 PM
|
|
|
|
H/PC Sensei Posts: | 1,330 |
Location: | North of England | Status: | |
| Chaz, another applet manages to do it for the MQ200... The airspeak or wyse 3820tx seem to allow it. And yes, not at the moment, no, to the other questions |
|
|
|
H/PC Oracle Posts: | 16,175 |
Location: | Budapest, Hungary | Status: | |
| Quote chazco - 2006-09-11 7:23 PM
I dont think its possible to 'refresh' a driver, based on the fact that Nyditot still requires you to soft reset.
nyditot 4.x and newer will not require a reset.. only for the first time, after that it will be able to do all changes on the fly on ce.net! |
|
|
|
H/PC Sensei Posts: | 1,330 |
Location: | North of England | Status: | |
| could be time to pull out an API spy then |
|
|
|
| Any progress? I'm really interested... |
|
|
|
H/PC Sensei Posts: | 1,330 |
Location: | North of England | Status: | |
| Nothing yet, no, still no closer to the reset |
|
|
|
H/PC Sensei Posts: | 1,330 |
Location: | North of England | Status: | |
| Looks like I've found a likely api call - ChangeDisplaySettingsEx...
I'll have a play, but I don't have the 138 to hand at the moment - bah! |
|
|
|
| Good to hear, hope it works |
|
|
|
H/PC Sensei Posts: | 1,330 |
Location: | North of England | Status: | |
| That makes two of us |
|
|
|
| So, did it work? |
|
|