public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Rich Townsend <rhdt-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
To: "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Fran?ois Valenduc
	<fvalenduc-IWqWACnzNjyZIoH1IeqzKA@public.gmane.org>,
	Pedro Venda
	<pjvenda-pQd4kjVL+RHfqL7NgpvPWWD2FQJk+8+b@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Re: What's up with the Embedded Controller driver? [was Re: [ACPI] patched sms-cm acpi/ec.c to 2.6.11.5]
Date: Sun, 27 Mar 2005 19:01:07 -0500	[thread overview]
Message-ID: <42474943.30705@bartol.udel.edu> (raw)
In-Reply-To: <3ACA40606221794F80A5670F0AF15F84041AC159@pdsmsx403>

I've tried the patch from the osdl.org website on a number of occasions,
and also a variant of the patch created by Dmitry Torokhov (IIRC).
Always, I get similar problems to the other guys: the EC takes around a
minute to initialize at boot, and access to the smart battery system
(via the EC-hosted SMBus) is painfully slow. Why might this be
happening? And what can be done to fix it?

cheers,

Rich

Yu, Luming wrote:
> Do you try latest acpi testing patch?
> It includes patch filed at http://bugme.osdl.org/show_bug.cgi?id=3851
> 
> 
> Thanks
> Luming 
> 
> 
>>-----Original Message-----
>>From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
>>[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of 
>>Fran?ois Valenduc
>>Sent: 2005年3月24日 3:35
>>To: Rich Townsend
>>Cc: Pedro Venda; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>Subject: [ACPI] Re: What's up with the Embedded Controller 
>>driver? [was Re: [ACPI] patched sms-cm acpi/ec.c to 2.6.11.5]
>>
>>
>>
>>>>>it does NOT seem ok. after some more tests with the patch, I found 
>>>>>out that francois was right about most of the problems:
>>>>>* timeout on boot, just after the boot loader. this is very 
>>>>>confusing to me...
>>>>>* when I plug in the battery, it takes ages to show information 
>>>>>about it... more than 1 minute.
>>>>>* about the usb problems, apparently I wasn't affected.
>>>>>
>>>>>could you please tip us about what could be causing these delays? 
>>>>>especially the boot delay... it really puzzles my mind.
>>>>>
>>>>>regards,
>>>>>pedro venda.
>>>>>
>>>>>
>>>>
>>>>Concerning USB problems, I think it happens because I tried 
>>
>>the patch 
>>
>>>>with the 2.6.11 kernel. I have retried with the 2.6.11.5 and there 
>>>>are no more USB problems. But all the other problems remains. 
>>>>Concerning the timeout on boot, could it be caused by the 
>>>>acpi-dsdt-initrd patch made by Markus Gaugausch. Maybe we 
>>
>>should try 
>>
>>>>other ways to incorporate the DSDT to the kernel.
>>>>François Valenduc
>>>
>>>
>>>I doubt it is the DSDT patch; rather, it looks like 
>>
>>something has gone 
>>
>>>wrong in the embedded controller driver in going from 2.6.10 to 
>>>2.6.11.  I've tried out a number of different ways of fixing 
>>
>>ec event 
>>
>>>handling, including my own spinlock kludge and Pedro's 
>>
>>version of it, 
>>
>>>and also a series of patches by Dmitry Torokhov; but all of 
>>
>>them seem 
>>
>>>to have problems with very sluggish EC response and/or EC timeouts 
>>>(indicated by "Handler for [EmbeddedControl] returned AE_TIME").
>>>
>>>Who currently maintains ec.c? And what exactly has been done to it 
>>>since 2.6.10?
>>>
>>>cheers,
>>>
>>>Rich
>>>
>>>
>>
>>Just by curiosity I tried the DSDT patches without applying 
>>any patch on 
>>the ec.c file and I don't notice any problem yet. I choose for 
>>a static 
>>DSDT override and there doesn't seem to be any slowdown of my 
>>computer. 
>>If I have well understood I could see "Handler for [EmbeddedControl] 
>>returned AE_TIME" appearing in kernel messages but it doesn't appear. 
>>Maybe I am very lucky!
>>
>>François
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by Microsoft Mobile & Embedded 
>>DevCon 2005
>>Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
>>Embedded(r) & Windows Mobile(tm) platforms, applications & 
>>content.  Register
>>by 3/29 & save $300 
>>http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
>>_______________________________________________
>>Acpi-devel mailing list
>>Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

  parent reply	other threads:[~2005-03-28  0:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-24 14:18 Re: What's up with the Embedded Controller driver? [was Re: [ACPI] patched sms-cm acpi/ec.c to 2.6.11.5] Yu, Luming
2005-03-24 15:37 ` François Valenduc
2005-03-28  0:01 ` Rich Townsend [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-24 16:02 Yu, Luming
     [not found] <3ACA40606221794F80A5670F0AF15F84041AC15D@pdsmsx403>
2005-03-24 19:40 ` François Valenduc
2005-03-25  1:23 Yu, Luming
2005-03-29  2:22 Yu, Luming
2005-03-29 14:50 ` Rich Townsend
2005-03-29 15:01 Yu, Luming
2005-03-29 15:09 ` Rich Townsend

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=42474943.30705@bartol.udel.edu \
    --to=rhdt-obnux95toyn10jlvftc4ga@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=fvalenduc-IWqWACnzNjyZIoH1IeqzKA@public.gmane.org \
    --cc=luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=pjvenda-pQd4kjVL+RHfqL7NgpvPWWD2FQJk+8+b@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox