From: Pavel Machek <hidden> Date: 2016-01-21 18:42:40
Hi!
In 4.4, n900 battery charging works. If indicator is turned off, it
stays off, and if I select 1.8A charge, it sticks. (There may be
problems after system suspend and resume. But normal operation seems
to be pretty reliable).
In 4.5-rc0 (7fdec82af6a9e190e53d07a1463d2a9ac49a8750) battery charging
works for few hours. But then indicator (yellow light on 3color LED)
turns back on, and if I ask for 1.8A charge, it goes back to .1A,
discharging battery.
Any ideas?
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
From: Sebastian Reichel <sre@kernel.org> Date: 2016-01-21 19:15:32
Hi,
On Thu, Jan 21, 2016 at 07:42:34PM +0100, Pavel Machek wrote:
In 4.4, n900 battery charging works. If indicator is turned off, it
stays off, and if I select 1.8A charge, it sticks. (There may be
problems after system suspend and resume. But normal operation seems
to be pretty reliable).
In 4.5-rc0 (7fdec82af6a9e190e53d07a1463d2a9ac49a8750) battery charging
works for few hours. But then indicator (yellow light on 3color LED)
turns back on, and if I ask for 1.8A charge, it goes back to .1A,
discharging battery.
Any ideas?
Maybe a side-effect of isp1704 driver actually doing what was
intended, which is is 88025632515a ("power: isp1704_charger: Fix
isp1704_write()").
P.S.: No need to Cc me two times and when you update your
script/contacts, please use sre at kernel.org :)
-- Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160121/d0e0b6d7/attachment-0001.sig>
On Thursday 21 January 2016 19:42:34 Pavel Machek wrote:
Hi!
In 4.4, n900 battery charging works. If indicator is turned off, it
stays off, and if I select 1.8A charge, it sticks. (There may be
problems after system suspend and resume. But normal operation seems
to be pretty reliable).
Hm... right, bq2415x driver does not have support for suspend/resume.
Before suspend registers should be stored and after resume restored,
plus check charger auto detection.
In 4.5-rc0 (7fdec82af6a9e190e53d07a1463d2a9ac49a8750) battery
charging works for few hours. But then indicator (yellow light on
3color LED) turns back on, and if I ask for 1.8A charge, it goes
back to .1A, discharging battery.
Any ideas?
Look into bq24150a sysfs node what changes. Also if there is something
in dmesg.
From: Pavel Machek <hidden> Date: 2016-01-21 19:41:32
On Thu 2016-01-21 20:15:25, Sebastian Reichel wrote:
Hi,
On Thu, Jan 21, 2016 at 07:42:34PM +0100, Pavel Machek wrote:
quoted
In 4.4, n900 battery charging works. If indicator is turned off, it
stays off, and if I select 1.8A charge, it sticks. (There may be
problems after system suspend and resume. But normal operation seems
to be pretty reliable).
In 4.5-rc0 (7fdec82af6a9e190e53d07a1463d2a9ac49a8750) battery charging
works for few hours. But then indicator (yellow light on 3color LED)
turns back on, and if I ask for 1.8A charge, it goes back to .1A,
discharging battery.
Any ideas?
Maybe a side-effect of isp1704 driver actually doing what was
intended, which is is 88025632515a ("power: isp1704_charger: Fix
isp1704_write()").
Hmm. It looks like 7fdec82af6a does not yet contain 88025632515a. Let
me try to add that fix, instead...
P.S.: No need to Cc me two times and when you update your
script/contacts, please use sre at kernel.org :)
From: Sebastian Reichel <sre@kernel.org> Date: 2016-01-21 21:14:57
Hi,
On Thu, Jan 21, 2016 at 08:41:26PM +0100, Pavel Machek wrote:
Hmm. It looks like 7fdec82af6a does not yet contain 88025632515a. Let
me try to add that fix, instead...
Right, your checkout does not contain the power supply
pull request. I think it's unlikely, that the patch will
fix your issue.
Since there are no other power supply changes between 4.4 and your
checkout, the next most likely candidate is the usb tree (which has
been merged before the commit you mentioned).
quoted
P.S.: No need to Cc me two times and when you update your
script/contacts, please use sre at kernel.org :)
From: Pavel Machek <hidden> Date: 2016-01-23 12:04:32
On Thu 2016-01-21 20:34:07, Pali Roh?r wrote:
On Thursday 21 January 2016 19:42:34 Pavel Machek wrote:
quoted
Hi!
In 4.4, n900 battery charging works. If indicator is turned off, it
stays off, and if I select 1.8A charge, it sticks. (There may be
problems after system suspend and resume. But normal operation seems
to be pretty reliable).
Hm... right, bq2415x driver does not have support for suspend/resume.
Before suspend registers should be stored and after resume restored,
plus check charger auto detection.
quoted
In 4.5-rc0 (7fdec82af6a9e190e53d07a1463d2a9ac49a8750) battery
charging works for few hours. But then indicator (yellow light on
3color LED) turns back on, and if I ask for 1.8A charge, it goes
back to .1A, discharging battery.
Any ideas?
Look into bq24150a sysfs node what changes. Also if there is something
in dmesg.