Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1314414 > unrolled thread
| Started by | Pavel Machek <pavel@ucw.cz> |
|---|---|
| First post | 2016-01-21 19:50 +0100 |
| Last post | 2016-01-23 13:10 +0100 |
| Articles | 6 — 3 participants |
Back to article view | Back to linux.kernel
4.5-rc0: n900 battery charging reverts to 100mA, indicator turns back on Pavel Machek <pavel@ucw.cz> - 2016-01-21 19:50 +0100
Re: 4.5-rc0: n900 battery charging reverts to 100mA, indicator turns back on Sebastian Reichel <sre@kernel.org> - 2016-01-21 20:20 +0100
Re: 4.5-rc0: n900 battery charging reverts to 100mA, indicator turns back on Pavel Machek <pavel@ucw.cz> - 2016-01-21 20:50 +0100
Re: 4.5-rc0: n900 battery charging reverts to 100mA, indicator turns back on Sebastian Reichel <sre@kernel.org> - 2016-01-21 22:20 +0100
Re: 4.5-rc0: n900 battery charging reverts to 100mA, indicator turns back on Pali Rohár <pali.rohar@gmail.com> - 2016-01-21 20:40 +0100
Re: 4.5-rc0: n900 battery charging reverts to 100mA, indicator turns back on Pavel Machek <pavel@ucw.cz> - 2016-01-23 13:10 +0100
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Date | 2016-01-21 19:50 +0100 |
| Subject | 4.5-rc0: n900 battery charging reverts to 100mA, indicator turns back on |
| Message-ID | <qTssW-M0-15@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Sebastian Reichel <sre@kernel.org> |
|---|---|
| Date | 2016-01-21 20:20 +0100 |
| Message-ID | <qTsVY-1dK-27@gated-at.bofh.it> |
| In reply to | #1314414 |
[Multipart message — attachments visible in raw view] — view raw
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@kernel.org :)
-- Sebastian
[toc] | [prev] | [next] | [standalone]
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Date | 2016-01-21 20:50 +0100 |
| Message-ID | <qTtp0-1qg-13@gated-at.bofh.it> |
| In reply to | #1314440 |
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:
> > 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@kernel.org :)
Address book updated :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[toc] | [prev] | [next] | [standalone]
| From | Sebastian Reichel <sre@kernel.org> |
|---|---|
| Date | 2016-01-21 22:20 +0100 |
| Message-ID | <qTuO6-2vq-11@gated-at.bofh.it> |
| In reply to | #1314469 |
[Multipart message — attachments visible in raw view] — view raw
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). > > P.S.: No need to Cc me two times and when you update your > > script/contacts, please use sre@kernel.org :) > > Address book updated :-) Thanks. -- Sebastian
[toc] | [prev] | [next] | [standalone]
| From | Pali Rohár <pali.rohar@gmail.com> |
|---|---|
| Date | 2016-01-21 20:40 +0100 |
| Subject | Re: 4.5-rc0: n900 battery charging reverts to 100mA, indicator turns back on |
| Message-ID | <qTtfl-1mO-25@gated-at.bofh.it> |
| In reply to | #1314414 |
[Multipart message — attachments visible in raw view] — view raw
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. > Best regards, > Pavel -- Pali Rohár pali.rohar@gmail.com
[toc] | [prev] | [next] | [standalone]
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Date | 2016-01-23 13:10 +0100 |
| Message-ID | <qU5aX-2qI-13@gated-at.bofh.it> |
| In reply to | #1314462 |
On Thu 2016-01-21 20:34:07, Pali Rohár wrote: > 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. Hmm, seems like I can't reproduce that any more. I now noticed that if I suspend machine it auto-resumes quickly, so maybe suspend was responsbile. I'll try running 4.5-rc0 for a while... Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web