All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nigel <nigels@hotmail.com>
To: Alexey Starikovskiy <alexey.y.starikovskiy@linux.intel.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: [repost] acpi on gentoo
Date: Mon, 12 Mar 2007 15:59:48 +0100	[thread overview]
Message-ID: <45F56AE4.4050300@hotmail.com> (raw)
In-Reply-To: <45F559A4.6090606@linux.intel.com>



Alexey Starikovskiy said on 12/03/2007 2:46 PM:
> Nigel Nigel wrote:
>>
>>
>>
>>
>>
>> ----------------------------------------
>>  
>>> Date: Mon, 12 Mar 2007 14:16:51 +0300
>>> From: alexey.y.starikovskiy@linux.intel.com
>>> To: nigels@hotmail.com
>>> CC: linux-acpi@vger.kernel.org
>>> Subject: Re: [repost] acpi on gentoo
>>>
>>> Nigel wrote:
>>>    
>>>>> Date: Sun, 11 Mar 2007 18:57:58 +0300
>>>>> From: alexey.y.starikovskiy@linux.intel.com
>>>>> To: nigels@hotmail.com
>>>>> CC: luming.yu@gmail.com; linux-acpi@vger.kernel.org
>>>>> Subject: Re: [repost] acpi on gentoo
>>>>>
>>>>> Nigel wrote:
>>>>>        
>>>>>> response inline
>>>>>>
>>>>  
>>>>
>>>> [skipped]
>>>>       
>>> I asked if copying of single file helps... I didn't ask you to copy 
>>> all acpi files two kernel releases back and make it work...
>>>    
>>>> If there is a relatively simple way to get this to work. Let me know.
>>>>       
>>> Copy one file: drivers/acpi/ec.c
>>>     
>>
>> Sorry, I should have explained in more detail. I did copy just the 
>> one file to start with, and  got this :
>> CHK     include/linux/version.h
>> CHK     include/linux/compile.h
>> CC      drivers/acpi/ec.o
>> drivers/acpi/ec.c: In function 'acpi_ec_gpe_handler':
>> drivers/acpi/ec.c:467: warning: implicit declaration of function
>> 'acpi_os_execute'
>> drivers/acpi/ec.c:467: error: 'OSL_EC_BURST_HANDLER' undeclared (first
>> use in this function)
>> drivers/acpi/ec.c:467: error: (Each undeclared identifier is reported
>> only once
>> drivers/acpi/ec.c:467: error: for each function it appears in.)
>> make[2]: *** [drivers/acpi/ec.o] Error 1
>> make[1]: *** [drivers/acpi] Error 2
>> make: *** [drivers] Error 2
>>
>>
>> Is there something I can do to get this going ?
>>
>>   
> change call to acpi_os_execute to call to 
> acpi_os_queue_for_execution() as it was in 2.6.17.
> It is just rename of the function in this case.

I changed this:
 status = acpi_os_execute(OSL_EC_BURST_HANDLER,acpi_ec_gpe_query, ec);

To this:
status = acpi_os_queue_for_execution(OSD_PRIORITY_MED,acpi_ec_gpe_query, 
ec);

Not sure if this is the right thing there: OSD_PRIORITY_MED

It compiles with a warning:

# make
CHK     include/linux/version.h
CHK     include/linux/compile.h
LD [M]  drivers/acpi/processor.o
Kernel: arch/i386/boot/bzImage is ready  (#29)
Building modules, stage 2.
 MODPOST
WARNING: drivers/acpi/processor.o - Section mismatch: reference to
 .init.data: from .text between 'acpi_processor_power_init' (at
 offset 0xe75) and 'acpi_safe_halt'


 LD [M]  drivers/acpi/processor.k


Is this warning a problem  ?

Well, nothing seems to have changed it works as before. Still no events 
received by acpid

>>>> Otherwise I'll just leave it, and hopefully in a year or so I'll be 
>>>> able  to upgrade.
>>>>
>>>>       
>>> Ok.
>>>    
>>>> Thanks,
>>>> Nigel.
>>>> -
>>>> To unsubscribe from this list: send the line "unsubscribe 
>>>> linux-acpi" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>       
>>> -
>>> To unsubscribe from this list: send the line "unsubscribe 
>>> linux-acpi" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>     
>>
>> _________________________________________________________________
>> Explore the seven wonders of the world
>> http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> </pre
>

  reply	other threads:[~2007-03-12 14:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-12 11:26 [repost] acpi on gentoo Nigel Nigel
2007-03-12 13:46 ` Alexey Starikovskiy
2007-03-12 14:59   ` Nigel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-03-12  9:11 Nigel
2007-03-12 11:16 ` Alexey Starikovskiy
2007-03-11 13:40 Nigel
2007-03-11 14:12 ` Luming Yu
2007-03-11 15:45   ` Nigel
2007-03-11 15:57     ` Alexey Starikovskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45F56AE4.4050300@hotmail.com \
    --to=nigels@hotmail.com \
    --cc=alexey.y.starikovskiy@linux.intel.com \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.