DEVICE_CAPABILITIES dependent on device or system

Hi PPl,

I have a PCMCIA modem for which different machines report differnt values
for the DEVICE_CAPABILITIES structure.
Is this dependent on the device or OS or BIOS ?

Atleast the values for following variables of DEVICE_CAPABILITIES structure
should be dependent on the device isin’t it ?
ULONG WakeFromD0:1,
ULONG WakeFromD1:1,
ULONG WakeFromD2:1;
ULONG WakeFromD3:1;
DEVICE_POWER_STATE DeviceState[PowerSystemMaximum];
SYSTEM_POWER_STATE SystemWake;
DEVICE_POWER_STATE DeviceWake;

Pls correct me if i am wrong

Regards
AN


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

Your device is just part of the complex hardware that implements the
wakeup. As far as I understand, the OS is not really interested to know
what your device supports. It rather needs to know what it supports when
plugged into the computer it runs on. So, the bus driver for your device
initially generates the DEVICE_CAPABILITIES according to its understanding
of what the “bus” can support. This may vary from “bus” to “bus”. Probably
it can also vary from bus driver to bus driver.

— “Anandhi Dhanabalan - CTD, Chennai.” wrote:
> Hi PPl,
>
> I have a PCMCIA modem for which different machines report differnt values
> for the DEVICE_CAPABILITIES structure.
> Is this dependent on the device or OS or BIOS ?
>
> Atleast the values for following variables of DEVICE_CAPABILITIES structure
> should be dependent on the device isin’t it ?
> ULONG WakeFromD0:1,
> ULONG WakeFromD1:1,
> ULONG WakeFromD2:1;
> ULONG WakeFromD3:1;
> DEVICE_POWER_STATE DeviceState[PowerSystemMaximum];
> SYSTEM_POWER_STATE SystemWake;
> DEVICE_POWER_STATE DeviceWake;
>
>
> Pls correct me if i am wrong
>
> Regards
> AN
>
> —
> You are currently subscribed to ntdev as: xxxxx@yahoo.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/


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

The device capabilities are heavily dependent on the system. Most
systems, for example, don’t provide aux current to PCMCIA devices in
anything lower than system sleep state S1. This means that your device
can’t wake those machines if it needs aux current.

Information about which sleep states maintain power to specific
subsystems is transferred to the OS by the ACPI BIOS. A well-built,
14-cell battery laptop may choose to enable wake from any state.
Another, a 3-cell design, may decide that no extra current fits within
the power budget, so it won’t support any wakeup at all.

Most desktop machines are pretty simple. They tend to have plenty of
aux power. On the other hand, they frequently don’t bother to specify
that it’s there in the BIOS, which means that the OS has to assume that
it’s not available, leading to desktop machines with very few wakeup
capabilities.

  • Jake

-----Original Message-----
Subject: Re: DEVICE_CAPABILITIES dependent on device or system
From: Ntdev Reader
Date: Thu, 17 Jan 2002 13:04:24 -0800 (PST)
X-Message-Number: 31

Your device is just part of the complex hardware that implements the
wakeup. As far as I understand, the OS is not really interested to know
what your device supports. It rather needs to know what it supports when
plugged into the computer it runs on. So, the bus driver for your device
initially generates the DEVICE_CAPABILITIES according to its
understanding
of what the “bus” can support. This may vary from “bus” to “bus”.
Probably
it can also vary from bus driver to bus driver.

— “Anandhi Dhanabalan - CTD, Chennai.”
wrote:
> Hi PPl,
>
> I have a PCMCIA modem for which different machines report differnt
values
> for the DEVICE_CAPABILITIES structure.
> Is this dependent on the device or OS or BIOS ?
>
> Atleast the values for following variables of DEVICE_CAPABILITIES
structure
> should be dependent on the device isin’t it ?
> ULONG WakeFromD0:1,
> ULONG WakeFromD1:1,
> ULONG WakeFromD2:1;
> ULONG WakeFromD3:1;
> DEVICE_POWER_STATE DeviceState[PowerSystemMaximum];
> SYSTEM_POWER_STATE SystemWake;
> DEVICE_POWER_STATE DeviceWake;
>
>
> Pls correct me if i am wrong
>
> Regards
> AN
>


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