jgarff / rpi_ws281x

Userspace Raspberry Pi PWM library for WS281X LEDs
BSD 2-Clause "Simplified" License
1.76k stars 615 forks source link

Before I re-invent the wheel... #535

Open davthomaspilot opened 3 months ago

davthomaspilot commented 3 months ago

I want to avoid running my big, Qt app as root but I need to use the ws2811 library.

I've been using it for years in several projects and it works great--except now I can play with permissions (Bookworm) to avoid needing root access.

So, I thought I write some code that runs at root and accepts socket commands for ws2811_init, ws2811_fini, ws2811_render, etc.

Has anyone already done this?

hannescam commented 2 months ago

I have written an SPI only NeoPixel driver and it doesn't need root. But I don't know about this library. Just as a warning: If you want to use my library you can but it is pretty bare-bones but I will accept reasonable feature requests. And the library is pretty young (under a month) so there are surely a lot of bugs but I am happy to fix them and support your project