Hi list,

I'm developing a driver for a PCI express card, but I have an issue
with remote wakeup.

Althought the option "Allow this device to wake the computer" is set,
and the device is still
switched on while the system is sleeping, the device don't wake the
system.

I checked with a protocol analyser, the device send Power Management
Events, but system
don't wake.

The only documents I found on the internet specifies Vista handle PME,
but don't specify how !

Does PME handling need some specific registry entries, as MSI ?
Does someone activate PCI express PME handling ?
Any idea, or hint ?

Thanks
--
Benedict

Re: PCI express Power management event with Vista by Eliyas

Eliyas
Wed Aug 22 22:47:22 CDT 2007

What type of device is this? Are you sending wait-wake irp to the bus?

--
- This posting is provided "AS IS" with no warranties, and confers no
rights.



Re: PCI express Power management event with Vista by Benoit

Benoit
Thu Aug 23 02:15:08 CDT 2007

Hi,

Thanks for reply

> What type of device is this?

This is a TV Tuner device


> Are you sending wait-wake irp to the bus?

Of course.
In fact this driver is based on a PCI driver for the same kind TV
Tuner, and remote wake up work perfectly well with this initial
driver.

I read in microsoft document "CPA070_WH06.ppt" (page 8) : "By default,
Windows Vista starts in PCI compatibility mode. No PCI Express
features assumed or enabled".

So, may be, it is only an activation issue, do you know how to enable
PCI Express features in Vista ?

Regards
--
Benedict


Re: PCI express Power management event with Vista by Harison213

Harison213
Thu Aug 23 03:56:04 CDT 2007

Wake-up mechanism from a driver point of view shouldn't be different and if
the driver used to work on a similar PCI device, it should work on the new
device out of the box.

If you see a PME event has been generated, system should wake-up regardless
of the OS/driver as at this stage all what's happening is in the system
board/hardware context. Check the bus power management capabilities to see if
it supports wakes from required states. Also check/upgrade BIOS and test this
on as many systems as you have available.

In my experience many PCI Express systems today aren't fully compliant with
PCIE spec specially when it comes to power management.

Harison

--
There are 10 kinds of people in the world: those who understand binary, and
those who don''t!