libera/#maemo-leste/ Sunday, 2022-11-27

freemangordonWizzup: this is the upstream commit https://gitlab.gnome.org/GNOME/glib/-/commit/f065497acfbfe654369945054240918fcee001c308:07
freemangordonafter that date I see only 2.7x.y tags, while chimaera is on 2.66.808:08
freemangordonWizzup: I think the way it to add "-DGLIB_DISABLE_DEPRECATION_WARNINGS" to CI CFLAGS08:29
freemangordon*the way is08:29
freemangordonther is also -DGTK_DISABLE_DEPRECATION_WARNINGS08:31
freemangordonsee https://developer.gnome.org/documentation/tutorials/deprecations.html08:33
freemangordon-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_XX as well08:34
freemangordonWizzup: any clue? https://github.com/maemo-leste/alarmd/blob/master/debian/control#L610:55
freemangordonIt looks like an error to me10:56
freemangordoncomes from https://github.com/maemo-leste/alarmd/commit/1412cc38d1c2764aaaabf831c1516fc358f8344e#diff-2a13f1344504379e877324d3a0375adcbcb4cb27d7e575ad8f4618a52d6a00e0R610:57
freemangordongoing to remove10:57
buZzuvos: how/where did you add the ignore_temperature_probe=1 ?11:01
buZzi guess modprobe.conf11:03
freemangordon/etc/modprobe.d/11:05
freemangordonbuZz: ^^^11:05
buZzright, i made a new file, wrote 'options cpcap_battery ..' etc11:07
freemangordonBlagovestPetrov[: deprecation issues should be fixed, please upgrade your VM and pull latest source code for systemui etc11:07
BlagovestPetrov[thanks :)11:08
Wizzupfreemangordon: ok, I can do that11:17
Wizzup@ glib build flag11:17
Wizzupso we take upstream and add your patch?11:17
Wizzuplooks like it's fixed11:18
Wizzup?11:18
siceloWizzup: fun, https://lore.kernel.org/lkml/20221123124620.1387499-1-gregkh@linuxfoundation.org/t/11:19
* sicelo hides11:19
Wizzupsicelo: lol11:20
siceloanyway, it remains to be seen how this will end11:26
freemangordonWizzup: umm, I already fixed https://github.com/maemo-leste/gtk/commit/05cac570ece595db9e459e9c3b62198018faa5ff11:39
freemangordonhowever, this does not mean we don;t need to ship glib with https://gitlab.gnome.org/GNOME/glib/-/commit/f065497acfbfe654369945054240918fcee001c3 backported11:40
freemangordoncould you please pull chimaera glib in our repo?11:41
freemangordonthe same way beowulf was pulled11:41
freemangordondo you know where this https://github.com/maemo-leste-upstream-forks/glib was forked from?11:42
Wizzupok, let me check11:58
freemangordonI guess debian salsa or somesuch12:06
Wizzupfreemangordon: yeah just gimme a sec12:09
WizzupI was not at keyboard12:09
Wizzuphttps://salsa.debian.org/gnome-team/glib12:09
Wizzuphttps://packages.debian.org/source/bookworm/glib2.012:10
Wizzuphttps://salsa.debian.org/gnome-team/glib/-/tree/debian/bullseye12:10
Wizzupdoesn't seem to be what's actually in bullseye12:11
Wizzuplol12:11
Wizzuphttps://salsa.debian.org/gnome-team/glib/-/commits/debian/master this I guess12:11
Wizzupfreemangordon: what made you say chimaera is on 2.66.8?12:13
freemangordonlibglib2.0-0:amd64                  2.66.8-112:14
freemangordondpkg -l | grep glib12:14
Wizzupah!12:19
WizzupI was looking at bookworm somehow12:19
Wizzupso this then https://salsa.debian.org/gnome-team/glib/-/commits/debian/bullseye12:20
Wizzupfreemangordon: so shall I do it?12:25
Wizzupdone..12:32
Wizzup(testing build now)12:32
Wizzupah, the patch doesn't apply cleanly :)12:33
Wizzupimagine if this was just in git somehow, and we wouldn't have to deal with quilt :D12:33
Wizzup--static guint           n_desktop_file_dirs;12:37
Wizzupfreemangordon: this is gone from new glib12:37
Wizzupit seems relatively trivial to update the patch, but I won't do it right now, I'll push my wip12:39
Wizzupfreemangordon: pushed to maemo/chimaera, please take a look at the build fail when you can, otherwise I can do it in ~30-60 mins12:40
freemangordonWizzup: we better backport upstream patch12:55
freemangordonI'll do it12:57
Wizzupfreemangordon: ok, everything else is set, it just needs a better patch, feel free to rebase and push -f13:11
freemangordontrying to build it in the VM now13:13
freemangordonWizzup: and what about the other patch?13:16
freemangordonthe one that fixes issues on 64bit?13:16
freemangordonwas it already in beowulf?13:17
Wizzupfreemangordon: I didn't see it in maemo/beowulf13:25
Wizzupmaybe it was merged already13:25
freemangordonyeah, that was my question - was it already merged :)13:25
Wizzupprobably an ascii thing really :)13:26
Wizzupso yes, I think so13:26
freemangordonok13:27
freemangordontrying to build glib in CI13:27
freemangordonlets see13:27
Wizzupyou fixed the patch then?13:27
freemangordonin my VM it failed in the packaging part13:27
Wizzupwhere?13:28
WizzupI'll build it now13:28
WizzupI cherry-picked + fixes your patches, but might have missed something13:28
freemangordondh_dwz: error: Requested unknown package libglib2.0-udeb via -N/--no-package, expected one of: libglib2.0-0 libglib2.0-tests libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libglib2.0-data libglib2.0-doc13:28
freemangordonI dropped beowulf patch and used the upstream one instead13:28
Wizzupok, yeah, let me fix that13:28
WizzupI don't think we need to test this in CI really13:28
Wizzupit will fail there too13:28
WizzupI see the problem in rules I think13:29
freemangordonWizzup: https://github.com/maemo-leste-upstream-forks/glib/commit/b2294e491ec2bdb91084edc2506e0ee0db689bde13:31
Wizzuptests running atm13:31
freemangordonWizzup: what about https://phoenix.maemo.org/job/glib-source/9/consoleText13:32
freemangordon?13:32
Wizzuplet me fix udeb first13:32
freemangordonok13:32
WizzupI think I have it fixed locally but it's running tests forever13:32
Wizzup19156985 tests passed, 0 failed pfew13:33
freemangordon:)13:33
Wizzupfreemangordon: shall I merge your upstream patch with the one I tried to forward port, so that we don't have a bad patch in history?13:34
freemangordonsquash 2 commits?13:35
freemangordonup to you13:35
Wizzupok13:35
freemangordonin the meanwhile gbp:error: File contains no section headers.13:35
WizzupI will fix gbp.conf too13:35
freemangordonok13:35
Wizzupone thing at a time13:35
Wizzupthese tests take forever13:35
freemangordonyeah13:36
freemangordongbp.conf is missing [DEFAULT] on top13:38
Wizzupyes, I know13:40
Wizzupso I didn't get the udeb issue but I changed the rules file during build13:40
Wizzupforce-pushed, let's build13:42
WizzupI'll start it13:43
freemangordonok13:45
Wizzuprunning atm13:47
freemangordonlooks fine14:09
Wizzupyup14:12
Wizzupty14:12
buZzi wonder, -can- charge_full even be above charge_full_design ?15:14
siceloit should generally not15:19
buZzi think this prevents it ; https://github.com/maemo-leste/droid4-linux/blob/maemo-6.1/drivers/power/supply/cpcap-battery.c#L87815:21
buZzbut i now have a 1750mAh reporting BMS , on a 2250mAh battery :)15:21
buZzconsidering my options here , i could just make charge_full_design writeable? :D15:22
buZzor eh, add a option to charge beyond charge_full_design15:24
buZzoh, 6*x/5 , it allows ~20% higher15:25
buZzi wonder whats the motivation for the 20% , if we could stretch that to 30% , 2250 would fit :P15:28
buZzmaybe (4*x)/3 ?15:30
tmlindbuZz: maybe add a module option to use a generic battery and ignore the eeprom?15:30
tmlindor a module option to force e960 battery, then we could have a proper profile for it15:31
buZzhmm, well, atm its still charging, takes forever :P15:32
buZzand i'll make charge_full be 2088000 for now (the max this 6/x*5 allows)15:34
tmlindbuZz: how about modprobe cpcap-battery batt_type=polarcell_lg_e960 or something similar15:37
tmlindthen ignore eeprom, keep the temp sensor in case it's wired to the eb41 pcb15:38
tmlindthen additionally ignore_temperature_probe=1 option can be used if using uvos' pcb15:39
buZzwould be nice yeah, but this is not my area of expertise :P15:39
buZza batt_type would be best i guess15:40
tmlinduvos: would the above work for you for module options?15:40
Wizzupfreemangordon: sapwood has a commit in -devel that's not in normal beowulf, I think we can move that to normal beowulf, yeah?15:46
Wizzupdsme needs some fixes, will do when I get back15:52
WizzupPali: I think I need some help with the u-boot thing that Tom is asking about, I really don't know where to start16:59
Palihm... I just do not know where to start too... Maybe asking Tom for that?17:18
siceloOAOB17:20
uvostmlind: sure yeah @ options17:53
uvosbuZz: for now just blacklist the one wire interface module17:53
uvosthat way you will not get 1750mAh as charge_full_design instead you will get something really high17:54
uvosthe 20% comes from me estimateing how far the callibration may undereport the real capapacity of the battery17:55
freemangordonunless the battery is charged @ 4.35, 1750 is a good estimation17:56
freemangordonmine calibrates @ 159417:56
Wizzupuvos: btw I think we might have pm regressions, will need some time to confirm properly17:56
uvosim dose 1800 so yours is a bit wierd17:56
uvosbut yeah 1700 is resonable estimation17:56
uvos+-20% especcaly17:57
uvostollerance17:57
freemangordonuvos: +1 on the PM regressions17:57
uvosas cpcap dose offer17:57
buZzuvos: oh right! thats simple :P17:57
freemangordonuvos: BTW, charge-mode bug appears every time device is connected to charger after low-battery power down17:58
freemangordonplease give me some hints how to debug17:58
freemangordonare there logs or something17:58
uvosnot really, i would write a wpa_supplicant conf and connect wifi and start ssh before chargeing_sdl starts17:59
uvosthen just ssh in and look around17:59
uvosfreemangordon: Wizzup: ok, mine has idled at 100mW all day, so im not really seeing it, but ofc this is power_avg, not external mesurement17:59
buZzuvos: is it hdq1w ?17:59
uvosbuZz: yes17:59
buZzalright17:59
freemangordonuvos: what to look for? device charges fine, it is just that battery animation stays at one red line and if you deisconnect the charger device is shut down18:00
uvosok18:01
freemangordonmaybe cpcap-battery is probed *after* chargeing_sdl is started?18:01
uvosfreemangordon: should not be possible, probing happens afaik shound happen within sysinit18:01
uvosand charging_sdl runs after sysinit18:01
uvosbut maybe this is me miss interpreting how openrc should behave18:02
uvosalso idk why it should probe later when the battery is low18:02
uvosi gues when poking around:18:02
uvoscheck if the cpcap sysfs files are resonable18:02
freemangordonI don;t think EPROBE_DEFER has anything to do with runlevels18:02
uvosright defer true18:03
uvosbut i think sysinit waits until udev sais its ready18:03
uvosdunno how defer interacts with udev really18:03
buZzhmmz, i added 'blacklist hdq1w' to blacklist-idle.conf , still reading 1740mAh from eeprom it seems18:04
uvosreally charging_sld is really simple code wise so i dont quite see how it could missbehave, other than wat you said or cpacp driver misbehaveing.18:04
uvosits callded omap_hdq1w or something like that18:05
uvosiirc18:05
buZzoh18:05
freemangordonbuZz: lsmod is your friend18:05
buZzomap_hdq , right18:05
buZz:)18:05
uvosfreemangordon: btw18:06
uvosyou can runn charging_sdl after boot too18:06
uvosjust to check if it behaves ok then too18:06
uvosit has flags to be run in a window in x1118:06
freemangordonI think it needs some logs added here and there18:07
uvosit logs some stuff18:07
uvosbut only to stdout18:07
freemangordonwhere?18:07
uvosso you could save that somehwere18:07
uvosits not captured in the initscript afaik18:07
uvosyou could do that18:07
uvosbut it dosent log mutch more than the battery percent18:07
freemangordonit logs to stdout?18:08
uvoswhich its also showing you18:08
uvosyeah18:08
uvosso it prints to stdout18:08
buZzcould put a >> charging_sdl.log on it18:08
uvosyou could redirect that somewhere18:08
freemangordonwell, I can put some printfs here and tehre18:08
uvossure18:08
freemangordonok18:08
freemangordonwill do18:08
uvosfor one thing18:08
freemangordonoh, I was about to try to implement SOC estimation based on the voltage18:08
uvoswhenever charging_sdl runs18:08
uvospvrk compains about something18:09
uvosmight be related to the eventual hang18:09
freemangordonhmmm18:09
buZzah yez18:09
freemangordonok, will check18:09
freemangordonwhere did you get that code from?18:09
uvoscharging_sdl?18:09
freemangordonmhm18:09
uvosits from pmos18:09
uvosbut i also added quite some stuff18:09
uvosnot sure what part of it your asking about18:10
freemangordonI asked in general18:10
buZzah, meh, blacklisting omap_hdq prevents charging to 4.35v18:10
freemangordonmakes sense, no?18:10
buZzwelp, beats my purpose anyway :P18:10
uvossure but i gues he dosent want that18:10
buZzyes i do, obviously :D18:11
freemangordonwe *will not* allow you to charge non-HV lipo to 4.3518:11
buZzright, thats fine18:11
buZzi just want to charge this HV lipo to 4.35 :P18:11
freemangordonI dodn;t get why did you remove 1wire protocol driver18:11
freemangordon*didn't18:11
freemangordonwhat is the issue?18:11
uvoshe has a eb41 pcb/eeprom18:12
uvoson a larger battery18:12
uvoscpcap will discard the callibration18:12
uvosif its to larg18:12
buZzah, well, cpcap_battery prevents to calibrate the battery to >120% of charge_full_design18:12
uvosie mutch larger than max_design18:12
freemangordonah18:12
buZzyeah well, its 28% more18:12
freemangordonwell, I guess that shall be fixed in the driver18:12
uvosor you could18:12
uvosyou know, change the eeprom18:13
buZzits writeable?18:13
freemangordonisn't it OTP?18:13
uvosidk18:13
freemangordonwait, there are checksums as well18:13
buZzthe suggestion was adding a battery definition to override18:13
uvosfreemangordon: true but we dont care18:13
uvosso for android yeah18:13
freemangordonyes, we care as android will refuse to charge18:13
uvossure but buzz might not care about android18:13
uvosthis is about a now solution18:13
freemangordonwell, yeah18:14
uvosso check if the eeprom is writeable18:14
freemangordonbuZz: right, you may try to write18:14
buZzhehe well, its 2088mAh now18:14
uvosand just change the value of so18:14
freemangordonbuZz: see driver code for the offset and the value you have to write18:15
freemangordonuvos: btw, what is the rationale behind that 120% restriction?18:16
uvosthe callibration sometimes goes totaly bonkers here18:16
uvosif you charge and discarge and charge again18:16
uvosthe errors of the charge counter accumulate18:16
uvosits to prevent absurd values form being accepted18:17
freemangordonyeah, voltage based SOC it is18:17
uvosmotorola came to same conclusion i gues18:17
freemangordonnot only, BME does the same18:17
freemangordonso, I will ask upstream upower if they are willing to accept something like that18:18
sicelobuZz: btw did you upstream the droid4 keymap?19:01
tmlindbuZz: if you really want to charge it to 4.35 volt, first change the battery max voltage in sysfs to 4.35, then set the max charger voltage to 4.3519:21
bencohdo we default to 4.2V now?19:21
freemangordontmlind: by looking at the code, that should happen automagically if you set the voltage in the charger driver. is that a bug that it does not happen?19:21
tmlindfreemangordon: it's that way because of the bloated batteries we had folks report earlier19:23
freemangordontmlind: maybe I didn;t explain it correctly:19:23
freemangordonIIUC, in charger driver there is a code that set battery driver limit as well19:24
freemangordonso, when you set charger limit to 4.35, it sets battery driver limit to 4.35 as well19:24
freemangordonfor some reason this does not work19:24
freemangordonor, I don;t understand how it is supposed to work19:24
tmlindfirst echo the new desired max value to the battery/constant_charge_voltage19:25
tmlindthen allow the charger to use it by echo to usb/constant_charge_voltage19:25
freemangordonyes, but that's not what I am talking about19:25
freemangordonanyway19:25
tmlindwell we don't want to allow the charger to set the charge voltage higher unless the allowed battery voltage is configured first19:27
freemangordonok, but shouldn;t allowed voltage be tied to design voltage?19:27
freemangordonor at least set to design voltage on probe?19:27
tmlindno.. at least i have zero interest ruining my batteries after few monts of connected to a dock or lapdock19:28
freemangordonit will still default to 4.219:28
freemangordonbecause of the charger default19:28
tmlindyeah that's good19:28
freemangordonbut having to change 2 things in a special sequence just to charge a battery to a voltage it is designed for lokks like an overkill to me19:29
freemangordon*looks19:29
tmlindno it's not in this case :)19:29
freemangordonalso, I would say that holding a mobile phone on a dock for months is not what usually happens to mobiles ;)19:30
freemangordonso this is an edge use-case that shall be taken care of in the charger diver, perhaps, but not a reason to not charge to full capacity19:31
freemangordonbut lets not go into that now19:31
tmlindwell we don't know how long it takes, few weeks or few months it seems. anything higher than 4.2v you really need to do a statiscically meaningful test for let's say a year to prove that the batteries don't bloat.. so pretty much impossible :)19:31
freemangordonI am much more concerned that neither sre nor greg reply :(19:32
tmlindi'm mostly concerned about people ruining their batteries19:32
freemangordontmlind: when (and if) it comes to it I will send a patch that fixes that (like I already proposed, it will be really easy to wait for voltage dropping < 4.2 before starting charging again)19:33
freemangordonit will take couple of weeks for that to happen if device is connected to a charger all the time19:33
freemangordonactually, as uvos said, we *must* do the same for 4.2 batteries19:34
tmlindyeah 4.2v batteries probably should have some lower maintenance charge voltage19:35
freemangordonwhich we don't, basically ruining batteries of those users that did not replace their aged original ones with ordinary LiPo batteries19:35
freemangordonif they keep them connected to a charger that is19:36
freemangordonso, I will make/send a patch for cpcap-charger19:36
tmlindhmm yeah bionic has 4.2v battery, but not sure if that too has had bloating issue19:36
freemangordonwhy it shouldn't?19:37
tmlindbut please not we are not going to enable 4.35v charge by default without proper proof of it not bloating people's batteries19:37
freemangordonwe start charging almost immediatelly after full is hit19:37
freemangordontmlind: as I said, I'll make a patch when and if it comes to it and will try to convinc you and whoever has doubts that it will be ok19:38
freemangordonbut, before that I want to understand what the hell is going on and why a simple 2-liner takes 3 weeks to get a "send v2"19:38
freemangordonor, why sre replies to other mails but not mine19:39
tmlindwell you need to prove it somehow19:39
buZztmlind: yeah , https://space.nurdspace.nl/~buzz/maemo/bermbom.sh19:40
freemangordoncharger?19:40
tmlindand it might be that it will now just take a lot longer to ruin the battery19:40
freemangordonwell, if lot longer is 10 years, I would say we are ok19:40
freemangordonno?19:40
buZzatm it seems the BMS came loose from the cell, having a hard time getting it connected back19:40
buZzmight just leave it as-is and fix it later19:40
tmlindfreemangordon: 30 devices connected to a charger for a year and i'll be happy :)19:42
freemangordontmlind: I think I can can easily prove we are fine once I have measured the time needed for a battery to self-discharge to (made-up value) 96% of its design max voltage19:43
freemangordontmlind: not really needed19:43
tmlindin any case the logic can be there for sure, let's just not enable it unless the user really wants to do it19:43
tmlindnote that motorola was in business of selling accessories and batteries, they do not need them to last very long19:44
freemangordonso, if it takes 2 weeks, you will have 24 charge cycles 4.176->4.35 fo year19:44
freemangordonyet those 10yo batteries keep like 900mAh capacity19:45
freemangordonso I would say they did it right for the usual mobile-phone use case19:45
tmlindhmm yeah that's a good point, if the discharge to a maintenance voltage takes so long that charge cycles are very limited19:46
freemangordonI don;t see why not, given that DCP charger detection works :)19:46
tmlindthe first bloated case i heard of was android baby monitor use case19:46
freemangordonso device can be fully supplied by the charger only and battery only self-discharges19:47
tmlindanyways, stuff to discuss on the mailing lists19:47
freemangordonalso, a dock can be easily detected and different ruls applied there19:47
freemangordonsure19:47
freemangordonthe point was that we don;t really need 30 devices and a year to prove :p19:48
tmlindwell we should treat all the chargers the same19:48
freemangordonhow's that?19:48
freemangordonUSB(SDP) - max 500mA19:48
freemangordonDCP - 180019:48
tmlindwell take the baby monitor example, and no dock. or a trail cam use case (once the camera works)19:49
freemangordonACA - we have to measure the ID pin to detect what max charging current we can draw19:49
freemangordontmlind: baby monitor connected to a charger (1500mA min) is perfectly fine19:49
freemangordonbecause battery will only do self-discharge19:50
freemangordonas the highest current reading I was able to measure here was about 1600 mA19:50
tmlindwell that's a theory :) i want to see some real tested-by for a long time for sure in this case19:50
freemangordonhehe :)19:51
freemangordonbut yeah, you are right, this is to be discussed over the ML19:51
freemangordonif there is anyone but you to discuss with there19:51
freemangordonI am really worried about the silence19:52
tmlindnah, just people busy with dealing with all the patches19:52
freemangordonwill see19:52
tmlindpavel had some strong opinions too about the min and max voltages to preserve batteries19:53
freemangordonI would love to hear his opinions19:53
freemangordonbut really, we need charger detection first working19:53
freemangordonbefore that19:53
tmlindyeah maybe search lore.kernel.org, i think he had some links to too there19:55
freemangordontmlind: did you see https://www.spinics.net/lists/linux-usb/msg233614.html ?19:56
freemangordonwith your maintainer hat on, what am I supposed to do there?19:56
freemangordonfixx the drivers and framework and send a new patch?19:57
tmlindyeah i don't know, it's like all the folks dealing with mobile charging disappeared 10 years ago20:02
tmlindit's like nothing has happened to make things better?20:03
tmlindkind of like the same story as with modem support stuff..20:03
freemangordonsee, it is not that I expect anything but what upstream will accept. once I know what it is, I will send a patch.20:05
tmlindyeah sorry no idea how it should be done for the charger detection..20:05
tmlindandroid probably does this all in userspace?20:06
freemangordonyes20:07
freemangordonafaik20:08
freemangordonwith the exception that it has extcon driver to detect charger types20:09
freemangordonin android it seems to be called "swith" or something20:09
freemangordon*switch20:09
freemangordonit reports what is connected to the userspace and userspace set max current in the charger driver20:10
freemangordonIIUC20:10
tmlindok20:16
vectisHi all. I'm trying to get my D4 to connect to various audio devices that I have with bluetooth, but I can never get connected. I can pair with the devices but when trying to connect, bluetooth manager complains about a protocol not being available.21:06
Wizzuphi21:09
Juesthi, been a few years :)21:10
Wizzupvectis: so...21:10
Wizzupvectis: there's a few things21:10
Wizzupvectis: first, you need to set it to phone class, and then secondly, you need to load the module21:11
WizzupI have some notes, I'll publish them this week21:11
Wizzupvectis: https://wizzup.org/bluetooth-car.mp421:11
vectisWizzup: I saw the video and that prompted me to try myself. How do you set it to "phone class"? Is the module the pulse one?21:14
Wizzupit's in my notes, sec21:15
Wizzupvectis: Class = 0x005a020c21:15
Wizzupin /etc/bluetooth/main.conf21:15
vectisWizzup: Thanks, I'll give it a try.21:17
Juestthere's no generic image other than virtual machines still?21:20
freemangordonwhat is "generic image"?21:24
freemangordona kind of installer?21:24
Juestthere's arm64-generic, how about x86_64?21:25
Juestgeneric as in platform21:25
vectisWizzup: Still can't connect.21:31
Juesti mean, amd64 and x86 images for running on bare metal devices to be more correct21:38
Juestgeneric as in device kind*21:39
Juestsorry for the weird wording21:39
Wizzupvectis: can help tomorrow21:41
vectisWizzup: np :)21:43
siceloWizzup: N900 bootloops on Leste with linux 6.121:54
uvossicelo: yeah same here21:55
sicelooh, i thought you were not aware21:55
uvosJuest: for bare-metal x86 you should be able to just install minimal devuan and install our metapackage21:56
uvosidk if anyone has treid this recently thoug21:56
Juesti can try that i guess21:56
Juestshouldn't it be the same as the virtual machine images?21:57
uvosresult should be pretty mutch the same22:04
uvosbut ofc you have the benefit of all the stuff the devuan installer provides22:04
uvosfunctionality wise22:04
Wizzupsicelo: want me to get a trace then?22:06
uvosWizzup: so do you have an easy way to mesure power consumption22:29
uvosdifference in 6.1 that is22:29
Wizzupuvos: well the phone just doesn't really last 2-3 days anymore :)22:43
Wizzupbut I don't have my accurate psu here atm22:44
uvoswell ok22:44
uvosthe compaction timers changed some22:44
uvosim wondering if its related22:44
Wizzupmy patch nerfing them is gone, or?22:44
uvosno should be there22:44
uvosbut they changed how the timers work22:44
uvosbut lets try this:22:44
uvoshttps://github.com/maemo-leste/leste-config/pull/3222:45
uvosprobubly this is not it tho22:46
uvosbut either way we should have this in leste config22:46
uvosanyhow n900 not booting22:46
uvoswe need some serial here22:46
uvosor maybe comparing patches with a 6.1 that dose boot22:47
uvossicelo have a repo?22:47
WizzupI can help tomorrow22:51
uvosWizzup: omapconf is not anny less happy than 5.1822:53
uvosso likely its extra activity of some kind22:53
uvosfreemangordon: btw it cant be the probe order with charging-sdl23:04
uvosit opens and closes the files every time it samples the files23:04
uvosso a failure to open the sysfs files the first time would not cause it to fail to work later23:05
sicelohttps://gitlab.com/sicelo/pmaports/-/tree/rx51-6.1/device/community/linux-nokia-n900 ... working linux 6.1-rc6 for Nokia N90023:23
uvosok there are some extra patches in there we dont have, and we have extra patches not in there23:35
uvoswe dont have an equiavlent to 0005-kernel-dma-workaround-n900-modem-oops.patch23:37
uvosbut you told me that allready and this should not cause it to not boot23:37
uvossame with 0006-bus-ti-sysc-Add-otg-quirk-flags-for-omap3-musb.patch23:37
uvosand 0009-Revert-partially-Revert-usb-musb-Set-the-DT-node-on.patch23:38
uvoswe also dont have 0003-ARM-dts-N900-use-iio-driver-for-accelerometer.patch23:38
uvosbut thats def irrelivant23:38
uvosbut we have lots of extras too23:38
uvos enable modem and increase cma size, make watchdog built in, tsc2005: disable irqs on suspend, n900: camera: magic bit makes it work, et8ek8: Support for EXPOSURE_ABSOLUTE23:39
uvosso i gues ill sync it up23:40
uvostomorrow23:40
uvosttyl23:40

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!