-
Notifications
You must be signed in to change notification settings - Fork 626
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
Can't use PWM on Ubuntu 21.04 #460
Comments
leaving mostly for prosperity, thank you to the contributors for making this fine library 👌 |
Just another headsup. I also ran into the mailbox issue on my B Rev. 2 in Debian 10, but was additionally unable to get SPI working. It appears the SPI driver doesn't load properly, despite configuring it in config.txt. raspberrypi/linux#526 |
|
Here I am using Raspberry Pi 4 with an image from https://raspi.debian.net/tested-images/ Devices However I tried WiringPi/examples/pwm.c and it works. Is there another way to control PWM? |
I'm getting the same error message (Python exception added because I'm using rpi-ws281x-python) after switching from RPi kernel to mainline:
Is there any supported way of running rpi-ws281x with a mainline kernel, or a recommended alternative? I noticed the |
I tried using the test application with the default GPIO 18 (PWM0) on my Raspbery Pi 3b, running Ubuntu 21.04.
However my LED strip stays off, and this is the console output:
Looking into the code, it seems in
mailbox.c
the functionmbox_open
tries to open a device called/dev/vcio
.Sadly this doesn't exist on Ubuntu 21.04.
$ ls /dev/vcio ls: cannot access '/dev/vcio': No such file or directory
The backup mechanism to create a node in
/tmp/
also clearly fails, but this is beyond my understanding 🤷My fix:
In another issue I saw the recommendation to use SPI, on GPIO 10 instead.
Trying that:
The screen lights up in a rainbow, works wonderfully!
The text was updated successfully, but these errors were encountered: