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

[BUG] PiSugar3; Read soft poweroff flag error warnings #75

Open
mitpre opened this issue Aug 16, 2022 · 0 comments
Open

[BUG] PiSugar3; Read soft poweroff flag error warnings #75

mitpre opened this issue Aug 16, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mitpre
Copy link

mitpre commented Aug 16, 2022

Environment

  • Pi hardware version: Raspberry Pi Zero W Rev 1.1
  • OS version: Raspbian GNU/Linux 11 (bullseye) (debian 11.4)
  • Application version: 1.7.1
  • PiSugar 3 firmware version: 1.2.6

The PiSugar3 board is connected to my pi zero w and is constantly charging through its USB-C port. It is running more or less normally -- apart from the same RTC problems as described in issue #74. However, I am constantly getting Read soft poweroff flag error warning in PiSugar logs (accessible through journalctl -u pisugar-server). The examples of warnings are:

  1. Aug 16 07:03:38 rolete pisugar-server[262]: [2022-08-16T05:03:38Z WARN pisugar_core::pisugar3] Read soft poweroff flag error: I/O error: Remote I/O error (os error 121)
  2. Aug 16 08:32:51 rolete pisugar-server[262]: [2022-08-16T06:32:51Z WARN pisugar_core::pisugar3] Read soft poweroff flag error: ctr2 changed during reading

The first warning is happening multiple times per hour and the second one multiple times per day. So they have a very different frequency.

Can someone explain what is the meaning behind those warnings? What should I do to prevent them?

UPDATE: There was an additional error that only occurred once so far:
3) Aug 17 10:21:23 rolete pisugar-server[262]: [2022-08-17T08:21:23Z ERROR pisugar_server] I/O error: Remote I/O error (os error 121)

What is this one about?

@mitpre mitpre added the bug Something isn't working label Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants