Skip to content
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

Unable to start ledcontrol #56

Open
iamashwin99 opened this issue Nov 21, 2023 · 3 comments
Open

Unable to start ledcontrol #56

iamashwin99 opened this issue Nov 21, 2023 · 3 comments

Comments

@iamashwin99
Copy link

My installation from the master branch seems to have gone through (nothing to show otherwise) , however when I run the program I get the following error:

$ sudo ledcontrol --port 80 --led_count 200
Using default linear pixel mapping (200 LEDs)
Can't open device file
: No such device or address
Traceback (most recent call last):
  File "/usr/local/bin/ledcontrol", line 33, in <module>
    sys.exit(load_entry_point('led-control', 'console_scripts', 'ledcontrol')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lights/src/led-control/ledcontrol/__init__.py", line 43, in main
    app = create_app(args.led_count,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lights/src/led-control/ledcontrol/app.py", line 47, in create_app
    leds = LEDController(led_count,
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lights/src/led-control/ledcontrol/ledcontroller.py", line 90, in __init__
    raise RuntimeError('ws2811_init failed with code {0} ({1})'.format(resp, str_resp))
RuntimeError: ws2811_init failed with code -9 (Failed to create mailbox device)

Does anyone one have any idea what might be going wrong

@jackw01
Copy link
Owner

jackw01 commented Nov 22, 2023

What platform are you on?

@iamashwin99
Copy link
Author

Raspberry Pi 4B with Debian 11

@jackw01
Copy link
Owner

jackw01 commented Nov 22, 2023

Please search for your error message in the issues at https://github.com/jgarff/rpi_ws281x or report this over there - it looks like it may take some effort to get this library to work on non-Raspbian operating systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants