<sicelo>
in any case, this change is not on your device, so it isn't the cause :-)
<sicelo>
let's troubleshoot ... you say charging isn't working
<sicelo>
let's see what `upower -d` says. please send full output to a pastebin somewhere
<arno11>
sorry i can't: only have my n900 and low battery...
<sicelo>
ok. power off the N900 and charge while it's switched off. whatever is broken in Leste won't affect it when switched off
<arno11>
yes i know that, i'll have a look quickly at upower output anyway
<arno11>
btw which device is relevant now ?
<Wizzup>
do you need help with kernel?
<sicelo>
ideally you'd show us the full `upower -d` .. so we can see everything that upower sees
<sicelo>
but if you want to show only a bit, check what `/sys/class/power_supply/bq24150a-0/uevent` shows, and `/sys/class/power_supply/bq27200-0/uevent`
<sicelo>
Wizzup: it'd be great if kernel 6.1.80 was built for repos ... although i think arno11's issue is not related
<arno11>
i'll try using links
<sicelo>
with my changes being out of sync as they are, i.e. with kernel & mce changes missing, the worst that should happen, as far as i can see/understand is - animation will go on forever, which it already did anyway
<sicelo>
a regression would be ... it would show incorrect percentage too, because the charger will look like a 2nd battery and confuse the calculations, which is not harmful, but annoying UX of course
n900 has quit [Ping timeout: 260 seconds]
<Wizzup>
on my n900 the led is green now btw, but it only appears after a long time, and I still have to update
<arno11>
sicelo: sorry, i can't pastebin
<sicelo>
it's alright :-)
<arno11>
i can paste upower -d here btw
<sicelo>
mmm, maybe paste in pm
<arno11>
ok
<sicelo>
it's a lot of lines, might suck to post in chan
<sicelo>
you're doing that `upower -d` while connected to your charger?
<arno11>
yes
<arno11>
is display device relevant ?
<arno11>
cause it recognizes charger plug/unplug
<arno11>
i mean charging/discharging
<sicelo>
no, leste doesn't use it
<sicelo>
from your output, some observations - 1. you're not running the latest leste-config ... otherwise you wouldn't have those twl* items
<arno11>
same with bq24150, but not bq27200
<sicelo>
but the more concerning issue is .. where is isp1704/ isp1707 ...
<sicelo>
anyway, your battery is not that low yet
<sicelo>
so where is isp170x ... can you `ls /sys/class/power_supply` and see if you have something like that?
n900 has joined #maemo-leste
<arno11>
indeed
<arno11>
100% sure to run last leste-config
<sicelo>
isp170x is the one that actually detects the charger, then informs bq24150a, which is the actual charger
<Wizzup>
sicelo: oh..
<Wizzup>
I think gne-displace wasn't run for leste-config
<Wizzup>
let me see
<sicelo>
regarding leste-config, do you have `/etc/modprobe.d/blacklist-supply.conf` ?
<Wizzup>
yeah he won't have it
<sicelo>
Wizzup: ah :-p
<arno11>
lol
<sicelo>
anyway, arno11's problem is deeper than that ... our changes, even with these 'accidents' ... are not touching the charger in the way observed now
<sicelo>
arno11: please do `lsmod | grep isp17`
<arno11>
ok
<Wizzup>
building new leste-config
<arno11>
it shows isp1704 charger
<sicelo>
ok, and this is also available in `/sys/class/power_supply`? can you show us output of its uevent file
n900 has quit [Quit: WeeChat 2.3]
<arno11>
there is no isp17 in /sys/class/power_supply
<arno11>
ok (again charger worked few min before the upgrade)
<sicelo>
yeah, something else happened, which i hope dmesg may answer
<arno11>
isp1704_charger: probe of isp1707 failed with error -110
<sicelo>
isp1704 not loading successfully will break charging and usb networking
<arno11>
ok
<sicelo>
did you try a reboot btw? :-)
n900 has joined #maemo-leste
<arno11>
yes i tried
<sicelo>
you could also try `apt-get install --reinstall linux-image-omap` in case something happened to your kernel. no one has touched isp170x in ages
Livio has quit [Ping timeout: 268 seconds]
<arno11>
ok but ii didn't noticed any error, and everything else works fine
<sicelo>
:-)
<sicelo>
except the charger ... which is controlled only by the kernel
<arno11>
ok weird stuff
n900 has quit [Client Quit]
<arno11>
currently reinstalling linux image omap...hope i have really 49% of battery lol
n900 has joined #maemo-leste
<sicelo>
you do
<sicelo>
anyway what really matters is the voltage. it'll shutdown after you've reached 3.248V
<arno11>
yes i know :)
fab_ has quit [Quit: fab_]
<sicelo>
nice little piece of Finnish engineering :-P
SystemError has quit [Remote host closed the connection]
<arno11>
:)
<arno11>
kernel is ok btw
fab_ has joined #maemo-leste
fab_ has quit [Remote host closed the connection]
<sicelo>
ok the battery stuff is a bit of a mess. our fuel gauge isn't really a fuel gauge. our phy is weird too (isp17..), so yeah. it's a wonder this stuff works at all
SystemError has joined #maemo-leste
fab_ has joined #maemo-leste
<sicelo>
re: kernel ... i think so too. but i know for sure we don't have anything at all that manages (or potentially breaks) isp170x in Leste
<arno11>
ok
<sicelo>
btw what does error -110 mean
<arno11>
(the charger stopped working immediately after the last update, weird coincidence)
<arno11>
no idea for -110
<arno11>
ah, leste config is available, let's upgrading
<arno11>
Wizzup: thx
<sicelo>
looks like it's "connection timed out"
<arno11>
rebooting...biab
arno11 has quit [Quit: Lost terminal]
SystemError has quit [Remote host closed the connection]
SystemError has joined #maemo-leste
arno11 has joined #maemo-leste
<arno11>
sicelo: it works again :)
<sicelo>
heh
<sicelo>
mysterious, but glad it works now
<arno11>
yes, i just upgraded leste config again and rebooted...
<sicelo>
kernel reinstall was not finished?
<arno11>
?
<sicelo>
you mention upgrading leste-config. but prior to that, i had suggested reinstalling the kernel. did the reinstall complete, or you interrupted it and only upgraded leste-config?
<Wizzup>
well so the blacklist wasn't there
<Wizzup>
so I fixed that in leste-config
akossh has quit [Ping timeout: 255 seconds]
<sicelo>
thing is - i fail to see how leste-config could cause and, subsequently, fix the issue :-)
<Wizzup>
the blacklist you added wasn't there
<Wizzup>
so the code for the battery applet was probably looking at the wrong supplies
<Wizzup>
since you removed the blacklist there
<sicelo>
yes, i understand the displays would be broken. but not the charging itself, and definitely not losing the PHY (isp170x)
<arno11>
sicelo: ah, indeed i reinstalled kernel stuff (with no troubles) and then reinstalled leste config
<arno11>
i didn't interrupt anything
<sicelo>
anyway, it's almost 1.30AM here. sleeping is not a bad idea :-)
<arno11>
yes indeed, gn guys and thx for your help