freemangordon | Мелник123З! | 20:38 |
---|---|---|
freemangordon | hmm | 20:38 |
freemangordon | I should teach myself to not write passwords in public channels :) | 20:39 |
Wizzup | :) | 20:39 |
freemangordon | not that I ever wrote any important one, but still | 20:40 |
Wizzup | seems like my droid4 battery is unhappy since yesterday | 20:41 |
Wizzup | I took it out for a moment, but basically it shuts down at 450mAh or something | 20:42 |
Wizzup | even with leste booted, it shuts down when connected to a charger | 20:42 |
Wizzup | kinda weird | 20:42 |
Wizzup | when charging I see this spamming: | 21:00 |
Wizzup | KERNEL[1014.306801] change /devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@0/48098000.target-module/48098000.spi/spi_master/spi0/spi0.0/cpcap-charger.0/power_supply/usb (power_supply) | 21:00 |
Wizzup | in udevadm | 21:00 |
Wizzup | Mar 20 21:00:10 localhost ke_recv[4820]: uh_callback:356: uh_callback: mode = 1 | 21:00 |
Wizzup | Mar 20 21:00:10 localhost ke_recv[4820]: handle_usb_event:514: E_CABLE_DETACHED in 1! | 21:00 |
freemangordon | bad cable? | 21:00 |
freemangordon | loose USB port? | 21:00 |
Wizzup | led is not blinking though | 21:01 |
Wizzup | maybe it's full or something, but I kind of doubt it | 21:01 |
Wizzup | plugged in a different cable and now it's resetting I think | 21:02 |
Wizzup | yeah, was powered off | 21:02 |
Wizzup | weird | 21:02 |
Wizzup | this happened to me 4-5 times today | 21:03 |
Wizzup | which is why I had dmesg open over wifi, but I saw nothing there | 21:03 |
Wizzup | maybe I will be able to get into pstore | 21:03 |
freemangordon | could it be that battery is so bad that it goes under shutdown level? | 21:04 |
Wizzup | maybe, but it works fine without charger | 21:05 |
Wizzup | like I held it with full brightness and connected to wifi | 21:05 |
Wizzup | nothing in pstore | 21:05 |
freemangordon | ah | 21:05 |
Wizzup | it could be that the port is flaky | 21:05 |
buZz | will the droid4 kernel get https://marc.info/?l=linux-omap&m=167819256924890&w=2 on our next update(s)? :P | 21:09 |
freemangordon | buZz: who knows? did you test it? | 21:09 |
buZz | no but it looks very promising, if it cancels out the batterydraw during charging :) | 21:10 |
buZz | i'll patch it in a local build then :) | 21:10 |
freemangordon | also, this is full of printks and whatnot | 21:10 |
freemangordon | BTW, I am playing with cpcap_adc, I may try this patch too when I am done | 21:11 |
buZz | i'm not sure cpcap_charger doesnt already do printks for changed charge states | 21:11 |
buZz | ah cool, the _adc is for the touchscreen? | 21:11 |
freemangordon | no | 21:11 |
freemangordon | iio driver | 21:11 |
freemangordon | ADC like analog-to-digital | 21:11 |
freemangordon | various things, like battery voltage, temperature, charging current, ect | 21:12 |
buZz | ah, ok, cool | 21:12 |
Wizzup | oh, I missed his patch, it seems like it would help in some cases | 21:12 |
freemangordon | RN we can't have both battery voltage and current at the same moment | 21:13 |
freemangordon | which is one of the reasons we cannot properly estimate Ri | 21:13 |
freemangordon | IMO | 21:13 |
buZz | ahh, its doing one-shot adc but could do 'all-shots' adc ? | 21:13 |
freemangordon | it does all channels at once | 21:13 |
buZz | that would be quite the improvement yeah | 21:14 |
freemangordon | but you can read anly one at a time through sysfs | 21:14 |
freemangordon | *only | 21:14 |
buZz | hmhm, unless you use the 'uevent' file? | 21:14 |
freemangordon | no | 21:14 |
buZz | oh | 21:14 |
freemangordon | iio devices does not have uevent file like battery driver, for example | 21:14 |
freemangordon | *do not | 21:14 |
freemangordon | no data in there | 21:15 |
buZz | ahhh | 21:15 |
freemangordon | for multiple samples at once IIO buffer/triggers must be implemented | 21:15 |
buZz | basically helping that driver forward 10 years? :) | 21:16 |
freemangordon | also, cpcap supports the so called "single channel", which does 4x2 over battery U/I "at once" | 21:16 |
freemangordon | 4 samples over 2 channels | 21:16 |
freemangordon | curently the drivers programs the chip properly, but does not provide the data to the userspace | 21:17 |
freemangordon | anyway, have to run, night! | 21:19 |
buZz | bye \o | 21:21 |
Wizzup | freemangordon: but it does like pavel's patch can help runnning mostly/only on usb power, right? | 21:24 |
buZz | from his description, i see he 'solved' the constant charge/discharge/charge/discharge when its 'full' | 21:26 |
buZz | which should save power yeah, and batterylife | 21:26 |
Wizzup | it helps with other things too | 21:27 |
Wizzup | it helps with insane upower behaviour | 21:27 |
buZz | annoyances? :D | 21:27 |
Wizzup | it's event logs gets so full | 21:27 |
Wizzup | that upower uses 100% cpu on boot for a minute | 21:27 |
Wizzup | on my device | 21:27 |
buZz | like the constant 'batteryfull.wav' you get :P | 21:27 |
Wizzup | yes, and that | 21:27 |
Wizzup | and led blinking spam | 21:27 |
Wizzup | :D | 21:27 |
buZz | :) i was really excited to see the patch anyway :) | 21:28 |
buZz | if what pavel says is right, it'll be a blessing | 21:28 |
Wizzup | I just accepted his email, somehow it was stuck on the m-l list | 21:36 |
Wizzup | we need mailing list admins for it | 21:36 |
uvos | buZz: we discused what this patch dose a long time ago allready | 21:36 |
uvos | the problem is that android dosent use this mode and that the battery acts as a farily large cap | 21:36 |
buZz | right, but did you test it? | 21:37 |
uvos | the voltage rails on d4 are allready very noizy | 21:37 |
uvos | buZz: no this patch, but setting the registers the same | 21:37 |
uvos | this caused the voltage rails to be even more noizy | 21:37 |
uvos | i was unconfortable implementing this at the time for this reason | 21:37 |
uvos | it may work | 21:38 |
uvos | i have no idea, but the pp noize on d4 is allready like 2 decades more than on bionic for instance | 21:38 |
uvos | *noise | 21:38 |
buZz | well, your comfort level doesnt match mine then :D | 21:39 |
uvos | your welcome to apply this patch localy, if it causes no issues for a sufficant number of devices ill be fine with it | 21:39 |
uvos | but i dislike just pushing this to all users | 21:39 |
Wizzup | well, we need some way to not charge/discharge constantly imo | 21:40 |
uvos | we should do what andorid dose in this case | 21:40 |
uvos | turn off charging and poll until level is below 10% | 21:40 |
Wizzup | level? | 21:41 |
uvos | charge level drops by 10% or 5% or whatever (not sure what andorid uses exactly) | 21:41 |
Wizzup | does anyone want to help manage the mailing list? | 21:42 |
Wizzup | uvos: ah ok | 21:42 |
buZz | Wizzup: sure, i can do another mailman admin job | 21:44 |
buZz | i mean, i already do a couple, its not much effort to do one more :) | 21:44 |
buZz | you ment spam rejection etc? | 21:44 |
Wizzup | it's not a lot of spam really | 21:44 |
Wizzup | yeah but also message acception | 21:44 |
Wizzup | apparently our ml doesn't accept mails with to many To or Ccs | 21:44 |
buZz | oh yeah i can go through options and tweak it | 21:45 |
Wizzup | ok | 21:45 |
Wizzup | will dm | 21:45 |
buZz | i'm no expert but i have some nearby :) | 21:45 |
Wizzup | I am not sure if we have full access, it's dyne run | 21:46 |
Wizzup | I've reached out before to jaromil but got no reply, so who knows | 21:46 |
buZz | ah, i'm sure it'll be fine | 21:52 |
buZz | i think nearly everything mailman just goes thruogh webinterface anyway | 21:52 |
Wizzup | right | 21:54 |
Wizzup | any other takers? | 22:00 |
Wizzup | it's mostly about just timely approving some msgs | 22:00 |
buZz | Wizzup: i think i'll get em in my email like all other mailmans | 22:03 |
buZz | and will try to act timely on them if i can :) | 22:03 |
Wizzup | great | 22:03 |
Wizzup | freemangordon: it might have been bad contacts with the battery | 22:05 |
Wizzup | I opened the phone yesterday | 22:05 |
Wizzup | I just redid it, so maybe that was it | 22:05 |
Wizzup | uvos: btw, I asked the other day, not sure if you remembered, but did you document your changes for u3 cards somewhere? | 22:07 |
Wizzup | just dts ones, right? | 22:07 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!