public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Pedro Venda <pjlv-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: Johannes Kuhlmann <jkuhlmann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: Re: No battery information on a ACER Travelmate 4001LMi
Date: Mon, 08 Nov 2004 15:30:01 +0000	[thread overview]
Message-ID: <418F90F9.40602@mega.ist.utl.pt> (raw)
In-Reply-To: <47e0449d04110705534dd09447-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Johannes Kuhlmann wrote:
| Hi,
|
| I have the same problem with an Acer Travelmate 4001LCi. What I have
| been able to find out so far is, that these laptops feature a 'smart
| battery'. For these battery there is currently no driver, but Shaohua
| Li from this list considers writing one. I would be very grateful, if
| you really do this :).
| I tried the driver from ftp://ftp.poupinou.org/acpi/i2c-acpi-ec.c. It
| correctly detects the battery, but tells me that there is no module
| 'smartbatt'. I guess this is the intended behaviour.
| If there is something I can do in order to get a driver for my smart
| battery (provide information, test drivers, ...), just tell me.

I have a travelmate 4001WLMi. I didn't see Shaohua Li offering to do
such drivers, but he sure gave me some useful tips. I will be trying
also when there is some spare time. So far i read some ACPI
specification and practised some very simple kernel modules while
reading Robert Love's book about kernel development.

the driver you pointed was written by bruno ducrot and he abandoned it
because:
"1- I haven't real use for it (I searched actually something else,
~   related to the LCD backlight at that time),
2- it's very slow compared to a well wrotten EC firmware which will
~   cache the information needed for batteries and expose them in the EC
~   register space, so I thought no bios developper would use this at
least for modern laptops."

I don't think the driver can actually talk to the battery however I was
able to detect it on the smbus.

the lmsensors team have some support for smart batteries. I don't know
if it has a bright future (as ducrot's driver), but it's a start. I'll
be checking it out too, but I would prefer to develop a kernel driver
according to Li's tips.

regards,
pedro venda.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBj5D5eRy7HWZxjWERAnWGAKCqh5oprCHkKED+7ZRH+0vXhPxofgCdHeUg
5V65FKmVUxW6IbsIoTTkjU0=
=ru5L
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

  parent reply	other threads:[~2004-11-08 15:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-04 19:24 No battery information on a ACER Travelmate 4001LMi François Valenduc
     [not found] ` <418A81FC.9030001-IWqWACnzNjyZIoH1IeqzKA@public.gmane.org>
2004-11-04 19:29   ` François Valenduc
     [not found]     ` <418A8315.50208-IWqWACnzNjyZIoH1IeqzKA@public.gmane.org>
2004-11-07 13:53       ` Johannes Kuhlmann
     [not found]         ` <47e0449d04110705534dd09447-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2004-11-08 15:30           ` Pedro Venda [this message]
     [not found]             ` <418F90F9.40602-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
2004-11-08 15:49               ` Pedro Venda
     [not found]                 ` <418F9587.9050108-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
2004-11-08 21:05                   ` Johannes Kuhlmann
  -- strict thread matches above, loose matches on Subject: below --
2004-11-09  9:36 Li, Shaohua
     [not found] ` <16A54BF5D6E14E4D916CE26C9AD3057583D4EB-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-11-09 12:00   ` Pedro Venda
     [not found]     ` <4190B168.1030905-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
2004-11-14 21:09       ` Johannes Kuhlmann

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=418F90F9.40602@mega.ist.utl.pt \
    --to=pjlv-ahmagkvuft6joy8pijz9va@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=jkuhlmann-Re5JQEeQqe8AvxtiuMwx3w@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