-
Notifications
You must be signed in to change notification settings - Fork 100
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
Breaking change somewhere in recent Raspberry Pi OS update #101
Comments
we haven't had any changes to this repo in quite a while (other than documentation) |
It's possible, though I don't think this library uses SPI. @bluesign2k, when you say "did an upgrade", do you mean you updated the Raspberry Pi Linux environment or Adafruit-Blinka or both? |
Sorry, yes, when I said I 'did an upgrade', I meant I did a 'sudo apt upgrade', not updating the library - I wasn't referring to there being a breaking change in this library, but more that this library now seems to be incompatible with at least the latest official Raspberry Pi OS release. |
Thanks, it helps to get an idea of where to check for things to fix/recreate. You can try this page and see if it helps: https://learn.adafruit.com/adafruit-mini-pitft-135x240-color-tft-add-on-for-raspberry-pi/kernel-module-troubleshooting |
I've setup a new Pi3A+ with the latest OS image and as I'd experienced previously, this failed to work. This was kernel version I then followed the instruction in the guide that @makermelissa posted to roll back the kernel version to I also tried on an old Pi3B+ that I'd been using for something else - I upgraded everything including the kernel up to |
Ok thanks, that helps. The other issue seemed to only affect the Pi 4 as well. |
Its taken a while, but I've found the package that causing the problem, albeit not specifically why (and tbh, I'm not going to try to look into why either). I started by downloading an old OS image back from the middle of last year ( I've since tried removing this package both on a system that I broke last week when I did a full upgrade, and on a fresh image of the latest OS download, and both now work. So for now, if anyone else experience the problem, just |
@bluesign2k removing pulseaudio did the trick for me too. |
Hi, I also have a strange behavior here, on a Raspberry 3B+. I can change the colors of the 24 leds of the ring 1 time, but then they are (almost) always white. The strange part is that if I move a window quickly on the rasp (like the terminal or Thonny IDE) then the leds are updated with the correct colors. I have tried to remove pulseaudio and reboot but no change. @makermelissa I think the library uses SPI as if I disable it on the pi I got a runtime error. Here is a simple code which is supposed to switch between a blue and a red ring every 2 seconds (but does blue then white): # see https://cdn-learn.adafruit.com/downloads/pdf/neopixels-on-raspberry-pi.pdf
import board
import neopixel
from time import sleep
pixels = neopixel.NeoPixel(board.D10, 24, brightness=0.3, auto_write=False, pixel_order=neopixel.GRB);
while True:
pixels.fill((0,0,255))
pixels.show()
sleep(2)
pixels.fill((255,0,0))
pixels.show()
sleep(2) |
Thanks, I ran into exactly the same issue today. Removing Pulse Audio worked for me as well but I actually want it. I ended up using the NeoPixel SPI library as a workaround - it plays nicely with Pulse Audio. |
Removing pulseaudio didn't work for me, but completely disabling the audio on the raspberry pi did. According to the instructions on this site: https://forums.raspberrypi.com/viewtopic.php?t=260568
|
Yesterday, did an upgrade on some Raspberry Pi 3B+ that use this library to drive a newpixel ring as part of an interface application. After the upgrade, the rings stopped functioning - even the example scripts provided in the repo fail to display properly. On the off-chance that something went wrong with the upgrade, I tried a fresh image on a fresh SD card and installed only this library but got the same results.
Of the 24 neopixels in the ring. only the first 4 or 5 do anything and they tend to be flickering random colours, mainly greens, blue and sometimes white.
It's not a hardware fault as if I transfer the ring to another device that hasn't been upgraded it works perfectly.
The text was updated successfully, but these errors were encountered: