public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* No battery information on a ACER Travelmate 4001LMi
@ 2004-11-04 19:24 François Valenduc
       [not found] ` <418A81FC.9030001-IWqWACnzNjyZIoH1IeqzKA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: François Valenduc @ 2004-11-04 19:24 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello everybody,

I own a ACER Travelmate 4001Lmi laptop and I don't manage to get battery 
information with ACPI. It has an intel centrino 1,5Ghz processor and an 
Intel 855GM chipset. I have compiled all necessary modules but in fact I 
can only get information about the fan, the processor and thermal zone. 
I can no more get the status of the adapter. I have tried different 
kernel boot parameters (pci=noacpi, acpi=on, acpi=ht), but it's always 
the same. With the latter, there is even no /proc/acpi directory. Here 
belows is the kernel configuration concerning ACPI I have choosen:

CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
# CONFIG_ACPI_SLEEP is not set
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI is not set
CONFIG_HOTPLUG_PCI_ACPI=m
# CONFIG_HOTPLUG_PCI_ACPI_IBM is not set
CONFIG_SERIAL_8250_ACPI=y

In fact, in side the /proc/ac_adapter and /proc/acpi/battery, there is 
nothing. So I guess there is something wrong with ac and battery 
modules. Nevertheless, I am able to load these modules.

Thanks for your advices.
François Valenduc


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: No battery information on a ACER Travelmate 4001LMi
       [not found] ` <418A81FC.9030001-IWqWACnzNjyZIoH1IeqzKA@public.gmane.org>
@ 2004-11-04 19:29   ` François Valenduc
       [not found]     ` <418A8315.50208-IWqWACnzNjyZIoH1IeqzKA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: François Valenduc @ 2004-11-04 19:29 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

François Valenduc a écrit :

> Hello everybody,
>
> I own a ACER Travelmate 4001Lmi laptop and I don't manage to get 
> battery information with ACPI. It has an intel centrino 1,5Ghz 
> processor and an Intel 855GM chipset. I have compiled all necessary 
> modules but in fact I can only get information about the fan, the 
> processor and thermal zone. I can no more get the status of the 
> adapter. I have tried different kernel boot parameters (pci=noacpi, 
> acpi=on, acpi=ht), but it's always the same. With the latter, there is 
> even no /proc/acpi directory. Here belows is the kernel configuration 
> concerning ACPI I have choosen:
>
> CONFIG_ACPI=y
> CONFIG_ACPI_BOOT=y
> CONFIG_ACPI_INTERPRETER=y
> # CONFIG_ACPI_SLEEP is not set
> CONFIG_ACPI_AC=m
> CONFIG_ACPI_BATTERY=m
> CONFIG_ACPI_BUTTON=m
> CONFIG_ACPI_FAN=m
> CONFIG_ACPI_PROCESSOR=m
> CONFIG_ACPI_THERMAL=m
> # CONFIG_ACPI_ASUS is not set
> # CONFIG_ACPI_TOSHIBA is not set
> # CONFIG_ACPI_CUSTOM_DSDT is not set
> CONFIG_ACPI_BLACKLIST_YEAR=0
> CONFIG_ACPI_DEBUG=y
> CONFIG_ACPI_BUS=y
> CONFIG_ACPI_EC=y
> CONFIG_ACPI_POWER=y
> CONFIG_ACPI_PCI=y
> CONFIG_ACPI_SYSTEM=y
> CONFIG_X86_ACPI_CPUFREQ=m
> # CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
> # CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI is not set
> CONFIG_HOTPLUG_PCI_ACPI=m
> # CONFIG_HOTPLUG_PCI_ACPI_IBM is not set
> CONFIG_SERIAL_8250_ACPI=y
>
> In fact, in side the /proc/ac_adapter and /proc/acpi/battery, there is 
> nothing. So I guess there is something wrong with ac and battery 
> modules. Nevertheless, I am able to load these modules.
>
> Thanks for your advices.
> François Valenduc
>
Hello again,
I forgot to say something important: I am using the 2.6.9 kernel.



