[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#670958: power_supply battery oscilates between remove and add



reassign 670958 src:linux-2.6 3.2.15-1
reassign 638970 src:linux-2.6 3.0.0-2
merge 670958 638970
affects 670958 + udev laptop-mode-tools upower
quit

Hi Adrian,

Adrian Fita wrote:

> I'm using Debian Wheezy/Testing, kernel 3.2.15-1 on a HP PowerBook 4515s
> laptop.
[...]
> This happens only when the battery and the power cable are connected. When
> running with the battery removed or without the power cable connected (running
> only on battery) this is not happening.
[...]
> KERNEL[24871.396025] remove /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
> KERNEL[24871.396356] add /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
> KERNEL[24871.398342] change /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
> KERNEL[24890.414842] remove /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
> KERNEL[24890.415287] add /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
> KERNEL[24890.415566] change /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)

Thanks for a clear report.  Does this happen with the squeeze kernel
(2.6.32.y), too?

The squeeze kernel should install without trouble on a wheezy/sid system,
like so:

	cp /etc/apt/sources.list sources.list.backup
	echo 'deb http://ftp.debian.org/debian stable-proposed-updates main' >>/etc/apt/sources.list
	apt-get update
	apt-get install linux-image-2.6.32-5-686-bigmem
	mv sources.list.backup /etc/apt/sources.list
	apt-get update

If it's a regression, we can try to find what change caused it and fix
that.  If the bug is present in current (3.3.y or 3.4-rc) kernels, we
can try reporting it upstream and get help from there.

Please also attach full "dmesg" output from booting.

Hope that helps,
Jonathan



Reply to: