libera/#maemo/ Friday, 2022-12-16

joergsicelo: >>when you disable an engine, and if an led was turned on at that moment, it  remains on<< that seems highly plausible to me. In the end the engines only write values to the hardware registers for PWM alias LEd brightness07:50
joergsicelo: where do I find that "kernel model" you mentioned?08:02
sicelohttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/leds/leds-lp5523.c08:04
sicelomaybe i was wrong - it might not be too different from the original driver :-)08:05
* joerg just wonders how buggy the implementation of /sys/class/i2c-adapter/i2c-2/2-0032/leds:lp5523:*/trigger behavior. When used ( echo heartbeat >trigger ) it seems to kill the normal engine behavior, maybe even for *all* 9 LEDs driven by that lp5523 chip08:07
joerghmmmm08:49
sicelowhat do you have in mind09:08
joergsicelo: I tried to understand how fubar that kernel module leds-lp5523.ko actually is16:12
joergI'm probably just too long out of coding business to understand what made them consider it a good idea to implement https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/leds/leds-lp5523.c#n271 instead of simply writing map data to register addr 0x70 ENG1 MAPPING MSB  ~ 0x75 ENG3 MAPPING LSB16:16
joergsame context/fubarf: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/leds/leds-lp5523.c#n24 ~ n3116:17

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