| Mister_Magister | hmm it sometimes still gets stuck in charging, i probably have to blacklist some more devices | 00:00 |
|---|---|---|
| Mister_Magister | hmm mount --bind in droid-hal-early-init did not do it so maybe it's not hal | 00:03 |
| Mister_Magister | I'll just bamboozle it and simply not build it as module, check mate | 00:11 |
| Mister_Magister | huh, aida64 instantly recognized phone is no longer charging and sfos not | 00:17 |
| Mister_Magister | yaay charging limiting works | 00:47 |
| Mister_Magister | now i jsut have to figure out loading of correct module | 00: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 things | 00:56 |
| Mister_Magister | nah i had a typo, now i added 2 more devices to blacklist and it seems to be working fine | 01:12 |
| Mister_Magister | with just battery and wireless it detects usb charging but whateveeer | 01:12 |
| T42 | <b100dian> mal: fp5 has libI420colorconvert? | 10:49 |
| Mister_Magister | I shall write the usb service in D | 11:24 |
| Mister_Magister | yes you heard that right | 11: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 |
| rinigus | they were just ignored during the build | 11:38 |
| rinigus | I wonder who should be pinged for reviewing this: https://github.com/sailfishos/mce/pull/43 | 11:39 |
| rinigus | b100dian: 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 it | 11:41 |
| Mister_Magister | rinigus: ping our best guy | 11:42 |
| Mister_Magister | lastest 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 yet | 11:43 |
| Mister_Magister | wireless chargers are sweet | 11:43 |
| rinigus | let'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 fine | 11:43 |
| Mister_Magister | i'm using one on miami, used one on flo | 11:44 |
| Mister_Magister | rinigus: well if i wasn't transparent already i meant mal | 11:44 |
| rinigus | it was | 11:44 |
| rinigus | just not nice to get pinged all over the place :) | 11:44 |
| Mister_Magister | :D whoops | 11:45 |
| Mister_Magister | brother i'm in dependency hell trying to get d to build | 11:45 |
| T42 | <b100dian> it's a race to the bottom, if you don't ping, others will | 11:45 |
| Mister_Magister | mmmmmmmmmm f it, c++ it is | 11:49 |
| T42 | <b100dian> Mister_Magister: now you have two problems | 11:49 |
| Mister_Magister | hm? | 11:49 |
| T42 | <b100dian> It's usually about regex or xml the quote, but I would say C++ fits too | 11:50 |
| mal | rinigus: need to do some testing with that to make sure it works on all devices | 12:01 |
| Mister_Magister | mal: 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 all | 12:18 |
| rinigus | mal: thanks | 12:18 |
| Mister_Magister | android0 is changing correctly | 12:18 |
| Mister_Magister | hmm hold on a second | 12:23 |
| Mister_Magister | usb-moded can read usb status from udev no? it even states so in readme | 12:24 |
| Mister_Magister | ah it only reads charging mode | 12:25 |
| Mister_Magister | it doesn't infere from it that usb is connected | 12:25 |
| Mister_Magister | android_tracking = 1 and my problem is solved | 12:26 |
| Mister_Magister | now we can play around with ncm | 12:27 |
| Mister_Magister | sweet ncm works, but DHCP doesn't xd | 12:33 |
| Mister_Magister | it created usb1 interface with no ip assigned | 12:34 |
| mal | it created second interface? | 12:34 |
| Mister_Magister | ye | 12:35 |
| Mister_Magister | usb1 | 12:35 |
| mal | does the usb0 seem ok? | 12:35 |
| Mister_Magister | ye | 12:35 |
| Mister_Magister | https://paste.opensuse.org/pastes/f96af1e0a6d0 | 12:35 |
| mal | and you have the connman config? | 12:35 |
| Mister_Magister | here's config | 12:35 |
| Mister_Magister | yes | 12:35 |
| mal | try blacklisting usb1 | 12:35 |
| Mister_Magister | would be nice to have the ncm | 12:36 |
| mal | you mean the second one if the ncm? | 12:37 |
| mal | maybe you need to do something it prevent the rndis one | 12:37 |
| mal | if init sets that up | 12:37 |
| mal | you could that the telnet disabling thingy | 12:37 |
| mal | *try that | 12:37 |
| Mister_Magister | but can I disable telnet in ramdisk? | 12:38 |
| Mister_Magister | you mean to make file init_disable_telnet right | 12:38 |
| mal | yeah | 12:38 |
| mal | ramdisk only sets up ramdisk in error cases the, the rootfs init script does set it up in community builds unless init_disable_telnet is there | 12:38 |
| mal | *only sets up usb | 12:39 |
| Mister_Magister | mal: 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 too | 12:39 |
| Mister_Magister | but sounds entirely doable | 12:40 |
| Mister_Magister | tho i could be naive | 12:40 |
| mal | you can try | 12:40 |
| Mister_Magister | i have all day today so maybe ill click it, but i think i'll dig into volte plugin hanging up | 12:41 |
| Mister_Magister | tho i might not do that because enabling otg is gonna be pain | 12:42 |
| Mister_Magister | hmm no, no connection over ncm | 12:44 |
| Mister_Magister | i removed the ncm line and rndis doesn't work like at all | 12:45 |
| Mister_Magister | lol i changed function_rndis = ncm.usb0 to usb1 and then changed interface = usb1 and now i have usb0 usb1 and usb2 | 12:47 |
| Mister_Magister | that smells like some configuration issue | 12:47 |
| Mister_Magister | now I have usb3 | 12:48 |
| mal | it creates new one with every reconnect of usb? | 12:49 |
| Mister_Magister | hmm not sure | 12:49 |
| Mister_Magister | let me do some testing | 12:50 |
| Mister_Magister | mal: 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 swap | 12:54 |
| Mister_Magister | usb1 becomes no-carrier | 12:54 |
| Mister_Magister | if only connman would set up ip on usb1 | 12:55 |
| mal | blacklist usb0 | 12:55 |
| Mister_Magister | idk why it adds new device though | 12:56 |
| mal | copy NetworkInterfaceBlacklist from connman main.conf and append usb0 in your custom config | 12:56 |
| Mister_Magister | now ip is on usb1 but it created usb2 | 12:56 |
| mal | after doing what? | 12:56 |
| Mister_Magister | restarting connman and reconnecting usb | 12:57 |
| Mister_Magister | now i have both and it doesn't ping https://paste.opensuse.org/pastes/444705c94b12 | 13:00 |
| mal | show the connman config modification | 13:00 |
| mal | and usb-moded one also | 13:01 |
| Mister_Magister | https://paste.opensuse.org/pastes/7367ecae6c66 | 13:01 |
| Mister_Magister | top portion is connman | 13:01 |
| Mister_Magister | i was too lazy to create 2 pastes | 13:01 |
| mal | I wonder about that ncm line | 13:04 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!