[Samsung NP540U3C-A01UB] Incorrect battery/power status and missing /proc/acpi/battery

Bug #1210361 reported by MeMo
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Hi after the last Ubuntu upgrade, I am having these power related problems:

1) the initial battery/power indicator does not change when the laptop is plugged/unplugged. If the laptop was on battery, the indicator continues to show it after I plug it in, and vice versa.

2) Sleep never works when the lid is closed, however it can be invoked using "/etc/acpi/sleep.sh" or selecting suspend from the menu.

3) /proc/acpi/battery got disappeared

I am attaching the following:

- version.log
- dmesg | grep ACPI
- dmidecode
- lshw
- lscpu -vnvn
- /proc/acpi when plugged
- /proc/acpi when on battery
- uname -a

Ubuntu is my primary OS so I will appreciate any suggestions for resolving this issue. Thanks in advance!
---
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: memo 2111 F.... pulseaudio
 /dev/snd/pcmC0D0p: memo 2111 F...m pulseaudio
DistroRelease: Ubuntu 13.04
HibernationDevice: RESUME=UUID=acb42b41-ef8d-4cc3-9746-06868ce9e5d3
InstallationDate: Installed on 2012-11-09 (272 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C/532U3C
MarkForUpload: True
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-27-generic root=UUID=e5741332-e4ea-46e4-84e9-b72b1cadc742 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-27-generic N/A
 linux-backports-modules-3.8.0-27-generic N/A
 linux-firmware 1.106
Tags: raring
Uname: Linux 3.8.0-27-generic x86_64
UpgradeStatus: Upgraded to raring on 2013-04-27 (104 days ago)
UserGroups: adm cdrom debian-tor dip fuse lpadmin plugdev sambashare sudo vboxusers
dmi.bios.date: 11/15/2012
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P05ABH
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: NP540U3C-A01UB
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP05ABH:bd11/15/2012:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C/532U3C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNP540U3C-A01UB:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C/532U3C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
---
ApportVersion: 2.12.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 2904 F.... pulseaudio
CasperVersion: 1.336
DistroRelease: Ubuntu 13.10
LiveMediaBuild: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130825)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C/532U3C
MarkForUpload: True
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/username.seed boot=casper quiet splash --
ProcVersionSignature: Ubuntu 3.11.0-3.8-generic 3.11.0-rc6
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-3-generic N/A
 linux-backports-modules-3.11.0-3-generic N/A
 linux-firmware 1.113
Tags: saucy
Uname: Linux 3.11.0-3-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 11/15/2012
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P05ABH
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: NP540U3C-A01UB
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP05ABH:bd11/15/2012:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C/532U3C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNP540U3C-A01UB:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C/532U3C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

Revision history for this message
MeMo (mbelgin) wrote :
MeMo (mbelgin)
description: updated
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1210361

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
MeMo (mbelgin) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected raring
description: updated
Revision history for this message
MeMo (mbelgin) wrote : BootDmesg.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : CRDA.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : CurrentDmesg.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : HookError_cloud_archive.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : IwConfig.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : Lspci.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : Lsusb.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : ProcInterrupts.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : ProcModules.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : PulseList.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : RfKill.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : UdevDb.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : UdevLog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: Incorrect battery/power status and missing /proc/acpi/battery

It's probably best to have three separate bugs for your three issues. That way they can be tracked and addressed separately.

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.11 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc4-saucy/

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
importance: Undecided → Medium
Revision history for this message
MeMo (mbelgin) wrote : Re: [Bug 1210361] Re: Incorrect battery/power status and missing /proc/acpi/battery
Download full text (4.7 KiB)

The upstream kernel does not resolve these bugs. Currently I have:

Linux upc 3.11.0-031100rc4-generic #201308041735 SMP Sun Aug 4 21:36:46 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux

I believe these bugs are related, but I can open separate cases if it will
help. If you want me to do that, should I close this thread?

Thanks again for your help!

On Fri, Aug 9, 2013 at 11:27 AM, Joseph Salisbury <
<email address hidden>> wrote:

> It's probably best to have three separate bugs for your three issues.
> That way they can be tracked and addressed separately.
>
> Would it be possible for you to test the latest upstream kernel? Refer
> to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
> v3.11 kernel[0].
>
> If this bug is fixed in the mainline kernel, please add the following
> tag 'kernel-fixed-upstream'.
>
> If the mainline kernel does not fix this bug, please add the tag:
> 'kernel-bug-exists-upstream'.
>
> If you are unable to test the mainline kernel, for example it will not
> boot, please add the tag: 'kernel-unable-to-test-upstream'.
> Once testing of the upstream kernel is complete, please mark this bug as
> "Confirmed".
>
>
> Thanks in advance.
>
> [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc4-saucy/
>
>
> ** Changed in: linux (Ubuntu)
> Status: Confirmed => Incomplete
>
> ** Changed in: linux (Ubuntu)
> Importance: Undecided => Medium
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1210361
>
> Title:
> Incorrect battery/power status and missing /proc/acpi/battery
>
> Status in “linux” package in Ubuntu:
> Incomplete
>
> Bug description:
> Hi after the last Ubuntu upgrade, I am having these power related
> problems:
>
> 1) the initial battery/power indicator does not change when the laptop
> is plugged/unplugged. If the laptop was on battery, the indicator
> continues to show it after I plug it in, and vice versa.
>
> 2) Sleep never works when the lid is closed, however it can be invoked
> using "/etc/acpi/sleep.sh" or selecting suspend from the menu.
>
> 3) /proc/acpi/battery got disappeared
>
> I am attaching the following:
>
> - version.log
> - dmesg | grep ACPI
> - dmidecode
> - lshw
> - lscpu -vnvn
> - /proc/acpi when plugged
> - /proc/acpi when on battery
> - uname -a
>
> Ubuntu is my primary OS so I will appreciate any suggestions for
> resolving this issue. Thanks in advance!
> ---
> ApportVersion: 2.9.2-0ubuntu8.3
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: memo 2111 F.... pulseaudio
> /dev/snd/pcmC0D0p: memo 2111 F...m pulseaudio
> DistroRelease: Ubuntu 13.04
> HibernationDevice: RESUME=UUID=acb42b41-ef8d-4cc3-9746-06868ce9e5d3
> InstallationDate: Installed on 2012-11-09 (272 days ago)
> InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64
> (20121017.5)
> MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C/532U3C
> MarkForUpload: True
> Package: linux (not installed)
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> XDG_RUNTI...

Read more...

tags: added: kernel-bug-exists-upstream
removed: apport-collected raring
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote : Re: Incorrect battery/power status and missing /proc/acpi/battery

MeMo, could you please provide the full computer model as noted on the sticker?

tags: added: needs-full-computer-model needs-upstream-testing raring regression-potential
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
MeMo (mbelgin) wrote :

It's a Samsung NP540U3C-A01UB. Please let me know what else can I do/provide for troubleshooting. Thanks!

penalvch (penalvch)
summary: - Incorrect battery/power status and missing /proc/acpi/battery
+ [Samsung NP540U3C-A01UB] Incorrect battery/power status and missing
+ /proc/acpi/battery
Revision history for this message
penalvch (penalvch) wrote :

MeMo, could you please confirm this issue exists with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ . If the issue remains, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc5

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: latest-bios-unkown
removed: needs-full-computer-model
Revision history for this message
MeMo (mbelgin) wrote :

Thanks. I already tried with the upstream kernel (3.11.0-031100rc4-generic) and it did not resolve the problem. I am now downloading the Saucy distro and will try is using a live session. However, it is almost for certain that the problems will not exist in the live session, since there are no hardware compatibility between my laptop and Ubuntu. All of the versions I used so far did work without a problem. The problem happened after I updated the system and it is probably a corrupt configuration.

I will provide an update as soon as I try with the latest development release.

Thanks!

