ACPI Methods Call

Hi Mr Lev Zlotin;

I am developing a driver which in turn must call ACPI methods. I want to call ACPI methods as described in this link http://www.osronline.com/showThread.cfm?link=86093.

Can you provide me some sample code about calling methods of ACPI.

Thanks in advance

Kabil Akpýnar


Get ideas on sharing photos from people like you. Find new ways to share.
http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Photo_Gallery_082008

These IOCTLs are documented in the WDK Docs now.

http://msdn.microsoft.com/en-us/library/bb727404.aspx

Sample code? No, but it’s pretty straight forward…

Peter
OSR

Hi,

Because my platform is Win XP, IOCTL_ACPI_EVAL_METHOD needs to be used.
what I want to figure out is how to access ACPI Physical device object, and send IRP to it. And yes I am new to driver development.

Kabil

Date: Mon, 18 Aug 2008 10:06:15 -0400> From: xxxxx@osr.com> To: xxxxx@lists.osr.com> Subject: RE:[ntdev] ACPI Methods Call> > These IOCTLs are documented in the WDK Docs now.> > http://msdn.microsoft.com/en-us/library/bb727404.aspx\> > Sample code? No, but it’s pretty straight forward…> > Peter> OSR> > > —> NTDEV is sponsored by OSR> > For our schedule of WDF, WDM, debugging and other seminars visit: > http://www.osr.com/seminars\> > To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


See what people are saying about Windows Live. Check out featured posts.
http://www.windowslive.com/connect?ocid=TXT_TAGLM_WL_connect2_082008

If you are a pnp driver loaded on the acpi enumerated stack, then this is easy. The PDO passed to you in your AddDevice routine is the acpi PDO and you will send io to the device returned to you by IoAttachDeviceToDeviceStack. If you are not in the acpi stack, it can be difficult to nearly impossible to find the right ACPI PDO

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 8:30 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

Hi,

Because my platform is Win XP, IOCTL_ACPI_EVAL_METHOD needs to be used.
what I want to figure out is how to access ACPI Physical device object, and send IRP to it. And yes I am new to driver development.

Kabil


Date: Mon, 18 Aug 2008 10:06:15 -0400
From: xxxxx@osr.com
To: xxxxx@lists.osr.com
Subject: RE:[ntdev] ACPI Methods Call

These IOCTLs are documented in the WDK Docs now.

http://msdn.microsoft.com/en-us/library/bb727404.aspx

Sample code? No, but it’s pretty straight forward…

Peter
OSR


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


See what people are saying about Windows Live. Check out featured posts. Check It Out!http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</http:>

Can I force my driver loaded by acpi emumerated stack then? Else enumarating seems hopeless. But how Lev Zlotin managed to call this ACPI methods? -> http://www.osronline.com/showThread.cfm?link=86093

Is that so hard?

Kabil

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 09:16:31 -0700Subject: RE: [ntdev] ACPI Methods Call

If you are a pnp driver loaded on the acpi enumerated stack, then this is easy. The PDO passed to you in your AddDevice routine is the acpi PDO and you will send io to the device returned to you by IoAttachDeviceToDeviceStack. If you are not in the acpi stack, it can be difficult to nearly impossible to find the right ACPI PDO

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 8:30 AMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

Hi, Because my platform is Win XP, IOCTL_ACPI_EVAL_METHOD needs to be used.what I want to figure out is how to access ACPI Physical device object, and send IRP to it. And yes I am new to driver development. Kabil

Date: Mon, 18 Aug 2008 10:06:15 -0400> From: xxxxx@osr.com> To: xxxxx@lists.osr.com> Subject: RE:[ntdev] ACPI Methods Call> > These IOCTLs are documented in the WDK Docs now.> > http://msdn.microsoft.com/en-us/library/bb727404.aspx\> > Sample code? No, but it’s pretty straight forward…> > Peter> OSR> > > —> NTDEV is sponsored by OSR> > For our schedule of WDF, WDM, debugging and other seminars visit: > http://www.osr.com/seminars\> > To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

See what people are saying about Windows Live. Check out featured posts. Check It Out!— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Get ideas on sharing photos from people like you. Find new ways to share.
http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Photo_Gallery_082008

Is there a method on a specific device instance that you want to eval? What exactly are you trying to do/accomplish by evaluate a method?

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 1:24 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

