*** Daanct12 is now known as Danct12 | 06:39 | |
T42 | <eriki73> Not directly related to porting sfos but I have a question about pulseaudio-moules-droid: Should wired headset always show as plugged in? | 12:50 |
---|---|---|
*** Daanct12 is now known as Danct12 | 13:10 | |
mal | it should not | 13:34 |
mal | checking the output of "evdev_trace -t" can be use to see if the events from the headset are happening correctly, in theory also ohmd might need configuring in some cases | 13:34 |
T42 | <eriki73> mal: I was not on sailfish -> no ohm -> required patching modules. I just didn't realize that ohm does that on sfos... | 14:33 |
T42 | <eriki73> That is why I said is not directly related to porting sfos | 14:34 |
T42 | <eriki73> I just packaged the modules for Manjaro not realizing that we don't use ohm | 14:36 |
T42 | <eriki73> Well, it is fine now... | 14:37 |
T42 | <AntonlX> After mal patches there is binder and mknod errors: https://pastebin.com/CaWkzcFj | 17:40 |
T42 | <AntonlX> chmod 666 /dev/binder No such file or directory | 17:41 |
T42 | <AntonlX> but /dev/binder is there | 17:42 |
T42 | <foxclore> A question: verify_config checks not only kernel config mentioned in official hadk guide, but also obj/DTB_OBJ/.config | 18:08 |
T42 | <foxclore> Any ideas which defconfig generates dtb config? because my kernel config is fine, but the dtb one fails | 18:08 |
mal | @AntonlX but is /dev/binder a symlink? | 18:10 |
T42 | <foxclore> addition: not mer-verify-config, but when building droid hal it checks dtb config | 18:10 |
mal | what do you mean by dtb one fails? | 18:29 |
T42 | <elros34> here you can find why it check DTB_OBJ/.config: https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L411. It shouldn't be hard to fix it and check only KERNL_OBJ/.config or kernel/.config instead /*/.config | 18:38 |
T42 | <foxclore> mal: mer_verify_kernel_config ./out/target/product/apollon/obj/DTB_OBJ/.config | 18:42 |
T42 | <foxclore> It gives bunch of errors, yet I can't find defconfig which influences DTB_OBJECT config | 18:42 |
mal | is that really where the .config is? | 18:44 |
T42 | <foxclore> yep, there is one | 18:45 |
T42 | <elros34> so why don't you just edit droid-hal-device.inc so it uses correct KERNEL_OBJ/.config? | 18:47 |
T42 | <foxclore> but it does so, it uses both | 18:48 |
T42 | <foxclore> here is the line: | 18:48 |
T42 | <AntonlX> yes (re @SailfishFreenodeIRCBridgeBot: <mal>@AntonlX but is...) | 18:48 |
T42 | <elros34> but it should use only one | 18:48 |
T42 | <foxclore> Verifying kernel config | 18:49 |
T42 | <foxclore> + hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/apollon/obj/DTB_OBJ/.config ./out/target/product/apollon/obj/KERNEL_OBJ/.config | 18:49 |
T42 | <foxclore> Here is full log: | 18:49 |
T42 | <elros34> I do not need it | 18:49 |
T42 | <foxclore> https://pastebin.com/SbPeytBp | 18:49 |
T42 | <AntonlX> binder -> /dev/binderfs/binder | 18:50 |
T42 | <elros34> just edit that one line so it use only 1 .config from KERNEL_OBJ/.config | 18:50 |
T42 | <elros34> If you read comment I linked then you will understand why both files are checked: just to make it work both with aosp and lineage | 18:51 |
T42 | <foxclore> oh okay, thank you | 18:51 |
T42 | <elros34> probably for < hybris-18 there wasn't such an issue | 18:52 |
T42 | <foxclore> but I am building for hybris-17.1 | 18:53 |
T42 | <elros34> so maybe exception, doesn't really matter but make sure you use correct barnch for kernel and you removed out/ directory before switching from 18 to 17 base | 18:57 |
T42 | <foxclore> yep, thank you | 18:57 |
T42 | <foxclore> Had to remove everything and re-sync from scratch | 18:57 |
mal | @AntonlX so what are the permissions fo the target of the symlink? | 19:14 |
T42 | <AntonlX> chmod 666 /dev/binderfs/binder: No such file or directory | 19:16 |
mal | so nothing created the dynamic binder devices | 19:19 |
mal | something like this in defconfig could help: CONFIG_ANDROID_BINDER_DEVICES="binder,vndbinder,hwbinder" | 19:21 |
T42 | <AntonlX> CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder" (re @SailfishFreenodeIRCBridgeBot: <mal>something like ...) | 19:23 |
mal | ok | 19:23 |
T42 | <foxclore> Hmm, interesting error: | 19:31 |
T42 | <foxclore> rpm/dhd/helpers/build_packages.sh --gg | 19:31 |
T42 | <foxclore> Please build droidmedia as per HADK instructions | 19:31 |
T42 | <foxclore> !! Failed to pack_source_droidmedia-localbuild.sh | 19:31 |
T42 | <foxclore> I did make droidmedia which finished successfully | 19:32 |
T42 | <foxclore> but still asks me to build as per HADK | 19:32 |
T42 | <foxclore> Any ideas? | 19:32 |
mal | do you see libdroidmedia.so in out/ probably in out/target/product/*/system/lib*/libdroidmedia.so | 19:34 |
T42 | <foxclore> hmm, nop | 19:34 |
T42 | <foxclore> hmm, nope (edited) | 19:34 |
T42 | <foxclore> mal: its doesn't exist in out directory ( | 19:35 |
mal | so what went wrong in droidmedia build | 19:36 |
T42 | <foxclore> well i dont know, is there a way to check? | 19:37 |
T42 | <foxclore> "make droidmedia" says "#### build completed successfully (7 seconds) #### | 19:37 |
T42 | <foxclore> " | 19:37 |
mal | after that the libdroidmedia.so should appear in out/ | 19:39 |
T42 | <elros34> change somthing in droidmedia source file, save and run make again. Then it should print full libdroidmedia.so path at the end of build | 19:40 |
T42 | <foxclore> where do I find droidmedia sources? | 19:40 |
T42 | <elros34> external/droidmedia | 19:41 |
T42 | <foxclore> hmm, I changed some stuff in hybris.c, but build log is: | 19:42 |
T42 | <foxclore> "ninja: no work to do" | 19:42 |
T42 | <foxclore> "build completed successfully (7 seconds)" | 19:42 |
mal | afaik hybris.c is not relevant for that | 19:44 |
mal | edit for example droidmedia.c | 19:45 |
mal | *droidmedia.cpp | 19:45 |
T42 | <foxclore> same happened when changing external/droidmedia/droidmedia.cpp | 19:45 |
T42 | <foxclore> no impact | 19:45 |
mal | hmm | 19:45 |
T42 | <elros34> so are you sure that you have changed all paths and env when changing hybris base? In worst case make clean will do the job | 19:46 |
T42 | <foxclore> Well, I just deleted $ANDROID_ROOT and then started from scratch | 19:50 |
T42 | <foxclore> So make clean it is then, we'll see | 19:50 |
mal | why would you remove the sources, just removing out/ will make a completely clean rebuild using the existing sources | 20:07 |
T42 | <foxclore> I had to use completely different kernel and device tree | 20:13 |
mal | still removing everything was not needed, assuming you used same android base | 20:16 |
T42 | <foxclore> Mal: well kind of. Still feels safer to start from scratch | 20:17 |
T42 | <elros34> mal: I think removing $ANDROID_ROOT was related to changing android base | 20:20 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!