tags: added: kernel-fixed-upstream-v3.11-rc4
tags: removed: needs-upstream-testing
penalvch (penalvch)
tags: added: needs-upstream-testing
MeMo (mbelgin)
tags: added: kernel-bug-exists-upstream-v3.11-rc4
removed: kernel-fixed-upstream-v3.11-rc4
Revision history for this message
MeMo (mbelgin) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected saucy
description: updated
Revision history for this message
MeMo (mbelgin) wrote : BootDmesg.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : CRDA.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : CurrentDmesg.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : IwConfig.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : Lspci.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : Lsusb.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : ProcEnviron.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : ProcInterrupts.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : ProcModules.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : PulseList.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : RfKill.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : UdevDb.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : UdevLog.txt

apport information

Revision history for this message
MeMo (mbelgin) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
MeMo (mbelgin) wrote :

Hello again,

Sorry that it took too long, but I finally had a chance to try with the development live distribution (3.10). To my surprise, the issues persist in this versionas well! I collected and attached apport info to the thread. So, the issues are not related to my settings and can be replicated using recent live versions.

Please let me know if you need more information. Thanks again!

Revision history for this message
MeMo (mbelgin) wrote :

Hi! Were any of the information useful? Anything else that I can provide?

I would really appreciate any suggestions for troubleshooting since this problem is significantly affecting the usability of Ubuntu. The fact that the development live distro also has this problem indicates a hardware compatibility issue with the existing/future Ubuntu releases. If this is the case, are there any packages that I can downgrade to at least get the functionality back until this bug is fixed?

Also, in case it helps, the "suspend" function does work, but closing the lid does not trigger it.

Thanks again!

Revision history for this message
penalvch (penalvch) wrote :

MeMo, did this problem not occur in a release prior to Raring?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
MeMo (mbelgin) wrote :

Hi Christopher, yes, this problem did not occur prior to Raring. My laptop had been 100% compatible with all of the Ubuntu features until the update. The problem continues to affect me in various ways. Aside from inability to suspend, I have no power management at all, so the battery lasts only for a few hours. This is very inconvenient during travel. What bothers me the most is the fact that the live development release also causes these symptoms so I am worried about the sustainability of my Ubuntu experience! I really don't want to go back to Windows.

Revision history for this message
penalvch (penalvch) wrote :

MeMo, the next step is to bisect between Precise and Raring, in order to identify the offending commit. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

tags: added: regression-release
removed: regression-potential
tags: added: needs-bisect
Revision history for this message
Mark Rein (gimpsmart) wrote :

Hello, I have the same problem with Samsung NP530. Could I do something that could help you to resovle this bug?

Revision history for this message
penalvch (penalvch) wrote :

Mark Rein, could you please file a new report so that your hardware may be tracked via a terminal:
ubuntu-bug linux

Revision history for this message
Ondrej Sevcik (ondrej-sev) wrote :

Hi, I created new account (Mark Rein was my friend's account) and repported new bug as you suggest https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1245557

penalvch (penalvch)
tags: added: needs-bios-check
removed: latest-bios-unkown
Revision history for this message
MeMo (mbelgin) wrote :

Folks,

After a long period of suffering, I found that this issue was caused by a combination of hardware and software problems. Apparently my laptop had power related problems, which were resolved by a motherboard replacement. This fixed the main problem, but I was still having problems having ubuntu recognizing the lid actions (open/close). After some troubleshooting, I found that the crashplan daemon running in the background was causing it.

Here's a one-liner for checking the lid actions in case you have a similar problem:

while true; do cat /proc/acpi/button/lid/LID0/state; sleep 1; done

If you don't see "close" when you close the lid, then you might like to check for running processes, starting with crashplan.

I tried to mark this case as solved, but I can only see "fix committed/released" options. How can we properly close this case?

Thank you all from Canonical and Ubuntu community for your valuable help and feedback!

Revision history for this message
penalvch (penalvch) wrote :

MeMo, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1210361/comments/48 regarding this being fixed with a motherboard swap. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.