-
Notifications
You must be signed in to change notification settings - Fork 627
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
Cant get strandtest.py to run without root #270
Comments
See #257 |
I followed (to the best of my understanding) those instructions but was still not able to get the strandtest.py to work on spi without sudo access. I should be able to use the neopixel.py ported library correct? |
Your error appears to be with enabling SPI, rather than the normal issue with root access required for Are you still having issues? What do you see if you: |
I am having the same issue on the latest Raspbian as well. i want to be able to run this without sudo. In my case: python strandtest.py --> THIS DOESN'T WORK Here is the error i get: @Gadgetoid : This is the output when i run lsmod command: Thoughts? |
make sure you set the I haven't updated my pi in a while so it's possible something broke on the latest releases, though. |
@melzoghbi unless you've modified |
Have duplicated this for posterity over on the Python bindings: rpi-ws281x/rpi-ws281x-python#9 For all future issues/requests relating to Python please see: https://github.com/rpi-ws281x/rpi-ws281x-python/issues/ |
Hello,
I am trying to run strandtest.py without root access as a test for a latter script. I have enable spi on the rpi 3 and set the core_freq=250. I also changed LED_PIN = 10.
I receive the following error:
python strandtest.py
Can't open /dev/mem: Permission denied
Traceback (most recent call last):
File "strandtest.py", line 102, in
strip.begin()
File "build/bdist.linux-armv7l/egg/neopixel.py", line 106, in begin
RuntimeError: ws2811_init failed with code -13 (Unable to initialize SPI)
Is there something I need to change in strandtest.py?
Thanks!
The text was updated successfully, but these errors were encountered: