kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #84257
[Bug 889942] Re: ACPI power_supply battery errors to: No such device
Sorry I didn't post here again because I coudn't find older kernels where this didn't happen. I poked a bit in acpi and tried with acpi-call and found out that it is really the ec that gets confused and stops to report values. The ec could be reinitialized by adding or removing the kernel module msi_laptop (which will not load by default).
Since I do not use this notebook on battery very often I gave up on this.
But recently I saw that we have newer kernels in the repository.
The notebook is still on precise and the recent 3.2.0-67 kernel still has this problem but I installed 3.13 linux-generic-lts-trusty some weeks ago and it's fine now.
So this was really a kernel bug that confused the embedded controller and its gone now.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/889942
Title:
ACPI power_supply battery errors to: No such device
Status in “linux” package in Ubuntu:
Expired
Bug description:
On 11.10 a few minutes after reboot on this notebook the battery
symbol in the panel turns to no battery available, normal values in
the sys interface turn to 'No such device' messages and 'voltage_now'
gives a wrong number.
Here is a recent thread
http://ubuntuforums.org/showthread.php?t=1865832
and 'BAT1/current_now' gives 'No such device' on post #7
This:
-----------
user@box:~$ cat /proc/acpi/battery/BAT1/state
present: yes
capacity state: ok
charging state: charged
present rate: 0 mA
remaining capacity: 4182 mAh
present voltage: 16586 mV
user@box:~$ cat /proc/acpi/battery/BAT1/info
present: yes
design capacity: 4800 mAh
last full capacity: 4397 mAh
battery technology: rechargeable
design voltage: 14800 mV
design capacity warning: 0 mAh
design capacity low: 0 mAh
cycle count: 0
capacity granularity 1: 1 mAh
capacity granularity 2: 1 mAh
model number: MS-1058
serial number:
battery type: LION
OEM info: MSI Corp.
user@box:~$ cat /sys/class/power_supply/BAT1/
alarm manufacturer technology
charge_full model_name type
charge_full_design power/ uevent
charge_now present voltage_min_design
current_now serial_number voltage_now
cycle_count status
device/ subsystem/
user@box:~$ cat /sys/class/power_supply/BAT1/alarm
0
user@box:~$ cat /sys/class/power_supply/BAT1/charge_full
4397000
user@box:~$ cat /sys/class/power_supply/BAT1/charge_full_design
4800000
user@box:~$ cat /sys/class/power_supply/BAT1/charge_now
4182000
user@box:~$ cat /sys/class/power_supply/BAT1/current_now
0
user@box:~$ cat /sys/class/power_supply/BAT1/cycle_count
0
user@box:~$ cat /sys/class/power_supply/BAT1/manufacturer
MSI Corp.
user@box:~$ cat /sys/class/power_supply/BAT1/model_name
MS-1058
user@box:~$ cat /sys/class/power_supply/BAT1/present
1
user@box:~$ cat /sys/class/power_supply/BAT1/serial_number
user@box:~$ cat /sys/class/power_supply/BAT1/status
Unknown
user@box:~$ cat /sys/class/power_supply/BAT1/technology
Unknown
user@box:~$ cat /sys/class/power_supply/BAT1/type
Battery
user@box:~$ cat /sys/class/power_supply/BAT1/voltage_min_design
14800000
user@box:~$ cat /sys/class/power_supply/BAT1/voltage_now
16586000
user@box:~$ cat /proc/acpi/ac_adapter/ADP1/state
state: on-line
user@box:~$ cat /sys/class/power_supply/ADP1/
device/ online power/ subsystem/ type uevent
user@box:~$ cat /sys/class/power_supply/ADP1/online
1
user@box:~$ cat /sys/class/power_supply/ADP1/type
Mains
----------------
changes to:
user@box:~$ cat /proc/acpi/battery/BAT1/state
present: yes
capacity state: ok
charging state: charged
present rate: unknown
remaining capacity: unknown
present voltage: 10000 mV
user@box:~$ cat /proc/acpi/battery/BAT1/info
present: yes
design capacity: 4800 mAh
last full capacity: 4397 mAh
battery technology: rechargeable
design voltage: 14800 mV
design capacity warning: 0 mAh
design capacity low: 0 mAh
cycle count: 0
capacity granularity 1: 1 mAh
capacity granularity 2: 1 mAh
model number: MS-1058
serial number:
battery type: LION
OEM info: MSI Corp.
user@box:~$ cat /sys/class/power_supply/BAT1/
cat: /sys/class/power_supply/BAT1/: Ist ein Verzeichnis
user@box:~$ cat /sys/class/power_supply/BAT1/alarm
0
user@box:~$ cat /sys/class/power_supply/BAT1/charge_full
4397000
user@box:~$ cat /sys/class/power_supply/BAT1/charge_full_design
4800000
user@box:~$ cat /sys/class/power_supply/BAT1/charge_now
cat: /sys/class/power_supply/BAT1/charge_now: Kein passendes Gerät gefunden
user@box:~$ LANGUAGE=en_GB:en cat /sys/class/power_supply/BAT1/charge_now
cat: /sys/class/power_supply/BAT1/charge_now: No such device
user@box:~$ cat /sys/class/power_supply/BAT1/current_now
cat: /sys/class/power_supply/BAT1/current_now: Kein passendes Gerät gefunden
user@box:~$ LANGUAGE=en_GB:en cat /sys/class/power_supply/BAT1/current_now
cat: /sys/class/power_supply/BAT1/current_now: No such device
user@box:~$ cat /sys/class/power_supply/BAT1/cycle_count
0
user@box:~$ cat /sys/class/power_supply/BAT1/manufacturer
MSI Corp.
user@box:~$ cat /sys/class/power_supply/BAT1/model_name
MS-1058
user@box:~$ cat /sys/class/power_supply/BAT1/present
1
user@box:~$ cat /sys/class/power_supply/BAT1/serial_number
user@box:~$ cat /sys/class/power_supply/BAT1/status
Unknown
user@box:~$ cat /sys/class/power_supply/BAT1/technology
Unknown
user@box:~$ cat /sys/class/power_supply/BAT1/type
Battery
user@box:~$ cat /sys/class/power_supply/BAT1/voltage_min_design
14800000
user@box:~$ cat /sys/class/power_supply/BAT1/voltage_now
10000000
user@box:~$ cat /sys/class/power_supply/ADP1/online
1
user@box:~$ cat /sys/class/power_supply/ADP1/type
Mains
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: tolga 2214 F.... pulseaudio
CRDA: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden
Card0.Amixer.info:
Card hw:0 'SB'/'HDA ATI SB at 0xffef8000 irq 16'
Mixer name : 'Realtek ALC883'
Components : 'HDA:10ec0883,1462a422,00100002 HDA:11c11040,11c10001,00100200'
Controls : 23
Simple ctrls : 13
DistroRelease: Ubuntu 11.10
HibernationDevice: RESUME=UUID=4ffdc9f1-4fbb-4ddf-8fe3-f85d6f439d9f
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 04d9:0499 Holtek Semiconductor, Inc. Optical Mouse
MachineType: Notebook SAM2010
Package: linux 3.0.0.16.19
PackageArchitecture: i386
ProcEnviron:
LANGUAGE=de_DE:de:en_GB:en
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-16-generic-pae root=/dev/mapper/hostname-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-16.28-generic-pae 3.0.17
RelatedPackageVersions:
linux-restricted-modules-3.0.0-16-generic-pae N/A
linux-backports-modules-3.0.0-16-generic-pae N/A
linux-firmware 1.60
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Tags: oneiric running-unity
Uname: Linux 3.0.0-16-generic-pae i686
UpgradeStatus: Upgraded to oneiric on 2011-11-13 (99 days ago)
UserAsoundrc:
# ALSA library configuration file
# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/tolga/.asoundrc.asoundconf>
UserGroups: adm admin audio cdrom dialout dip floppy fuse kvm libvirtd lpadmin netdev plugdev powerdev pulse pulse-access sambashare scanner ssh video
dmi.bios.date: 04/25/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: A1058AM7 V7.27
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: SAM2010
dmi.board.vendor: MEDION
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 10
dmi.chassis.vendor: MICRO-STAR INT'L CO.,LTD.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrA1058AM7V7.27:bd04/25/2008:svnNotebook:pnSAM2010:pvr1058:rvnMEDION:rnSAM2010:rvr:cvnMICRO-STARINT'LCO.,LTD.:ct10:cvrToBeFilledByO.E.M.:
dmi.product.name: SAM2010
dmi.product.version: 1058
dmi.sys.vendor: Notebook
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/889942/+subscriptions