Re: ACPI power event from keyboard

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Perhaps the best kind of driver for these $%^& keys is a flat screwdriver...
This is what I do with these power keys - poke them out!
Simple, free, reliable.

Regards,
--PA


"Gary Chanson" <gchanson@xxxxxxxxxxxxxxxx> wrote in message news:eGIzpbTeHHA.2316@xxxxxxxxxxxxxxxxxxxxxxx
If it takes me more the 50 seconds, I'm loosing money on deal.

--

- Gary Chanson (Windows SDK MVP)
- Abolish Public Schools



"Doron Holan [MS]" <doronh@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:e3XA#dNeHHA.4020@xxxxxxxxxxxxxxxxxxxxxxx
you don't have to pay somebody $10 to do it for you. Using KMDF makes the
job rather easy as well.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Gary Chanson" <gchanson@xxxxxxxxxxxxxxxx> wrote in message
news:Ohen4s2dHHA.588@xxxxxxxxxxxxxxxxxxxxxxx
I wouldn't exactly call writing a filter driver as "free". ;)

--

- Gary Chanson (Windows SDK MVP)
- Abolish Public Schools



"Doron Holan [MS]" <doronh@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:#SI2opzdHHA.4564@xxxxxxxxxxxxxxxxxxxxxxx
or you can disable it for free

http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q302092

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no
rights.


"D Murray" <DMurray@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2BB00A64-8513-4107-A4CE-1681DE4E6175@xxxxxxxxxxxxxxxx
Thanks for the reply Gary,

I found a small shareware program today that solves my problem. It's
appropriately named "I Hate This Key". The program basically extends
the
WinXP functionality (with respect to ACPI power event handling) to
Windows
2000 users. Works great, and for $10 US, it will save my users a lot
of
grief.

"Gary Chanson" wrote:


"Darren Murray" <theeye@xxxxxxxxxxxxxxx> wrote in message
news:OyvkDqgdHHA.5056@xxxxxxxxxxxxxxxxxxxxxxx
I have a large quantity of IBM Netvista desktop machines (W2K)
equipped
with
Belkin ergonomic keyboards. The keyboards have three buttons for
ACPI
power
management (sleep, wake, and power). The users keep hitting the
power
button
accidentally and losing their work. I need to find a way to trap
the
power
event in software and prevent the computers from shutting down.

In Windows XP, the behavior of the power and sleep buttons can be
changed
through the Power Options applet in Control Panel. Unfortunately
this
does
not work with W2K (the only choices are power down or standby)

I used Scancode Map to re-map the power event (E05E) to null.
After
rebooting, I checked the scan code with a keyboard testing program
and
the
key does indeed return a null, but the computer still shuts down
(and
very
quickly I might add)!!

Is there some low level kernel process that detects the power
event
regardless of the registry key mappings? If so, is there a way
that
I
can
trap or block this event in software? If not, I will have to get
out
the
hot
glue gun... (was hoping for a more elegant solution :-)).

TIA for any information.

I've had very mixed results trying to intercept these keys.
I've
been
able to intercept them using WH_KEYBOARD_LL hooks on one machine and
yet
failed with the same code on another very similar machine with the
same
version of Windows installed, with the same patches installed, and
with
the
same keyboard drivers, using the same keyboard. I was not able to
identify
any reason that the machines should have behaved differently, yet
they
did.

A keyboard driver filter might have better success but I have
not
tried
it

--

- Gary Chanson (Windows SDK MVP)
- Abolish Public Schools
















.



Relevant Pages

  • Re: Suitable ntp.conf for public NTP server?
    ... |> The keys I do not have set up yet. ... | functions of ntpdc and ntpq and to prevent strangers from doing so! ... Where I live the power ...
    (comp.protocols.time.ntp)
  • Re: Age of participants
    ... upgrade it to the max with a 16K memory expansion to boost output ... All that power, the sleek lines, function ... keys at the top. ... Metal box, separate keyboard, a dedicated monitor, starter motor noise ...
    (rec.autos.sport.f1)
  • Re: #OWS - Donated G5 towers dont work. Clues?
    ... The little light over the power button blinks twice. ... Connect an Apple keyboard to the G5. ... While holding the above mentioned keys, ... then change the battery on the motherboard. ...
    (comp.sys.mac.system)
  • Re: Keyboard filter driver for the multimedia and power keys on a usb keyboard.
    ... you would filter the appropriate collections based on the hw ID ... for the power button, you should do the same as PS2 ... > What I have is a keyboard with the multi-media keys. ... > ULONG caps; ...
    (microsoft.public.development.device.drivers)
  • Re: Primary Keys and Valid_From / Valid_To
    ... Downside is that you cannot manage holes or - depending on the end of the range you store - articles starting or stopping being available at some point in time. ... power of primary and foreign keys? ... Triggers are no black magic and this does not seem a bad use case for them - combined with a check constraint that ensures valid_to> valid_from. ...
    (comp.databases.oracle.misc)