Can I force my driver loaded by acpi emumerated stack then? Else enumarating seems hopeless. But how Lev Zlotin managed to call this ACPI methods? -> http://www.osronline.com/showThread.cfm?link=86093

Is that so hard?

Kabil


From: xxxxx@microsoft.com
To: xxxxx@lists.osr.com
Date: Mon, 18 Aug 2008 09:16:31 -0700
Subject: RE: [ntdev] ACPI Methods Call

If you are a pnp driver loaded on the acpi enumerated stack, then this is easy. The PDO passed to you in your AddDevice routine is the acpi PDO and you will send io to the device returned to you by IoAttachDeviceToDeviceStack. If you are not in the acpi stack, it can be difficult to nearly impossible to find the right ACPI PDO

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 8:30 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

Hi,

Because my platform is Win XP, IOCTL_ACPI_EVAL_METHOD needs to be used.
what I want to figure out is how to access ACPI Physical device object, and send IRP to it. And yes I am new to driver development.

Kabil


Date: Mon, 18 Aug 2008 10:06:15 -0400
From: xxxxx@osr.com
To: xxxxx@lists.osr.com
Subject: RE:[ntdev] ACPI Methods Call

These IOCTLs are documented in the WDK Docs now.

http://msdn.microsoft.com/en-us/library/bb727404.aspx

Sample code? No, but it’s pretty straight forward…

Peter
OSR


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


See what people are saying about Windows Live. Check out featured posts. Check It Out!http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
________________________________
Get ideas on sharing photos from people like you. Find new ways to share. Get Ideas Here!http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</http:></http:>

I am working on a custom driver which will call methods of ACPI defined in system bios ASL like _SB.PCIO.VGA.LCD._BMQ.
The driver will be dynamically loaded by a user mode application on user mode application startup and afterwards the driver will be unloaded on close.

To accomplish this I need to send an IRP to the appropriate PDO so it can be called.

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 13:29:01 -0700Subject: RE: [ntdev] ACPI Methods Call

Is there a method on a specific device instance that you want to eval? What exactly are you trying to do/accomplish by evaluate a method?

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 1:24 PMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

Can I force my driver loaded by acpi emumerated stack then? Else enumarating seems hopeless. But how Lev Zlotin managed to call this ACPI methods? -> http://www.osronline.com/showThread.cfm?link=86093 Is that so hard? Kabil

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 09:16:31 -0700Subject: RE: [ntdev] ACPI Methods Call

If you are a pnp driver loaded on the acpi enumerated stack, then this is easy. The PDO passed to you in your AddDevice routine is the acpi PDO and you will send io to the device returned to you by IoAttachDeviceToDeviceStack. If you are not in the acpi stack, it can be difficult to nearly impossible to find the right ACPI PDO

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 8:30 AMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

Hi, Because my platform is Win XP, IOCTL_ACPI_EVAL_METHOD needs to be used.what I want to figure out is how to access ACPI Physical device object, and send IRP to it. And yes I am new to driver development. Kabil

Date: Mon, 18 Aug 2008 10:06:15 -0400> From: xxxxx@osr.com> To: xxxxx@lists.osr.com> Subject: RE:[ntdev] ACPI Methods Call> > These IOCTLs are documented in the WDK Docs now.> > http://msdn.microsoft.com/en-us/library/bb727404.aspx\> > Sample code? No, but it’s pretty straight forward…> > Peter> OSR> > > —> NTDEV is sponsored by OSR> > For our schedule of WDF, WDM, debugging and other seminars visit: > http://www.osr.com/seminars\> > To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

See what people are saying about Windows Live. Check out featured posts. Check It Out!— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Get ideas on sharing photos from people like you. Find new ways to share. Get Ideas Here!— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Talk to your Yahoo! Friends via Windows Live Messenger. Find out how.
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008

Give the path you describe (And I am no expert in ASL) I think you will want to be loaded in the monitor stack (or perhaps the display adapter). This will give you the right PDO to send the IRP to. Getting yourself dynamically into and out of the stack will involve stopping the stack installing your driver and then restarting the stack (and then uninstalling your driver and restarting the stack on close), not the simplest of tasks. You should consider installing the driver once and then keeping it installed as long as your software is installed.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 1:45 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

I am working on a custom driver which will call methods of ACPI defined in system bios ASL like _SB.PCIO.VGA.LCD._BMQ.
The driver will be dynamically loaded by a user mode application on user mode application startup and afterwards the driver will be unloaded on close.

