Daniel
Daniel
Just bumped into this, and surprised it doesn't work with lazy.js... :/
After digging around, apparently H264 encoding 1280p can cause voltage dips? On the kodi forums saw a reccomendation to add over_voltage=2 to the boot/config.txt file, and maybe just drop the...
I have noticed that once my Rpi 4 with klipper starts printing, the camera invariably stops working.
> After digging around, apparently H264 encoding 1280p can cause voltage dips? On the kodi forums saw a reccomendation to add over_voltage=2 to the boot/config.txt file, and maybe just drop...
@foosel Please check out my comments. The tweaks here have fixed the camera issue for me.
You were probably forgetting to handle SYN_DROPPED properly. The kernel will inject one if the buffer is overflowed.
That mapping is going to depend per-keyboard.
Need this for my use case. Will see if I can get PR up.
Could also call it "read_until_deadline", since we expect the timeout to occur, don't return the timeout error case.
One tricky bit is avoiding skipping/dropping bytes because of interrupting the read, etc. Read a small buffer in a loop, document the tolerance / deadline behavior, etc.