Skip to contentSkip to conversation

No battery information on a ACER Travelmate 4001LMi

DISCUSSION François Valenduc 3 participants 6 messages Nov 4, 2004 – Nov 8, 2004 5 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 31 lines · François Valenduc

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

Quoted 5 lines

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

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)

Quoted 56 lines · François Valenduc
Quoted 39 lines · François Valenduc

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

Quoted 7 lines

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.

Quoted 10 lines

-------------------------------------------------------
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 [email protected]
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_id065&op=click

A message that is not in the archive (sent off-list or not yet received): 47e0449d04110705534dd09447-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#6 lore raw

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw
Quoted 3 lines · Pedro Venda

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