libera/#maemo-leste/ Thursday, 2024-05-02

Wizzupuvos: thanks for checking00:18
Wizzupcan you push this somewhere00:18
WizzupI'd like to check00:18
Wizzupuvos: what do you mean with lots of other stuff would have to be rebased?01:02
Wizzupuvos: for 6.6+ you mean?01:46
uvosWizzup: we used a 6.6 rc before11:23
uvosand a lot changed, so almost nothing merges/rebases cleanly on latest stable 6.611:24
uvosi was just noteing that11:24
Wizzupunderstood11:24
WizzupI would like to put in some effort at least to try to figure out this cpufreq issue once more11:24
uvosi dident rebase anything yet i just did a git rebase and skipped all the conflicts11:24
uvosso theres nothing to push atm11:24
Wizzupso you tried 6.6 without our patches to see if cpufreq would work11:24
uvosi tried 6.6 with limited patches11:24
uvosand 6.9 totaly stock11:25
Wizzupok11:25
uvostheres nothing about cpufreq in dmesg in either situation11:26
uvosit just dosent load and dosent probe11:26
uvosmanually loading the modules dosent make them probe either11:27
Wizzupon my mz617 I get11:27
Wizzup# modprobe cpufreq11:27
Wizzupmodprobe: FATAL: Module cpufreq not found in directory /lib/modules/6.6.0-g3e1ba4fc6a7f11:27
uvosprobubly something is up with the dtb11:27
Wizzupbut I got the name wrong11:27
Wizzupit's cpufreq_dt11:27
Wizzupmhm @ dtb11:28
uvoshmm11:28
uvoscpufreq dosent feature at all in my stock 6.9 dmesg11:28
WizzupI got it wrong, the module is named cpufreq_dt11:28
uvosi mean dmesg | grep cpufreq dosent show anything so thats covered11:28
Wizzupdoes it show something on 6.1.76?11:29
Wizzup(cpufreq)11:29
uvosno11:30
uvosbut i am expecting an error/warning ofc11:30
Wizzupright11:30
WizzupI am looking at some other commits like 3fa966ebb08132a90197cc96faa697a7a14873ee  and they add a device_type = "cpu"; to cpu@0 nodes11:33
WizzupI don't know how relevant this is11:34
uvosno idea what its for11:34
Wizzupyeah11:34
WizzupI'm searching around a bit11:34
uvosmodprobe: FATAL: Module cpufreq not found in directory /lib/modules/6.6.0-g3e1ba4fc6a7f11:35
Wizzupdid we email the list about this?11:35
Wizzupyeah but it's not called cpufreq11:35
Wizzupit's called cpufreq_dt11:35
uvosas was mentioned before CONFIG_ARM_OMAP2PLUS_CPUFREQ and CONFIG_PM_DEVFREQ are disabled in config11:35
uvosbut this is the same as 6.111:35
uvosbut maybe they got build as a depedancy before that was removed11:36
WizzupI think we tried to enable these didn't we?11:36
WizzupI mean worth trying..11:36
uvosi dont quite remember11:36
Wizzupok we should enable those11:36
uvosanyhow they remain disabled in stock omap2plus_defconfig11:36
WizzupI mean for our tests11:36
Wizzupso if I enable those too11:39
Wizzupand run oldconfig11:39
Wizzupit asks me for DEVFREQ_GOV_SIMPLE_ONDEMAND11:39
Wizzupif I want to enable it11:39
Wizzupand for PM_DEVFREQ11:39
Wizzupso yeah, looks like those are disabled too currently11:39
WizzupI'll build a kernel11:40
Wizzupif we get this to work, would you be up for rebasing to latest 6.6 stable?11:41
uvossure11:41
Wizzupbtw my droid4 has 18 days uptime11:41
Wizzupstill solid :)11:41
uvosyeah mine is on 6 days or so11:41
uvos6.1 has been compleatly solid11:42
uvosdo send a patch to the ml if it ends being omap2plus_defconfig being broken11:42
Wizzupof course11:42
WizzupI want to go to 6.6 just to keep a bit more up to date, and also because my mz617 needs 6.6 and I want to finish the packing for it11:42
uvosyeah sure11:42
Wizzupwe should probably also have some 6.9 or higher branch at some point11:42
uvosnot sure we gain anything from chaceing mroe than latest stable atm11:43
WizzupI guess for developing features but you're probably right11:43
uvoser lts i mean11:43
WizzupI'm going to have the entire weekend off for maemo stuff, so I'm excited to push some things along at least11:43
WizzupI feel with some additional work we can really improve the lineup, if we can get razr screen to work ok for example11:44
uvosi think it makes more sense to integrate one device for real than to work on lots11:45
uvosthe most usefull for that is probubly mz61711:45
Wizzupthat is true11:45
Wizzupthe razr just feels very close too, if you catch my drift11:45
Wizzupin any case, kernel building11:45
uvosmy intrest has wained a bit since i only have one with a spi modem11:46
WizzupI can send you ones with usb modems whenever11:46
WizzupI have a lot11:46
uvosnah :)11:47
WizzupI mean I did get them to send to folks, but ok :D11:47
WizzupI've used it the razr for calls and it works11:47
Wizzups/it the/the/11:47
Wizzupthe battery life is pretty good too11:47
Wizzuparch/arm/boot/dts/ti/omap/motorola-mapphone-common.dtsi:237.30-250.4: ERROR (phandle_references): /ocp/interconnect@48000000/segment@0/target-module@72000/i2c@0/touchscreen@4a: Reference to non-existent node or label "touchscreen_pins"11:59
Wizzupstill getting this when making dtbs11:59
WizzupI think this can probably go since we have this in handset12:01
Wizzupthere's also arch/arm/boot/dts/ti/omap/motorola-mapphone-common.dtsi:107.23-138.4: ERROR (phandle_references): /mapphone_touchscreen: Reference to non-existent node or label "touchscreen"12:03
Wizzupok nvm for now12:05
Wizzupthis was just for xyboard mz60912:05
Wizzupuvos: it's still empty12:13
uvoswhats empty?12:14
Wizzupls /sys/devices/system/cpu/cpufreq12:14
WizzupLinux maindroid 6.6.0-ga8ce941e80fc #5 SMP PREEMPT Thu May  2 11:53:50 CEST 2024 armv7l GNU/Linux12:14
uvosright ok12:14
Wizzupbut the options you mentioned above are enabled12:15
uvoscpufreq_dt loaded?12:15
uvoscpufreq_dt 16384 0 - Live 0x00000000 <- 6.112:16
Wizzupwasn't on boot, but when I loaded it, nothing appeared12:16
uvosyeah  ok12:16
uvossame bevaivor12:16
Wizzup12:16 < uvos> cpufreq_dt 16384 0 - Live 0x00000000 <- 6.112:16
Wizzupwhat output is this12:16
uvos /proc/modules from 6.112:16
uvosjust to show that this is the module used there12:17
Wizzupright12:17
Wizzupat least RET still works on d412:17
uvossure cpuidle works fine12:18
uvosits jut freemangordon12:18
uvos*freq12:18
WizzupI think we should mail the list12:18
uvosok12:18
WizzupI am looking at the diff and a/Documentation/devicetree/bindings/cpufreq/ti-cpufreq.txt was removed12:21
Wizzupsince maemo-6.1 and maemo-6.612:21
Wizzupthis is e576a9a8603f7c6f8fed5159e2fe33f6d67a49e712:25
Wizzupdt-bindings: cpufreq: Convert ti-cpufreq to json schema12:25
WizzupMove the ti-cpufreq binding over to opp and convert the free text binding to json-schema.12:25
Wizzup(this might not matter at all, but...)12:26
Wizzupseems like it might just be documentation convert12:27
Wizzupuvos: I wonder if the problem is that CONFIG_CPUFREQ_DT_PLATDEV=m12:43
uvoswhat makes you think that?12:44
Wizzuproot@maindroid:/sys/module/cpufreq_dt# ls /sys/devices/system/cpu/cpufreq/12:44
Wizzupondemand  policy012:44
uvosworks?12:44
Wizzupyup12:44
Wizzuptry modprobe cpufreq-dt-platdev12:44
uvosya12:44
Wizzup# ls /sys/devices/system/cpu/cpu0/cpufreq12:45
Wizzupaffected_cpus  cpuinfo_min_freq      scaling_available_frequencies  scaling_driver    scaling_min_freq12:45
uvoswill later12:45
Wizzupcpuinfo_cur_freq  cpuinfo_transition_latency  scaling_available_governors    scaling_governor  scaling_setspeed12:45
Wizzupcpuinfo_max_freq  related_cpus      scaling_cur_freq     scaling_max_freq12:45
uvosso this dosent load on its own?12:45
Wizzup218a06a79d9a98a96ef46bb003d4d8adb0962056 makes it possible to build it as a module12:45
Wizzupit does not12:45
WizzupI feel like this is something we could bring up on the ml, no?12:45
uvosyeah for sure12:45
Wizzupml being mailing list12:45
Wizzupok, let me just do that now12:45
uvosand set it y for now ofc12:45
Wizzupin our defconfig?12:45
Wizzuplet me do that and re-test12:45
uvossure that should fix the immidate problem no?12:45
Wizzupyes12:46
Wizzupwell, glad this worked out :)12:46
uvosok is should have some time on sunday to do the rebase12:46
uvos*i12:46
Wizzupgreat, I will be around, let's also pls make sure we pull in the droid 3 stuff12:47
Wizzuprebooting to test12:48
arno11Wizzup: (for cpufreq) well done man !!!12:49
Wizzupyes, then we can go to 6.6 lts :)12:51
arno11really cool12:53
Wizzuphttps://groups.google.com/g/linux.debian.kernel/c/ETrj3gCQzn0?pli=112:55
Wizzuphttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050587 debian just made it built it12:56
Wizzupmailed the ml13:03
Wizzupsicelo: ok, I see some issues with calls too atm, maybe it is 6.6, maybe it is the same you were seeing13:08
arno11Wizzup: on my device with 6.1.76 (and i forgot to mention it), calls are buggy with TP if you don't launch sphone UI first (after boot). Sometimes it fails 3-4 times before working properly. and then everything is fine (call audio)13:17
arno11(when i say calls are buggy, i mean audio works sometime only in one way or is crappy/distorded)13:19
arno11but once sphone UI starts normally, everything is fine (excepting the weird hangup issue)13:21
WizzupOK13:21
uvos__yeah tp backend still has issues here too whenever i try it13:22
uvos__still needs a bit time in the oven before we can promote it thats for sure13:22
WizzupI am not sure if this is tp but will try to figure out now13:22
uvos__sure something in the stack, could very well be the kernel13:23
uvos__the issues i see are the same as arno11, well i cant say that the launch order dose anything13:23
uvos__but sometimes i get no audio13:23
Wizzupmhm13:23
uvos__while direct ofono has been 100% for me13:23
arno11same for me, no troubles with direct ofono13:25
uvos__arno11: btw what do you mean launch "sphone"13:25
uvos__it launches itself13:25
uvos__at boot13:25
arno11i mean the caller UI13:25
uvos__really that makes a difference for you13:25
uvos__thats wierd13:25
arno11yes13:25
arno11it works, able to use it normally13:26
uvos__opening the ui just dose a dbus call to the sphone process to show a window ithas open anyhow13:26
Wizzupon 6.6 ofono backend does not work for me either13:26
Wizzuplet me go to 6.113:26
uvos__Wizzup: well its not fully rebased so the modem could just be missing13:26
dsc_ uvos__> still needs a bit time in the oven :D13:26
uvos__could you check if sphone is runing at boot arno11?13:26
uvos__dsc_: btw latest jib is really great13:27
Wizzupit does say 'VOICECALL 0' and such13:27
dsc_oh cool, thanks for letting me know13:27
uvos__love the ui13:27
dsc_any wishes still13:27
dsc_?13:27
uvos__dsc_: but opening a new window via context menu dosent seam to work13:27
uvos__should it?13:27
uvos__but the context menu looks great now13:27
dsc_ah hmm13:28
dsc_yes it should work13:28
uvos__hmm13:28
dsc_new menu was wizzup's idea btw13:28
dsc_with the icons13:28
dsc_but yes better13:28
dsc_or maybe it doesnt have icons yet, i forgot13:29
arno11uvos: yes it runs on boot (because i'm able to receive 'buggy calls' immediately after boot)13:29
uvos__arno11: ok, behaivor is really wierd then13:30
arno11yep13:30
Wizzupcould maybe relate to vcm somehow13:30
Wizzupuvos__: just tried on mz617, new window works there13:30
WizzupAbout however shows nothing :p13:31
uvos__Wizzup: hmm13:32
uvos__yeah about dosent work here either13:32
uvos__generally i cant seam to select anythin in the context menu at all13:32
Wizzupon 6.1 calls worked ok, but I will debug more13:35
WizzupI need to keep it on 6.1 for the moment because I am expecting a call :D13:35
arno11:D13:35
arno116.1 is amazingly stable13:36
WizzupI hope others will  be too going forward13:37
Wizzupbut we will see :D13:37
uvos__expirance says d4 random reboots and n900 dosent boot at all :P13:37
Wizzuplol13:37
Wizzupyeah13:38
Wizzupbut I think it has gotten better13:38
Wizzupit might get worse when we try to improve pm13:38
uvos__tmlind: or Wizzup: do you know if the decoupeling of the kenrel serial console with pm landed in 6.6?13:39
WizzupI don't know but I would be excited if it did13:39
kivawhat is that process: temp-reaper ?14:04
Wizzuposso-af-utils: /usr/sbin/temp-reaper14:04
kivawhy it has that kind of name?14:05
Wizzupprobably this https://github.com/maemo-leste/osso-af-utils/blob/master/src/temp-reaper.c14:05
WizzupI suppose it deletes regular files in /tmp that weren't touched for a long time if the disk is getting full14:05
Wizzupkind of niche14:06
Wizzupbut with year+ uptime of fremantle I suppose it made sense14:06
kivaah..it really has good reason to that name.14:06
kivathanks for good answer14:06
Wizzupwe might eventually remove some of these things from maemo leste14:07
Wizzupespecially if/when they get upstream replacements14:07
kivanerdcore: About that font size. Pinephone screen resolution is 1440x720, AllWinner support hardware zoom 720x360 screen memory (layer) to 1440x720 screen, but there is not support for that. xrandr have software solution, you can try that.14:20
WizzupI think he did14:56
uvos__if you kiss potterings ring you get systemd-tmpfiles which dose exactly the same thing15:20
uvos__not sure if the sysv/openrc world has something like this too15:20
nerdcoredecreasing the xrandr scale value from 1.0 to 0.8 helped. I might try even more scaling another day, and I will try to get some screenshots for the gang here15:21
Wizzupsweet15:24
Wizzupmaybe also add it to the pinephone wiki page15:24
Wizzup(ours)15:24
Wizzupuvos__: we also get a sudo replacement then :D15:24
arno11Wizzup: i opened a new issue (#737) as a reminder for last N900 tweaks18:25
arno11i forgot appmenu-gtk stuff btw18:29
nerdcoreWizzup: with respect, I would suggest that UI/font scaling is an Accessibility issue not specific to the PinePhone device.19:10
WizzupI mean, sure, but there's no alternatives to doing what I suggested and it seems like a bigger issue on high dpi screens19:30
Wizzupyou can put it on some other page if you want19:30
nerdcoreit's not just about high DPI values. As humans get older (which we all do) our eyes go through about 3-4 changes, when we are very young and in puberty and later on in life... So likely each and every one of us will have worse vision at some time in our lives.20:14
nerdcorebuilding accessible systems is not just about supporting people who live with disabilities today, but supporting our own future selves.20:15
Wizzupthat's all fine and you get no argument from me, but right now this is the best we can do20:19
Wizzupwe are planning to move to gtk3/gtk4 at a later point, but we don't have the man power to do this20:19
sicelohttps://www.piggz.co.uk/sites/pgz/blog/sailfish-ofono-26: "upstream Ofono now has all the code needed for supporting voice-calling on the Pinephone, and likely other qmi-compatible devices"22:54
siceloyay22:54

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