To accomplish this I need to send an IRP to the appropriate PDO so it can be called.


From: xxxxx@microsoft.com
To: xxxxx@lists.osr.com
Date: Mon, 18 Aug 2008 13:29:01 -0700
Subject: RE: [ntdev] ACPI Methods Call

Is there a method on a specific device instance that you want to eval? What exactly are you trying to do/accomplish by evaluate a method?

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 1:24 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

Can I force my driver loaded by acpi emumerated stack then? Else enumarating seems hopeless. But how Lev Zlotin managed to call this ACPI methods? -> http://www.osronline.com/showThread.cfm?link=86093

Is that so hard?

Kabil


From: xxxxx@microsoft.com
To: xxxxx@lists.osr.com
Date: Mon, 18 Aug 2008 09:16:31 -0700
Subject: RE: [ntdev] ACPI Methods Call
If you are a pnp driver loaded on the acpi enumerated stack, then this is easy. The PDO passed to you in your AddDevice routine is the acpi PDO and you will send io to the device returned to you by IoAttachDeviceToDeviceStack. If you are not in the acpi stack, it can be difficult to nearly impossible to find the right ACPI PDO

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 8:30 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

Hi,

Because my platform is Win XP, IOCTL_ACPI_EVAL_METHOD needs to be used.
what I want to figure out is how to access ACPI Physical device object, and send IRP to it. And yes I am new to driver development.

Kabil


Date: Mon, 18 Aug 2008 10:06:15 -0400
From: xxxxx@osr.com
To: xxxxx@lists.osr.com
Subject: RE:[ntdev] ACPI Methods Call

These IOCTLs are documented in the WDK Docs now.

http://msdn.microsoft.com/en-us/library/bb727404.aspx

Sample code? No, but it’s pretty straight forward…

Peter
OSR


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


See what people are saying about Windows Live. Check out featured posts. Check It Out!http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Get ideas on sharing photos from people like you. Find new ways to share. Get Ideas Here!http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Talk to your Yahoo! Friends via Windows Live Messenger. Find Out Howhttp:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</http:></http:></http:>

I think I again must be in ACPI stack because this low level ASL codes are called directly by OS AML(compiled ASL code in BIOS) interpreter so these methods in fact are called from BIOS of the computer which bound to embedded controller. the example I gave formerly _SB.PCIO.VGA.LCD._BMQ is about notebook lcd brightness control method, and it is a system specific funtion, not monitor one.

While creating my device can I use FILE_DEVICE_ACPI type to access ACPI PDO in IoCreateDevice?

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 14:02:04 -0700Subject: RE: [ntdev] ACPI Methods Call

Give the path you describe (And I am no expert in ASL) I think you will want to be loaded in the monitor stack (or perhaps the display adapter). This will give you the right PDO to send the IRP to. Getting yourself dynamically into and out of the stack will involve stopping the stack installing your driver and then restarting the stack (and then uninstalling your driver and restarting the stack on close), not the simplest of tasks. You should consider installing the driver once and then keeping it installed as long as your software is installed.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 1:45 PMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

I am working on a custom driver which will call methods of ACPI defined in system bios ASL like _SB.PCIO.VGA.LCD._BMQ.The driver will be dynamically loaded by a user mode application on user mode application startup and afterwards the driver will be unloaded on close. To accomplish this I need to send an IRP to the appropriate PDO so it can be called.

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 13:29:01 -0700Subject: RE: [ntdev] ACPI Methods Call

Is there a method on a specific device instance that you want to eval? What exactly are you trying to do/accomplish by evaluate a method?

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 1:24 PMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

Can I force my driver loaded by acpi emumerated stack then? Else enumarating seems hopeless. But how Lev Zlotin managed to call this ACPI methods? -> http://www.osronline.com/showThread.cfm?link=86093 Is that so hard? Kabil

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 09:16:31 -0700Subject: RE: [ntdev] ACPI Methods Call

If you are a pnp driver loaded on the acpi enumerated stack, then this is easy. The PDO passed to you in your AddDevice routine is the acpi PDO and you will send io to the device returned to you by IoAttachDeviceToDeviceStack. If you are not in the acpi stack, it can be difficult to nearly impossible to find the right ACPI PDO

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 8:30 AMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

Hi, Because my platform is Win XP, IOCTL_ACPI_EVAL_METHOD needs to be used.what I want to figure out is how to access ACPI Physical device object, and send IRP to it. And yes I am new to driver development. Kabil

Date: Mon, 18 Aug 2008 10:06:15 -0400> From: xxxxx@osr.com> To: xxxxx@lists.osr.com> Subject: RE:[ntdev] ACPI Methods Call> > These IOCTLs are documented in the WDK Docs now.> > http://msdn.microsoft.com/en-us/library/bb727404.aspx\> > Sample code? No, but it’s pretty straight forward…> > Peter> OSR> > > —> NTDEV is sponsored by OSR> > For our schedule of WDF, WDM, debugging and other seminars visit: > http://www.osr.com/seminars\> > To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

See what people are saying about Windows Live. Check out featured posts. Check It Out!— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Get ideas on sharing photos from people like you. Find new ways to share. Get Ideas Here!— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Talk to your Yahoo! Friends via Windows Live Messenger. Find Out How— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Be the filmmaker you always wanted to be?learn how to burn a DVD with Windows?.
http://clk.atdmt.com/MRT/go/108588797/direct/01/

No, FILE_DEVICE_UNKNOWN is just fine.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 2:27 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

I think I again must be in ACPI stack because this low level ASL codes are called directly by OS AML(compiled ASL code in BIOS) interpreter so these methods in fact are called from BIOS of the computer which bound to embedded controller. the example I gave formerly _SB.PCIO.VGA.LCD._BMQ is about notebook lcd brightness control method, and it is a system specific funtion, not monitor one.

While creating my device can I use FILE_DEVICE_ACPI type to access ACPI PDO in IoCreateDevice?


From: xxxxx@microsoft.com
To: xxxxx@lists.osr.com
Date: Mon, 18 Aug 2008 14:02:04 -0700
Subject: RE: [ntdev] ACPI Methods Call

Give the path you describe (And I am no expert in ASL) I think you will want to be loaded in the monitor stack (or perhaps the display adapter). This will give you the right PDO to send the IRP to. Getting yourself dynamically into and out of the stack will involve stopping the stack installing your driver and then restarting the stack (and then uninstalling your driver and restarting the stack on close), not the simplest of tasks. You should consider installing the driver once and then keeping it installed as long as your software is installed.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 1:45 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

I am working on a custom driver which will call methods of ACPI defined in system bios ASL like _SB.PCIO.VGA.LCD._BMQ.
The driver will be dynamically loaded by a user mode application on user mode application startup and afterwards the driver will be unloaded on close.

To accomplish this I need to send an IRP to the appropriate PDO so it can be called.


From: xxxxx@microsoft.com
To: xxxxx@lists.osr.com
Date: Mon, 18 Aug 2008 13:29:01 -0700
Subject: RE: [ntdev] ACPI Methods Call
Is there a method on a specific device instance that you want to eval? What exactly are you trying to do/accomplish by evaluate a method?

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 1:24 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

Can I force my driver loaded by acpi emumerated stack then? Else enumarating seems hopeless. But how Lev Zlotin managed to call this ACPI methods? -> http://www.osronline.com/showThread.cfm?link=86093

Is that so hard?

Kabil


From: xxxxx@microsoft.com
To: xxxxx@lists.osr.com
Date: Mon, 18 Aug 2008 09:16:31 -0700
Subject: RE: [ntdev] ACPI Methods Call
If you are a pnp driver loaded on the acpi enumerated stack, then this is easy. The PDO passed to you in your AddDevice routine is the acpi PDO and you will send io to the device returned to you by IoAttachDeviceToDeviceStack. If you are not in the acpi stack, it can be difficult to nearly impossible to find the right ACPI PDO

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 8:30 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

Hi,

Because my platform is Win XP, IOCTL_ACPI_EVAL_METHOD needs to be used.
what I want to figure out is how to access ACPI Physical device object, and send IRP to it. And yes I am new to driver development.

Kabil


Date: Mon, 18 Aug 2008 10:06:15 -0400
From: xxxxx@osr.com
To: xxxxx@lists.osr.com
Subject: RE:[ntdev] ACPI Methods Call

These IOCTLs are documented in the WDK Docs now.

http://msdn.microsoft.com/en-us/library/bb727404.aspx

Sample code? No, but it’s pretty straight forward…

Peter
OSR


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


See what people are saying about Windows Live. Check out featured posts. Check It Out!http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Get ideas on sharing photos from people like you. Find new ways to share. Get Ideas Here!http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Talk to your Yahoo! Friends via Windows Live Messenger. Find Out Howhttp:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
________________________________
Be the filmmaker you always wanted to be?learn how to burn a DVD with Windows?. Make your smash hithttp:</http:>

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</http:></http:></http:>

well, then how can I attach to ACPI stack then?

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 14:35:42 -0700Subject: RE: [ntdev] ACPI Methods Call

No, FILE_DEVICE_UNKNOWN is just fine.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 2:27 PMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

I think I again must be in ACPI stack because this low level ASL codes are called directly by OS AML(compiled ASL code in BIOS) interpreter so these methods in fact are called from BIOS of the computer which bound to embedded controller. the example I gave formerly _SB.PCIO.VGA.LCD._BMQ is about notebook lcd brightness control method, and it is a system specific funtion, not monitor one. While creating my device can I use FILE_DEVICE_ACPI type to access ACPI PDO in IoCreateDevice?

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 14:02:04 -0700Subject: RE: [ntdev] ACPI Methods Call

Give the path you describe (And I am no expert in ASL) I think you will want to be loaded in the monitor stack (or perhaps the display adapter). This will give you the right PDO to send the IRP to. Getting yourself dynamically into and out of the stack will involve stopping the stack installing your driver and then restarting the stack (and then uninstalling your driver and restarting the stack on close), not the simplest of tasks. You should consider installing the driver once and then keeping it installed as long as your software is installed.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 1:45 PMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

I am working on a custom driver which will call methods of ACPI defined in system bios ASL like _SB.PCIO.VGA.LCD._BMQ.The driver will be dynamically loaded by a user mode application on user mode application startup and afterwards the driver will be unloaded on close. To accomplish this I need to send an IRP to the appropriate PDO so it can be called.

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 13:29:01 -0700Subject: RE: [ntdev] ACPI Methods Call

Is there a method on a specific device instance that you want to eval? What exactly are you trying to do/accomplish by evaluate a method?

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 1:24 PMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

Can I force my driver loaded by acpi emumerated stack then? Else enumarating seems hopeless. But how Lev Zlotin managed to call this ACPI methods? -> http://www.osronline.com/showThread.cfm?link=86093 Is that so hard? Kabil

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 09:16:31 -0700Subject: RE: [ntdev] ACPI Methods Call

If you are a pnp driver loaded on the acpi enumerated stack, then this is easy. The PDO passed to you in your AddDevice routine is the acpi PDO and you will send io to the device returned to you by IoAttachDeviceToDeviceStack. If you are not in the acpi stack, it can be difficult to nearly impossible to find the right ACPI PDO

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 8:30 AMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

Hi, Because my platform is Win XP, IOCTL_ACPI_EVAL_METHOD needs to be used.what I want to figure out is how to access ACPI Physical device object, and send IRP to it. And yes I am new to driver development. Kabil

Date: Mon, 18 Aug 2008 10:06:15 -0400> From: xxxxx@osr.com> To: xxxxx@lists.osr.com> Subject: RE:[ntdev] ACPI Methods Call> > These IOCTLs are documented in the WDK Docs now.> > http://msdn.microsoft.com/en-us/library/bb727404.aspx\> > Sample code? No, but it’s pretty straight forward…> > Peter> OSR> > > —> NTDEV is sponsored by OSR> > For our schedule of WDF, WDM, debugging and other seminars visit: > http://www.osr.com/seminars\> > To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

See what people are saying about Windows Live. Check out featured posts. Check It Out!— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Get ideas on sharing photos from people like you. Find new ways to share. Get Ideas Here!— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Talk to your Yahoo! Friends via Windows Live Messenger. Find Out How— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Be the filmmaker you always wanted to be?learn how to burn a DVD with Windows?. Make your smash hit— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Talk to your Yahoo! Friends via Windows Live Messenger. Find out how.
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008

The type of device you create with IoCreateDevice has nothing to do with the stack you are attaching to. The file type has to do with default settings (such as security) for the type itself. For instance, FILE_DEVICE_FLOPPY is for the driver creating a floppy disk device object, not for a filter attached to the floppy stack. How you find the right PDO to attach to is in no way influenced by the type of device you create in your filter driver.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 2:53 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

well, then how can I attach to ACPI stack then?


