pseudodev | My bluetooth and wifi wont work | 04:36 |
---|---|---|
pseudodev | I already did what was mentioned in faq. As far as bluetooth is concerned, "CONFIG_BT_HCISMD" doesnt exist. Making those sepcific changes mentioned in (https://github.com/adeen-s/android_kernel_cyanogen_msm8916/commit/4627f4f6f5d886433ff1f9639dc18fe8a006fd00) gives a compilation error. | 04:37 |
pseudodev | For WiFi, I did add those files in my droid-configs/sparse. The modules mentioned in the faq dont exist in my defconf | 04:38 |
pseudodev | Need some help here. | 04:40 |
T4 | <austenite> Does your inbuilt WiFi work | 04:52 |
pseudodev | It works on andrid | 04:53 |
T4 | <austenite> Pseudodev Processor? | 04:55 |
pseudodev | msm8996 | 04:56 |
T4 | <austenite> Try this if other one gives compilation error , worked for me... 8937 https://github.com/piggz/droid-config-mido/blob/master/sparse/usr/bin/droid/droid-hcismd-up.sh | 04:56 |
T4 | <austenite> Pseudodev https://github.com/Sailfish-On-Vince/Xiaomi_Kernel_OpenSource/commit/f633f265486229130b3024937365e605eb2be33f | 05:00 |
T4 | <austenite> wlan works after : echo sta > /sys/module/wlan/parameters/fwpath | 05:01 |
T4 | <austenite> Build wlan as module if giving troubles as module then to use in built try this https://github.com/pbteja100/droid-config-garlic | 05:06 |
pseudodev | austenite: I will try and tell you in 10mins | 05:07 |
rinigus | mal: thank you very much! | 05:12 |
pseudodev | austenite: THnak you so much! My WLAN is fixed | 05:25 |
pseudodev | any ideas how do i make "echo sta > /sys/module/wlan/parameters/fwpath" change permanent? | 05:29 |
T4 | <austenite> Add systemd service as in link/build as module | 05:31 |
pseudodev | Now I dont have ril | 05:36 |
pseudodev | I mean no sim card detected | 05:37 |
pseudodev | Cannot compile the kernel after applying the fix | 05:49 |
pseudodev | https://www.irccloud.com/pastebin/JzXuqTiL/ | 05:50 |
pseudodev | Can anyone tell me what is wrong with my ril? | 06:06 |
pseudodev | ps ax | grep rild https://www.irccloud.com/pastebin/3mG442BD/ | 06:06 |
T4 | <austenite> Pseudodev, make clean and build kernel | 06:07 |
pseudodev | "/usr/libexec/droid-hybris/system/bin/logcat -b radio" https://www.irccloud.com/pastebin/4ic9oF9t/ | 06:08 |
pseudodev | I have attached my ril logs | 06:08 |
pseudodev | what is wrong there? | 06:08 |
*** OhYash1 is now known as ohyash | 07:17 | |
mal | pseudodev: in 15.1 build and install bluebinder for bluetooth | 09:38 |
mal | and ofono-ril-binder-plugin for modem | 09:38 |
mal | those should be built automatically, just add those to patterns | 09:39 |
mal | rinigus: do you still need 0.0.5.25 libhybris on onyx? what was the problem with .31? | 10:27 |
pseudodev | mal: what do I do about the wlan? | 10:32 |
pseudodev | Running "echo sta > /sys/module/wlan/parameters/fwpath" makes it work. How can I make it permanent? | 10:32 |
mal | pseudodev: do you have wlan as module? | 10:40 |
mal | pseudodev: if not then something like this https://github.com/mer-hybris/droid-config-sony-nile/commit/e41ef8dbff9923cd065f571ccae84bdcde7fa3c7 if as a module then just modify the wlan-module-load.service and add it as ExecStartPre= | 10:43 |
rinigus | mal: as far as i remember, there was no gui with .31. should test it again later | 11:07 |
rinigus | mal: Symptoms were very similar to one other port (bacon?). | 11:08 |
*** OhYash1 is now known as ohyash | 11:19 | |
pseudodev | mal: Bluetooth wont work even after building bluebinder | 11:38 |
pseudodev | cant see ril either | 11:38 |
pseudodev | I see this in journalctl "/usr/bin/droid/droid-hcismd-up.sh: line 16: /sys/module/hci_smd/parameters/hcismd_set: No such file or directory" | 11:39 |
pseudodev | i'm building for 3.0.3.9 if that seems relevant | 11:46 |
pseudodev | in the faq, it shows building for 3.0.1.11, but I am building for 3.0.3.9. Will the fix mentioned in faq work? | 11:51 |
mal | what fix | 11:52 |
mal | also bluebinder and the old bt instruction are not to be mixed | 11:52 |
pseudodev | L#703 in faq | 11:52 |
pseudodev | mal: for bluebinder, I just added it to my hw_daptation pattern and built the package using build_packages | 11:53 |
pseudodev | Did the same with ofono | 11:53 |
mal | that 3.0.1 ofono plugin build is not relevant | 11:54 |
pseudodev | Alright. I just added ofono-ril-binder-plugin to the patterns | 11:55 |
pseudodev | it built the package on it's own | 11:55 |
mal | pseudodev: those bt and ofono plugins are automatically built when you run build_package.sh without parameters | 11:55 |
mal | ofono plugin needs config also https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/etc/ofono/ril_subscription.conf | 11:56 |
pseudodev | Yeah. I noticed they got built. But after creating a new rootfs flash file, bluetooh and ril wont work | 11:56 |
pseudodev | Let me add that .conf you just sent. What about bluetooth? | 11:57 |
mal | some parts of those might not be relevant, you need at least the ril_0 section, the stuff in settings parts you can comment out | 11:57 |
mal | I cannot help with bluetooth if you don't give logs | 11:57 |
pseudodev | mal: Do you nearly boot logs or any time log is fine? | 11:59 |
mal | all as usual | 12:00 |
pseudodev | hot cup of logs coming up... | 12:01 |
pseudodev | mal: dmesg - https://pastebin.com/W9H3Q4qZ | 12:12 |
pseudodev | journalctl - https://pastebin.com/DmYBwQ8r | 12:12 |
pseudodev | logcat - https://pastebin.com/B9DvvegA | 12:13 |
rinigus | mal: after update to 3.0.3, I get lipstick failure message in journal: lipstick[3976]: /usr/bin/lipstick: symbol lookup error: /usr/lib/liblipstick-qt5.so.0: undefined symbol: _ZN8QUsbMode4Mode16ChargingFallbackE | 12:16 |
rinigus | maybe should update to libhybris .31 and see if that helps... | 12:16 |
mal | rinigus: do you have any custom packages | 12:18 |
mal | rinigus: that error is not related to libhybris | 12:18 |
rinigus | mal: probably... depends on how you define custom. | 12:18 |
mal | usb-moded or lipstick | 12:19 |
pseudodev | n | 12:19 |
pseudodev | mal: did you check my logs? | 12:19 |
mal | pseudodev: only a quick look, is bluebinder running? | 12:20 |
rinigus | mal: I don't think lipstick is custom, but I'll see how to check them | 12:22 |
mal | rinigus: verify that lipstick and all usb-moded related packages are correct, pkcon search name lipstick for example nicely gives available versions | 12:24 |
pseudodev | mal: running top, doesnt look like it is running | 12:24 |
mal | "ps aux | grep blue" is better | 12:26 |
rinigus | just a note before I forget it: /lib/systemd/system/systemd-tmpfiles-setup.service required addition of --exclude-prefix=/sys to its exec line | 12:29 |
pseudodev | mal: https://www.irccloud.com/pastebin/BBGLLBRH/ | 12:30 |
rinigus | mal: nothing really strikes as out of order: https://pastebin.com/3meUUnFz | 12:31 |
rinigus | mal: I'm using devel build and made an ota from earlier image (one of the latest 2.x series) | 12:33 |
T4 | <elros34> I think you have too old usb-moded: in 3.0.3.9 it should be 0.86.0+mer33 | 12:35 |
rinigus | elros34: thanks. Let me see how to update that | 12:36 |
mal | rinigus: oh, I think there were some issues if you don't do the normal update steps | 12:42 |
mal | can't remember which ones were the stop releases | 12:43 |
pseudodev | mal: did you check logs? | 12:43 |
mal | pseudodev: bluebinder is not running, is it really installed, check zypper if bluebinder | 12:43 |
mal | rinigus: did you run pkcon refresh before that search | 12:44 |
mal | rinigus: 3.0.3 should have libusb-moded-qt5 1.8 | 12:45 |
mal | rinigus: probably something went wrong with the update | 12:46 |
mal | rinigus: also usb-moded should be 0.86.0+mer33 | 12:47 |
rinigus | mal: I did zypper ref -f, as always. there were no error messages after update, as far as I could see | 12:49 |
pseudodev | mal: it returns nothing | 12:50 |
mal | try pkcon refresh now and check the versions again, also check ssu lr | 12:50 |
mal | pseudodev: so you don't have it installed, did you add it correctly to patterns, and did you update patterns | 12:50 |
pseudodev | mal: I added it to patterns. After adding, I ran build_packages. It asked me if i wanted to build bluebinder. I built it. Then i processed patterns and built a new image. | 12:52 |
mal | how did you add it | 12:53 |
rinigus | mal: ok, probably caused by jump in versions (2.something->3.0.3.9): zypper up refused to installed newer version since its in conflict with buteo-mtp. | 12:55 |
rinigus | Error message: usb-moded-0.86.0+mer33-1.3.2.jolla.armv7hl conflicts with buteo-mtp-qt5-sync-plugin provided by buteo-mtp-qt5-sync-plugin-0.7.0-1.6.1.jolla.armv7hl | 12:55 |
rinigus | it suggests to uninstall buteo-mtp as a solution. should I go for that? | 12:55 |
mal | rinigus: try "zypper in usb-moded -buteo-mtp-qt5-sync-plugin" | 12:55 |
pseudodev | mal: I added "- bluebinder" to "/home/pseudodev/hadk/hybris/droid-configs/patterns/jolla-hw-adaptation-z2_plus.yaml" | 12:57 |
pseudodev | Added it at the very end before "Summary: Jolla HW Adaptation z2_plus" | 12:57 |
rinigus | mal: and I have all nicely booted up. will continue testing | 12:58 |
rinigus | mal and elros34: thank you for help! | 12:58 |
mal | rinigus: I suggest you try zypper dup or version --dup again to make sure all packages are updated | 13:03 |
rinigus | mal: looks like everything else is fine - nothing to update | 13:21 |
pseudodev | mal: what do i do? | 14:10 |
pseudodev | Also, how to fix the blackscreen on images bug? I already added a new file in /var/lib/environment/nemo putting "Define QT_OPENGL_NO_BGRA=1" and added the lines as specified in faq | 14:11 |
pseudodev | browser works btw | 14:13 |
mal | pseudodev: can't remember if that black images was that or the adreno quirk, check droid-hal-sony-nile in mer-hybris, the common inc there | 14:27 |
pseudodev | and bluetooth? | 14:27 |
T4 | <elros34> pseudodev: it's "QT_OPENGL_NO_BGRA=1" not "Define QT_OPENGL_NO_BGRA=1" | 14:29 |
pseudodev | oh | 14:30 |
pseudodev | alright | 14:30 |
pseudodev | thanks! | 14:30 |
pseudodev | I want to build my wlan as module | 14:31 |
pseudodev | how do i know which config to set as m? | 14:31 |
rinigus | folks on 3.0.3.9: do you have systemd-tmpfiles-setup.service running correctly? without adding --exclude-prefix=/sys to the end of the command, it was failing on onyx. that file is a part of systemd-225+git13-1.4.2.jolla.armv7hl | 14:48 |
mal | pseudodev: read the faq about wlan modules, it has some examples | 15:00 |
mal | rinigus: what did it cause when it failed? | 15:00 |
rinigus | mal: no idea. when lipstick was not showing up, I checked which services were down. that was the one. does it work on fp2? | 15:01 |
mal | rinigus: seems to be working | 15:04 |
mal | pseudodev: for bluetooth I already what you need to do, not sure which step you did wrong | 15:04 |
rinigus | mal: thanks. When I run the command without excluding sys, I am getting 'Failed to create directory or subvolume "/sys/fs/cgroup/memory/noswapping": No such file or directory'. I wonder if I should submit bugreport somewhere regarding it... | 15:06 |
pseudodev | mal: I basically made all configs with "WLAN" in it as m | 15:08 |
pseudodev | Now I get this: https://www.irccloud.com/pastebin/IcWb06De/ | 15:08 |
rinigus | kimmoli: so far I had no issues with 3.0.3.9. I just submitted PR and let's build it on testing. this will allow me to test it for some time as a daily driver. would you mind to do your magic and promote hal packages from devel to testing and start the build after merging PR and tagging config? (all other repos stayed the same) | 15:09 |
Mister_Magister | mal: did you have time to look at my log? | 15:10 |
mal | Mister_Magister: I had a quick look, nothing obvious so far | 15:16 |
mal | rinigus: maybe you are missing some cgroup kernel config? | 15:16 |
Mister_Magister | mal: will try journal | 15:30 |
Mister_Magister | i mean logcayt | 15:30 |
mal | rinigus: can you check on device if some configs are enabled: "zcat /proc/config.gz | grep MEM_RES_CTRL" | 15:38 |
mal | rinigus: why do you have two commits in the config PR, maybe you could squash those to one? | 15:52 |
masya_ | Hi! I get this error during make hybris-hal | 15:57 |
masya_ | arch/arm64/Makefile:47: *** CROSS_COMPILE_ARM32 not defined or empty, the compat vDSO will not be built. Stop. | 15:57 |
masya_ | How can I fix it? | 15:57 |
mal | masya_: pseudodev had the same error I think | 16:03 |
pseudodev | mayasa: clone this: https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/ | 16:06 |
pseudodev | masya: Then run: export CROSS_COMPILE_ARM32=$(pwd)/bin/arm-linux-androideabi- #( Note: This command must be run in "$ANDROID_ROOT/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9") | 16:06 |
pseudodev | masya_: ping ^ | 16:06 |
pseudodev | Sorry got your name wrong twice :P | 16:07 |
pseudodev | oh. He quit | 16:07 |
pseudodev | mal: what do i do about the bluetooth | 16:09 |
pseudodev | I tried it again. Same thing | 16:09 |
masya_ | pseudodev: I'm here! There are some troubles with internet connection. | 16:14 |
masya_ | pseudodev:Thanks | 16:14 |
pseudodev | masya_: Which device btw? | 16:14 |
masya_ | Xiaomi Mi 6x (wayne) | 16:15 |
T4 | <elros34> rinigus: I have the same systemd-tmpfiles-setup error but I don't have all cgroup recommended settings in kernel | 16:15 |
rinigus | mal: re number of commits: those are easy to squash on merge. I have two since i updated to the last dcd first, failed to build packages, checked logs and found that but older version is needed. | 16:20 |
rinigus | Re cgroup: I'll check, thanks | 16:20 |
Mister_Magister | mal: http://susepaste.org/view//35487661 | 16:50 |
Mister_Magister | also mal on g2 i seem to don't have internet connection when i connect to internet | 16:51 |
Mister_Magister | oh journal might not be useful i forgot i should take logcat | 16:52 |
Mister_Magister | again mal http://susepaste.org/view//2435390 | 16:54 |
Mister_Magister | also abranson if you could please look at it maybe something will catch your eye | 16:57 |
rinigus | mal: CONFIG_CGROUP_MEM_RES_CTLR is not set. | 17:00 |
Mister_Magister | rinigus: if that's newer then it's okay iirc | 17:01 |
Mister_Magister | there was change in name at some point | 17:01 |
rinigus | I wonder if there is any reason for it. | 17:01 |
rinigus | Mister_Magister: I wouldn't count on our onyx kernel to be "newer". if I understood you correctly | 17:02 |
Mister_Magister | what is kernel version of it then | 17:02 |
rinigus | 3.4.0+ | 17:05 |
Mister_Magister | then it uses old names | 17:05 |
rinigus | (uname -a) | 17:05 |
Mister_Magister | so CONFIG_CGROUP_MEM_RES_CTLR should be set | 17:05 |
rinigus | so, is it recent when this setting was recommended? recent is within 1-2 years? | 17:06 |
Mister_Magister | it was there since i can remember | 17:06 |
rinigus | ok, then that's strange... | 17:07 |
rinigus | kimmoli: any side effects for enabling CONFIG_CGROUP_MEM_RES_CTLR that you remember about? | 17:07 |
Mister_Magister | oh wait no i'm confusing things | 17:08 |
Mister_Magister | my 3.4.X moto g2 doesn't have it | 17:08 |
Mister_Magister | sorry for causing confusion | 17:08 |
Mister_Magister | it has to be recent then | 17:08 |
Mister_Magister | no i'm confusing people again | 17:08 |
Mister_Magister | jesus | 17:08 |
Mister_Magister | CONFIG_CGROUP_MEM_RES_CTLR CONFIG_CGROUP_MEM_RES_CTLR_SWAP CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED and CONFIG_CGROUP_MEM_RES_CTLR_KMEM should all be enabled | 17:09 |
Mister_Magister | now this is correct and this was there since always | 17:09 |
Mister_Magister | sorry for AGAIN causing confusion | 17:09 |
Mister_Magister | i just read your message incorrectly | 17:09 |
Mister_Magister | https://github.com/mer-hybris/mer-kernel-check/commit/d6e93195964e69e9ae5c5b98b39c30ec78e77be1#diff-acad6cd573a7053bb3c9f7593cdf8762R136 | 17:13 |
Mister_Magister | third commit in this repo adds this so it was since forever | 17:13 |
mal | rinigus: not older version, you should use the upgrade-3.0.3 branch | 17:17 |
kimmoli | rinigus: not that i remember, found old issue referencing it https://github.com/kimmoli/sfos-onyx-issues/issues/44 | 17:19 |
rinigus | mal: it's using the same commit as in fp2 (git hard reset), should be the same branch - detached state for git | 17:23 |
rinigus | kimmoli: i guess we should enable it then. | 17:23 |
mal | rinigus: ok | 17:26 |
mal | rinigus: I think you should enable that CONFIG_CGROUP_MEM_RES_CTLR, kernel checker says that is recommended | 17:27 |
rinigus | mal: will do | 17:44 |
T4 | <elros34> can we have a custom 999-android-system.rules ? systemd-udevd spams a lot in 3.0.3 | 17:57 |
piggz | mal: for build of qtbase, i think I want eglfs_kms, but do I also want eglfs_kms_egldevice ? | 18:02 |
mal | piggz: not sure what the difference is | 18:04 |
mal | @elros34 what kind of errors? | 18:04 |
T4 | <elros34> mal: bunch of "Process '/bin/chown system:system /sys//devices/system/cpu/cpu1/cpufreq/*' failed with exit code 1." when one cpu core is offline | 18:07 |
piggz | mal: edicated myself, i think the answer is no https://doc.qt.io/qt-5/embedded-linux.html#eglfs-with-eglfs-kms-backend | 18:08 |
piggz | second is for tegra devices | 18:08 |
mal | @elros34 hmm, I seem to get the same | 18:09 |
T4 | <elros34> maybe solution would be to add ACTION=="online" to udev rule generator | 18:10 |
mal | @elros34 it seems the paths don't exist | 18:10 |
mal | @elros34 hmm, it seems the path disappear if the cpu is inactive | 18:12 |
T4 | <elros34> yes, it exist when action is online | 18:13 |
mal | @elros34 maybe because of this https://github.com/mer-hybris/droid-hal-device/commit/a30cdf08201ee5bbc4f8ea3865bf87efb3770173 | 18:19 |
mal | assuming you rebuilt droid-hal with latest dhd submodule | 18:19 |
T4 | <elros34> on 3.0.2 looks like these cpu1/cpufreq/ rules are incorrect so they are never executed and never fail:) | 18:29 |
mal | @elros34 yes, I think so, wondering why it still tries to run that if the path isn't there | 18:53 |
mal | @elros34 you can always downgrade the dhd submodule | 19:09 |
rinigus | kimmoli: new kernel/hal is uploaded to obs devel. I'll be able to test it tomorrow night. if all is ok, we can promote it to testing. | 20:08 |
mal | rinigus: do you get those chmod failed errors in journal? | 20:10 |
rinigus | mal: I'm back on 3.0.2 for now (its my daily driver, has to work), will check it tomorrow. on 3.0.2 - don't have them. | 20:15 |
mal | rinigus: I did my fp2 3.0.3 testing with my daily driver :) | 20:15 |
mal | rinigus: it's only if you updated dhd submodule within last 2 weeks and rebuilt droid-ahl | 20:16 |
mal | *droid-hal | 20:16 |
mal | rinigus: it's of course a bit risky to test like this but I'm used to it | 20:17 |
mal | and I rarely break it | 20:17 |
rinigus | mal: I intend to do the same way with onyx testing. but for that, it will have to be build using obs testing. right now we are on devel stage - will hopefully move on to testing tomorrow if all is ok with recompiled kernel. | 20:17 |
rinigus | mal: no, I kept dhd the same as we had for 3.0.2 | 20:18 |
rinigus | mal: ^ that decision was based on fp2 changes | 20:19 |
rinigus | gn! that's it for me for today, will catch up tomorrow. | 20:19 |
mal | rinigus: hmm, so you didn't update system/core? | 20:25 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!