Re: tp_smapi 0.40-9 incompatible with thinkpad w520?

2011-05-25 Thread Henrique de Moraes Holschuh
On Tue, 24 May 2011, CHERN Yen-Chieh wrote:
 power adapter connected, the laptop cannot charge the battery! I think
 the incompatibility of tp_smapi with bios gives the wrong control on
 battery charge threshold. 

If the driver did not manage to load in the first place, it should have
had no effect on the box.

Anyway, to fully reset a Lenovo thinkpad:

1. Remove all power supplies, including all batteries.

2. Press the power button at least 10 times, keep it pressed down at
least 4s each time.

3. Press the power button a final time for at least 12 seconds.

That should drain all power that could keep the EC and a few other
circuits alive.  IBM ThinkPads shut down the EC more often (every time
the box is powered off and disconnected from AC), so you usually don't
need the above procedure.

This will clear all configuration data that is not backed by the CMOS
(which stores BIOS/EFI config).  In all Thinkpads from 2009 and before,
this procedure is known to reset all battery thresholds to the factory
default.  I very much doubt it changed in the 2010/2011 models.

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110525141635.ga25...@khazad-dum.debian.net



Re: Re: tp_smapi 0.40-9 incompatible with thinkpad w520?

2011-05-25 Thread CHERN Yen-Chieh
Many thanks for the info. 

YC

On Wed, 2011-05-25 at 11:16 -0300, Henrique de Moraes Holschuh wrote:
On Tue, 24 May 2011, CHERN Yen-Chieh wrote:
  power adapter connected, the laptop cannot charge the battery! I
think
  the incompatibility of tp_smapi with bios gives the wrong control on
  battery charge threshold. 
 
 If the driver did not manage to load in the first place, it should
have
 had no effect on the box.
 
 Anyway, to fully reset a Lenovo thinkpad:
 
 1. Remove all power supplies, including all batteries.
 
 2. Press the power button at least 10 times, keep it pressed down at
 least 4s each time.
 
 3. Press the power button a final time for at least 12 seconds.
 
 That should drain all power that could keep the EC and a few other
 circuits alive.  IBM ThinkPads shut down the EC more often (every time
 the box is powered off and disconnected from AC), so you usually don't
 need the above procedure.
 
 This will clear all configuration data that is not backed by the CMOS
 (which stores BIOS/EFI config).  In all Thinkpads from 2009 and
before,
 this procedure is known to reset all battery thresholds to the factory
 default.  I very much doubt it changed in the 2010/2011 models.
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1306346489.9080.15.camel@debian-thinkpadw520



Re: tp_smapi 0.40-9 incompatible with thinkpad w520

2011-05-24 Thread Henrique de Moraes Holschuh
 [6.385415] thinkpad_acpi: ThinkPad BIOS 8BET44WW (1.24 ), EC unknown

Yuck.  It is failing the DMI version string checks.

 [8.814881] thinkpad_ec: no ThinkPad embedded controller!

thinkpad_ec is less nice about it than thinkpad-acpi.

No W520 in thinkwiki DMI ID, so I have no idea what's wrong.

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110524155730.ga6...@khazad-dum.debian.net



Re: Re: tp_smapi 0.40-9 incompatible with thinkpad w520

2011-05-24 Thread CHERN Yen-Chieh
Hi, Henrique,

Yeah, thanks for your analysis. So do you know how to report the problem
to lenovo so hardware engineers there could be aware of this problem or
should we wait for updates of tp_smapi from debian community?

Many thanks!

YC


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1306270086.6558.3.camel@debian-thinkpadw520



Re: tp_smapi 0.40-9 incompatible with thinkpad w520?

2011-05-24 Thread CHERN Yen-Chieh
Hi, all,

Another symptom, although on the panel the gnome power management applet
indicates the battery is charging, actually it is not. Now with the
power adapter connected, the laptop cannot charge the battery! I think
the incompatibility of tp_smapi with bios gives the wrong control on
battery charge threshold. 

YC


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1306271120.6558.9.camel@debian-thinkpadw520



Re: tp_smapi 0.40-9 incompatible with thinkpad w520

2011-05-24 Thread Henrique de Moraes Holschuh
On Tue, 24 May 2011, CHERN Yen-Chieh wrote:
 Yeah, thanks for your analysis. So do you know how to report the problem
 to lenovo so hardware engineers there could be aware of this problem or

Who said anything about a bug in the thinkpad firmware?Until I get to
see the dmi string, I don't know what is happening.  It is far more likely
that the driver needs to be updated.

 should we wait for updates of tp_smapi from debian community?

You will have to wait for updates for tp_smapi.

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110525030431.gb6...@khazad-dum.debian.net



Re: Re: tp_smapi 0.40-9 incompatible with thinkpad w520

2011-05-24 Thread CHERN Yen-Chieh
Who said anything about a bug in the thinkpad firmware? Until I
get to see the dmi string, I don't know what is happening.  It
is far more likely that the driver needs to be updated.

Sorry for the misunderstanding. I got a wrong idea about the problem. I
know that I should wait for an update from debian now. Thanks!

YC


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1306296672.9080.6.camel@debian-thinkpadw520



tp_smapi 0.40-9 incompatible with thinkpad w520?

2011-05-23 Thread CHERN Yen-Chieh
Hi,

Before the bios update made available on 19th May, my thinkpad w520
couldn't boot into debian wheezy/sid even after a successful
installation. However the latest bios update solved that issue. But
still the tp_smapi can not be loaded.

usr@debian-thinkpadw520:~$ sudo modprobe tp_smapi
[sudo] password for usr:
FATAL: Error inserting tp_smapi
(/lib/modules/2.6.39-1-amd64/updates/dkms/tp_smapi.ko): No such device

By the way, if I remove the hard drive to install it to an old T60p, it
boots into debian and loads tp_smapi normall. Any ideas about loading
the module properly? Thanks in advance!!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1306182300.3405.6.camel@debian-thinkpadw520



Re: tp_smapi 0.40-9 incompatible with thinkpad w520

2011-05-23 Thread CHERN Yen-Chieh
Hi, there,

I have new info for the problem I have encountered. I've already updated
bios to the latest, so the method in troubleshooting section of
thinkwiki.org about tp_smapi is not working.

usr@debian-thinkpadw520:~$ dmesg |grep thinkpad
[6.385411] thinkpad_acpi: ThinkPad ACPI Extras v0.24
[6.385413] thinkpad_acpi: http://ibm-acpi.sf.net/
[6.385415] thinkpad_acpi: ThinkPad BIOS 8BET44WW (1.24 ), EC unknown
[6.385416] thinkpad_acpi: Lenovo ThinkPad W520, model 4270CTO
[6.385917] thinkpad_acpi: detected a 8-level brightness capable
ThinkPad
[6.386056] thinkpad_acpi: radio switch found; radios are enabled
[6.387943] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio
is unblocked
[6.388639] thinkpad_acpi: Standard ACPI backlight interface
available, not loading native one.
[6.388734] thinkpad_acpi: Console audio control enabled, mode:
monitor (read only)
[6.390127] input: ThinkPad Extra Buttons
as /devices/platform/thinkpad_acpi/input/input6
[8.814881] thinkpad_ec: no ThinkPad embedded controller!
[8.855928] thinkpad_ec: no ThinkPad embedded controller!
[8.895546] thinkpad_ec: no ThinkPad embedded controller!
[   30.010613] thinkpad_ec: no ThinkPad embedded controller!

Help is much appreciated!

YC


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1306206478.3093.4.camel@debian-thinkpadw520