From: xxxxx@microsoft.com
To: xxxxx@lists.osr.com
Date: Mon, 18 Aug 2008 14:35:42 -0700
Subject: RE: [ntdev] ACPI Methods Call
No, FILE_DEVICE_UNKNOWN is just fine.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 2:27 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

I think I again must be in ACPI stack because this low level ASL codes are called directly by OS AML(compiled ASL code in BIOS) interpreter so these methods in fact are called from BIOS of the computer which bound to embedded controller. the example I gave formerly _SB.PCIO.VGA.LCD._BMQ is about notebook lcd brightness control method, and it is a system specific funtion, not monitor one.

While creating my device can I use FILE_DEVICE_ACPI type to access ACPI PDO in IoCreateDevice?


From: xxxxx@microsoft.com
To: xxxxx@lists.osr.com
Date: Mon, 18 Aug 2008 14:02:04 -0700
Subject: RE: [ntdev] ACPI Methods Call
Give the path you describe (And I am no expert in ASL) I think you will want to be loaded in the monitor stack (or perhaps the display adapter). This will give you the right PDO to send the IRP to. Getting yourself dynamically into and out of the stack will involve stopping the stack installing your driver and then restarting the stack (and then uninstalling your driver and restarting the stack on close), not the simplest of tasks. You should consider installing the driver once and then keeping it installed as long as your software is installed.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 1:45 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

I am working on a custom driver which will call methods of ACPI defined in system bios ASL like _SB.PCIO.VGA.LCD._BMQ.
The driver will be dynamically loaded by a user mode application on user mode application startup and afterwards the driver will be unloaded on close.

To accomplish this I need to send an IRP to the appropriate PDO so it can be called.


From: xxxxx@microsoft.com
To: xxxxx@lists.osr.com
Date: Mon, 18 Aug 2008 13:29:01 -0700
Subject: RE: [ntdev] ACPI Methods Call
Is there a method on a specific device instance that you want to eval? What exactly are you trying to do/accomplish by evaluate a method?

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 1:24 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

Can I force my driver loaded by acpi emumerated stack then? Else enumarating seems hopeless. But how Lev Zlotin managed to call this ACPI methods? -> http://www.osronline.com/showThread.cfm?link=86093

Is that so hard?

Kabil


From: xxxxx@microsoft.com
To: xxxxx@lists.osr.com
Date: Mon, 18 Aug 2008 09:16:31 -0700
Subject: RE: [ntdev] ACPI Methods Call
If you are a pnp driver loaded on the acpi enumerated stack, then this is easy. The PDO passed to you in your AddDevice routine is the acpi PDO and you will send io to the device returned to you by IoAttachDeviceToDeviceStack. If you are not in the acpi stack, it can be difficult to nearly impossible to find the right ACPI PDO

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinar
Sent: Monday, August 18, 2008 8:30 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ACPI Methods Call

Hi,

Because my platform is Win XP, IOCTL_ACPI_EVAL_METHOD needs to be used.
what I want to figure out is how to access ACPI Physical device object, and send IRP to it. And yes I am new to driver development.

Kabil


Date: Mon, 18 Aug 2008 10:06:15 -0400
From: xxxxx@osr.com
To: xxxxx@lists.osr.com
Subject: RE:[ntdev] ACPI Methods Call

These IOCTLs are documented in the WDK Docs now.

http://msdn.microsoft.com/en-us/library/bb727404.aspx

Sample code? No, but it’s pretty straight forward…

Peter
OSR


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


See what people are saying about Windows Live. Check out featured posts. Check It Out!http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Get ideas on sharing photos from people like you. Find new ways to share. Get Ideas Here!http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Talk to your Yahoo! Friends via Windows Live Messenger. Find Out Howhttp:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Be the filmmaker you always wanted to be?learn how to burn a DVD with Windows?. Make your smash hithttp:</http:>

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Talk to your Yahoo! Friends via Windows Live Messenger. Find Out Howhttp:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</http:></http:></http:></http:>

okay, how can I attach to a special stack, what is the right way to do this?

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 15:00:16 -0700Subject: RE: [ntdev] ACPI Methods Call

The type of device you create with IoCreateDevice has nothing to do with the stack you are attaching to. The file type has to do with default settings (such as security) for the type itself. For instance, FILE_DEVICE_FLOPPY is for the driver creating a floppy disk device object, not for a filter attached to the floppy stack. How you find the right PDO to attach to is in no way influenced by the type of device you create in your filter driver.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 2:53 PMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

well, then how can I attach to ACPI stack then?

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 14:35:42 -0700Subject: RE: [ntdev] ACPI Methods Call

No, FILE_DEVICE_UNKNOWN is just fine.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 2:27 PMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

I think I again must be in ACPI stack because this low level ASL codes are called directly by OS AML(compiled ASL code in BIOS) interpreter so these methods in fact are called from BIOS of the computer which bound to embedded controller. the example I gave formerly _SB.PCIO.VGA.LCD._BMQ is about notebook lcd brightness control method, and it is a system specific funtion, not monitor one. While creating my device can I use FILE_DEVICE_ACPI type to access ACPI PDO in IoCreateDevice?

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 14:02:04 -0700Subject: RE: [ntdev] ACPI Methods Call

Give the path you describe (And I am no expert in ASL) I think you will want to be loaded in the monitor stack (or perhaps the display adapter). This will give you the right PDO to send the IRP to. Getting yourself dynamically into and out of the stack will involve stopping the stack installing your driver and then restarting the stack (and then uninstalling your driver and restarting the stack on close), not the simplest of tasks. You should consider installing the driver once and then keeping it installed as long as your software is installed.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 1:45 PMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

I am working on a custom driver which will call methods of ACPI defined in system bios ASL like _SB.PCIO.VGA.LCD._BMQ.The driver will be dynamically loaded by a user mode application on user mode application startup and afterwards the driver will be unloaded on close. To accomplish this I need to send an IRP to the appropriate PDO so it can be called.

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 13:29:01 -0700Subject: RE: [ntdev] ACPI Methods Call

Is there a method on a specific device instance that you want to eval? What exactly are you trying to do/accomplish by evaluate a method?

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 1:24 PMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

Can I force my driver loaded by acpi emumerated stack then? Else enumarating seems hopeless. But how Lev Zlotin managed to call this ACPI methods? -> http://www.osronline.com/showThread.cfm?link=86093 Is that so hard? Kabil

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Mon, 18 Aug 2008 09:16:31 -0700Subject: RE: [ntdev] ACPI Methods Call

If you are a pnp driver loaded on the acpi enumerated stack, then this is easy. The PDO passed to you in your AddDevice routine is the acpi PDO and you will send io to the device returned to you by IoAttachDeviceToDeviceStack. If you are not in the acpi stack, it can be difficult to nearly impossible to find the right ACPI PDO

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of kabil akpinarSent: Monday, August 18, 2008 8:30 AMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] ACPI Methods Call

Hi, Because my platform is Win XP, IOCTL_ACPI_EVAL_METHOD needs to be used.what I want to figure out is how to access ACPI Physical device object, and send IRP to it. And yes I am new to driver development. Kabil

Date: Mon, 18 Aug 2008 10:06:15 -0400> From: xxxxx@osr.com> To: xxxxx@lists.osr.com> Subject: RE:[ntdev] ACPI Methods Call> > These IOCTLs are documented in the WDK Docs now.> > http://msdn.microsoft.com/en-us/library/bb727404.aspx\> > Sample code? No, but it’s pretty straight forward…> > Peter> OSR> > > —> NTDEV is sponsored by OSR> > For our schedule of WDF, WDM, debugging and other seminars visit: > http://www.osr.com/seminars\> > To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

See what people are saying about Windows Live. Check out featured posts. Check It Out!— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Get ideas on sharing photos from people like you. Find new ways to share. Get Ideas Here!— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Talk to your Yahoo! Friends via Windows Live Messenger. Find Out How— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Be the filmmaker you always wanted to be?learn how to burn a DVD with Windows?. Make your smash hit— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Talk to your Yahoo! Friends via Windows Live Messenger. Find Out How— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Get ideas on sharing photos from people like you. Find new ways to share.
http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Photo_Gallery_082008

Kabil,

The interface that you want to use are only exposed to the drivers
within the stack for this device. This is because you’re likely to be
in conflict with the drivers for the device if you use them, so you
need to be reasonably well integrated into that stack to be sure that
your driver will work. It’s similar to the situation where you want
to write to a device register. You’d better be pretty well integrate
into the stack before you try that or you’ll cause something to go
wrong.


Jake Oshins
Hyper-V I/O Architect
Microsoft

This post confers no rights and implies no warranties.

“kabil akpinar” wrote in message
news:xxxxx@ntdev…
okay, how can I attach to a special stack, what is the right way to do
this?