Sunday, 2026-05-10

Mister_Magisterhmm it sometimes still gets stuck in charging, i probably have to blacklist some more devices00:00
Mister_Magisterhmm mount --bind in droid-hal-early-init did not do it so maybe it's not hal00:03
Mister_MagisterI'll just bamboozle it and simply not build it as module, check mate00:11
Mister_Magisterhuh, aida64 instantly recognized phone is no longer charging and sfos not00:17
Mister_Magisteryaay charging limiting works00:47
Mister_Magisternow i jsut have to figure out loading of correct module00:47
T42<Mister_Magister> i blacklisted everything but battery and wireless and it still gets hang up despite sysfs paths changing correctly, ig it's just mce things00:56
Mister_Magisternah i had a typo, now i added 2 more devices to blacklist and it seems to be working fine01:12
Mister_Magisterwith just battery and wireless it detects usb charging but whateveeer01:12
T42<b100dian> mal: fp5 has libI420colorconvert?10:49
Mister_MagisterI shall write the usb service in D11:24
Mister_Magisteryes you heard that right11:24
rinigus@b100dian: I have updated the kernel and its modules. also dropped some kernel options as they don't apply for our kernel version (https://github.com/sony-nagara/android_kernel_sony_sm8450/commit/75525654e0b57f6e2f2e2db769b29ac8ba682168)11:37
rinigusthey were just ignored during the build11:38
rinigusI wonder who should be pinged for reviewing this: https://github.com/sailfishos/mce/pull/4311:39
rinigusb100dian: I think the complains regarding non-working charging limitation for nagara is due to non-merged MCE PR above. while all should work with USB charging, wireless is ignored without it11:41
Mister_Magisterrinigus: ping our best guy11:42
Mister_Magisterlastest commits are only from him and spiiroin no longer works [*]11:42
T42<b100dian> rinigus: nice! I ordered a wireless charger out of curiosity, but don't have it yet11:43
Mister_Magisterwireless chargers are sweet11:43
riniguslet's hope that the best guy(s) will pick it up already via message over here without ping. re spiiroin - I hope he is doing fine11:43
Mister_Magisteri'm using one on miami, used one on flo11:44
Mister_Magisterrinigus: well if i wasn't transparent already i meant mal11:44
rinigusit was11:44
rinigusjust not nice to get pinged all over the place :)11:44
Mister_Magister:D whoops11:45
Mister_Magisterbrother i'm in dependency hell trying to get d to build11:45
T42<b100dian> it's a race to the bottom, if you don't ping, others will11:45
Mister_Magistermmmmmmmmmm f it, c++ it is11:49
T42<b100dian> Mister_Magister: now you have two problems11:49
Mister_Magisterhm?11:49
T42<b100dian> It's usually about regex or xml the quote, but I would say C++ fits too11:50
malrinigus: need to do some testing with that to make sure it works on all devices12:01
Mister_Magistermal: so i made the service that writes none/peripheral depending on usb charging and sfos always says it's "charging only mode in use" no matter ifi  select any other default usb mode or select "always ask" also the usb seems to be stuck in mass storage mode, as if usb-moded wasn't doing anything at all12:18
rinigusmal: thanks12:18
Mister_Magisterandroid0 is changing correctly12:18
Mister_Magisterhmm hold on a second12:23
Mister_Magisterusb-moded can read usb status from udev no? it even states so in readme12:24
Mister_Magisterah it only reads charging mode12:25
Mister_Magisterit doesn't infere from it that usb is connected12:25
Mister_Magisterandroid_tracking = 1 and my problem is solved12:26
Mister_Magisternow we can play around with ncm12:27
Mister_Magistersweet ncm works, but DHCP doesn't xd12:33
Mister_Magisterit created usb1 interface with no ip assigned12:34
malit created second interface?12:34
Mister_Magisterye12:35
Mister_Magisterusb112:35
maldoes the usb0 seem ok?12:35
Mister_Magisterye12:35
Mister_Magisterhttps://paste.opensuse.org/pastes/f96af1e0a6d012:35
maland you have the connman config?12:35
Mister_Magisterhere's config12:35
Mister_Magisteryes12:35
maltry blacklisting usb112:35
Mister_Magisterwould be nice to have the ncm12:36
malyou mean the second one if the ncm?12:37
malmaybe you need to do something it prevent the rndis one12:37
malif init sets that up12:37
malyou could that the telnet disabling thingy12:37
mal*try that12:37
Mister_Magisterbut can I disable telnet in ramdisk?12:38
Mister_Magisteryou mean to make file init_disable_telnet right12:38
malyeah12:38
malramdisk only sets up ramdisk in error cases the, the rootfs init script does set it up in community builds unless init_disable_telnet is there12:38
mal*only sets up usb12:39
Mister_Magistermal: about integrating that service in to usb-moded, usb-moded already listens to udev events of charging being connected which is what my service does, then i could just do like charging_tracking or something for it to enable usb state based on charging detection, though it would have to write state to the driver too12:39
Mister_Magisterbut sounds entirely doable12:40
Mister_Magistertho i could be naive12:40
malyou can try12:40
Mister_Magisteri have all day today so maybe ill click it, but i think i'll dig into volte plugin hanging up12:41
Mister_Magistertho i might not do that because enabling otg is gonna be pain12:42
Mister_Magisterhmm no, no connection over ncm12:44
Mister_Magisteri removed the ncm line and rndis doesn't work like at all12:45
Mister_Magisterlol i changed function_rndis        = ncm.usb0 to usb1 and then changed interface = usb1 and now i have usb0 usb1 and usb212:47
Mister_Magisterthat smells like some configuration issue12:47
Mister_Magisternow I have usb312:48
malit creates new one with every reconnect of usb?12:49
Mister_Magisterhmm not sure12:49
Mister_Magisterlet me do some testing12:50
Mister_Magistermal: so when i connect usb, it creates usb1 and the state is `usb1: <BROADCAST,MULTICAST` etc, and usb0 becomes `usb0: <NO-CARRIER,BROADCAST,MULTICAST,UP>` then if i disconnect they swap12:54
Mister_Magisterusb1 becomes no-carrier12:54
Mister_Magisterif only connman would set up ip on usb112:55
malblacklist usb012:55
Mister_Magisteridk why it adds new device though12:56
malcopy NetworkInterfaceBlacklist from connman main.conf and append usb0 in your custom config12:56
Mister_Magisternow ip is on usb1 but it created usb212:56
malafter doing what?12:56
Mister_Magisterrestarting connman and reconnecting usb12:57
Mister_Magisternow i have both and it doesn't ping https://paste.opensuse.org/pastes/444705c94b1213:00
malshow the connman config modification13:00
maland usb-moded one also13:01
Mister_Magisterhttps://paste.opensuse.org/pastes/7367ecae6c6613:01
Mister_Magistertop portion is connman13:01
Mister_Magisteri was too lazy to create 2 pastes13:01
malI wonder about that ncm line13:04

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