All of lore.kernel.org
 help / color / mirror / Atom feed
From: Berthold Cogel <cogel@rrz.uni-koeln.de>
To: Johan Vromans <jvromans@squirrel.nl>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Was: Re: UBUNTU - acpi battery on ACER TRAVELMATE 4000 WLMI
Date: Wed, 10 May 2006 01:43:38 +0200	[thread overview]
Message-ID: <4461292A.60607@rrz.uni-koeln.de> (raw)
In-Reply-To: <m2hd4j2u3t.fsf@phoenix.squirrel.nl>

Johan Vromans wrote:
> 
>> I'm not sure if I can do the test before May, but I try.
> 
> Okay, I've packed it up with the rest of Rich' sources in what I've
> shamelessly called acpi_sbs-20060422. You can fetch it from
> http://www.squirrel.nl/pub/xfer/acpi_sbs-20060422.tar.bz2
> 
> Remember -- use at your own risk. I merely removed the code that
> didn't compile... But it seems to work for me.
> 
> -- Johan

Hello Johan,

the modules work great. Without a patched DSDT. Just out of the box.

But there are still some minor flaws. I got some warnings during compile
with kernel 2.6.16.13:

  CC [M]  /usr/src/acpi_sbs-20060422/i2c-acpi-ec.o
/usr/src/acpi_sbs-20060422/i2c-acpi-ec.c: In function 'acpi_ec_smb_access':
/usr/src/acpi_sbs-20060422/i2c-acpi-ec.c:144: warning: 'len' may be used
uninitialized in this function
/usr/src/acpi_sbs-20060422/i2c-acpi-ec.c:144: warning: 'temp[0]' may be
used uninitialized in this function
/usr/src/acpi_sbs-20060422/i2c-acpi-ec.c:144: warning: 'temp[1]' may be
used uninitialized in this function

And the Makefile installed the modules in the root filesystem. I used a
Makefile from an older version of Rich's package, which did the job.
I've attached the file.


It would be nice to have this in the kernel.

I don't know if it is possible to merge the ac-adapter/battery part of
the modules with the corresponding kernel modules (to provide the legacy
interfaces ?).
The code could then be switched with a configuration option, which also
enables the rest of the code in additional modules (acpi_sbs, i2c_acpi_ec).

This would simplify the configuration and reduces the need to read the
kernel docs. ;-)


Regards,

Berthold

  reply	other threads:[~2006-05-09 23:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-26 20:27 UBUNTU - acpi battery on ACER TRAVELMATE 4000 WLMI Brown, Len
2006-01-27 11:43 ` Johan Vromans
2006-04-19 23:31   ` Was: " Berthold Cogel
2006-04-20 10:43     ` Johan Vromans
2006-04-20 11:32       ` Matthew Garrett
2006-04-22 20:53         ` Johan Vromans
2006-04-22 21:23           ` Matthew Garrett
2006-04-20 22:45       ` Berthold Cogel
2006-04-21  9:30         ` Johan Vromans
2006-04-22 18:02           ` Berthold Cogel
2006-04-22 18:27     ` Johan Vromans
2006-04-23 21:56       ` Berthold Cogel
2006-04-24  9:36         ` Johan Vromans
2006-05-09 23:43           ` Berthold Cogel [this message]
2006-06-01 16:29             ` Johan Vromans

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=4461292A.60607@rrz.uni-koeln.de \
    --to=cogel@rrz.uni-koeln.de \
    --cc=jvromans@squirrel.nl \
    --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.