BIOS Power notification in APM System

Hi,
I am trying to get a notification from an APM BIOS when a usb bluetooth
device is switched ON/OFF and also on its WAKEUP. It appears that there are
2 methods to do this

  1. Manage CONFIG_APM event at registered driver routine
  2. Monitoring WM_POWERBROADCAST (APP Level Message Hooking) using
    SHELL_HookSystemBroadcast
    The event number passed up form APM BIOS on wakeup, power on and power off
    is specified also. This comes within the range alloacted for OEM specified
    events.
    the apm1.2 spec has said the apm driver has to poll the bios etc. how is
    this done.
    I think Method no 1 can only be used in a vxd and as I am developing a wdm
    driver, does anybody have any clue on how to implement the
    SHELL_HookSystemBroadcast from within a wdm driver?
    Note that this is targeted for win98 platform only as this has to support
    the APM Bios. In the case of ACPI all this is talen care of by the ACPI bus
    driver.
    Thanks
    Anne
    Anne Elizabeth Philip
    TDK Systems Europe
    126 Colindale Avenue
    London. NW9 5HD
    Tel: +44(0)208 938 1014
    Fax: +44(0)208 905 8608
    WWW:http://www.tdksys.com
    email:xxxxx@tdksys.com

TDK
at the heart of it

You wouldn’t necessarily have to do it from the WDM driver – you could have
a companion Application that watched WM_POWERBROADCAST and sent IOCTLs to
your WDM driver when your desired power change occurred.

Lori
xxxxx@pstech.com http://www.pstech.com

Hi,
Sounds plausible but this is for a device and we can’t ship an application
also with the driver. The driver has to send the receive the notification
from the BIOS and send some sort of notification to the upper driver. That
is the problem.
Thanks,
Anne

-----Original Message-----
From: Lori Pape [mailto:xxxxx@pstech.com]
Sent: 29 November 2000 03:40
To: NT Developers Interest List
Subject: [ntdev] RE: BIOS Power notification in APM System

You wouldn’t necessarily have to do it from the WDM driver – you could have
a companion Application that watched WM_POWERBROADCAST and sent IOCTLs to
your WDM driver when your desired power change occurred.

Lori
xxxxx@pstech.com http://www.pstech.com


You are currently subscribed to ntdev as: xxxxx@tdksys.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

> Sounds plausible but this is for a device and we can’t ship an application

also with the driver

Why not?
For instance, nVidia ships an application and the shell extension together
with their 3D processor driver kit.

Max