Umeaboy | Hi! | 01:44 |
---|---|---|
Umeaboy | I just installed and started Sailfish OS in my XA2 (again) and the volume up button doesn't work. | 01:44 |
Umeaboy | I have the same problem with Lineage OS on it. | 01:45 |
Umeaboy | Is 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 now | 04: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 release | 11: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/files | 11: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-bluetooth | 11: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.packages | 11: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 merged | 11: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 output | 12:24 |
T42 | <elros34> IIRC setting it to 0 will disable suppression | 12: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 |
mal | Mister_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_hwcomposer | 21:02 |
piggz | what trouble is Mister_Magister having, what device/level ? | 21:05 |
kernling | piggz, ui not working on old cm with new lh | 21:07 |
piggz | ah ... i dread to revive my oldest ports | 21:08 |
Mister_Magister | piggz: i've been supporting this port for 6 years | 21:08 |
Mister_Magister | get on my level :D | 21:08 |
Mister_Magister | mal: how long do you support fp2 for already? | 21:09 |
mal | Mister_Magister: about 4.5 years | 21:10 |
Mister_Magister | dang i thought u already had port when i started porting g2 | 21:11 |
mal | Mister_Magister: fp2 was releases in december 2015 and I made first release some time in 2016, can't remember when I did alpha1 release | 21:12 |
Mister_Magister | ahhh… i released my first g2 port in september 2015 | 21:13 |
Mister_Magister | dang it's been long time knowing you <3 tho first fixes were done by sledges [*] | 21:13 |
Mister_Magister | i lately disovered that i still have 1.1.7 zip for g2 on androidfilehost | 21:14 |
Mister_Magister | speaking of g2 it just booted up | 21:14 |
Mister_Magister | mal: and answer is nope, no additional output | 21:14 |
kernling | Mister_Magister, what happens if you run HYBRIS_ANDROID_SDK_VERSION=23 EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer test_hwcomposer | 21:17 |
Mister_Magister | same thing | 21:17 |
Mister_Magister | address is different :D | 21:17 |
kernling | Mister_Magister, do you have a build which has --enable-trace enabled? | 21:18 |
Mister_Magister | not sure, i have the latest one that mal pinged me | 21:18 |
Mister_Magister | hmm isn't it trying to use opengl es 3.0? does my gpu even support it? | 21:19 |
Mister_Magister | it seems that it does, nvm | 21:20 |
Mister_Magister | my exact version of libhybris is 0.0.5.36+ws_test.20210208225617.13.g5f30f94-1.14.2.jolla | 21:22 |
kernling | Mister_Magister, look ok, i think mal will compile a new version with enable-trace enabled | 21:26 |
kernling | Mister_Magister, can you try one thing though | 21:26 |
Mister_Magister | i can try anything :) | 21:26 |
kernling | Mister_Magister, HYBRIS_ANDROID_SDK_VERSION=23 HYBRIS_TRACE_HOOKED=1 HYBRIS_TRACE_UNHOOKED=1 EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer test_hwcomposer | 21:26 |
Mister_Magister | nope, same thing | 21:27 |
kernling | hmm | 21:29 |
kernling | Mister_Magister, can you paste the log still? i.e. did it change even slightly? | 21:29 |
kernling | Mister_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_hwcomposer | 21:31 |
kernling | Mister_Magister, could you grab me the log.txt from this? | 21:31 |
Mister_Magister | strace: deprecated option -F ignored :D | 21:32 |
kernling | :D | 21:33 |
kernling | just ignroe that | 21:33 |
kernling | bad habits | 21:33 |
Mister_Magister | yeee i knot | 21:33 |
Mister_Magister | know* | 21:33 |
Mister_Magister | https://paste.opensuse.org/1ad4b440 | 21:36 |
Mister_Magister | kernling: ^ | 21:36 |
mal | Mister_Magister: new version building on OBS now | 21:37 |
kernling | Mister_Magister, before installing the new version try this: cp /usr/lib/libhybris/linker/mm.so /usr/lib/libhybris/linker/jb.so | 21:37 |
kernling | Mister_Magister, and then run the same command again | 21:38 |
Mister_Magister | overwrite file? | 21:38 |
kernling | 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_hwcomposer | 21:38 |
kernling | yeah | 21:38 |
Mister_Magister | Bus error | 21:38 |
kernling | bus error ? when? | 21:38 |
Mister_Magister | when i run command above | 21:39 |
kernling | the cp one or the test_hwcomposer one? | 21:40 |
Mister_Magister | after cp | 21:40 |
kernling | hm ok | 21:40 |
Mister_Magister | i ran test_hwc | 21:40 |
Mister_Magister | should i reboot? | 21:40 |
kernling | it might be very borken | 21:41 |
kernling | Mister_Magister, better to install first new libhybris from mal | 21:41 |
kernling | Mister_Magister, looks like it has built | 21:41 |
Mister_Magister | gimme minute | 21:41 |
mal | it's still building some other packages and hasn't published the new packages | 21:45 |
kernling | ah ok | 21:45 |
Mister_Magister | shit, i already downloaded it | 21:46 |
Mister_Magister | dang | 21:46 |
mal | Mister_Magister: now it's ready | 21:48 |
kernling | Mister_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_hwcomposer | 21:50 |
Mister_Magister | holy… | 21:50 |
Mister_Magister | can't i just strace -f &> log ? | 21:51 |
Mister_Magister | so that all that… stuff isn't dumped in my terminal | 21:51 |
kernling | Mister_Magister, sure | 21:52 |
kernling | Mister_Magister, does test_hwcomposer work with this btw or does it still crash? | 21:52 |
Mister_Magister | 11MB… | 21:53 |
Mister_Magister | it still crashes | 21:53 |
kernling | ok | 21:53 |
Mister_Magister | you want that log still? | 21:53 |
kernling | maybe the last 1000 lines | 21:53 |
Mister_Magister | i can give u entire file | 21:53 |
kernling | ok | 21:53 |
kernling | that would be ideal | 21:54 |
Mister_Magister | kernling: on pm :) | 21:56 |
kernling | Mister_Magister, yep saw | 22:00 |
kernling | Mister_Magister, do you have a build of libhybris that works? i.e. older libhybris for example | 22:00 |
Mister_Magister | ye it was one from elros… | 22:01 |
kernling | ok maybe we can do some checking with that later | 22:01 |
kernling | 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_hwcomposer | 22:01 |
kernling | Mister_Magister, can you run it through this once more? | 22:01 |
kernling | or wait | 22:02 |
kernling | yeah | 22:02 |
kernling | do that | 22:02 |
Mister_Magister | kernling: here's the working libhybris https://github.com/elros34/libhybris | 22:04 |
kernling | ok | 22:07 |
Mister_Magister | kernling: strace http://sprunge.us/fE6BR6 | 22:11 |
kernling | Mister_Magister, can you extract jb.so from a working libhybris and copy it to /usr/lib/libhybris/linker/jb.so | 22:19 |
kernling | Mister_Magister, that would tell us whether it's the linker or something else | 22:19 |
Mister_Magister | i would have to rebuild it | 22:19 |
kernling | ah ok | 22:19 |
kernling | then wait let me think of something | 22:19 |
kernling | Mister_Magister, how are you installing libhybris? via zypper dup or do you download the rpms manually? | 22:20 |
Mister_Magister | manually | 22:20 |
Mister_Magister | i don't have internet | 22:20 |
Mister_Magister | how can u connect without gui :D | 22:20 |
kernling | ok | 22:20 |
kernling | Mister_Magister, mal will build another version | 22:20 |
mal | Mister_Magister: new version available now | 22:31 |
Mister_Magister | it would be nice if we could do this before 22 tho :D | 22:32 |
Mister_Magister | mal: kernling: you want strace of that? | 22:33 |
kernling | Mister_Magister, yeah | 22:33 |
Mister_Magister | http://sprunge.us/fE6BR6 | 22:34 |
Mister_Magister | kernling: ^ | 23:21 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!