ohyash | I see a website that resembles the UI design of silica. A webapp would look rather native. https://pycom.io/product/fipy/ | 05:53 |
---|---|---|
ohyash | ** Nothing useful, just something I find mildly interesting ** | 05:54 |
wiktorek140 | Mister_Magister: are u there? | 10:40 |
wiktorek140 | i found the fox for reboots | 10:40 |
wiktorek140 | fix* | 10:40 |
wiktorek140 | the source is wrong symlink for /fsg partition | 10:43 |
branek__ | mk-cam-conf hungs on ioctl(6, BT819_FIFO_RESET_HIGH... | 11:04 |
branek__ | is mm-qcamera-daemon needed? I do not have it on my device | 11:04 |
branek__ | _ | 11:04 |
branek__ | ? | 11:04 |
mal | it depends on the device, you need to get proper logs, logcat in this is case | 11:05 |
branek__ | mal, here it is: https://cloud.orpid.rs/owncloud/index.php/s/xyjYNB5wS8HXoqD there is logcat.txt there | 11:06 |
branek__ | i have persist.camera.shutter.disable and is set to 1 | 11:08 |
branek__ | minisf, mimiaf, and minimedia services are up and running... | 11:10 |
branek__ | also, .mp4 videos for gallery are playing without problem (just no audio for now) | 11:11 |
branek__ | from* | 11:11 |
mal | how new build do you have? check that external/droidmedia is at newest version | 11:14 |
mal | as what user are you running that? | 11:19 |
branek__ | mal: built from latest commit of https://github.com/sailfishos/droidmedia/commits/master | 11:20 |
mal | log has "unknown HAL status code -1" and afaik error code 1 means operation not permitted | 11:20 |
branek__ | mal: running what? | 11:20 |
mal | mk-cam-conf | 11:20 |
mal | which device and android base is that | 11:21 |
branek__ | tried both nemo and root and output is the same... device is dumpling (OnePlus 5T), lineageos 15.1 | 11:22 |
branek__ | logcat you just checked is from yesterday, device runing for couple tens of seconds after reboot, than I tried to start camera, and after it faild to start, I took logcat... | 11:23 |
mal | just to be sure, you are using latest rpm/dhd submodule? | 11:23 |
branek__ | yes, latest | 11:24 |
branek__ | double checked | 11:24 |
mal | just wondering if there could be something wrong in user groups, it needed some fixing for the setup of those, check where you have ueventd*.rc files in out/ folder of your ANDROID_ROOT | 11:26 |
branek__ | Not sure if you remeber, you already helped me with uevent*.rc files, no gui because ueventd.rc was not correct... I had to do: | 11:28 |
branek__ | cat ./device/oneplus/msm8998-common/init/vendor/ueventd.rc >> ./out/target/product/dumpling/root/ueventd.rc | 11:29 |
mal | ok | 11:29 |
mal | I rarely remember anything | 11:29 |
branek__ | sure, np... | 11:30 |
branek__ | so, what to chech in that file? | 11:30 |
mal | well to me the camera issue seems like a permission issue, check the permissions of /dev/video* files ls -l /dev/video* | 11:32 |
branek__ | all /dev/video* are like this: crw-rw---- 1 system camera 81, 0 Feb 10 1970 /dev/video0 | 11:33 |
mal | ok, do you see any symlinks in the /dev/video folder | 11:34 |
branek__ | two: lrwxrwxrwx 1 root root 10 Feb 10 1970 venus_dec -> ../video32 lrwxrwxrwx 1 root root 10 Feb 10 1970 venus_enc -> ../video33 | 11:35 |
mal | check if nemo user has camera group, one option if to force all to have more permissions using chmod 666 | 11:35 |
branek__ | I see... let me check first for nemo... | 11:36 |
branek__ | yep, nemo is in camera group... | 11:37 |
branek__ | changed permisions to 0666, but no luck... same result, camera fails to start, mk-cam-conf hangs at ioctl(6, BT819_FIFO_RESET_HIGH | 11:41 |
mal | it's all about logs | 11:42 |
branek__ | sure... with GST_DEBUG=droid*:5 | 11:44 |
branek__ | mk-cam-conf hangs on droidcamsrc gstdroidcamsrc.c:473:gst_droidcamsrc_get_hw:<droidcamsrc0> get hw | 11:44 |
branek__ | let me try to take fresh logcat with mk-cam-conf call... | 11:45 |
branek__ | mal: Interesting... I notice that mini* services are sometimes started after reboot and simetimes not... so I disabled PIN in android, wiped data partition and reflesh everything... | 13:24 |
branek__ | nothing changed on first boot, but I restarted minimediaservice multiple time, without rebooting phone and camera started... | 13:25 |
branek__ | so, now not sure if it's related to PIN disable, or to multiple restarts of minimediaservice... | 13:25 |
branek__ | I will check that later, but mk-cam-conf still want create .conf files... it returns: | 13:26 |
branek__ | (mk-cam-conf:12402): GStreamer-CRITICAL **: Registering meta implementation 'NemoGstBufferOrientationMeta' without init function | 13:26 |
branek__ | open: No such file or directory | 13:26 |
branek__ | wait.. maybe I have to create /etc/gst-droid/ dir | 13:27 |
mal | yes, probably the folder has to exist | 13:28 |
branek__ | aha... that was needed... now I have config file for cam 0... let me continue with other steps... | 13:28 |
branek__ | mal: it's working sometimes... sometimes multiple restarts of minimediaservice does not help at all, sometimes it's helps after first restart, sometimes it works after reboot as is... I will provide more logs later today... | 14:16 |
branek__ | mal: thanks for help | 14:16 |
mal | some timing issue maybe | 14:17 |
ohyash_ | GPS is unavailable in csd | 16:23 |
ohyash_ | GPS is unavailable in csd test | 16:24 |
ohyash_ | test_gps output : https://hastebin.com/qicufuvoqe.md | 16:26 |
mal | are ou sure you are in a place where it can see satellites? | 16:29 |
ohyash_ | Was always able to do that with android. | 16:31 |
_sven | sailfish on this device would be nice https://network-radios.com/index.php/product/inrico-t320-4g-wifi-android-unlocked/ | 16:32 |
mal | that test assumes it can actually see some satellites, sometimes you need to be outside to be able to see those | 16:32 |
ohyash_ | mal: shet. thats weird. I'd have to put my phone in a rocket I guess | 16:34 |
ohyash_ | but how do I get it working without trying to see satellites. | 16:34 |
*** yashyadav is now known as OhYash | 16:49 | |
OhYash | mal: Also, how do I get VoLTE? | 16:50 |
branek__ | How to properly disable service on sailfishos side, but to leave it enabled if I switch back to android? If I disable it in /system/ that will impact android side... Asking because of time_daemon... | 17:08 |
ohyash_ | ... and people are asking me which gapps should they flash with sailfish. | 17:16 |
mal | ohyash_: what do you mean without satellites, the csd test is all about seeing satellites | 17:18 |
mal | no VoLTE support in sailfish yet | 17:18 |
mal | branek__: you do not modify /system | 17:18 |
mal | you add a suitable service in some place where sailfish side reads it which then prevents the original one from being loaded | 17:19 |
mal | check /usr/libexec/droid-hybris/system/etc/init/ | 17:19 |
branek__ | something like this? https://github.com/branek/droid-config-dumpling/blob/hybris-15.1/sparse/usr/libexec/droid-hybris/system/etc/init/netd.rc | 17:20 |
mal | that's what I just said | 17:20 |
ohyash_ | mal: alright. Lemmi try to "see" GPS. :D | 17:21 |
branek__ | ok... tried that already, even adding in this exact file, but it stil starts after reboot... ok...just asked to see if I understand correctly... | 17:22 |
mal | ohyash_: harbour-gpsinfo is much easier for gps testing | 17:22 |
mal | branek__: show the exact file you added | 17:23 |
branek__ | mal: I added /usr/libexec/droid-hybris/system/etc/init/time_daemon.rc with this content: https://pastebin.com/yqPDQH0U | 17:26 |
mal | so you copied the definiton for some other .rc file? | 17:28 |
ohyash_ | mal: harbour-gpsinfo -> error: XDG_RUNTIME_DIR not set in the environment | 17:29 |
mal | you run it from the UI, NOT AS ROOT | 17:29 |
ohyash_ | got it | 17:30 |
mal | harbour* apps are always UI apps, those are the ones you get from jolla store | 17:30 |
branek__ | mal: no, that is my file time_daemon.rc, and content is copied part of time_daemon service from /system/etc/vendor.d/init.qcom.rc file | 17:31 |
branek__ | should I rename file to init.qcom.rc? | 17:31 |
mal | no | 17:32 |
mal | probably the other file is loaded first | 17:33 |
branek__ | ok... how to check, or force loading before first one? | 17:34 |
mal | dmesg will tell the order | 17:38 |
branek__ | mal: yep... /usr/libexec/droid-hybris/system/etc/init/time_daemon.rc: 1: ignored duplicate definition of service 'time_daemon' | 17:44 |
ohyash_ | cool gps works | 17:46 |
ohyash_ | now how do I make it auto mount sdcard and USB OG | 17:46 |
ohyash_ | OTG* | 17:46 |
mal | sd-utils | 17:48 |
mal | branek__: so see if you can add to some of the files loaded before the init.qcom.rc | 17:49 |
branek__ | mal: hmmm... only directly in /init.rc... which is ok for now, but not sure where to add in source to be built and properly configured on rebuild... | 18:00 |
ohyash_ | mal: installed sd-utils. Device detects OTG, but doesnt mount from settings. (and doesnt automount ofcourse) | 18:12 |
ohyash_ | or would it only work when building sd-utils with rest of the source? | 18:17 |
kimmoli | ohyash_: there is.my usbstick-utils that do the same for usb as sd-utils for sd | 18:22 |
ohyash_ | kimmoli, I see, you are the dev. Works perfectly, thanks :) | 18:29 |
kimmoli | just a fork of sd-utils | 18:30 |
ohyash_ | should be pushed into official servers and added as optional pattern | 18:31 |
ohyash_ | where do I put the rpm so it builds internally in the next build | 18:32 |
kimmoli | https://github.com/mer-hybris/droid-config-onyx/blob/master/patterns/jolla-hw-adaptation-onyx.yaml#L85 | 18:40 |
kimmoli | https://build.merproject.org/package/show/nemo:devel:hw:oneplus:onyx/usbstick-utils | 18:42 |
kimmoli | i was wondering it was already in common... but noy | 18:42 |
mal | kimmoli: maybe I should add it to common? | 18:46 |
kimmoli | is there something to be 'beautified' ? | 18:49 |
mal | I have never tried that myself | 18:50 |
kimmoli | try first... | 18:53 |
kimmoli | should the source be forked under mer-hybris if you decide to put it under common? | 18:54 |
mal | I think that would be good | 18:55 |
mal | kimmoli: probably to mer-core, sd-utils is there also | 18:55 |
T4 | <adampigg> scratching my head on how to perform sleep/wake detection on my watch data.... | 18:58 |
T4 | <adampigg> mal done much on your watch/HRM? | 18:58 |
ohyash_ | mal: Does the jolla-camera-hw.txt (generated from droid-camres) go into sparse like the other to-be-copied-as-suck files? | 18:58 |
ohyash_ | such* | 18:58 |
kimmoli | mal: need to check is there any relevant changes on sd-utils that should be done also to usbstick-utils, i'll take a look on that tomorrow | 19:01 |
mal | @adampigg nothing related to that in a while | 19:07 |
mal | ohyash_: of course | 19:09 |
ohyash_ | dconf write /desktop/sailfish/silica/device_pixel_ratio $VAL says its a non-writable key | 19:54 |
ohyash_ | theme_pixel_ratio* | 19:55 |
ohyash_ | I remember setting pixel ratio in the process. But I dont remember where and now I cant find it in the HADK either | 20:03 |
ohyash_ | :/ | 20:03 |
mal | it's in one of the spec files you created, probably in config spec on droid-hal-version | 20:08 |
mal | *or | 20:08 |
ohyash_ | found it | 20:19 |
wiktorek140 | how can i remove sample-url from ssu repos? because in every build is added somehow, and repos for store is missing but in .ks file it exist | 22:08 |
mal | ? | 22:09 |
mal | what url exactly | 22:09 |
wiktorek140 | https://example.com | 22:09 |
wiktorek140 | its added as repo named sample-url | 22:09 |
wiktorek140 | in every build | 22:09 |
wiktorek140 | mal: oh and i spotted one bug in hybris-boot, fsg partition is not fixed by mountpoint-fix | 22:12 |
mal | I have never seen such example url | 22:21 |
wiktorek140 | "Enabled repositories (user): | 22:21 |
wiktorek140 | - sample-url ... http://example.com/repository/bunny/" | 22:21 |
mal | are yousure you have defined the community-adaptation in that one spec file? | 22:21 |
mal | wiktorek140: there should not be store repo in .ks file | 22:23 |
wiktorek140 | yes, community adapatation is in droid-config-surnia specs | 22:23 |
wiktorek140 | mal: but "apps-@RELEASE@" repos should be or shouldnt be in device repos? | 22:25 |
mal | there should be 5 repos, 2xadaptation, apps, hotfixes and jolla | 22:26 |
wiktorek140 | so there is only two sample repo and one adaptation | 22:26 |
wiktorek140 | and its not builde in obs | 22:26 |
mal | I have no idea what you have done | 22:26 |
wiktorek140 | mal: build using hadk | 22:26 |
mal | it's normal that one adaptation repo is missing | 22:27 |
wiktorek140 | but other 3? | 22:28 |
mal | you said you had two | 22:28 |
mal | how about you just paste the damn repos so I don't have to guess all the time | 22:28 |
wiktorek140 | mal: https://pastebin.com/7Qs3U6fe | 22:29 |
mal | but now I'm too annoyed already so I'll go offline, I might help tomorrow unless someone managed to annoy me again | 22:29 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!