On Mo, 2018-10-15 at 01:26 +0300, Grazvydas Ignotas wrote:
Hi,
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?
https://patchwork.kernel.org/patch/9313259/
Matthijs complained about that as well and Nikolaus doesn't see the flickering (I know not everyone does) :)
Matthijs already looked it up back then and it seems that usually, 175Hz is used.
- 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.
Okay, that might be the reason. Well, the first prototype didn't even have a magnet installed - and for the second one, I bought a few that fit well as a test, but there are stronger ones available as well.
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.
Ah, great, you added that. Thanks :)