libera/#maemo-leste/ Tuesday, 2022-08-30

freemangordonWizzup: you may release ofono00:51
freemangordonI think I fixed the voice intrface issue00:51
freemangordonthere is still that issue when no more MSIM notifications are received after disable/enable of the modem00:52
freemangordonbut I'll investigate tomorrow00:53
Wizzupok01:05
Wizzupfreemangordon: did you push to maemo-ofono as well, or just maemo/beowulf-devel?01:05
Wizzupfreemangordon: it's in the repo now01:44
freemangordonWizzup: no, shall I?07:46
freemangordontmlind: any clue:08:25
freemangordon[ 2206.911376] gsmtty gsmtty10: tty_port_close_start: tty->count = 1 port count = 208:25
Wizzupfreemangordon: I think so10:04
Guest224Wizzup: pinephone -devel from yesterday boots, but when it should come to desktop then only blackscreen (with backlit on), I don't think that it crash...at least going to sleep and powerbutton works.12:03
Guest224Is there any pinephone developer for debug ^^^ ?12:07
Wizzupdid you press the power button?12:08
Wizzupdoes it unlock?12:08
Guest224Yes12:08
Guest224nothing comes to screen, so hard to know12:08
Wizzuphm...12:09
Wizzuptoo bad, maybe take a stable image and apt-get dist-upgrade12:09
Guest224should there be startup "wishh"- sound?12:09
WizzupI think that's probably the charging sound that you hear12:10
Guest224no I meant that there wasn't "wishh"-sound...And I tested now with charger too.12:13
freemangordonthere is no startup sound12:14
Guest224I have Pinephone keyboard, so is there any way to go to debug terminal before it goes to X?12:14
freemangordonyou better check syslog, by using uSD->USB adapter or something12:16
Wizzupfreemangordon: I think he was planning to show it today to some people, so he might not have the serial at hand12:16
freemangordonserial?12:17
Guest224actually I show it on weekend...but I have only this day for test.12:17
freemangordonI mean: remove uSD from the device and mount it on a PC, then check /var/log/syslog12:18
WizzupGuest224: ah ok12:18
Wizzupfreemangordon: right12:18
Guest224damm..I so hard to tear apart pinephone keyboard.12:18
freemangordonumm... keyboard?12:19
Guest224why I didn't buy that phones-serial cable.12:19
freemangordonwhat I am missing here?12:19
WizzupGuest224: ah you have the keyboard, nice12:20
Wizzupfreemangordon: I think to take out microsd you also need to remove the keyboard12:20
freemangordonah, ok :)12:20
Guest224yes.12:20
freemangordonWizzup: andrew davis is alive and still @ TI it seems :)12:21
Wizzupah, what did you see?12:21
freemangordondid you see the last mail on "Re: [PATCH 3/3] drm: omapdrm: Do no allocate non-scanout GEMs through DMM/TILER"12:22
freemangordon?12:22
Wizzupah, linux-omap ml12:22
freemangordonyou are in CC12:22
Wizzupcool12:23
Wizzupyeah, CC's also end up in a mailing list that I periodically check12:23
freemangordondo you see any improvements with latest ofono?12:24
Wizzupin regards to segfaults or something eles?12:25
freemangordonin general12:25
freemangordonbut yeah, segfaullts12:25
Wizzupthere were definitely improvements in 1.34.1, I didn't test 1.34.2 much but the pin stuff works fine, calls seem to work12:25
Wizzupnot sure about delayed sms, I would have to test that specifically12:26
Wizzup(delayed sms sending)12:26
freemangordonin 1.34.2 voice iface shall re-appear after offline mode12:27
uvos__i have a new problem with ofono it seams12:30
Wizzupok, I will test that with flight mode momentarily12:30
uvos__maybe, hard to tell if it wasent there before12:31
uvos__so if the device is in a low signal area12:31
uvos__and looses connection, it  often dosent seam to want to reconnect, unless i restart ofono or kick it with qmicli12:31
uvos__then i connects immidatly often with good rssi12:32
uvos__also i still cant get data to work via ofono12:32
uvos__but thats not a regression12:32
freemangordonWizzup: actually, it seems it is "offline" mode :)12:32
uvos__im on 1:1.34.2-1+2m712:33
freemangordonuvos__: to me it looks like the same/similar issue as with missing MSIM12:33
freemangordonuvos__: is it possible to gather full android boot logs with "echo 0x7fffffff > /sys/module/ts27010mux/parameters/debug_level" for me?12:35
freemangordonI don't really want to spend time learning how kexecboot or whatever works12:35
uvos__freemangordon: sure a log of what action(s) do you want12:36
uvos__?12:36
freemangordonalso, I have almost no idea of android boot process and if there is similar to /etc/modprobe.d12:36
freemangordononly boot12:36
uvos__on android all modules are ussualy built in12:37
uvos__so no12:37
uvos__on mapphones the pvr moudle is an exception12:37
uvos__i think they just load it via some script12:37
freemangordonbut, I need the log since the very beginning12:37
uvos__ok12:37
uvos__i can insert the sysfs command very early in boot12:37
uvos__for sure12:37
uvos__if its also a module parameter that dosent really help us12:38
freemangordonI don't know if it is possible to pass something like ts27010mux.debug_level=0x7fffffff in kenel cmdline12:38
uvos__on los the cmdline is wierdly fixed via some hack needded by safestrap12:38
uvos__so that could only work via stock android12:38
uvos__and i think that has debug options compiled away12:39
uvos__ill investigate12:39
freemangordonfor sure lineage I have here reacts on echo 0x7fffffff > /sys/module/ts27010mux/parameters/debug_level12:39
uvos__sure los reacts12:39
uvos__but as i say its cmdline is controlled by safestrap12:40
uvos__stock android as normal cmdline12:40
freemangordonwhatever it is :)12:40
uvos__but it wont12:40
uvos__;)12:40
uvos__also pinentry is nice12:42
uvos__no more opening xterm every boot just to enter the pin12:43
Wizzupyeah12:43
Wizzupin general things are looking much better already12:43
freemangordonafter I fix ofono, I'll fix the pin entry buttons :)12:43
freemangordonuvos__: what does it mean when adb reports offline state for a device?12:45
freemangordonok, I had to re-enable adb debug12:47
Guest224at last I readed that pinephone syslog and:12:57
norayrfolks do you aware, in general, if the phone is down, will it get the missed sms when it's up?12:58
uvos__yeah thats a thing the operator dose12:59
uvos__it has nothing to do with the phone itself really12:59
Guest224xsession failed to start13:00
freemangordonGuest224: could you pastebin the syslog and dmesg log?13:00
* freemangordon is afk for a while13:01
uvos__Guest224: also xorg log please13:02
norayruvos__: thanks you.13:09
Guest224hmm..can syslog have some phone ids, that I should not share?13:10
uvos__sure, but its not that mutch13:12
uvos__share xorg log first if your concerned, it dosent contain anything13:12
Guest224at least I find WWAN/QMI device13:12
Guest224id13:12
uvos__and i think xorg isent starting for you13:12
Wizzupuvos__: how how can he see the lock screen then?13:23
Wizzupbut how*13:23
WizzupI can try the latest -devel image later today, maybe, but I have a busy day today13:23
uvos__Wizzup: i dont think it is, he just mentioned the backlight turning on13:24
uvos__thats just mce13:24
uvos__@Guest224 could you specify what you see?13:24
uvos__i gues we cant boot to recovery shell on pp13:26
uvos__we should add that...13:26
Guest224I saw only black screen with backlit on after boot text.13:27
freemangordonGuest224: well, without providing more information (like some logs) I don;t think we'll be able to help much :)13:28
freemangordonif you have some provacy concerns, at least share dmeasg and Xorg logs13:28
freemangordon*privacy13:28
Guest224I find syslog, but where Xorg.log should be?13:30
uvos__ /tmp/13:30
uvos__we should change that13:30
uvos__if not allready13:30
Guest224both /tmp/ and /var/tmp/ is empty13:33
Guest224from syslog /etc/init.d/xsession[2350]: ERROR: xsession failed to start13:34
freemangordonanything suspicious before that?13:35
Guest224not much, but much earlier: /etc/init.d/hildon-control-panel-personalisation[2052]: ERROR: hildon-control-panel-personalisation failed to start13:38
Wizzupif X does not start, that is expected13:41
Guest224that hildon-control-panel thing was before it even trying to get X display.13:45
Guest224later there is text waitx[1969]: trying to get X display13:45
WizzupI'll test the image, see what I can find, but can't right now.13:46
Guest224freemangordon: btw..dmesg didn't have any suspicious.13:54
Guest224I'll shut down this machine, but continue lurking this channel thru irclog. I'll be back.14:06
freemangordonMelnik123!15:01
humpelstilzchen[not a good password15:13
freemangordonI know, that's why it is not important15:14
freemangordonhmm, I wonder if AT+MATR resets the SIM card. or it gets ATR15:17
freemangordonyes, the result of that is 3b9f96801fc78031e073fe211367980702060101014215:19
freemangordonand this is a valid ATR15:19
freemangordontmlind: doing rmmod/modprobe of serdev_ngsm makes MSIM unsolicited messages working again17:49
freemangordonsequence is:17:50
freemangordon1. restart ofono - no more MSIM notifications on SIM removed/inserted17:50
freemangordon2. stop ofono, rmmod serdev_ngsm, modprobe serdev_ngsm, start ofono - MSIM notifications are there17:50
freemangordontmlind: I think I have an idea what';s going on see https://pastebin.com/Qh0zbH9818:37
freemangordonthere is:18:37
freemangordon[ 3206.633575] --> 10) C: SABM(P)18:37
freemangordon[ 3206.743865] --> 10) C: DISC(P)18:37
freemangordonno way this can work, IIUC18:37
freemangordonall DLCs but 1 are closed, no wonder there is no data :)18:39
freemangordonheh18:49
freemangordonadding 1 second timeout after opening each tty device fixed it :)18:50
Guest224Just dreamin..It would be nice install to pinephone eMMC the OS that can read USB stick and then dd image file with that to SD-card, so not have tear apart Pinephone from keyboard-case everytime...maybe with Maemo someday ;)19:22
Guest224hmm..volume up+power and volume down+power boots from SD..how to force boot from eMMC?19:39
Guest224lets hope that someday there is boot selector like in old Macs.19:41
freemangordonWizzup: ok, we have a fix for the last d4 ofono issue known to me, please release new ofono version for -devel19:48
freemangordonthis https://github.com/maemo-leste-upstream-forks/ofono/commit/f731edbb19b3a54879f9af95c05f8e4b737bf19019:48
Wizzupwill do, great, will also try to test today.19:55
WizzupI guess sms not sending is one of the things to test yeah?19:56
freemangordonmhm19:56
freemangordonwell, you are using it for a long time so you should know better than me what behaves19:57
WizzupI think this probably fixes the problem where sometimes you need to restart ofono several times before it even sees the modem :)19:58
freemangordonit should19:59
freemangordonand should also fix the issue where some weird emergency numbers appear19:59
Wizzupgreat work, will build now20:03
freemangordonthe fuck! now modem does not respond after power-up :(20:21
freemangordondammit20:22
freemangordonofono has to be restarted for modem to start work20:22
Wizzupwell the build hit -devel just now :p20:24
freemangordonwe can easily revert that20:28
freemangordonbut that's not th epoint20:28
freemangordonwell, I guess I need tmlind to give some hints for n_gsm driver20:28
freemangordonWizzup: fixed, will force-push in both branches if you don;t mind20:43
Wizzupfreemangordon: preferrably not but fine if you want to20:54
Wizzup(because I already tagged and deployed(20:54
Wizzupmaybe make it a fixup: commit (just prefix with fixup:)20:54
freemangordonok, will make fixup commit20:55
freemangordonunfortunately this is an issue in the driver20:56
freemangordonI don't think I can easily fix from userspace20:56
Wizzupso you have a workaround atm?21:01
freemangordonyes21:02
freemangordontesting21:02
Wizzupok21:32
freemangordonWizzup: maybe revert that last commit and make a new release until I find a stable fix21:33
freemangordonmost-probably driver shall be fixed21:34
freemangordonWizzup: which droid4-linux branch to use?21:39
uvosmaemo-$VERSION21:40
freemangordonuvos: maemo-5.18 or maemo-5.18-calltest?21:41
uvosmaemo-$VERSION21:42
freemangordonwhat is $VERSION?21:42
uvosnvm calltest21:42
uvosit should be deleted21:42
uvoswhatever is latest21:42
freemangordonso, maemo-5.18?21:42
uvosyes21:42
freemangordonuvos: which config to use?21:49
uvosomap2plus21:49
Wizzupfreemangordon: ok22:08
Wizzupdone22:09
freemangordonthanks22:14
uvosfreemangordon: what are you expecting from the ts27010mux debug level?22:51
freemangordonoh22:52
uvosthis sorts of lines? use-Rlog/RLOG-RIL-MX: Read Ch0 << 0319~+RSSI=0,31,99,99,0,0,022:52
freemangordonI was thinking there is some specioal command that is send for unsol events22:52
freemangordon*special22:52
freemangordonit turned out this is bug in our kernel22:52
uvosno i mean i dont know if its caputreing the events we want22:52
freemangordonbut yes, this sort of lines22:52
uvosok sec22:53
freemangordonso, I was hoping this trace to help me identify what's going on22:53
uvosi should be able to get those farily early in boot22:53
freemangordonno, please don't22:53
uvos(but not before userspace is a bit up)22:53
freemangordondon;t waste time22:53
uvosoh ok22:53
freemangordonI already figured out the issue22:53
uvosok ok22:53
uvoswhat was it?22:54
freemangordonI think kernel driver timeout is too short22:54
uvosok22:54
uvosyeah the modem is sloow in general22:54
uvosit gets back to you.. eventually22:54
Wizzupsounds like me :D22:55
freemangordonandroid timeout is 2500 ms for dlc opens22:55
freemangordonour timeout is 250 ms22:55
freemangordon2500 according to the comment22:56
freemangordonbut actually, the way this vaue is used, those are jiffies22:56
uvosuff ;D22:56
uvosforgeting the conversion macro sounds like something i would do22:57
freemangordon wait_event_interruptible_timeout(..., TS0710MUX_TIME_OUT)22:57
uvosbtw potentually, if your going to do a kernel release anyhow22:58
uvosmerge in 5.18.y22:58
freemangordon"/* 2500ms, for BP UART hardware flow control AP UART  */"22:58
freemangordon"#define TS0710MUX_TIME_OUT 2500"22:58
freemangordonso they wanted 2500ms, obviously22:59
freemangordonbut this is more like 250s22:59
freemangordonfor HZ=10022:59
freemangordonIIUC22:59
uvosif they dont convert it where its used yeah23:00
freemangordonmhm23:00
freemangordonon the other side ofono does not wait all the needed tty devices to appear :)23:01
freemangordonok, enough for today23:22
freemangordongood night!23:22
uvosoh btw the battery i bought for d4 was this one https://www.ebay.de/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=nexus+g4+batery&_sacat=023:31
uvoser https://www.ebay.de/itm/331503392013?epid=6011377166&hash=item4d2f24550d:g:QisAAOSw2X5b0bBE&amdata=enc%3AAQAHAAAA4IQM4Vfj8FoS2OHAe%2BMzEnEd8B3OlHOupg8LvNFGkvV1AADivZdHViyxM4jPSzDaQzMTk%2BrAeM%2FP1TQTq6DTo4QwMd%2BDbFaJDTOPv%2B2ivfSIFZjN8Vby7JxbbFy%2BZIwYgsJbeq6%2FS%2BfYDGbmq6x3V60iTSgoFeYKW0HLYWBvruNyx6MXJ7WyU4tIrZNDbAxAzTHrziwx%2FHATLymd%2FnuLn5gFlY20XNcx8ZbyKdJZPzv%23:31
uvos2FwsNX7UFKzwPJYsktH6iyw6J0cr9ga21mhl8xjFXrIHQzioXN8qNc2frlrPGZFPLT%7Ctkp%3ABFBM5IOxit5g23:31
uvosannoying23:31
uvosits a bl-t523:32
uvosfor nexus 423:32

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