Wednesday, 2025-05-21

T42<sicelo> hi09:47
T42<sicelo> have a quick question - if an SMS is sent while the device (or modem) is offline, does SFOS have a way to ensure that it is received properly when the device goes online?09:51
T42<sicelo> unless the ofono fork queues the sms itself? at least upstream ofono doesn't seem to have a way to do so, hence those smses could be lost if the modem goes online before the sms service (i guess tp-ring?) is up09:53
Mister_Magistermal: is there HBM plugin/config for mce? or should I create one?20:07
Mister_MagisterAlso could someone have a look at my PR please? :P20:07
malhbm?20:09
T42<TheVancedGamer> high brightness move20:10
T42<TheVancedGamer> mode*20:10
malMister_Magister: how does hbm work in your device?20:10
Mister_Magistermal: sorry i described it above lemme copy paste20:11
Mister_Magister to explain more I discovered something in my old ass phone called HBM (high brightness mode) that makes screen brighter than max brightness if you write 1 to sysfs20:11
Mister_Magister android apprently does it automatically when you're outside in direct sun20:11
Mister_Magister so i assume you need some brightness threshhold20:11
malto which path do you need to write that?20:11
Mister_Magister@TheVancedGamer do you know what are conditions for it to turn on?20:11
T42<TheVancedGamer> direct sunlight20:12
Mister_Magister@TheVancedGamer so brightness threshhold?20:12
T42<TheVancedGamer> it also increases contrast on some devices20:12
T42<TheVancedGamer> no, the als sensor is used20:12
Mister_Magistermal: /sys/class/graphics/fb0/hbm20:12
Mister_Magisterals sensor?20:12
malthere is hbm stuff in mce at least20:12
T42<TheVancedGamer> auto brightness sensor20:13
T42<TheVancedGamer> it's called als20:13
Mister_Magisterahhh20:13
Mister_Magisterso ye brightness threshold xd20:13
Mister_Magister@TheVancedGamer or does it just say "gimme hbm"?20:13
mal        mdy_high_brightness_mode_supported =20:14
mal            (g_access(mdy_high_brightness_mode_output.path, W_OK) == 0);20:14
T42<TheVancedGamer> usually in android there's a hash table of lux values and brightness values to write to sysfs node20:14
T42<TheVancedGamer> if lux goes above that table hbm gets enabled20:15
Mister_Magisterso like i said brightness threshold20:15
Mister_Magistermal: idk where you see that lol20:16
malgrep mce sources20:16
malin modules/display.c20:16
Mister_Magisteri'm doing that via github search unless it sucks20:16
malit's crap :)20:16
Mister_Magisteryeap :)20:16
Mister_Magistercould it be that its getting wrong path20:17
T42<TheVancedGamer> mfw even gitlab has better search than GitHub now20:17
malbut grep is much better anyway20:18
malgood thing I have probably most of sailfish sources locally on my laptop20:18
Mister_Magistermal: yeah path is wrong20:18
Mister_Magisterit looks in /sys/class/backlight20:18
Mister_Magisterwhich doesn't exist either way xd20:18
Mister_Magisteroh yeah it doesn't exist so it doesn't go into the if you pasted code from20:19
Mister_MagisterI think20:19
Mister_Magisterbut the generic doesn't work either :/20:19
Mister_Magisterlong story short should i add my display case there?20:20
malmaybe you need to make that path configurable20:20
Mister_Magisteryeah20:20
mallike many other paths are configurable20:20
Mister_Magisterthe generic path is /sys/class/graphics/fb0/device/panel but that doesn't exist20:21
Mister_Magisterbut /sys/class/graphics/fb0/ does20:21
malshould be relatively simple20:21
Mister_Magisterand /hbm is there20:21
Mister_Magistermal: I'll do that if my pr gets merged so that i can get nemo running >:)20:21
malwhat PR?20:21
Mister_Magisterah20:21
Mister_Magistertimed20:22
malok20:22
malquite unrelated anyway20:22
Mister_Magisterxdd20:22
Mister_Magisterhmm I'm trying to debug ofono-binder-plugin-ext-qti and while i'm getting qti_plugin_init i don't get qti_ext_new_slot and there's no obvious reason as to why20:37
Mister_Magister@TheVancedGamer do you maybe have any idea?20:37
Mister_Magisterdoesn't seem to be loading anything from /etc/ofono/binder.d20:39
malwhich device?20:39
Mister_Magister>ofono-binder-plugin is not installed20:39
Mister_Magisternobody tell anyone that I have ofono-alien-binder-plugin instead20:40
Mister_Magistermal: oneplus 620:40
Mister_Magisteroh wait no it conflicts with ofono-ril-binder-plugin20:41
malofono-ril-binder-plugin should pretty much never be used20:41
Mister_Magistermal: really?20:41
malofono-binder-plugin replaced it20:41
Mister_MagisterI wonder why it is used20:42
Mister_Magisterand why does it work20:42
Mister_Magistermaybe there's a reason its used20:42
malit does work but misses some things20:42
Mister_Magisterhttps://github.com/VerdandiTeam/droid-config-enchilada/blob/hybris-16.0/patterns/patterns-sailfish-device-adaptation-enchilada.inc#L3320:42
Mister_Magisteryeah here20:42
malno 5g for example20:42
Mister_Magisterso I should change that to one without ril?20:42
malif it works then yes20:42
Mister_Magisterah here's the catch xd20:43
Mister_Magisterfor now i'll break patterns20:43
Mister_Magisteroh ofono segfaults now, perfect20:43
malwhich binder radio service version does that have?20:44
malbinder-list should tell20:44
Mister_Magistersorry give me a sec i'm having trouble finding binder-list for some reason20:46
Mister_Magisterbinder-utils doesn't have it20:47
Mister_Magisterlibgbinder-tools ah20:48
Mister_Magisterhttps://paste.opensuse.org/pastes/25a43d9b9cfb20:48
Mister_Magister1.0/1.1/1.2 it seems20:48
Mister_Magisterit connects to 1.220:49
Mister_Magisterhttps://paste.opensuse.org/pastes/4b0a03adea6a have a log too (reverse direction)20:51
Mister_Magisteroh, without qti plugin it also segfaults21:00
Mister_Magistermaybe thats the reason it was not used xd21:00
malgdb?21:02
Mister_Magisteryeah i also thought that21:04
Mister_Magisterit doesn't segfault without sim so thats something21:05
Mister_Magisteroh boy21:06
Mister_Magisterhttps://paste.opensuse.org/pastes/800db118f516 that doesn't help much tbh xd21:06
Mister_Magisterofono-binder-plugin doesn't have -debuginfo package ;-;21:08
malwell installing debug symbols would help21:08
Mister_Magistermal: if it had them it would help21:08
malreally?21:08
Mister_Magisterit doesn't have -debuginfo package21:09
malthen build it21:09
Mister_Magisteri installed every other -debuginfo21:09
Mister_Magisterugh21:09
Mister_Magisterbut that's bothersome xd21:09
malshould be quick on obs21:09
Mister_Magisteryeah yeah i knoooooooow21:09
Mister_Magisteri'm just complaining cause i'm Polish21:09
Mister_Magisterhttps://paste.opensuse.org/pastes/44c68f2f9519 here you go21:18
Mister_Magisterwhy would that segfault21:19
Mister_Magisterthat makes 0 sense xd21:23
Mister_Magisterso it fails to allocate struct BinderDataRequest for god unknown reason21:26
maldoes binder-list report radio config interface?21:26
Mister_Magisteri posted binder-list of everything that had radio in its name :P21:27
Mister_Magisteri have no idea what is a config interface21:27
Mister_Magisteroh android.hardware.radio.config@1.0::IRadioConfig/default21:28
malI wonder how well 1.0 case has been tested, that means radio config is not used at all in our plugin21:30
malhttps://github.com/mer-hybris/ofono-binder-plugin/blob/master/src/binder_plugin.c#L118921:31
Mister_Magistershould we force it to use 1.0 interface?21:32
malI wonder if it goes into endless loop, the backtrace is just repeating same things over and over again21:32
maland eventually breaks because of that, just a theory21:33
Mister_Magistermal: but it wasn't doing binder_data_set_preferred_data_modem_new in the loop21:33
Mister_MagisterI can try setting radioInterface = 1.021:34
Mister_Magisterthat uhh… that kinda worked21:35
Mister_Magisterit did not segfault21:35
Mister_Magisterbut i wouldn't say it to be fully functional (the signal is just square icon)21:36
Mister_Magisterah its stuck in registering according to settings21:36
Mister_Magisteroh wait no21:38
Mister_Magistermal: removing dual sim config stopped segfault21:39
Mister_Magister1.0/1.1/.1.2 doesn't matter21:39
Mister_Magisteralso the qti plugin talks exclusively to 1.221:40
Mister_MagisterI've restarted the phone and its segfaulting again so that's not it21:43
Mister_Magisteryeah even on 1.0 its segfaulting21:46
Mister_Magisteroh i figured out the -d parameter21:55
Mister_Magisterall the requests seem to be different21:56
Mister_Magisterah no they're repating21:56
Mister_Magistermal: sounds like this but it also sounds like its not working https://github.com/mer-hybris/ofono-binder-plugin/commit/92f02e78a0038660c47dc7f27e5ad558000a1a9122:10
Mister_Magisterwish monich was here22:11
Mister_Magisterso note for later: make hbm path in ofono configurable and debug ofono-binder-plugin i guess22:16
maldo you get that request %p done (or failed)22:26
malin debug log, or submitted %s request22:27
Mister_Magisteryes22:42
Mister_Magisterits in the gdb log i sent22:42
Mister_Magisteroh wait its not22:42
Mister_MagisterBut i do22:43
Mister_Magistermal: here you go https://paste.opensuse.org/pastes/7a944cc9d6d522:43
Mister_Magisteri did -d "*/*" xd22:43
Mister_Magisterand the requests are repeated periodically22:44
malso that DATA_REQUEST_FLAG_SUBMISSION_FAILURE is not set?22:51
malmaybe you need to check if that gets done or not, manually in gdb with breakpoints for example22:53

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