Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Re: Calling ACPI on Vista

Reply
Thread Tools Display Modes

Re: Calling ACPI on Vista

 
 
Doron Holan [MSFT]
Guest
Posts: n/a

 
      05-28-2009
how did you install your WDF driver? what hardware ID did you use to
install it (assuming it is a pnp driver, not a legacy driver). you cannot
just send ACPI ioctls down any device stack. you have to be installed on the
right device stack (as identified by the hardware ID) to send down the acpi
request.

d

--

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


"jczernia" <> wrote in message
news:1d765854-6218-44e3-8e60-...
> Hi
> I spent several hours on evaluating ACPI control method on Vista and
> honestly I am in no way out point. I read MSFT white paper "ACPI
> Driver Interface in Windows Vista" and it seems to be piece of cake.
> Just send IRP down the stack. So in my WDF driver (FDO) took my
> default IOTarget and called WdfIoTargetSendInternalIoctlSynchronously
> (used some dummy ACPI request). Unfortunately I got
> STATUS_INVALID_DEVICE_REQUEST status as a result. In my understanding
> it means that IOCTL_ACPI_xxx is not supported somewhere below my
> driver. To avoid issues related to my driver I used WDF serial driver
> sample from WDK, but have the same result. So either there is a bug in
> my understanding or my dummy ACPI request causes the issue (is it
> possible? I have used few different ones). How to determine that my
> IOCTL reaches acpi.sys? Any other suggestions what might be wrong are
> welcome.
> Thank you in advance
> Regards
> Jacek


 
Reply With Quote
 
 
 
 
Doron Holan [MSFT]
Guest
Posts: n/a

 
      06-02-2009
no, not really. just b/c acpi enumerated the device does not mean that it
supports any acpi methods.

d

--

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


"jczernia" <> wrote in message
news:93c3d2c1-2e80-4a8c-a3d6-...
> Thank you, device stack was one of my concerns, that's why I deceided
> to use WDK sample (wdfserial) which seems to be in the right device
> stack (in device manager window (devices by connection) it appears in
> ACPI tree). Am I right? Is thare any other sample wdf driver which
> should I use instaead of wdfserial?
> Regards
> Jacek


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista ACPI Issue Matt Windows Vista Installation 2 01-30-2008 02:30 AM
cannot install Vista ACPI error Salsakidd Windows Vista Installation 6 10-10-2007 10:12 AM
ACPI and Vista sLyz0r Windows Vista Installation 2 03-05-2007 02:14 AM
ACPI Problem Windows Vista RC1 LewisW Windows Vista General Discussion 0 10-16-2006 07:05 AM
Windows Vista & ACPI marksmith Windows Vista Drivers 6 07-22-2006 11:24 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59