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

OctoDash automatically enables usb hub power #1642

Closed
markhaehnel opened this issue Apr 2, 2021 · 1 comment
Closed

OctoDash automatically enables usb hub power #1642

markhaehnel opened this issue Apr 2, 2021 · 1 comment
Assignees
Labels
support Something isn't working with the users setup

Comments

@markhaehnel
Copy link

Describe the bug
I use uhubctl to disable power on the internal USB hub of my Raspberry Pi 3B, so that my Ender's board isn't powered from the Raspberry Pi if the PSU of the printer is off.
That worked like a charm with stock OctoPrint. After installing OctoDash, the USB ports get always get power back enabled when OctoDash is running.

The commands i use to control usb power:
uhubctl -a on
uhubctl -a off

To Reproduce
Steps to reproduce the behavior:

  1. Run uhubctl -a off to disable usb power
  2. OctoPrint automatically re-enables (powers on) the usb ports.

Expected behavior
After running uhubctl -a off the usb power should stay off.

Screenshots

General Information:

  • Raspberry Pi 3B
  • OctoPrint Version 1.5.3
  • OctoPi Version 0.17.0
  • OctoDash Version 2.1.2

Additional context
Maybe irrelevat but for better understanding the use case:
I turn on/off my printer via a smart power plug. When the plug turns on or off my smart home system runs the uhubctl -a on or uhubctl -a off command to disable the Raspberry Pi's USB power, so that the board and the printer display doesnt get power from the Pi and everything is turned off. (Except the Pi itself, of course)
If USB power on the Pi is on and the printer PSU is off the screen shows cryptic stuff and the printer board boots half-way and that some state i want to eliminate.

@markhaehnel markhaehnel added the bug Something isn't working label Apr 2, 2021
@markhaehnel
Copy link
Author

I found out that the problem wasn't the fault of OctoDash. It was a wireless keyboard receiver plugged in to the USB port that somehow did this. Unplugged it and USB power off works again.

I'm closing this now.

@UnchartedBull UnchartedBull added support Something isn't working with the users setup and removed bug Something isn't working labels Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Something isn't working with the users setup
Projects
None yet
Development

No branches or pull requests

2 participants