libera/#maemo-leste/ Saturday, 2024-12-28

tmlindfreemangordon: maybe it's the AT+SCRN=0 or whatever to disable ngsm notifications from modem that is needed?06:41
tmlindfreemangordon: still missing the ehci patches for mdm9600 modem?06:42
freemangordontmlind: do you have any plans to upstream those?07:32
freemangordonwho would send AT+SCRN=0? I am using upstream ofono.07:33
freemangordonah, mce07:34
freemangordonhmm07:34
freemangordontmlind: anyway, we carry lots of patches, what are the plans to upstream them if any?07:35
tmlindfreemangordon: should be upstreamed, i guess i'll be sending out the echi stuff and dts changes to get mz617 modem and lcd working07:59
freemangordongreat08:00
* tmlind kind of needs one to work with gps for the 2025 fishing season08:00
freemangordonheh08:00
freemangordonyou like fishing? I love it :)08:01
freemangordonlast season was great ;)08:01
tmlindheh more like a passive hobby for me to feed the family occasionally :)08:01
tmlindbut having a nice m-l running tablet with good battery life and gps for maps is great to have anyways08:02
freemangordonok, so I will pull ehci patches as well in few minutes.08:03
freemangordonneed to figure out if I can get away without platform device per mux port08:03
tmlindok great thanks, i'll give your branch a go then08:04
freemangordonshall I pull dts patches too?08:04
tmlindyes please. so maybe the AT+SCRN=0 is just some nvram setting?08:04
freemangordonno idea what's going on with idle consumption,  but will look at that later08:05
tmlindok08:05
freemangordonhmm, dts patches are tens of :(08:05
freemangordonwill take a while08:05
tmlindso in the bp mode with modem over usb to a pc, did the d4 phy wakeirq changes also make those notifications to work?08:06
freemangordonit does not08:06
freemangordonlike...08:06
freemangordonthe reason those work is that USB is not suspended08:06
freemangordonif you enable USB autosuspend, they will stop working (on PC that is)08:06
tmlindok08:06
freemangordonBTW, even with 6.12 I still have that "gsmtty gsmtty4: tty_hangup: tty->count(1) != (#fd's(0) + #kopen's(0))" error message08:08
tmlindok, no idea about that one08:08
freemangordonunfortunately I got no reply on the ML but that "no help without code" :(08:08
freemangordonJohan said in one of the replies to you (or Pavel) that serdev does not support tty hangups, but didn;t provide more details08:09
tmlindsounds like serdev ngsm needs to maybe implement some callback to close the line on hangup?08:09
freemangordonit already provides callback08:09
freemangordontty_hangup or something08:09
tmlindas serdev knows nothing about ttys, it seems like ngsm or serdev-ngsm layer needs to deal with it08:10
freemangordonanyway, lemme push, so we can have a common code to discuss on. will take a while though08:10
tmlindok, bbl later on today08:11
freemangordontmlind: oh, some of dts patches are already upstream, do you have a list of what I shall pull?08:36
mkfarno11: any idea where to look for?08:42
tmlindfreemangordon: at least the mz617 lcd, backlight and modem patches are missing, not sure what all uvos had08:50
freemangordonyeah, ok, I think I am figuring out08:50
freemangordontmlind: what about this https://github.com/maemo-leste/droid4-linux/commit/620ae677a40b632123ffe5d199ab0044c90f1e87 ?09:15
tmlindfreemangordon: yup that is still needed afaik, not sure if that's a correct solution though09:39
freemangordontmlind: https://github.com/maemo-leste/droid4-linux/tree/leste/maemo-6.12.y-wip09:59
freemangordonfew patches are still missing (n900 ones and cpcap charger ramp patch and maybe some more)09:59
freemangordonbut should be a good start09:59
freemangordonoh, and voice call pathes :)10:00
tmlindok10:01
arno11mkf: maybe look @/usr/share/X11/xorg.conf.d11:58
freemangordontmlind: when sending seres, is there any easy way to get --to and --cc mail addresses?12:25
freemangordon*series12:25
freemangordonscratch that, found it12:46
mkfhttps://hosted.weblate.org/projects/maemo-leste/osso-rss-feed-reader-l10n/ <- can someone with access take a look at it?14:02
freemangordonmkf: hmm, it seems weblate introduced some TOC15:20
freemangordonWizzup: ^^^ any idea?15:20
freemangordonit become payed or something15:22
freemangordonok, I cannot unlock it15:49
Wizzuphm?15:55
WizzupI'll check in hrs15:55
Wizzup2hrs15:55
freemangordontmlind: is https://github.com/maemo-leste/droid4-linux/commit/6097a98863590e80ffd65b647bc9f23305d71481 a fix or is needed for serdev_ngsm?17:09
mkfhello again.18:38
mkfgot lima working. :)18:38
mkfalsa it's still painfully slow.18:38
mkf*alas18:39
mkfany specfic place to look for logs?18:39
freemangordones2_info18:41
freemangordonmkf: ^^^18:42
mkfis that a command i should run?18:42
freemangordonmhm18:42
mkfok18:42
freemangordonit is in mesa-utils-extra18:43
mkfuh.18:45
mkfwell that's tricky to do.18:45
mkfi suppose i can run commands if i put them in /etc/rc.local, but the device screen times out way sooner before it could render application menu in hildon18:46
mkfis there is a potato graphics mode in hildon?18:46
mkfso i can at least open xterm18:48
Wizzupfreemangordon:18:57
Wizzup The translation is temporarily closed for contributions due to maintenance, please come back later.18:57
WizzupThe translation was automatically locked due to following alerts: Could not merge the repository.18:57
WizzupI have to do some git stuff18:57
freemangordonWizzup: I already did18:59
freemangordon(git stuff)18:59
freemangordonbut cannot unlock on weblate19:00
freemangordonbut yeah, maybe I didn't do it properly19:00
freemangordonmkf: don't you have ssh access?19:01
mkfnot yet19:02
freemangordonso, does TS work?19:02
mkfyes.19:02
freemangordonso, can you connect to wifi?19:03
freemangordonwifi should work on allwinner19:03
mkfno. it's so slow screen timeout turns off the screen before i manage to open any menu19:04
mkfand i can't open it afterwards because lockscreen timeout is like 10s19:04
mkfi sometimes can bump into application menu if i'm lucky.19:05
mkfi can see lima in dmesg tho. so it must be loaded.19:05
freemangordonok, but maybe xorg.conf is wrong19:05
freemangordoncan you extract Xorg.log?19:06
freemangordonit should be in /home/user19:06
mkflet me see19:06
freemangordonor in /var/log19:06
freemangordondepending on how you pweroff the device19:06
freemangordon(iirc)19:06
mkfum19:08
mkfi have both19:08
freemangordongood19:08
freemangordonprovide them :)19:08
freemangordonthey should contains the same19:09
mkfand since there is no rtc on this, i dont know which one is for lima and which one is for nolima19:09
mkfboth dated around the same19:09
mkflet me upload them19:09
freemangordonthere is no lima/nolima19:10
freemangordonon boot the one from /var/log is copied to /home/user19:10
freemangordonand new one is created in /var/log19:11
mkfeh19:12
mkfsilly me, i was looking on my own /var/log19:13
mkfthere is no /var/log/Xorg.* in tablet, only /home/user/Xorg exists19:13
mkfhttps://cloud9p.org/usr/mkf/tmp/Xorg.log_in_home19:13
mkfuh oh fbdev...19:14
freemangordonmhm19:14
freemangordonopen /dev/dri/card0: No such file or directory19:14
freemangordondoes not look like lima is loaded19:15
freemangordonmkf: won't happen without shell access :)19:15
mkfwhich? :(19:16
freemangordonwifi19:16
freemangordonstart wpa_supplicant on boot19:17
mkfwell i suppose if i get lima working i can use osso-xterm, right?19:17
mkfhttps://cloud9p.org/usr/mkf/tmp/dmesg <- dmesg fwiw.19:17
freemangordonyou should be able to use osso-xterm without lima too19:18
freemangordonwhat happens if you press power button? you should be presented with unlock slider19:19
mkfyes.19:19
freemangordoncan't you unlock it?19:19
mkfand that loads rather quickly.19:19
mkf(compered to rest of system)19:19
freemangordonyeah, it is non-composidet19:20
freemangordon*composited19:20
mkfbut it doesn't respond before it times out and screen goes off, no matter how much i swipe it.19:20
freemangordonso, if you unlock it, you should be able to start osso-xterm19:20
freemangordonhmm...19:20
sicelomkf: usb also doesn't work? you should be able to ssh via usb19:21
freemangordonsicelo: on allwinner?19:21
mkfdidnt tried that.19:22
freemangordonhmm, actally19:22
freemangordonyes, that should work19:22
mkfbut apperently usb is also not working yet.19:22
freemangordonwell...19:22
mkfDRM_MALI_DISPLAY [=n]   <- hmm, i wonder if i should enable it19:22
freemangordonoh19:22
freemangordonyes, you should19:23
mkfyessir.19:23
freemangordonalso, you may try to move mce from /usr/bin19:23
freemangordonthat should prevent screen from being locked19:23
mkfwhat is mce19:24
freemangordonhttps://github.com/maemo-leste/mce19:24
mkf"It supports the DP500, DP550 and DP650 variants"19:25
mkfum, dont old sunxi have m400 something?19:25
freemangordon"mali400 version major 1 minor 1"19:25
freemangordonseems you need sun4i-drm19:26
freemangordonhmm, wait19:27
freemangordon[drm] Initialized lima 1.1.0 20191231 for 1c40000.gpu on minor 019:27
freemangordonso it is properly inited with drm19:27
freemangordonbut why there is no /dev/drm/card0?19:27
mkfoh and also, do i need VIDEO_SUNXI?19:28
freemangordonno idea19:28
freemangordonask on #linux-sunxi :)19:28
mkfsun4i-drm is already on.19:29
freemangordonhmm, I don;t see simple-panel loaded19:30
freemangordonmaybe your panel is not registered with drm19:30
freemangordoncheck in dts is panel is enabled19:30
freemangordon*if panel is19:30
freemangordonyou should not be using framebuffer devices19:31
freemangordonttyl19:31
mkfsee you.19:32
mkfthere is a panel on dts, but i'm not sure if it's placeholder19:33
mkfah nvm there is a "compatible" entry there.19:34
mkfso things look good?19:34
freemangordonis it enabled?19:39
mkfyes(?)19:39
mkfthere is no status on it19:39
mkfhttps://github.com/u-boot/u-boot/blob/master/arch/arm/dts/sun8i-a23-q8-tablet.dts#L6619:42
mkfi haven't used dt much, so please forgive my lack of experince. :)19:43
freemangordonmkf: see sun8i-a23-a33.dtsi19:57
freemangordon(I guess this is used for your device)19:57
mkfdisplay-engine?19:58
freemangordontcon019:58
freemangordonstatus = "disabled";19:58
mkfso i should enable it?19:59
freemangordonmhm19:59
freemangordonin your board dts19:59
freemangordon&tcon0 {20:00
freemangordonstatus = "okay";20:00
freemangordon};20:00
freemangordonyou may need more things though20:00
mkfoh wow20:04
mkfnvm.20:06
mkf:D (managed to see the program drawer, but still on fb)20:06
tmlindfreemangordon: seems like a fix but not sure why others are not hitting it..20:12
freemangordontmlind: got serdev_ngsm working properly (no longer the warning) :)20:19
freemangordonwill push tomorrow20:20
freemangordonregarding the fix - shall I send a patch to the ML?20:21
tmlindfreemangordon: ok sure20:30
freemangordonok, will do20:31
mkffreemangordon: do you have dts for your device?20:32
freemangordonmkf: not sure, it was a while20:48
freemangordonlemme check20:48
freemangordonsorry, dts I use has TS related changes only (plus compatible for LCD)20:51
freemangordonyou should check if panel node is enabled in /sys/firmware20:51
mkfthank you.21:28

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