-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: No battery information on a ACER Travelmate 4001LMi
       [not found]     ` <418A8315.50208-IWqWACnzNjyZIoH1IeqzKA@public.gmane.org>
@ 2004-11-07 13:53       ` Johannes Kuhlmann
       [not found]         ` <47e0449d04110705534dd09447-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Kuhlmann @ 2004-11-07 13:53 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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.

Greets,
Johannes
(also running on a 2.6.9 kernel)



On Thu, 04 Nov 2004 20:29:25 +0100, François Valenduc
<fvalenduc-IWqWACnzNjyZIoH1IeqzKA@public.gmane.org> wrote:
> François Valenduc a écrit :
> 
> 
> 
> > Hello everybody,
> >
> > I own a ACER Travelmate 4001Lmi laptop and I don't manage to get
> > battery information with ACPI. It has an intel centrino 1,5Ghz
> > processor and an Intel 855GM chipset. I have compiled all necessary
> > modules but in fact I can only get information about the fan, the
> > processor and thermal zone. I can no more get the status of the
> > adapter. I have tried different kernel boot parameters (pci=noacpi,
> > acpi=on, acpi=ht), but it's always the same. With the latter, there is
> > even no /proc/acpi directory. Here belows is the kernel configuration
> > concerning ACPI I have choosen:
> >
> > CONFIG_ACPI=y
> > CONFIG_ACPI_BOOT=y
> > CONFIG_ACPI_INTERPRETER=y
> > # CONFIG_ACPI_SLEEP is not set
> > CONFIG_ACPI_AC=m
> > CONFIG_ACPI_BATTERY=m
> > CONFIG_ACPI_BUTTON=m
> > CONFIG_ACPI_FAN=m
> > CONFIG_ACPI_PROCESSOR=m
> > CONFIG_ACPI_THERMAL=m
> > # CONFIG_ACPI_ASUS is not set
> > # CONFIG_ACPI_TOSHIBA is not set
> > # CONFIG_ACPI_CUSTOM_DSDT is not set
> > CONFIG_ACPI_BLACKLIST_YEAR=0
> > CONFIG_ACPI_DEBUG=y
> > CONFIG_ACPI_BUS=y
> > CONFIG_ACPI_EC=y
> > CONFIG_ACPI_POWER=y
> > CONFIG_ACPI_PCI=y
> > CONFIG_ACPI_SYSTEM=y
> > CONFIG_X86_ACPI_CPUFREQ=m
> > # CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
> > # CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI is not set
> > CONFIG_HOTPLUG_PCI_ACPI=m
> > # CONFIG_HOTPLUG_PCI_ACPI_IBM is not set
> > CONFIG_SERIAL_8250_ACPI=y
> >
> > In fact, in side the /proc/ac_adapter and /proc/acpi/battery, there is
> > nothing. So I guess there is something wrong with ac and battery
> > modules. Nevertheless, I am able to load these modules.
> >
> > Thanks for your advices.
> > François Valenduc
> >
> Hello again,
> I forgot to say something important: I am using the 2.6.9 kernel.
> 
> 
> 
> 
> -------------------------------------------------------
> 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
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
>


-------------------------------------------------------
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_idU88&alloc_id\x12065&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: No battery information on a ACER Travelmate 4001LMi
       [not found]         ` <47e0449d04110705534dd09447-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2004-11-08 15:30           ` Pedro Venda
       [not found]             ` <418F90F9.40602-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Pedro Venda @ 2004-11-08 15:30 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Johannes Kuhlmann

-----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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: No battery information on a ACER Travelmate 4001LMi
       [not found]             ` <418F90F9.40602-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
@ 2004-11-08 15:49               ` Pedro Venda
       [not found]                 ` <418F9587.9050108-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Pedro Venda @ 2004-11-08 15:49 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

| I have a travelmate 4001WLMi. I didn't see Shaohua Li offering to do
| such drivers,

Absolutely no intention to criticise! just stating I did not see such
post. On the other hand, I joined the list after Li, so he probably said
that before i joined.

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

iD8DBQFBj5WHeRy7HWZxjWERApc2AJ4qXPl31Y73tLdE2hKj4Dtgd9QAbQCg5r8o
8RxaNVjAc+z40uqphormELM=
=eQa+
-----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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: No battery information on a ACER Travelmate 4001LMi
       [not found]                 ` <418F9587.9050108-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
@ 2004-11-08 21:05                   ` Johannes Kuhlmann
  0 siblings, 0 replies; 6+ messages in thread
From: Johannes Kuhlmann @ 2004-11-08 21:05 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Mon, 08 Nov 2004 15:49:27 +0000, Pedro Venda <pjlv-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org> wrote:
> Absolutely no intention to criticise! just stating I did not see such
> post. On the other hand, I joined the list after Li, so he probably said
> that before i joined.

No problem. I was actually referring to this post:
http://sourceforge.net/mailarchive/message.php?msg_id=9485814

Regards,
Johannes


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-11-08 21:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox