Skip to content

Waveshare UPS - I'm getting OSError: [Errno 121] Remote I/O error #1

Description

@teospl

Hello,

at first I want to say the project looks very nice and huge thank you for your work!
I was able to run it without UPS options, but I've just got a UPS and when I try to run the original main.py I get:

Hi! Display routine has started!
Traceback (most recent call last):
File "/root/rpi_gui/main.py", line 1172, in
PowerOnReset(bus)
File "/root/rpi_gui/main.py", line 179, in PowerOnReset
bus.write_word_data(address, 0xfe, 0x0054)
OSError: [Errno 121] Remote I/O error

I have a Waveshare UPS HAT For Raspberry Pi Zero
do you have any idea how can I deal with it? It's probably about the communication ports differencies but how can I find the mapping for my ups?

Metadata

Metadata

Assignees

No one assigned

    Labels

    TODOmaybe in future

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions