← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: ASUS K52J

 

great, thanks very much.

Do you want people to add the list of methods to your "on" and "off"
files, that have been found in different DSDT tables? My current list
is (for the OFF methods) this:

\_SB.PCI0.P0P1.VGA._OFF
\_SB_.PCI0.OVGA.ATPX
\_SB_.PCI0.OVGA.XTPX
\_SB.PCI0.P0P2.PEGP._OFF
\_SB.PCI0.MXR0.MXM0._OFF
\_SB.PCI0.PEG1.GFX0._OFF
\_SB.PCI0.PEG1.GFX0.DOFF
\_SB.PCI0.XVR0.Z01I.DGOF
\_SB.PCI0.PEGR.GFX0._OFF

On Tue, Jun 29, 2010 at 12:17 PM, Michal Kottman <k0mpjut0r@xxxxxxxxx> wrote:
> 2010/6/28 Albert Vilella <avilella@xxxxxxxxx>:
>> this is great. how do I compile it? do I need a 2.6.34+ kernel? I get
>> this error by doing:
>> sudo make default
>> make -C /lib/modules/2.6.32-22-generic/build
>> M=/home/avilella/hybrid_graphics/acpi_call/mkottman-acpi_call-dc3faa8
>> modules
>> make[1]: Entering directory `/usr/src/linux-headers-2.6.32-22-generic'
>>  CC [M]  /home/avilella/hybrid_graphics/acpi_call/mkottman-acpi_call-dc3faa8/acpi_call.o
>> /home/avilella/hybrid_graphics/acpi_call/mkottman-acpi_call-dc3faa8/acpi_call.c:
>> In function ‘acpi_proc_write’:
>> /home/avilella/hybrid_graphics/acpi_call/mkottman-acpi_call-dc3faa8/acpi_call.c:58:
>> error: implicit declaration of function ‘copy_from_user’
>> make[2]: *** [/home/avilella/hybrid_graphics/acpi_call/mkottman-acpi_call-dc3faa8/acpi_call.o]
>> Error 1
>> make[1]: *** [_module_/home/avilella/hybrid_graphics/acpi_call/mkottman-acpi_call-dc3faa8]
>> Error 2
>> make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-22-generic'
>> make: *** [default] Error 2
>
>
> Ok, I fixed the module so that it compiles on 2.6.32-22 (the current
> official Ubuntu Lucid kernel). Get the latest from
> http://github.com/mkottman/acpi_call or
> git://github.com/mkottman/acpi_call.git
>



Follow ups

References