rinigus | Thaodan:: I remember it was rather trivial, but would have to look up details. Should be in the log of this channel, somewhere spring 21 | 04:17 |
---|---|---|
T42 | <adampigg> hi Melissa , what is your favourite sailfish app? | 06:38 |
T42 | <edp_17> Hi all! I am trying to build a package that requires cmake(Qt5Core) and cmake(Qt5Network) but I don't know their name to install in Platform SDK. Any idea how they can/should be installed? | 06:54 |
T42 | <edp_17> Nevermind. I finally was able to build it on device. 😃 | 07:58 |
kquote03[m] | Hello, I'm finally able to complete a build. It turns out that the sed error was because i did not put a space before the last '. | 09:14 |
kquote03[m] | now i have another doubt (sorry), where do i edit the kernel's .config? I've built custom linux kernels before, so this step shouldn't be alien to me. I ran `mer_verify_kernel_config` and it listed some (many) changes, but where do I apply these changes to? Do I run `make menuconfig` on $ANDROID_ROOT/device/$VENDOR/$DEVICE ? | 09:17 |
T42 | <elros34> kquote03[m] you need to search defconfig file name used by your device in your device repo, then find that file in kernel/*/*/arch/*/configs/. Also do not follow all mer_verify_kernel_config_advices, they are simply wrong. Read this: collabedit.com/kr9xx. You can use menuconfig if you want like this: https://pastebin.com/vXgWvv2u, remember to adjust ARCH and defconfig file name to match your device | 10:03 |
kquote03[m] | T42: you are the man! | 10:04 |
Thaodan | Has anyone experienced /odm/bin/sscrpcd crashing and restarting on boot? I can't really make sense of it. I tried to search in Xperiadev bugtracker but did not found anything really | 14:06 |
Thaodan | The daemon restarts like this every 25ms | 14:06 |
Thaodan | https://paste.opensuse.org/55135138 | 14:06 |
piggz | mal: can you create me a devel and testing project for volla:yggdrasilx pls | 14:38 |
mal | piggz: I gave you permissions for the whole volla projects, you can create the rest yourself | 14:54 |
piggz | thx | 14:55 |
T42 | <CD> help? | 18:41 |
T42 | <CD> im trying to use a pixel 3 | 18:41 |
T42 | <CD> and oem unlock | 18:41 |
T42 | <CD> it is carrier unlocked | 18:41 |
T42 | <CD> i went to verizon | 18:41 |
T42 | <CD> i have tried backdating | 18:41 |
T42 | <CD> no go | 18:41 |
T42 | <CD> i have tried everything i can online | 18:41 |
T42 | <CD> oem stays greyed out | 18:41 |
T42 | <CD> pulling my hair out | 18:42 |
Thaodan | rinigus: About https://github.com/sailfishos-sony-tama/main/issues/135 did you also got messages like this in dmesg https://paste.opensuse.org/77833850? | 20:36 |
Thaodan | Just SM845 instead of SM8150. | 20:36 |
T42 | <b100dian> Thaodan: pushed fix for dbus regression in ngfd PR | 21:50 |
T42 | <b100dian> btw, thanks for pointing out libngf-qt feedback, I am celebrating 10 years with keyboard vibra ;) | 21:52 |
T42 | <b100dian> This was fairly new, btw, @elros34 https://github.com/sailfishos/libngf-qt/tree/master/feedback | 21:52 |
Thaodan | thanks I will look into it | 21:55 |
T42 | <elros34> indeed I have looked at the whole sourcecs which are old | 21:55 |
Thaodan | currently fixing audioroutinng | 21:55 |
T42 | <b100dian> is /usr/share/ngfd/events.d/feedback_press_weak.ini and more something I should expect soon to land upstream? | 22:00 |
T42 | <b100dian> I had to create it for the test | 22:00 |
Thaodan | What was the reasony you did not use __s32 for custom len has in kernel? | 23:35 |
T42 | <b100dian> I can switch back to __s16. I think you have __s16 too https://github.com/mer-hybris/android_kernel_sony_msm/blob/hybris-sony-aosp/LA.UM.7.1.r1/drivers/input/misc/qti-haptics.c#L841 | 23:39 |
T42 | <b100dian> actually this https://github.com/mer-hybris/android_kernel_sony_msm/blob/hybris-sony-aosp/LA.UM.7.1.r1/include/uapi/linux/input.h#L396 | 23:40 |
T42 | <b100dian> anyway, I can switch back to __s16, I have some ideas to improve the PR, but the point was to allocate enough for the kernel to copy 3x16bits for now. The ms/ns fields are not input, but (maybe) output | 23:41 |
Thaodan | I mean this https://github.com/mer-hybris/android_kernel_sony_msm/blob/hybris-sony-aosp/LA.UM.7.1.r1/include/uapi/linux/input.h#L395 | 23:42 |
T42 | <b100dian> ah, len | 23:42 |
T42 | <b100dian> where did I use int for len | 23:43 |
T42 | <b100dian> one flaw is that I declare the custom_len as 8, whereas it's in s16 records (so it should be 3, or 4). | 23:46 |
Thaodan | https://github.com/Thaodan/ngfd/commit/60a99e7ea5ee46b020c4779275b75e6df3d85aab# | 23:46 |
Thaodan | I would keep as close to the kernel as possible | 23:47 |
T42 | <b100dian> yes, I'll update that. So the int was just for the reading from the config file, I'll change it. Actually that is not a current commit, the situation right now is "8", but that's also incorrect. Let's talk on the PR if you want me to remember tomorrow:) | 23:49 |
Thaodan | np It's late for me too :) | 23:50 |
T42 | <b100dian> Also.. how did the regression of dbus notifying back go? | 23:50 |
Thaodan | I use that tree atm: https://github.com/Thaodan/ngfd/commits/constant_thao | 23:50 |
Thaodan | except some complaints from the kernel about the effects before Vibra upload effect: Invalid argument | 23:52 |
Thaodan | everything is fine | 23:52 |
T42 | <b100dian> this is the thing botched https://github.com/sailfishos-on-tucana/ngfd/commit/bc0258405e7b61f93c2e16d40c07b3ce8c2456e0 | 23:52 |
Thaodan | So I think its just the size of custom len | 23:52 |
Thaodan | Ah didn't noticed that | 23:53 |
Thaodan | what exactly breaks because of it? | 23:53 |
T42 | <b100dian> the limit reached message from dbus | 23:53 |
T42 | <b100dian> is because I 'refactored' some field copying to memcpy but failed to noticed these were not copied | 23:54 |
T42 | <b100dian> actually, if your kernel is as dump as mine, and it has global state mutated on effects upload/erase, it might be worth to look if the custom data actually sends back the milliseconds to play, and add that as a timeout for effect complete | 23:54 |
T42 | <b100dian> so no upload/erase happens while an effect is playing | 23:54 |
T42 | <b100dian> so no 'invalid argument' or whatnot | 23:54 |
T42 | <b100dian> that's for tomorrow:) | 23:54 |
Thaodan | interesting | 23:58 |
Thaodan | on what kernel are you? | 23:58 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!