All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pedro Venda <pjlv-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
To: Christian Axelsson <smiler-pw/8oln/LLv0Dx+PQ6IoOQ@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: smartbattery support
Date: Wed, 06 Oct 2004 12:52:18 +0100	[thread overview]
Message-ID: <4163DC72.80708@mega.ist.utl.pt> (raw)
In-Reply-To: <41631809.7020204-pw/8oln/LLv0Dx+PQ6IoOQ@public.gmane.org>

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

Christian Axelsson wrote:
| Pedro Venda wrote:
|
|> i read some things also, but i disagree with christian. i think that
|> smbus patch is not the way to go. don't get me wrong! i'm also just
|> scratching the surface. for what i read, those patches put smbus bios
|> support into the kernel.
|
|
| yep

sorry... do you agree or not? i meant that we should be creating an i2c
module to talk specifically to the smart battery independently of the
bios...

|
|> 1. is this a "sensor" i2c driver? i mean, should we find help with the
|> lmsensors team? there are some debugging tools for i2c developed by
|> the lm-sensors people (i guess). this document
|> (http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/chips/SUMMARY)
|> refers some smartbattery support, but i don't think it solves our
|> problem.
|
|
| I cant get the detect-thingies to see any i2c-bus and Im not aware of
| any sensorchip in my laptop (but I would be happy to be proven wrong).
|

again i should have explained myself better... my laptop can see 5
busses... although i cannot yet interpret that information well. anyway,
what i wanted to ask was: should we be using some of the sensors code?

|> 2. what exactly should the i2c driver do? should it just know the
|> smartbattery address and ask generic questions made by userland
|> programs? or should it do all the work and retrive charge rates and
|> capacity information and such?
|
|
| I think it should publish as much generic info (info thats avaible on
| all smartbatteries) as possible into sysfs.

agree. then useland programs could use that information. but i see a
pitfall here... if it is so, how will it be hooked into ACPI?

[]

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

iD8DBQFBY9xyeRy7HWZxjWERAtW9AKCI/UBkin8Q+U/xiYAuX/Vkv0adogCeLsH6
t1/108wqCrKYGP6bRWrWwXc=
=54Fs
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

  parent reply	other threads:[~2004-10-06 11:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-05 21:00 smartbattery support Pedro Venda
     [not found] ` <41630B6D.2000107-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
2004-10-05 21:54   ` Christian Axelsson
     [not found]     ` <41631809.7020204-pw/8oln/LLv0Dx+PQ6IoOQ@public.gmane.org>
2004-10-06 11:52       ` Pedro Venda [this message]
2004-10-07  9:41   ` Pavel Machek
     [not found]     ` <20041007094109.GA534-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-10-07 12:33       ` Pedro Venda
2004-10-07 13:43 Li, Shaohua
     [not found] ` <16A54BF5D6E14E4D916CE26C9AD30575456AB2-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-10-08  8:29   ` Bruno Ducrot
     [not found]     ` <20041008082923.GD6785-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-10-08 19:29       ` Pedro Venda
2004-10-08  8:39 Li, Shaohua
     [not found] ` <16A54BF5D6E14E4D916CE26C9AD30575457124-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-10-08  9:16   ` Bruno Ducrot
     [not found]     ` <20041008091658.GE6785-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-10-08 19:37       ` Pedro Venda
2004-10-08 19:36   ` Pedro Venda
     [not found]     ` <4166EC29.8070006-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
2004-10-11  9:49       ` Bruno Ducrot
     [not found]         ` <20041011094935.GA23992-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-10-11 18:36           ` Pedro Venda
     [not found]             ` <416AD2B3.9050403-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
2004-10-11 21:25               ` Pedro Venda
2004-10-12 16:58               ` Bruno Ducrot
2004-10-12  1:03 Li, Shaohua
     [not found] ` <16A54BF5D6E14E4D916CE26C9AD305754B4711-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-10-12  9:46   ` Pedro Venda

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=4163DC72.80708@mega.ist.utl.pt \
    --to=pjlv-ahmagkvuft6joy8pijz9va@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=smiler-pw/8oln/LLv0Dx+PQ6IoOQ@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 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.