*** amccarthy is now known as Guest2006 | 01:54 | |
*** amccarthy_ is now known as amccarthy | 01:54 | |
ecrn | ok | 02:21 |
---|---|---|
ecrn | the audio is working somewhat now | 02:22 |
ecrn | using the hidl_compat wrapper | 02:22 |
ecrn | but returns -ENOSYS on create_audio_patch | 02:23 |
ecrn | and without the wrapper segfaults trying to call create_audio_patch because the vendor modules probably set it to NULL | 02:24 |
ecrn | what about such modules? | 02:24 |
ecrn | https://github.com/mer-hybris/pulseaudio-modules-droid/commit/b08cc4d219fd0b8737fecb8c15d0e7f850a33cfc probably this | 04:15 |
T42 | <Walid> what is the latest sailfishos version 5.0 or 4.6 ? | 12:40 |
T42 | <birdzhang> 5.0 | 13:09 |
Solrac[m] | Isn't 5.0 exclusive to Jolla C2 at the moment? Excluding source code, of course | 13:17 |
T42 | <birdzhang> Nope, as a porter, you can always port the latest version to you device as far as you can xD | 13:20 |
ecrn | for someone possibly checking the irc logs somewhere in the future with similar problem (module-droid-card failing on create_audio_patch with either ENOSYS (38) or segmentation fault): | 15:04 |
ecrn | the solution is to use the option introduced in this patch: https://github.com/mer-hybris/pulseaudio-modules-droid/pull/117/commits/5007da0ea17e9af0c346388efea0151939ba18b4 | 15:04 |
ecrn | ubports version of the pulseaudio module has this patch out of the box | 15:05 |
mal | which android base? | 15:28 |
mal | have you tried to see what happens if you use pulseaudio-modules-droid-jb2q variant? | 15:28 |
T42 | <Walid> when ran this comand | 15:32 |
T42 | <Walid> rpm/dhd/helpers/build_packages.sh --droid-hal | 15:32 |
T42 | <Walid> got this error | 15:32 |
T42 | <Walid> /usr/bin/env: ‘python’: No such file or directory | 15:32 |
T42 | <Walid> ls /usr/bin/python* | 15:32 |
T42 | <Walid> /usr/bin/python3 /usr/bin/python3.8 | 15:32 |
T42 | <Walid> so what version of python should install? or just add symlink to python3 ? | 15:33 |
mal | for which sfos version are you building? | 15:37 |
T42 | <Walid> 4.6.0.13 | 15:38 |
mal | check the build log to see what it was doing when that happened? | 15:38 |
T42 | <Walid> also tried with latest 5.0.3 | 15:38 |
T42 | <Walid> when try to ran this | 15:38 |
T42 | <Walid> /home/walid/hadk/build/make/tools/fs_config/fs_config_generator.py aidarray /home/walid/hadk/system/core/libcutils/include/private/android_filesystem_config.h | 15:38 |
mal | do you have python installed to target? | 15:39 |
mal | it's possible that script works with python symlink but not sure | 15:40 |
T42 | <Walid> so install python on sdk chroot | 15:41 |
T42 | <Walid> sudo zypper in python | 15:41 |
mal | yeah, maybe it needs in sdk | 15:41 |
T42 | <Walid> not work on sdk , maybe install on target | 15:42 |
T42 | <Walid> yeah this resolve error | 15:45 |
T42 | <Walid> sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in python (re @SailfishFreenodeIRCBridgeBot: <mal>do you have pyt...) | 15:45 |
ecrn | mal: android 12 on exynos device | 15:47 |
ecrn | mal: no, because I was unable to get ANY compiler working on the ubports | 15:48 |
ecrn | libgcc is broken, linked agains old glibc | 15:49 |
mal | not sure what you mean? you can't build anything or what? | 15:51 |
ecrn | hmm, well, I cant now but now I remember I compiled some hwcomposer test case a few weeks ago | 15:58 |
ecrn | so it probably worked | 15:58 |
ecrn | well then, I will try the jb2q variant when I fix this system | 15:59 |
ecrn | or, when I change to sailfish because it will be more straightforward than adding the patch | 16:01 |
ecrn | to the sailfish version of the module-droid-... | 16:01 |
ecrn | but just looking at the sources and at the audio drivers I have, it probably is enough to force the version to <=14.2.94 | 16:02 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!