Hi
We are in process of creating the UPS driver. We use Numega Driver
Studio. The problem is that we can not find out in what time the
computer could be switched off. The computer could be switched off
only after all data has been saved.
After receiving “OnShutdown” message the computer switches off in
incorrect way. It means that the same time computer starts to load
Checkdisk runs too.
Tell us something about what should we do to find a solution.
–
Best regards,
Michael mailto:xxxxx@online.nsk.su
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> We are in process of creating the UPS driver. We use Numega Driver
Studio. The problem is that we can not find out in what time the
computer could be switched off. The computer could be switched off
only after all data has been saved.
After receiving “OnShutdown” message the computer switches off in
incorrect way. It means that the same time computer starts to load
Checkdisk runs too.
Tell us something about what should we do to find a solution.
What OS do you mean?
If w2k - then maybe hooking the system power IRP’s completion is a correct
way.
Max
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Can you tell me your project in detail?
We have a complete source code for win2000 and winme!
anbo
----- Original Message -----
From: “Michael Rjabyshkin”
To: “NT Developers Interest List”
Sent: Thursday, February 01, 2001 1:42 PM
Subject: [ntdev] Power shutdown
> Hi
>
> We are in process of creating the UPS driver. We use Numega Driver
> Studio. The problem is that we can not find out in what time the
> computer could be switched off. The computer could be switched off
> only after all data has been saved.
> After receiving “OnShutdown” message the computer switches off in
> incorrect way. It means that the same time computer starts to load
> Checkdisk runs too.
> Tell us something about what should we do to find a solution.
>
>
> –
> Best regards,
> Michael mailto:xxxxx@online.nsk.su
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@edu.21cn.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
b???.???????&?v?'?ׯj?.n?Qyȩf??]?:.?˛???m??֛???zf???%y?ޞ?^?˛??^r*Lzfެ?
???l??ܢ
Hello Anbo,
Friday, February 02, 2001, 9:13:00 AM, you wrote:
AP> Can you tell me your project in detail?
AP> We have a complete source code for win2000 and winme!
We have UPS-device connected to ISA bus. The computer can use battery
as an energy source. When U tell the system “PowerOff” after all data
has been saved and it’s possible to switch off the computer U must
call m_DevPort.outp(0, 0xff). Then the battery power will be cut off
by UPS.
I need to write up drivers for WinNT (NT 4.0 and W2K), Win95 (VxD) and
Win98-WinME (WXD). And there differences about all these systems.
At the present moment we have made it so. By receiving SYSTEM_EXIT
message the driver waits for 4 seconds and cuts off the battery. The
same time everything works properly it works IN A WRONG WAY! So it’s
not a final release and it’ll exist until I find any
information.
–
Best regards,
Michael mailto:xxxxx@online.nsk.su
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Hello Maxim,
Friday, February 02, 2001, 7:40:33 AM, you wrote:
> After receiving “OnShutdown” message the computer switches off in
> incorrect way. It means that the same time computer starts to load
> Checkdisk runs too.
> Tell us something about what should we do to find a solution.
MSS> What OS do you mean?
MSS> If w2k - then maybe hooking the system power IRP’s completion is a correct
MSS> way.
WinNT.
–
Best regards,
Michael mailto:xxxxx@online.nsk.su
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
My suggestion:
Win98&WinME –> Call an DOS application to power off the UPS, it’s very
safe.
WinNT&Win2000 –> Try to integrate with the Windows\UPS options.… (see how
APC UPS do it)
FYI,
Fei
----- Original Message -----
From: “Michael Rjabyshkin”
To: “NT Developers Interest List”
Cc: “NT Developers Interest List”
Sent: Friday, February 02, 2001 5:31 AM
Subject: [ntdev] Re: Power shutdown
> Hello Anbo,
>
> Friday, February 02, 2001, 9:13:00 AM, you wrote:
>
> AP> Can you tell me your project in detail?
> AP> We have a complete source code for win2000 and winme!
>
> We have UPS-device connected to ISA bus. The computer can use battery
> as an energy source. When U tell the system “PowerOff” after all data
> has been saved and it’s possible to switch off the computer U must
> call m_DevPort.outp(0, 0xff). Then the battery power will be cut off
> by UPS.
> I need to write up drivers for WinNT (NT 4.0 and W2K), Win95 (VxD) and
> Win98-WinME (WXD). And there differences about all these systems.
> At the present moment we have made it so. By receiving SYSTEM_EXIT
> message the driver waits for 4 seconds and cuts off the battery. The
> same time everything works properly it works IN A WRONG WAY! So it’s
> not a final release and it’ll exist until I find any
> information.
>
>
> –
> Best regards,
> Michael mailto:xxxxx@online.nsk.su
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hotmail.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> We have UPS-device connected to ISA bus. The computer can use battery
as an energy source. When U tell the system “PowerOff” after all data
has been saved and it’s possible to switch off the computer U must
call m_DevPort.outp(0, 0xff). Then the battery power will be cut off
by UPS.
Have you tried IRP_MJ_SHUTDOWN?
Max
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Hello Maxim,
Saturday, February 03, 2001, 1:11:52 AM, you wrote:
> We have UPS-device connected to ISA bus. The computer can use battery
> as an energy source. When U tell the system “PowerOff” after all data
> has been saved and it’s possible to switch off the computer U must
> call m_DevPort.outp(0, 0xff). Then the battery power will be cut off
> by UPS.
MSS> Have you tried IRP_MJ_SHUTDOWN?
Yes. I tried! Too early.
–
Best regards,
Michael mailto:xxxxx@online.nsk.su
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com