| *** n2klb_ is now known as n2klb | 01:10 | |
| T42 | <the_hiktor> @Mister_Magister what have you done for miami suspend issue ? | 07:54 |
|---|---|---|
| T42 | <the_hiktor> igot the same case | 07:54 |
| T42 | <the_hiktor> i need to write none/periphiral to /sys/devices/platform/soc/a600000.ssusb/mode to get suspend | 07:55 |
| T42 | <the_hiktor> im not sure i got it right from message logs on telegram but you mentioned creating systemd service | 07:56 |
| T42 | <the_hiktor> i peeked your repos :) | 08:03 |
| T42 | <the_hiktor> nothing related | 08:04 |
| T42 | <elros34> so it never sleep out of the box without messing with sysfs? | 08:45 |
| T42 | <the_hiktor> i don't know any other way to tamper with suspend | 08:53 |
| T42 | <elros34> I mean you boot device, leave it for a while unconnected, then check suspend | 08:56 |
| T42 | <elros34> without usb | 08:56 |
| T42 | <the_hiktor> no it doesnt work that way i have to poke it like i mentioned | 08:57 |
| T42 | <elros34> what if you just plug in and dissconnect usb for a while. Will it help for suspend? | 08:57 |
| T42 | <the_hiktor> no it doesn't tried that already | 08:58 |
| T42 | <elros34> strange that you have simillar issue with quiet old device. I guess this is the service which miami uses: https://github.com/VerdandiTeam/usb-state-notifier | 08:59 |
| T42 | <elros34> mind that you probably need to change path to mode file | 09:01 |
| mal | @the_hiktor which device is that | 09:01 |
| T42 | <the_hiktor> poco x3 nfc | 09:02 |
| mal | sharks[m]: the latest droidmedia won't work with sfos 5.1, if want to use it revert commit 81db5a7b2a50083f70f1249d99b9c1a735ff4114 from droidmedia | 09:03 |
| mal | didn't think the merging order properly so the breaking commit is before the android 15 and 16 support | 09:04 |
| sharks[m] | @mal ah, if I upgrade to SFOS 5.2 as I plan to try in an hour or two, can I keep the latest droidmedia? | 09:04 |
| sharks[m] | Interesting that it works with picoplayer in 5.1 but not Gallery! | 09:05 |
| mal | there is a struct size mismatch in gst-droid build since that is built against the older droidmedia | 09:10 |
| sharks[m] | I upgraded gst-droid and still have issues | 09:11 |
| sharks[m] | But as you say if I upgrade to 5.2 I perhaps will be able to fix that | 09:11 |
| T42 | <Mister_Magister> @the_hiktor is question still active or did you solve it? | 09:17 |
| T42 | <the_hiktor> wdym ? | 09:19 |
| T42 | <Mister_Magister> did you solve it or the question targetted towards me still needs to be answered by me | 09:19 |
| T42 | <the_hiktor> ohh , i was looking into usb-state-notifier | 09:21 |
| T42 | <the_hiktor> not sure | 09:21 |
| T42 | <the_hiktor> if you service helps then we're fine | 09:21 |
| T42 | <Mister_Magister> ok so you want me to answer still i will assume. first off, does usb work for you? | 09:21 |
| T42 | <the_hiktor> ya | 09:21 |
| T42 | <Mister_Magister> but like, you can plug in OTG or into computer and get MTP? | 09:22 |
| T42 | <the_hiktor> ya just mtp doesn't work for me | 09:22 |
| T42 | <Mister_Magister> how about rndis mode? aka developer mode | 09:23 |
| T42 | <the_hiktor> it does | 09:23 |
| T42 | <Mister_Magister> then i can say you don't need my service | 09:23 |
| T42 | <Mister_Magister> if you plug it into pc in developer mode, what does `/sys/devices/platform/soc/a600000.ssusb/mode` say | 09:24 |
| T42 | <the_hiktor> peripheral | 09:24 |
| T42 | <Mister_Magister> and if you unplug it? | 09:25 |
| T42 | <the_hiktor> none | 09:25 |
| T42 | <Mister_Magister> so it works fine | 09:25 |
| T42 | <Mister_Magister> you just have to plug it into computer and then unplug | 09:25 |
| T42 | <Mister_Magister> hold | 09:25 |
| T42 | <Mister_Magister> ramdisk init script writes peripheral thats why you get peripheral on boot and have to first connect it to computer and then disconnect for suspend to work. | 09:26 |
| T42 | <Mister_Magister> | 09:26 |
| T42 | <Mister_Magister> https://github.com/VerdandiTeam/droid-config-pipa/commit/2d36c8a34d4ca3f498a766d150ef2de2ae9e0e1f | 09:26 |
| T42 | <Mister_Magister> this simple fix fixes it | 09:26 |
| T42 | <Mister_Magister> but it also means if you boot with usb plugged in it will disconnect it and you'll have to reconnect phone but thats minor | 09:26 |
| T42 | <the_hiktor> ya i don't think this will be a problem | 09:27 |
| T42 | <the_hiktor> ill test it | 09:27 |
| T42 | <Mister_Magister> @elros34 @the_hiktor in miami when you plug in usb it doesn't change to peripheral, that's what that miami's service does | 09:28 |
| T42 | <the_hiktor> is that only in miami or in every moto ? | 09:29 |
| T42 | <Mister_Magister> i've only ported miami from the recent motos, my other motos are from 2014 | 09:29 |
| T42 | <elros34> but I just ask him few minutes ago and he said plugging in/out usb doesnt fix suspend | 09:29 |
| T42 | <Mister_Magister> but i was told by android dev its totally normal in modern phones | 09:29 |
| T42 | <Mister_Magister> @elros34 don't trust people :) | 09:29 |
| T42 | <Mister_Magister> verify yourself :) | 09:29 |
| T42 | <the_hiktor> @elros34 ya plugging in/out doesn't help unless i echo none to /sys/devices/platform/soc/a600000.ssusb/mode | 09:31 |
| T42 | <the_hiktor> it does work normally after that | 09:31 |
| T42 | <Mister_Magister> but it already says none brotha | 09:31 |
| T42 | <Mister_Magister> so echoing none does nothing | 09:31 |
| T42 | <the_hiktor> wait im testing again after reboot without that echoing first | 09:33 |
| T42 | <Mister_Magister> first check what it says | 09:33 |
| T42 | <Mister_Magister> if it says peripheral, sure it will block suspend, but if it says none, it shouldn't | 09:33 |
| T42 | <the_hiktor> yeah it says none and it doesn't suspend after plugging in/out | 09:36 |
| mal | just curious, what in android handles that mode? something in .rc files or some service? | 09:36 |
| T42 | <Mister_Magister> and after pluggging in/out it still says none? and it doesn't suspend? | 09:36 |
| T42 | <elros34> stupid question but just in case: You are checking suspend stats without usb/charger connected? | 09:40 |
| T42 | <the_hiktor> @Mister_Magister it says peripheral after pluggin in and no it does'nt suspend | 09:41 |
| T42 | <the_hiktor> @elros34 yes | 09:41 |
| T42 | <Mister_Magister> no ofc it will say peripheral and won't suspend | 09:41 |
| T42 | <Mister_Magister> i'm asking after you plug it out | 09:41 |
| T42 | <the_hiktor> sry ill check | 09:41 |
| T42 | <Mister_Magister> it won't ever suspend when usb is plugged in and you won't change that | 09:41 |
| T42 | <the_hiktor> it goes back to none | 09:41 |
| T42 | <Mister_Magister> and suspends just fine? | 09:42 |
| T42 | <the_hiktor> if i echo then yes | 09:43 |
| T42 | <the_hiktor> echo none | 09:43 |
| T42 | <Mister_Magister> but it already says none | 09:44 |
| T42 | <Mister_Magister> according to you | 09:44 |
| T42 | <elros34> so just write once "none" at boot and forget | 09:48 |
| T42 | <the_hiktor> wait after rebooting it says peripheral when unplugged i plugged in it still shows peripheral then i unplugged now it show none but still suspend doesn't work until i echo none | 09:49 |
| sharks[m] | Goddamn so much for updating to 5.2 tonight | 09:49 |
| sharks[m] | obs is down again | 09:49 |
| T42 | <the_hiktor> @elros34 yeah looks like ill do that | 09:49 |
| sharks[m] | Hmm and back up again... | 09:49 |
| T42 | <Mister_Magister> slow down. do this simple test. Note the suspend time in mce, plug in and out, verify its none, turn the screen off, do not plug in usb, wait for a minute or two | 09:49 |
| T42 | <Mister_Magister> @elros34 according to him it won't help | 09:50 |
| sharks[m] | Aaaand back down again, damn AI bots | 09:50 |
| T42 | <Mister_Magister> writing none when its already none should do whole lot of nothing | 09:50 |
| T42 | <the_hiktor> but it's on peripheral after boot while unplugged | 09:51 |
| T42 | <Mister_Magister> but that's not what I asked | 09:51 |
| T42 | <Mister_Magister> you're claiming that after you unplug usb, it says none, but it doesn't suspend until you write none | 09:51 |
| T42 | <Mister_Magister> which makes no sense | 09:51 |
| T42 | <the_hiktor> ya so you need me to test without echoing ? | 09:52 |
| T42 | <Mister_Magister> yes | 09:52 |
| T42 | <Mister_Magister> thats what i thought you've been doing all this time and saying it doesn't suspend anyway | 09:52 |
| T42 | <Mister_Magister> unplug usb, verify it says none, and leave it be for minute or two with screen turned off and check suspend stats | 09:53 |
| T42 | <the_hiktor> fuck it suspended now :P just fyi i was using this | 10:10 |
| T42 | <the_hiktor> https://github.com/mlehtima/droid-config-fp5/blob/master/sparse/etc/usb-moded/usb-moded-fp5.ini#L5 | 10:10 |
| Mister_Magister | so answer to my earlier question and @elros34's question was yes it suspends all along | 10:11 |
| T42 | <the_hiktor> ive been testing for like an hour and it wasn't suspending | 10:11 |
| T42 | <Mister_Magister> sure… well add the line from pipa | 10:11 |
| T42 | <the_hiktor> i also enabled android_tracking in that | 10:11 |
| T42 | <elros34> @the_hiktor did you reboot? maybe it's stilll erratic | 10:12 |
| T42 | <the_hiktor> rebooted three times to get this result :P | 10:12 |
| T42 | <elros34> mal just a side note about peripheral usb mode: We don't use hybris-boot script on pro1x so it's not important but I have check cat /sys/class/udc/"$udc"/device/../mode and this doesn't exist. On pro1x 'mode' location is different so it would have to be /sys/class/udc/4e00000.dwc3/../../../mode: github.com/mer-hybris/hybris-boot/blob/master/init-script#L246. | 10:19 |
| mal | @elros34 yeah, some devices have had issues with that | 10:21 |
| mal | needs some improvement | 10:21 |
| T42 | <the_hiktor> why the hell im having hard time make device power off or reboot into bootloader or recovery things were nice before enabling selinux and adding sepolicy | 10:26 |
| T42 | <the_hiktor> it just keep rebooting into os | 10:26 |
| T42 | <Mister_Magister> perhaps its segfaulting when powering off | 10:27 |
| T42 | <the_hiktor> not sure what's wrong but doesn't look segfaulting to me | 10:52 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/6cc126cdb767 | 10:52 |
| T42 | <the_hiktor> besides it takes long time to shutdown | 10:52 |
| T42 | <Mister_Magister> then check what service are you waiting on to shut down | 10:53 |
| T42 | <elros34> ``` | 10:55 |
| T42 | <elros34> systemd[1]: metadata.mount: Unmounting timed out. Terminating.``` | 10:55 |
| T42 | <elros34> but is' only about 10s | 10:56 |
| T42 | <Mister_Magister> shutdown already is long so 10s is a lot believe me | 10:57 |
| T42 | <Mister_Magister> i was optimizing shutdown in op6 recently | 10:57 |
| T42 | <the_hiktor> it's by default 10s | 11:03 |
| T42 | <elros34> looks like you enable watchdog's nowayout so maybe poweroff is too slow and watchdog do his job | 11:15 |
| T42 | <the_hiktor> i enabled watchdog in kernel few days ago | 11:15 |
| T42 | <the_hiktor> no i think i enabled it with selinux at the same time | 11:17 |
| T42 | <the_hiktor> so yeah it's enabled | 11:17 |
| T42 | <elros34> are you sure it wasn't enabled? How do you check it first? In generated .config? | 11:18 |
| T42 | <the_hiktor> i've done that in defconfig but didn't check in device | 11:19 |
| T42 | <the_hiktor> yeah its enabled | 11:20 |
| T42 | <the_hiktor> just checked it | 11:20 |
| T42 | <elros34> that doesn't make sens for me to blindly enable some features in kernel. THen you never know whether this helped or did nothing at all. I would suggest you to always check whether something is already enabled/disabled in generated .config file in out/ directory or in /proc/config.gz | 11:21 |
| T42 | <elros34> if something is missing in defconfig it doesn't mean it's not enabled | 11:22 |
| T42 | <elros34> Back to issue I was talking about CONFIG_WATCHDOG_NOWAYOUT you enabled long time ago | 11:22 |
| T42 | <the_hiktor> i enabled it in defconfig and forgot about it i was making overlays for selinux stubs in /odm for vndselinuxstubs | 11:23 |
| T42 | <the_hiktor> zcat /proc/config.gz | grep CONFIG_WATCHDOG_NOWAYOUT | 11:23 |
| T42 | <the_hiktor> CONFIG_WATCHDOG_NOWAYOUT=y | 11:23 |
| T42 | <elros34> why did you make overlays? simple 'touch and mount' wasn't enough? | 11:25 |
| T42 | <the_hiktor> I only get Permission denied doing that | 11:30 |
| T42 | <the_hiktor> https://github.com/GloboPatro/droid-config-surya/blob/master/sparse%2Fusr%2Fbin%2Fdroid%2Fdroid-hal-early-init.sh | 11:30 |
| T42 | <the_hiktor> And sorry i meant hwservicemanager | 11:30 |
| T42 | <the_hiktor> I think i need to make systemd service for it but it works nice for now | 11:32 |
| sharks[m] | Can confirm successful update to 5.2.0.18, no apparent loss of functionality aside from my beloved Launcher Combined patch fails to apply and xmatic wanted '/usr/lib64/qt5/qml/Nemo/KeepAlive/qmldir', but this requirement cannot be provided, so I had to uninstall it | 13:09 |
| sharks[m] | Overall very painless, thanks all | 13:10 |
| sharks[m] | xmatic is happy again after reinstalling it now that 5.2 is up and running, epic | 13:12 |
| sharks[m] | And the best bit? My video codec issues in the Gallery app are solved! | 13:15 |
| Mister_Magister | Anyone remembers what droidmedia version 5.1 requires? :D | 15:27 |
| Mister_Magister | mal: could jolla potentially add sample animation duration to Theme, then we could control animation speed globally? | 15:42 |
| mal | there has been some discussions about improvements to such things | 15:54 |
| Mister_Magister | ahh okay | 15:54 |
| T42 | <adampigg> I think 20260522 (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>Any...) | 16:10 |
| Mister_Magister | check fairphone :D | 16:23 |
| T42 | <Mister_Magister> indeedio @adampigg you're correct, thank you | 16:23 |
| Mister_Magister | i'll use master cause it has the android15 fix | 16:25 |
| Mister_Magister | hmm i think i also need to build gst-droid… | 16:27 |
| mal | yeah, latest droidmedia needs newer gst-droid to be built | 16:37 |
| Mister_Magister | thanks to my changes xdd | 16:37 |
| T42 | <b100dian> So can 5.2 be adapted, what are the dragons/ issues with non -JP2? | 17:36 |
| Mister_Magister | Hmm, i tried to build 5.1 image and got https://releases.jolla.com/jolla-apps/5.1.0.11/aarch64/LICENSE.txt 404 | 17:42 |
| mal | there is no obs target probably for 5.2 yet | 17:44 |
| Mister_Magister | mal: got any clue about this 5.1 error? | 17:44 |
| mal | how new platform sdk do you have? | 17:45 |
| Mister_Magister | 5.0 | 17:45 |
| Mister_Magister | or 4.6 even not sure | 17:45 |
| mal | try updating it | 17:45 |
| Mister_Magister | ahh coderus updated the docker image | 17:46 |
| Mister_Magister | but latest should be 5.2 xd | 17:46 |
| Mister_Magister | did docker pull it seems to be working now thanks | 17:49 |
| Mister_Magister | mal: Iphone detected my xiaomi pad 6 and miami in bluetooth list despite both of them having bt turned off since they were turned on, got any clues why that might be? | 17:51 |
| mal | I remember maybe fp2 or something did that also | 17:51 |
| mal | I think it wasn't possible to connect to it if I remember correctly | 17:52 |
| Mister_Magister | yeah but i'm worried now that bt really is turned on and drawing battery | 17:52 |
| mal | yeah, somehow the chip might be activated by default | 17:53 |
| mal | ugly hack might be to toggle it via rfkill at boot | 17:53 |
| Mister_Magister | thanks i'll look into it | 17:54 |
| Mister_Magister | And would be cool of you to give approve on my sensorfw PR :) | 17:54 |
| mal | what does rfkill say as the state after boot? | 17:54 |
| Mister_Magister | I don't quite have time to debug it right now so… can't answer that sorry | 17:54 |
| Mister_Magister | https://paste.opensuse.org/pastes/45d09a8ee244 | 17:55 |
| Mister_Magister | mal: even after toggling bt on/off it still is being detected | 18:06 |
| mal | hmm | 18:27 |
| mal | which platform was that? | 18:27 |
| mal | which qcom? | 18:27 |
| mal | are those using bluebinder? | 18:31 |
| mal | in case those are this could be something to try https://github.com/mer-hybris/android_kernel_sony_msm/pull/21/changes | 18:42 |
| mal | might not be relevant but still | 18:43 |
| T42 | <Mister_Magister> qcom indeed | 18:57 |
| T42 | <Mister_Magister> bluebinder inded | 18:57 |
| *** xmn_ is now known as xmn | 19:48 | |
| sharks[m] | Mister_Magister: Mal said master requires 5.2 now. For me 5.1 with master wouldn't play any video, but 5.2 works great. On 5.1 the last version that mostly worked was 20260508 with the Android15 branch | 20:59 |
| T42 | <Mister_Magister> 5.1 does indeed play videos just browser likes to crash | 21:12 |
| T42 | <Mister_Magister> Dont worry i messed around droidmedia and gst-droid enough | 21:12 |
| Mister_Magister | mal: so, restarting bluebinder got rid of the bluetooth, and i've confirmed after reboot it came right back up | 22:05 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!