You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
$ sudo ./test -c
Can't open device file: No such device or addressws2811_init failed: Failed to create mailbox device
Looking into the code, it seems in mailbox.c the function mbox_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:
$ ./test --gpio 10 -c
The screen lights up in a rainbow, works wonderfully!
The text was updated successfully, but these errors were encountered:
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
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: