Bug 5100 - S3 resume: no Battery info - Samsung nv5000
Summary: S3 resume: no Battery info - Samsung nv5000
Status: REJECTED DUPLICATE of bug 4665
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Sleep-Wake (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Luming Yu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-21 00:55 UTC by Oleksij Rempel (fishor)
Modified: 2005-08-31 06:15 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.13-rc6-mm1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Oleksij Rempel (fishor) 2005-08-21 00:55:12 UTC
Distribution:Kubuntu 5.04    
Hardware Environment:laptop samsung nv5000    
Software Environment:kernel 2.6.13-rc6-mm1    
Problem Description:    
Batterys wich are present before suspend to mem,  
not available after resume.   
    
    
Steps to reproduce:    
unload battery module and load agen.
Comment 1 Andrew Morton 2005-08-21 01:05:24 UTC
Is this problem specific to 2.6.13-rc6-mm1, or does 2.6.13-rc6
also exhibit the bug?
Comment 2 Oleksij Rempel (fishor) 2005-08-21 01:25:55 UTC
Yes. 2.6.13-rc6 also exhibit the bug.   
Before suspend cat /proc/acpi/battery/BAT0/info show:   
======================out_1==============================   
present:                 yes   
design capacity:         3800 mAh   
last full capacity:      3248 mAh   
battery technology:      rechargeable   
design voltage:          7400 mV   
design capacity warning: 330 mAh   
design capacity low:     99 mAh   
capacity granularity 1:  16 mAh   
capacity granularity 2:  16 mAh   
model number:   
serial number:   
battery type:            LION   
OEM info:                Samsung   
============================================================   
   
after resume first second:   
=====================out_2=================================   
present:                 yes   
design capacity:         972800 mAh   
last full capacity:      831488 mAh   
battery technology:      unknown   
design voltage:          1894400 mV   
design capacity warning: 84480 mAh   
design capacity low:     25344 mAh   
capacity granularity 1:  4096 mAh   
capacity granularity 2:  4096 mAh   
model number:   
serial number:   
battery type:            LION   
OEM info:                Samsung   
=============================================================   
   
after  5 seconds  
=====================out_3===========================  
present:                 no  
======================================================  
 
if battery module unloaded bevore sleep and loadad after resume it's show  
example =out_2= without eny changes, power and sleep buttons not working. It's 
looks like EC hang up :) 
 
if battery module unloaded after resume and loadad agen it's show =out_1= and 
all working properly. 
  
Comment 3 Luming Yu 2005-08-21 01:27:38 UTC
Please try latest ec patch at bug 3851. And boot with ec_burst=1 and ec_burst=0
Comment 4 Oleksij Rempel (fishor) 2005-08-21 01:32:36 UTC
This pathc i tested for about one week and reportet what i cant put laptop to  
suspend mode. With both command line arguments. 
Comment 5 Oleksij Rempel (fishor) 2005-08-21 01:35:20 UTC
It wos bug 5028 
Comment 6 Len Brown 2005-08-22 13:58:18 UTC
Is this a regression vs. a previous release which would
suspend/resume to RAM and then show correct battery info,
or has this failed for all tested releases on this box?
Comment 7 Oleksij Rempel (fishor) 2005-08-22 14:40:34 UTC
It was bug 4535 with kernel 2.6.12-rc3 & 2.6.11.7      
batt_info:      
=========================================================      
present:                 yes       
design capacity:         -656877352 mAh       
last full capacity:      -825307648 mAh       
battery technology:      unknown       
design voltage:          -387389208 mV       
design capacity warning: 1246382666 mAh       
design capacity low:     1667457891 mAh       
capacity granularity 1:  269488144 mAh       
capacity granularity 2:  269488144 mAh       
model number:       
serial number:       
battery type:            LION       
OEM info:                Samsung       
=========================================================      
and with 2.6.13-rc1-mm1 worked properly. It was nofing with resume ore      
something other, jast worked :)      
      
Now it show correct batt.info before sleep.      
> Is this a regression vs    
Maybe. Bug 4534 was RESOLOVED with 2.6.13-rc1-mm1 too.   
> or has this failed for all tested releases on this box?   
No. Kernel 2.6.13-rc1-mm1.   
But this bug is a bit different. 
   
Comment 8 Oleksij Rempel (fishor) 2005-08-25 23:40:51 UTC
kernel 2.6.13-rc7: it's looks like you changed default ec_burst to 0.
Result,after boot it's show "batt no", "ac_adapter off" - realy streng. Same
result i get with 2.6.13-rc6-mm1 ec_burst=0. But 2.6.13-rc7 ec_burst=1 show
correct info after boot and after resume. 
Comment 9 Luming Yu 2005-08-31 06:15:53 UTC
I want to make sure burst_mode=1 works for every laptop, then I will ask for 
enabling burst_mode by default.

*** This bug has been marked as a duplicate of 4665 ***

Note You need to log in before you can comment on or make changes to this bug.