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
Moonraker is unable to access the gpio pins on my Radxa zero or the BTT CB1.
Log Output:
2022-10-02 13:02:25,273 [gpio.py:_request_gpio()] - Unable to init gpiochip0:gpio6. Make sure the gpio is not in use by another program or exported by sysfs.
Traceback (most recent call last):
File "/home/biqu/moonraker/moonraker/components/gpio.py", line 84, in _request_gpio
chip = self._get_gpio_chip(pin_params['chip_id'])
File "/home/biqu/moonraker/moonraker/components/gpio.py", line 40, in _get_gpio_chip
chip = self.gpiod.Chip(chip_name, self.gpiod.Chip.OPEN_BY_NAME)
PermissionError: [Errno 13] Permission denied
2022-10-02 13:02:25,273 [moonraker.py:add_warning()] - Failed to load power device [power light_strip_2 ]
Error parsing option (pin) from section [power light_strip_2 ]
Client
Mainsail
Browser
Firefox
How to reproduce
Use the default CB1 or Radxa Zero images :
1.1. radxa-zero-ubuntu-focal-server-arm64-20220801-0346-mbr.img.xz
1.2. CB1_Debian11_bullseye_Klipper_kernel5.16_20220929.img
Install everything using KIUH
Add a power device to the moonraker config that uses any of the gpio pins.
What happened
Moonraker is unable to access the gpio pins on my Radxa zero or the BTT CB1.
Log Output:
2022-10-02 13:02:25,273 [gpio.py:_request_gpio()] - Unable to init gpiochip0:gpio6. Make sure the gpio is not in use by another program or exported by sysfs.
Traceback (most recent call last):
File "/home/biqu/moonraker/moonraker/components/gpio.py", line 84, in _request_gpio
chip = self._get_gpio_chip(pin_params['chip_id'])
File "/home/biqu/moonraker/moonraker/components/gpio.py", line 40, in _get_gpio_chip
chip = self.gpiod.Chip(chip_name, self.gpiod.Chip.OPEN_BY_NAME)
PermissionError: [Errno 13] Permission denied
2022-10-02 13:02:25,273 [moonraker.py:add_warning()] - Failed to load power device [power light_strip_2 ]
Error parsing option (pin) from section [power light_strip_2 ]
Client
Mainsail
Browser
Firefox
How to reproduce
1.1. radxa-zero-ubuntu-focal-server-arm64-20220801-0346-mbr.img.xz
1.2. CB1_Debian11_bullseye_Klipper_kernel5.16_20220929.img
Additional information
moonraker.log
The text was updated successfully, but these errors were encountered: