Sunday, 2024-09-22

*** ggabriel is now known as Guest416801:10
rinigusmal: thanks for the pointer!04:42
*** ggabriel is now known as Guest422716:38
*** ggabriel is now known as Guest424319:24
T42<edp_17> mal, @elros34 : /etc/mce/60-rgb.ini: https://paste.ubuntu.com/p/6tRzxZ5K9X/21:04
T42<edp_17> mce magic command: https://paste.ubuntu.com/p/y5BFKmg7vN/21:04
T42<edp_17> symptom: when testing with csd, white led is blinking, but then when red/green & blue should be on, only white is on. When exiting the test, led turns to yellow and stays yellow and constantly on until reboot.21:06
T42<edp_17> Okay, I've fixed it. :) I had to add the "BlinkFile=-" line into /etc/mce/60-rgb.ini21:10
T42<edp_17> Now all three LEDs do work as expected.21:10
T42<edp_17> Now only the blur main camera is the problem.21:16
T42<elros34> did you patch the led delay/blink methods in kernel?21:19
T42<edp_17> No, I did not. (Forgot)21:21
T42<edp_17> I just tried to replicate the reboot you described. I did: echo 0 > /sys/class/leds/led_r/delay_on21:23
T42<edp_17> then cat /sys/class/leds/led_w/brightness21:23
T42<edp_17> I got an error message: cat: can't open '/sys/class/leds/led_w/brightness': Permission denied21:23
T42<edp_17> However, I did all this as root (devel-su)21:24
T42<edp_17> So, I guess I don't need that patch, do I?21:24
T42<elros34> don't you have any errors in dmesg? Which kernel sources do you use?21:24
T42<edp_17> Haven't checked dmesg. I use this kernel: https://github.com/edp17/android_kernel_samsung_exynos5433/tree/lineage-17.1-treltexx21:28
T42<edp_17> I've checked and those lines you modified are there in those modules. (I mean I do have the original ones.)21:28
T42<edp_17> I am not sure why I get permission denied when trying to cat /sys/class/leds/led_w/blink or anything in /sys/class/leds/led_w/21:30
T42<elros34> try other colors, not white21:31
T42<edp_17> Do you mean, check whether they issue error into dmesg when input a value into them?21:32
T42<elros34> I mean try blue one: cat /sys/class/leds/led_b/brightness instead  white led_w. not working blink file suggest that you need this patch but I do not get why you don't have any fatal issues21:35
T42<edp_17> Here: (scroll to the bottom, you'll see when I issued the command you suggested) https://paste.ubuntu.com/p/zhxBKxGpS3/21:37
T42<elros34> I am not sure, drivers are slightly different but: problem with blink, powering off device... for me this source code is wrong: led_classdev_register uses led_classdev but then led_blink_store uses max778443_rgb struct instead21:55
T42<edp_17> Later I'll apply those into my kernel to see what difference does it make, but now I'd like to fix camera.21:57
T42<edp_17> So far I tried two different droidmedia versions (0.20230605.1 and 10.20240322.0) but the main camera only have a blur image with both. No crash and seemingly all onscreen settings do work in camera app, just the view is not clear. (Front facing camera does work well.)21:59
T42<edp_17> It looks like there is no focus.22:01
T42<edp_17> Could be that a config file is wrong and that's why main camera isn't focused? Here is logcat: https://paste.ubuntu.com/p/d6pmcsVshR/22:13
T42<elros34> maybe it's related to gst-droid?22:14
T42<edp_17> How should I check?22:15
T42<edp_17> Hmm, there is no gst-droid package installed on device and "zypper se -s gst-droid" gives: No matching items found.22:16
T42<elros34> name is gstreamer-droid22:16
T42<elros34> or eve gstreamer1.0-droid22:17
T42<edp_17> Yeah, that's it: https://paste.ubuntu.com/p/fyX2JD2hVH/22:18
T42<edp_17> and droidmedia: https://paste.ubuntu.com/p/8MRQRvKQRg/22:19
T42<edp_17> Seems the correct packages are installed.22:19
T42<edp_17> Version 0.20240322.0-1 of both22:19

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