Skip to content

[Bug]: Directory Changed and workaround #227

@MateMago

Description

@MateMago

Description of the bug

Hello, I recently upgraded to octopi with octoprint 1.11.1. Since then I experieced a strange behaviour with the leds:

At the beginning all OS checks passed, but no leds were lighting up.
Solution: Although the plugin thought SPI was enabled, it wasn't and I had to manually enable it via SSH.

Then all leds were not responding to commands and torch was almost always active.
Solution: After few days of investigation I found the problem (Which is also related to the issue above):

The plugin refers to /boot/config.txt to enable SPI and core_freq_min.
Those parameters are now moved to /boot/firmware/config.txt, so the only way to make it work as of latest versions of octopi is to manually add values like those in that file.

dtoverlay=spi0-1cs,buffer_size=32768
core_freq=250
core_freq_min=250

Those ones worked fine for me, but I'm not sure this is the right way of doing it since I haven't found were the plugin modifies spi_buffer_increase and core_freq.

Steps to reproduce

No response

What happened instead?

I haven't found a way to contact you directly, so I am writing here. Hope this helps others in my situation

Plugin version

0.8.1

OctoPrint version

1.11.1

(if relevant) OctoPi version

No response

Log Files & Screenshots

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    potential bugBug reported but yet to be analysed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions