On Sun, Oct 14, 2018 at 4:53 AM Michael Mrozek EvilDragon@openpandora.org wrote:
On Sun, 2018-10-14 at 02:57 +0300, Grazvydas Ignotas wrote:
Hi,
- the LCD is flickering at many brightness levels (same as older
unit). It depends on lighting conditions how much it disturbs, but I can always see it and just can't stand it. There is no flickering on full brightness, and it's almost invisible on the lowest levels, but all others are unusable for me. FWIW I don't see flickering on any brightness level on my pandoras.
That's not a hardware issue, it's a software setup of the PWM. Some don't see it, but it's annoying for me as well.
The frequency is set WAY too low right now, same for the keyboard LEDs. It can be set in the pyra-mainboard-v5.0.dtsi. You can find it searching for "pwm-backlight".
It says 12000000 which is 12ms period/83Hz I suppose. Any idea how/why the current value was chosen?
- lid switch isn't working (old unit too)
Okay, this is something we need to check. Have you tried triggering the lid switch with the lid magnet or with an external one?
Just closing the lid. I don't have any magnets handy for testing.
It could be the magnet in the lid is too weak - but I had no idea how I could test the lid switch, so couldn't check that.
You can use evtest, pyra_test_inputs should also support it.