Wednesday, 2024-12-04

*** amccarthy is now known as Guest200601:54
*** amccarthy_ is now known as amccarthy01:54
ecrnok02:21
ecrnthe audio is working somewhat now02:22
ecrnusing the hidl_compat wrapper02:22
ecrnbut returns -ENOSYS on create_audio_patch02:23
ecrnand without the wrapper segfaults trying to call create_audio_patch because the vendor modules probably set it to NULL02:24
ecrnwhat about such modules?02:24
ecrnhttps://github.com/mer-hybris/pulseaudio-modules-droid/commit/b08cc4d219fd0b8737fecb8c15d0e7f850a33cfc probably this04:15
T42<Walid> what is the latest sailfishos version 5.0 or 4.6 ?12:40
T42<birdzhang> 5.013:09
Solrac[m]Isn't 5.0 exclusive to Jolla C2 at the moment? Excluding source code, of course13:17
T42<birdzhang> Nope, as a porter, you can always port the latest version to you device as far as you can xD13:20
ecrnfor 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
ecrnthe solution is to use the option introduced in this patch: https://github.com/mer-hybris/pulseaudio-modules-droid/pull/117/commits/5007da0ea17e9af0c346388efea0151939ba18b415:04
ecrnubports version of the pulseaudio module has this patch out of the box15:05
malwhich android base?15:28
malhave you tried to see what happens if you use pulseaudio-modules-droid-jb2q variant?15:28
T42<Walid> when ran this comand15:32
T42<Walid> rpm/dhd/helpers/build_packages.sh --droid-hal15:32
T42<Walid> got this error15:32
T42<Walid> /usr/bin/env: ‘python’: No such file or directory15:32
T42<Walid> ls  /usr/bin/python*15:32
T42<Walid> /usr/bin/python3  /usr/bin/python3.815:32
T42<Walid> so what version of python should install? or just add symlink to python3 ?15:33
malfor which sfos version are you building?15:37
T42<Walid> 4.6.0.1315:38
malcheck the build log to see what it was doing when that happened?15:38
T42<Walid> also tried with latest 5.0.315:38
T42<Walid> when try to ran this15: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.h15:38
maldo you have python installed to target?15:39
malit's possible that script works with python symlink but not sure15:40
T42<Walid> so install python on sdk chroot15:41
T42<Walid>  sudo zypper in python15:41
malyeah, maybe it needs in sdk15:41
T42<Walid> not work on sdk , maybe install on target15:42
T42<Walid> yeah this resolve error15: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
ecrnmal: android 12 on exynos device15:47
ecrnmal: no, because I was unable to get ANY compiler working on the ubports15:48
ecrnlibgcc is broken, linked agains old glibc15:49
malnot sure what you mean? you can't build anything or what?15:51
ecrnhmm, well, I cant now but now I remember I compiled some hwcomposer test case a few weeks ago15:58
ecrnso it probably worked15:58
ecrnwell then, I will try the jb2q variant when I fix this system15:59
ecrnor, when I change to sailfish because it will be more straightforward than adding the patch16:01
ecrnto the sailfish version of the module-droid-...16:01
ecrnbut just looking at the sources and at the audio drivers I have, it probably is enough to force the version to <=14.2.9416:02

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!