ccing to the list On Sun, Jul 25, 2010 at 7:46 AM, Durango. <durango8...@yahoo.com.au> wrote: > ALbert if you would like to pass this on if you see fit . > Regards > > > I think for the short future just an allowance for parameter injection > similiar to the debug system on the kernel acpi ,the includes would > also be similiar to the existing kernel acpi module ,the parameters would > be similiar ,ie char ,argv and integer only . > > eg : This is to power on the gpu and tells the intel DSM to wait ,then sets > the intel > common head to put the values into the root namespace ,with the > ability > to set the addresses and integer variables in the acpi call module > or integrate > i2cset and i2cget with acpi as the kernel module does we could > progress > with testing ,it should suit both gen 1 & 2 optimus systems,ie > UL30-80 & Nseries. > > > { > Store ("PS0: Need to power on dGPU", Debug) > \_SB.PCI0.PEGR.GFX0._ON () > Store (Zero, DGPS) > Sleep (0x01F4) > Store (Zero, HDAE) > \_SB.PCI0.LPCB.EC0.WRAM (0x0458, 0x43) > \_SB.PCI0.LPCB.EC0.TSES () > } > > > > > Regards > > > > > On 07/25/2010 03:33 AM, Michal Kottman wrote: > > On Sat, 2010-07-24 at 16:22 +0100, Albert Vilella wrote: > > > yes, the first implementation of acpi_call has no parameter passing... > it would be great to have that implemented and allow for more testing. > > > What exactly is needed? I mean, how do you imagine the interface? > > Currently, you only need to write the name of the function to call > into /proc/acpi/call. However, I may modify it to accept numeric > parameters for method calls, for example like this: > > echo '\_SB.PCI0.PEG1.GFX0._DSM 0x1 0x2 0x3 0x4' > /proc/acpi/call > > However, I have almost no experience with ACPI (reading the spec now) > and with the meaning of the methods (_DSM, LCDD, ...) and the parameters > they may require, so I may need some guidance on what is really needed > in the /proc/acpi/call interface. > > > _______________________________________________ > Mailing list: https://launchpad.net/~hybrid-graphics-linux > Post to : hybrid-graphics-linux@lists.launchpad.net > Unsubscribe : https://launchpad.net/~hybrid-graphics-linux > More help : https://help.launchpad.net/ListHelp > > >
_______________________________________________ Mailing list: https://launchpad.net/~hybrid-graphics-linux Post to : hybrid-graphics-linux@lists.launchpad.net Unsubscribe : https://launchpad.net/~hybrid-graphics-linux More help : https://help.launchpad.net/ListHelp