uConsole-Sleep v1.3

There is another way to recover from a situation like this: connect remotely (e. g. via SSH) and issue a reset for the whole controller:

echo fe980000.usb > /sys/bus/platform/drivers/dwc2/unbind
echo fe980000.usb > /sys/bus/platform/drivers/dwc2/bind

It would be nice if the script does that automatically once it detects a missing keyboard in lsusb output.

1 Like

The proper power supply fix requires waiting for the official Uconsole main board update. No eta…

Does using this, require any changes to the config file, or does it work as is? And is the addition permanent, and work always without needing to start it up again repeatedly?

Hello?

On startup today, it came up with a FAILED message for uconsole-sleep.

I didn’t make any changes to any config or anything, I just downloaded the .deb and installed it.

I’m interested in this topic.

Is there a simple instructions to install this? Like some terminal lines to copy and run.

This function is super. But need some clearance in using it. Thank you!

The instructions are in repo’s README:

ENV_VERSION=1.4 ./make_uconsole-sleep_package.sh
sudo dpkg -i uconsole-sleep.deb

Mind sharing the output of

journalctl -xu sleep-power-control.service --no-pager | tail  -30

?

The process' exit code is 'exited' and its exit status is 1.
May 02 11:54:30 clockworkpi systemd[1]: sleep-power-control.service: Failed with result 'exit-code'.
β–‘β–‘ Subject: Unit failed
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://www.debian.org/support
β–‘β–‘ 
β–‘β–‘ The unit sleep-power-control.service has entered the 'failed' state with result 'exit-code'.
May 02 11:54:30 clockworkpi systemd[1]: sleep-power-control.service: Scheduled restart job, restart counter is at 5.
β–‘β–‘ Subject: Automatic restarting of a unit has been scheduled
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://www.debian.org/support
β–‘β–‘ 
β–‘β–‘ Automatic restarting of the unit sleep-power-control.service has been scheduled, as the result for
β–‘β–‘ the configured Restart= setting for the unit.
May 02 11:54:30 clockworkpi systemd[1]: sleep-power-control.service: Start request repeated too quickly.
May 02 11:54:30 clockworkpi systemd[1]: sleep-power-control.service: Failed with result 'exit-code'.
β–‘β–‘ Subject: Unit failed
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://www.debian.org/support
β–‘β–‘ 
β–‘β–‘ The unit sleep-power-control.service has entered the 'failed' state with result 'exit-code'.
May 02 11:54:30 clockworkpi systemd[1]: Failed to start sleep-power-control.service - Sleep Power Control Based on Display and Sleep State.
β–‘β–‘ Subject: A start job for unit sleep-power-control.service has failed
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://www.debian.org/support
β–‘β–‘ 
β–‘β–‘ A start job for unit sleep-power-control.service has finished with a failure.
β–‘β–‘ 
β–‘β–‘ The job identifier is 2147 and the job result is failed.

@Astrox pinged you a DM. Will share the solution once identified and resolved.