Closed dariusgm closed 2 years ago
Hi @dariusgm - this is a very curious problem, since the same API that is used to dim (darken) the screen is used to wake it up again. Was this a once-off problem, or are you able to consistently reproduce this problem?
Maybe to help narrow down the problem:
Dimming can also be reset via the UI via the context menu on the Notification Icon (app indicator/tray icon). Does that also create an error or does it work?
Ultimately this particular problem doesn't make any sense - so I'd need some of your help to narrow down what is going on. Thanks
The laptop was running and I left the device. Then I assume it got in "sleep mode". I returned to continue working and found the streamdeck hardware was all blacked out. I killed the python process and restarted it via cli.
This got me to a error loop:
streamdeck Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Error during attach: Failed to write feature report (-1) Error during attach: Could not open HID device. Error during attach: Could not open HID device. Error during attach: Could not open HID device.
Terminating it with Ctrl+C or Ctrl+D did not work - but that seems like a different issue.
The Streamdeck-UI was like reset.
So maybe it was still blocked by the OS somehow. After disconnecting it physical and restarting the application everything returned as before with no errors.
I returned to continue working and found the streamdeck hardware was all blacked out.
OK it's not clear from your explanation exactly what state it was in. I'll describe the expected behaviour: After you resume, the device will effectively re-initialize. What this typically looks like is all the buttons briefly light up "white" and then return to the normal state (showing your pictures/text). If you leave it for your configured timeout, they will black out again. Pressing any of the streamdeck buttons, will return to normal state.
Could you repeat your test? I.e. get it in a working state - then suspend your machine - resume it and closely observe behaviour. If it doesn't behave as I describe above, please provide details. Provide any relevant console output. Thanks!
I now could find out that the blackout makes the device is still working but the icons are not present anymore. maybe its really with some power supply of the usb kvm problem. I will give hints when I have more precise data on this issue (hope soon)
power supply of the usb kvm problem OK maybe move it directly to the computer or to a different USB port. This could play a role for sure.
I would suggest in closing this. Maybe the streamdeck have some voltage check or something that could be read out to make sure its running in the required specs and give the user otherwise an appropriate warning.
Describe the bug
To Reproduce Steps to reproduce the behavior:
Expected behavior Streamdeck should wake up and show icons again. They stay dark.
Screenshots /
Operating system (please complete the following information)
installed globally via
pip install streamdeck-ui
Stream Deck Version