Wednesday, 2021-02-10

UmeaboyHi!01:44
UmeaboyI just installed and started Sailfish OS in my XA2 (again) and the volume up button doesn't work.01:44
UmeaboyI have the same problem with Lineage OS on it.01:45
UmeaboyIs there a way to test volume up and down using a test program of some sort?01:46
mighty17<T42 "<linusdan> mighty17: Congratulat"> Thanks a lot!!😃04:12
mighty17<T42 "<Akatsu39> Gratz"> Well time to fix the bugs now04:14
T42<edp_17> Umeaboy: start csd from command line, then Individual tests, then at the bottom Key. There you can test volume up/down.07:25
T42<edp_17> @elros34 : I remeber you said something about pidof? Bluetooth doesn't work on my note4 and in the log I found a pidof related stuff: https://paste.ubuntu.com/p/5Z9CvSB2cV/11:17
T42<edp_17> Btw, this is the verbose log ^^11:18
T42<elros34> I don't think this is related. You have already installed psmisc-tools which provides not busybox pidof so it should behave same as in 3.4.0 release11:23
T42<edp_17> Oh, okay. And do you have idea why bt doesn't work? Ist the 'Failed to create GATT database for adapter' or 'Unable to register new adapter' the reason? What's GATT?11:26
T42<edp_17> Oh, and the full journal log is here: https://paste.ubuntu.com/p/nk8K7VJdtq/11:26
T42<edp_17> Wait, there is no bluetooth at all. Hmm. 🧐11:28
T42<edp_17> This is the one: https://paste.ubuntu.com/p/dzmPJC4j53/11:30
T42<elros34> no idea. Did you compare your droid-config changes from 3.4.0 to 4.0.1?11:30
T42<elros34> od you still have broadcom-bluetooth installed>?11:31
T42<edp_17> I've installed the 'broadcom-bluetooth-bluez5' from the previous build (3.3) as I couldn't build it for 4.0. I guess that's the problem, isn't it?11:32
T42<elros34> not sure, try to run brcm_patchram_plus manually. Didn't you use custom modification for BCM_RFKILL_NAME in bluetooth-rfkill-event? That is common modification.11:35
T42<edp_17> Yes, I changed BCM_RFKILL_NAME from bcm43xx to bcm4358.11:36
T42<elros34> so grep bcm4358  /path/to/bluetooth_rfkill_event find it?11:38
T42<edp_17> Yes, it finds.11:40
T42<edp_17> I also tried to set Channle = 1 in /etc/bluez5/bluetooth/main.conf at the [GATT] section, but didn't help. (So, I reverted that to 3 and commented out as it was before.)11:41
T42<edp_17> This is the error I am getting when trying to build broadcom-bluetooth and bluetooth-rfkill-event: https://paste.ubuntu.com/p/DZ8BxyfNrQ/11:43
T42<edp_17> In tartget, should I install bluez-libs-devel with breaking it's dependency?11:48
T42<elros34> you should add this PR to your notes to not forget on 4.1. upgrade:) https://github.com/mer-hybris/broadcom-bluetooth/pull/2/files11:49
T42<edp_17> Oh, okay. I wasn't aware of this. I'll try now. Thanks.11:50
T42<elros34> check in your old image, for sure you have installed broadcom-bluetooth-bluez5 not broadcom-bluetooth11:51
T42<edp_17> I cannot because the os on it is already replaced with sfos4.0.11:53
T42<edp_17> I have checked and I already have the same rpm/broadcom-bluetooth-bluez5.spec in my local repo.11:53
T42<elros34> or in Jolla-3.4.0.24-$DEVICE-armv7hl.packages11:54
T42<edp_17> 3.3 but Bingo, I have built and installed broadcom-bluetooth-bluez5, not *bluez. (I also found in my notes. I don't understand myself why I used the old one trying to build *bluez.)11:58
T42<edp_17> And yes, broadcom-bluetooth (bluez5.spec) successfully built. I'll install on device to see whether it works. 😃11:59
T42<elros34> maybe bump that PR so it will be finally merged11:59
T42<edp_17> Yeah, that broadcom-bluetooth-bluez5 didn't solve the problem. BT still doesn't work. (I rebooted after I installed it.)12:07
T42<edp_17> And I cannot rebuild bluetooth-rfkill-event because it requires bluez-libs-devel. The same error like before.12:08
T42<elros34> you had bluetooth-rfkill-event-hciattach or bluetooth-rfkill-event in previous image?12:11
T42<edp_17> Hmm. You were right. It was bluetooth-rfkill-event-hciattach. And that successfully built.12:21
T42<edp_17> I need to review my notes as seemingly messed up the working solutions with my attempts! 😱12:21
T42<elros34> btw: you got systemd-journald[2304]: Suppressed 6024 messages from bluetooth-rfkill-event.service so you need to remove RateLimit* in /etc/systemd/journal.conf to get full output12:24
T42<elros34> IIRC setting it to 0 will disable suppression12:26
T42<edp_17> I'll do that, thnaks!12:29
T42<edp_17> RateLimitBurst 300 changed to 0. broadcom*bluez5 and bluetooth*hciattach re-built and installed. Still no BT: https://paste.ubuntu.com/p/cgqBq55R4g/12:37
malMister_Magister: do you get any more output from libhybris with HYBRIS_TRACE=1 HYBRIS_LOGGING_LEVEL=debug EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer test_hwcomposer21:02
piggzwhat trouble is Mister_Magister having, what device/level ?21:05
kernlingpiggz, ui not working on old cm with new lh21:07
piggzah ... i dread to revive my oldest ports21:08
Mister_Magisterpiggz: i've been supporting this port for 6 years21:08
Mister_Magisterget on my level :D21:08
Mister_Magistermal: how long do you support fp2 for already?21:09
malMister_Magister: about 4.5 years21:10
Mister_Magisterdang i thought u already had port when i started porting g221:11
malMister_Magister: fp2 was releases in december 2015 and I made first release some time in 2016, can't remember when I did alpha1 release21:12
Mister_Magisterahhh… i released my first g2 port in september 201521:13
Mister_Magisterdang it's been long time knowing you <3 tho first fixes were done by sledges [*]21:13
Mister_Magisteri lately disovered that i still have 1.1.7 zip for g2 on androidfilehost21:14
Mister_Magisterspeaking of g2 it just booted up21:14
Mister_Magistermal: and answer is nope, no additional output21:14
kernlingMister_Magister, what happens if you run HYBRIS_ANDROID_SDK_VERSION=23  EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer test_hwcomposer21:17
Mister_Magistersame thing21:17
Mister_Magisteraddress is different :D21:17
kernlingMister_Magister, do you have a build which has --enable-trace enabled?21:18
Mister_Magisternot sure, i have the latest one that mal pinged me21:18
Mister_Magisterhmm isn't it trying to use opengl es 3.0? does my gpu even support it?21:19
Mister_Magisterit seems that it does, nvm21:20
Mister_Magistermy exact version of libhybris is 0.0.5.36+ws_test.20210208225617.13.g5f30f94-1.14.2.jolla21:22
kernlingMister_Magister, look ok, i think mal will compile a new version with enable-trace enabled21:26
kernlingMister_Magister, can you try one thing though21:26
Mister_Magisteri can try anything :)21:26
kernlingMister_Magister, HYBRIS_ANDROID_SDK_VERSION=23 HYBRIS_TRACE_HOOKED=1 HYBRIS_TRACE_UNHOOKED=1 EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer test_hwcomposer21:26
Mister_Magisternope, same thing21:27
kernlinghmm21:29
kernlingMister_Magister, can you paste the log still? i.e. did it change even slightly?21:29
kernlingMister_Magister, HYBRIS_ANDROID_SDK_VERSION=23 HYBRIS_TRACE_HOOKED=1 HYBRIS_TRACE_UNHOOKED=1 EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer strace -fF -s 1024 -o log.txt test_hwcomposer21:31
kernlingMister_Magister, could you grab me the log.txt from this?21:31
Mister_Magisterstrace: deprecated option -F ignored :D21:32
kernling:D21:33
kernlingjust ignroe that21:33
kernlingbad habits21:33
Mister_Magisteryeee i knot21:33
Mister_Magisterknow*21:33
Mister_Magisterhttps://paste.opensuse.org/1ad4b44021:36
Mister_Magisterkernling: ^21:36
malMister_Magister: new version building on OBS now21:37
kernlingMister_Magister, before installing the new version try this: cp /usr/lib/libhybris/linker/mm.so /usr/lib/libhybris/linker/jb.so21:37
kernlingMister_Magister, and then run the same command again21:38
Mister_Magisteroverwrite file?21:38
kernlingHYBRIS_ANDROID_SDK_VERSION=23 HYBRIS_TRACE_HOOKED=1 HYBRIS_TRACE_UNHOOKED=1 EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer strace -fF -s 1024 -o log.txt test_hwcomposer21:38
kernlingyeah21:38
Mister_MagisterBus error21:38
kernlingbus error ? when?21:38
Mister_Magisterwhen i run command above21:39
kernlingthe cp one or the test_hwcomposer one?21:40
Mister_Magisterafter cp21:40
kernlinghm ok21:40
Mister_Magisteri ran test_hwc21:40
Mister_Magistershould i reboot?21:40
kernlingit might be very borken21:41
kernlingMister_Magister, better to install first new libhybris from mal21:41
kernlingMister_Magister, looks like it has built21:41
Mister_Magistergimme minute21:41
malit's still building some other packages and hasn't published the new packages21:45
kernlingah ok21:45
Mister_Magistershit, i already downloaded it21:46
Mister_Magisterdang21:46
malMister_Magister: now it's ready21:48
kernlingMister_Magister, use this command:  HYBRIS_TRACE=1 HYBRIS_LOGGING_LEVEL=debug EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer strace -fF -s 1024 -o log.txt test_hwcomposer21:50
Mister_Magisterholy…21:50
Mister_Magistercan't  i just strace -f &> log ?21:51
Mister_Magisterso that all that… stuff isn't dumped in my terminal21:51
kernlingMister_Magister, sure21:52
kernlingMister_Magister, does test_hwcomposer work with this btw or does it still crash?21:52
Mister_Magister11MB…21:53
Mister_Magisterit still crashes21:53
kernlingok21:53
Mister_Magisteryou want that log still?21:53
kernlingmaybe the last 1000 lines21:53
Mister_Magisteri can give u entire file21:53
kernlingok21:53
kernlingthat would be ideal21:54
Mister_Magisterkernling: on pm :)21:56
kernlingMister_Magister, yep saw22:00
kernlingMister_Magister, do you have a build of libhybris that works? i.e. older libhybris for example22:00
Mister_Magisterye it was one from elros…22:01
kernlingok maybe we can do some checking with that later22:01
kernlingHYBRIS_ANDROID_SDK_VERSION=23 HYBRIS_TRACE_HOOKED=1 HYBRIS_TRACE_UNHOOKED=1 EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer strace -fF -s 1024 -o log.txt test_hwcomposer22:01
kernlingMister_Magister, can you run it through this once more?22:01
kernlingor wait22:02
kernlingyeah22:02
kernlingdo that22:02
Mister_Magisterkernling: here's the working libhybris https://github.com/elros34/libhybris22:04
kernlingok22:07
Mister_Magisterkernling: strace http://sprunge.us/fE6BR622:11
kernlingMister_Magister, can you extract jb.so from a working libhybris and copy it to /usr/lib/libhybris/linker/jb.so22:19
kernlingMister_Magister, that would tell us whether it's the linker or something else22:19
Mister_Magisteri would have to rebuild it22:19
kernlingah ok22:19
kernlingthen wait let me think of something22:19
kernlingMister_Magister, how are you installing libhybris? via zypper dup or do you download the rpms manually?22:20
Mister_Magistermanually22:20
Mister_Magisteri don't have internet22:20
Mister_Magisterhow can u connect without gui :D22:20
kernlingok22:20
kernlingMister_Magister, mal will build another version22:20
malMister_Magister: new version available now22:31
Mister_Magisterit would be nice if we could do this before 22 tho :D22:32
Mister_Magistermal: kernling: you want strace of that?22:33
kernlingMister_Magister, yeah22:33
Mister_Magisterhttp://sprunge.us/fE6BR622:34
Mister_Magisterkernling: ^23:21

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