-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Direct NeoPixel don't work with DMA 5 on Rasp 3B #142
Comments
To provide another data point, had the same issue, edited
Also on a Raspberry Pi 3. Edit: For me, in order to use sudo without entering the password I had to edit the sudoers:
Maybe something for the docs? |
@gordonturner You might get away removing sudo from from the advanced sections of the plugin and giving pi user access to gpio, but I don't know... @hprotzek For now as a work around manually update the DMA from 5 to 10. I'll make it configurable on a patch. |
@vitormhenrique tried a couple of time to set the permissions (please see below) but none of them seemed to work. I would of course prefer not to use sudo if possible :-) If there is something I am missing, please let me know. Attempt 1
Attempt 2Open up /dev/mem to gpio group
|
Added on the new release update and test it out... |
for documentation purposes: dma is set on the advanced section of the plugin, if empty it will use 10 as default. |
Thanks @vitormhenrique! I will check it out when I do my Octoprint updates. |
The default setting in
neopixel_direct.py
with DMA 5 doesn't work on Raspberry Pi 3. Test with thestrandtest.py
(default DMA 10) of the rpi_ws281x library were successful.Also there seem to be an issue with DMA 5: jgarff/rpi_ws281x#224
Can you make the DMA channel configurable? or change the default to 10?
The text was updated successfully, but these errors were encountered: