T42 | <MCredbear> https://pastebin.com/7vEYujSR | 07:53 |
---|---|---|
T42 | <MCredbear> so strange, I didn't any error when I was compiling Android using this source | 07:54 |
T42 | <edp_17> @elros34 : udevadm info -a /sys/class/timed_output/vibrator/ : https://paste.ubuntu.com/p/Sf43c8WYfR/ | 08:09 |
T42 | <edp_17> I have these 99* rules in /lib/udev/rules.d but none of them is dealing with vibra : https://paste.ubuntu.com/p/PkTfH7tZnz/ | 08:09 |
T42 | <edp_17> It seems only /init.rc is dealing with vibra : https://paste.ubuntu.com/p/BVCvTfQ9CP/ | 08:14 |
T42 | <elros34> @MCredbear did you apply hybris-patches before first 'make'? | 08:16 |
T42 | <MCredbear> yes (re @elros34: @MCredbear did you a...) | 08:19 |
T42 | <elros34> so you had nothing in out/ before? | 08:20 |
T42 | <MCredbear> yes, I delete the whole directory and rechecked the repo | 08:20 |
T42 | <elros34> @edp_17 that is expected. So according to udevadm use following rule: KERNELS="vibrator", SUBSYSTEM=="timed_output", ACTION=="add", RUN+="/bin/chown system:input /sys/class/timed_output/vibrator/enable". maybe same for chmod too | 08:24 |
T42 | <elros34> @MCredbear what do you meant by "compiling Android using this source"? Did you clone hybris-x repos or generic lineage/aosp sources? | 08:28 |
T42 | <MCredbear> I cloned Mokee's repo and built Mokee's ROM | 08:29 |
T42 | <elros34> not sure I get you right so did you follow hadk instruction and repo clone github.com/mer-hybris/android? | 08:36 |
T42 | <edp_17> @elros34 : Thanks. I've added those two rules. What should I expect after reboot? (There is no vibra and ngfd still needs to be restarted manually) | 08:43 |
T42 | <MCredbear> yes....but another developer just told me to use lineage's source instade of Mokee's (re @elros34: not sure I get you r...) | 08:43 |
T42 | <MCredbear> maybe that's the problem | 08:43 |
T42 | <edp_17> @elros34 : What should be the permission of /sys/class/timed_output/vibrator/enable? system:input or system:system ? | 08:57 |
T42 | <Umeaman> Can some please tell me why the hybris-18.1-update branch was created instead of updating the main hybris-18.1 branch? | 13:03 |
T42 | <Umeaman> Changes of repos? | 13:03 |
T42 | <Umeaman> I'm definatelly no expert, but my vote is for system:input (re @edp_17: @elros34 : What shou...) | 13:04 |
mal | I probably just forgot to merge the update branch to the hybris-18.1 branch | 13:05 |
mal | the update branch is not something that should be used | 13:06 |
deathmist | mal: is 18.1 something in general that should be used still? https://github.com/mer-hybris/hybris-patches/tree/hybris-18.1 doesn't have new commits since last time I checked in December 2021, doubt it even build without some local hacks | 13:07 |
mal | @edp_17 system:input you can see in system/core that we have patched that https://github.com/mer-hybris/android_system_core/commit/b186f78cf444011809df3bed7e95e3bdb3460bb8 | 13:07 |
mal | deathmist: I haven't tried to build it for some time now, might need some fixes | 13:08 |
mal | I should update the update branch the make a PR | 13:08 |
deathmist | oh yeah what happened with community OBS? I know the "one year commitment" ended a while back, but https://build.sailfishos.org/ is still up it seems; I still don't feel like putting new stuff there if it may just disappear all of the sudden | 13:12 |
mal | it won't suddenly disappear | 13:13 |
mal | there was something in some community irc meeting a while back | 13:13 |
deathmist | hm, I'll consider updating my port artifacts when I have time again then, got plenty of other stuff to do currently :) | 13:17 |
mal | deathmist: I have had fun debugging a gpu hang on a mainline port | 13:18 |
deathmist | mal: certainly sounds fun, meanwhile I found out a while back that export FD_MESA_DEBUG=nobin | 13:19 |
deathmist | should fix various glitches seen on a5xx GPUs | 13:19 |
mal | deathmist: oh, you have similar hang? that fixes it for a3xx also | 13:19 |
deathmist | but it's not a true "fix" ofc, the drivers need some love | 13:19 |
mal | at least it fixes the hangs I see | 13:20 |
deathmist | mal: well it wasn't a hang exactly but just various graphical artifacting, the hang I had required to lower clockspeed of the GPU due to a missing regulator driver as it simply wasn't getting enough power: https://gitlab.com/msm8998-mainline/linux/-/issues/9 | 13:21 |
mal | deathmist: what kind of messages do you see in logs when those issues happen? | 13:21 |
mal | ok | 13:21 |
mal | I get hangcheck messages in dmesg | 13:22 |
mal | deathmist: I also probably should send initial patches for mainline kernel support I made on my own, it for an older samsung tablet | 13:25 |
deathmist | neat, I've got a Galaxy Tab 2 (espressowifi) myself and it also boots mainline, just haven't yet figured out the touchscreen for example | 13:26 |
mal | deathmist: mine is matissewifi i.e. tab 4 | 13:27 |
mal | deathmist: which touchscreen driver does it use? | 13:27 |
mal | I had some trouble with touchscreen but figured it out | 13:28 |
deathmist | mal: mine has some synaptics, perhaps even RMI4 compatible but I haven't looked at it too much yet due to all the other projects I work on | 13:28 |
mal | ok, different driver then | 13:29 |
mal | usually synaptics should not be too difficult | 13:29 |
T42 | <edp_17> mal : Thanks for confirming. I have that patch in system/core. However, interestingly after each boot on device the permission is system:system. | 15:12 |
T42 | <edp_17> Even if I change it to system:input, next boot overrides that. If I restart ngfd, vibra works with system:system permission as well. | 15:13 |
mal | check the init.rc file | 15:17 |
T42 | <edp_17> mal : /init.rc is correct : https://paste.ubuntu.com/p/WYSMxxtpbD/ | 15:18 |
T42 | <edp_17> There is no service/custom scripts setting it to system:system. | 15:20 |
T42 | <edp_17> I only have the two udev rules that elros recommended, but that also sets it to system:input : https://paste.ubuntu.com/p/h8WpqHBfQJ/ | 15:21 |
mal | which android base? | 15:29 |
T42 | <edp_17> 14.1 | 15:32 |
T42 | <LindaWMayfield> Forwarded from Linda W. Mayfield: I stayed at home for several months after I lost my job, I felt really bad at first,but a friend of mine introduced me to this man I really counted on him because I needed to feed my kids,I just want to appreciate him for his integrity. | 16:02 |
T42 | <LindaWMayfield> 👇👇👇 | 16:02 |
T42 | <LindaWMayfield> https://t.me/joinchat/EKnclYDeZbczMGZk | 16:02 |
T42 | <Haibierron> Forwarded from Successful Trader: When you invest with a great company all you are going to get is a positive result and a successful withdrawal. I'm so happy right now, I invested £1,000 and got £10,500 in return in just 24hours of trade. If you are looking for a legit platform to invest your money or you want to be successful like me too, contact Mr @Pierre_Relekom to start https://t.me/pierreinvestmentplatform | 16:16 |
T42 | <elros34> @edp_17 there is typo in my command which you copy to udev rule: KERNELS==. Also put both RUN commands to one file, see 999*.rules for example how to | 17:36 |
T42 | <Spidey24Z> Hello @elros34 | 18:05 |
T42 | <Spidey24Z> is this service 'Exynos.HWCService' crashed because of selinux i found this in logcat https://pastebin.ubuntu.com/p/4KKySMpmHc/ | 18:08 |
T42 | <elros34> hi, see "permissive=1" in your message means that it's jst useless spam | 18:12 |
T42 | <Spidey24Z> so could be something else | 18:14 |
T42 | <Spidey24Z> @elros34 i run minimer it segfault at QEglWindow https://pastebin.ubuntu.com/p/PCf9qcmHnZ/ | 18:30 |
T42 | <Spidey24Z> and this log from logcat | 18:30 |
T42 | <Spidey24Z> https://pastebin.ubuntu.com/p/h5mdn3MJDb/ | 18:31 |
T42 | <elros34> as root/user? How did you stop lipstick first? Have you tried mce fb control related patch mentioned here few times for exynos decon driver? | 18:36 |
T42 | <Spidey24Z> as root / i masked user@100000.service also i tried mce patch didn't fix this issue (re @elros34: as root/user? How di...) | 18:39 |
T42 | <Spidey24Z> tried minimer as user same as root | 18:42 |
T42 | <elros34> maybe try after freash boot first starting surfaceflinger/bootanim then minimer. I do not remember excatly but this fb blank error looks smilar to what mce patch fixes but you would have to find old logs to be sure | 18:47 |
T42 | <Spidey24Z> okay i'll try to run minimer | 18:53 |
T42 | <Spidey24Z> after starting surfaceflinger | 18:53 |
T42 | <Spidey24Z> @elros34 this one right | 19:34 |
T42 | <Spidey24Z> https://github.com/spiiroin/mce/commit/25c772f300387a9c0a426f87f03cbb63654194bb | 19:34 |
T42 | <elros34> yeah, there was one device witwh crashing kernel without this | 19:41 |
T42 | <Spidey24Z> can i build mce using sfos on the phone | 19:43 |
T42 | <nephros> Aaah when I get to it I shall try this for my stalled tuba port also! | 19:44 |
T42 | <elros34> @spi | 19:45 |
T42 | <Spidey24Z> also i masked mce and run minimer still same kernel crashes | 19:45 |
T42 | <elros34> @Spidey24Z probably, I used chroot to not mess up host system but why would want to do this on device | 19:46 |
T42 | <elros34> surfaceflinger works? | 19:47 |
T42 | <Spidey24Z> don't know why lol i have chroot i'll build it (re @elros34: @Spidey24Z probably,...) | 19:47 |
T42 | <Spidey24Z> yes (re @elros34: surfaceflinger works...) | 19:47 |
T42 | <elros34> probably I suggested it to you but if not there is alternative qpa-suurfaceflinger plugin for hard to debug hwcomposer issues but it's little outdated so you would have to fix it | 19:48 |
T42 | <Spidey24Z> [1: surfaceflinger: 3546] decon: decon0 already enabled | 19:54 |
T42 | <Spidey24Z> this plugin can be installed using zypper ? (re @elros34: probably I suggested...) | 19:55 |
T42 | <elros34> that is the point, you need to build it like you build qpa-whcomposer-plugin but AFAIK it's not buildable since few releases | 19:59 |
T42 | <Spidey24Z> any ideas 🙃 | 20:02 |
T42 | <Spidey24Z> or any debugging tools | 20:03 |
T42 | <elros34> my idea is to build qpa-surfacflinger-plugin, I guess it shouldnt be very hard to make it buildable again. For debugging tools: logs and gdb but it's not that straightforward to use it with with android bits | 20:07 |
T42 | <edp_17> @elros34 : I've fixed the typo (tried KERNEL== and KERNELS==) but didn't help. I still have to manually restart ngfd to get vibra working. | 20:31 |
deathmist | @edp_17 I used to need the override files I dropped in https://github.com/sailfishos-oneplus5/droid-config-cheeseburger/commit/70b4cab back on SFOS <4 | 20:35 |
T42 | <elros34> @edp_17 it must be KERNELS== not KERNEL==. But what was the result of rule? Permison/owner was set correctly to system:input? | 20:35 |
T42 | <nephros> I have built qpa-surfaceflinger-plugin after a couple of fixes some weeks ago see if https://github.com/nephros/qt5-qpa-surfaceflinger-plugin is of any use. | 21:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!