Jump to content

Recommended Posts

Posted

Hi there,

 

I have a little problem with my i2c-screen on the Helios4.

 

It was setup according to the Kobol-Wiki and was working right from the start. However after running for some time (in this example it took around 6 hours) the screen is black and empty.

 

Once I SSH back into the helios and restart the systemd sys-oled.service, it works again for some time...

 

"journalctl -u sys-oled.service" gives the following:

Sep 13 10:18:38 helios4 systemd[1]: Started System Starting on OLED Display.
Sep 13 16:46:01 helios4 python3[23009]: Traceback (most recent call last):
Sep 13 16:46:01 helios4 python3[23009]:   File "/usr/local/bin/sys-oled", line 158, in <module>
Sep 13 16:46:01 helios4 python3[23009]:     main()
Sep 13 16:46:01 helios4 python3[23009]:   File "/usr/local/bin/sys-oled", line 148, in main
Sep 13 16:46:01 helios4 python3[23009]:     display_info(device)
Sep 13 16:46:01 helios4 python3[23009]:   File "/usr/local/bin/sys-oled", line 130, in display_info
Sep 13 16:46:01 helios4 python3[23009]:     draw.text((0, 27), network(net_name), font=font, fill="white")
Sep 13 16:46:01 helios4 python3[23009]:   File "/usr/local/lib/python3.7/dist-packages/luma/core/render.py", line 43, in __exit__
Sep 13 16:46:01 helios4 python3[23009]:     self.device.display(self.image)
Sep 13 16:46:01 helios4 python3[23009]:   File "/usr/local/lib/python3.7/dist-packages/luma/oled/device/__init__.py", line 114, in display
Sep 13 16:46:01 helios4 python3[23009]:     self.command(set_page_address, 0x02, 0x10)
Sep 13 16:46:01 helios4 python3[23009]:   File "/usr/local/lib/python3.7/dist-packages/luma/core/device.py", line 48, in command
Sep 13 16:46:01 helios4 python3[23009]:     self._serial_interface.command(*cmd)
Sep 13 16:46:01 helios4 python3[23009]:   File "/usr/local/lib/python3.7/dist-packages/luma/core/interface/serial.py", line 91, in command
Sep 13 16:46:01 helios4 python3[23009]:     list(cmd))
Sep 13 16:46:01 helios4 python3[23009]:   File "/usr/local/lib/python3.7/dist-packages/smbus2/smbus2.py", line 643, in write_i2c_block_data
Sep 13 16:46:01 helios4 python3[23009]:     ioctl(self.fd, I2C_SMBUS, msg)
Sep 13 16:46:01 helios4 python3[23009]: TimeoutError: [Errno 110] Connection timed out
Sep 13 16:46:01 helios4 systemd[1]: sys-oled.service: Main process exited, code=exited, status=1/FAILURE
Sep 13 16:46:01 helios4 systemd[1]: sys-oled.service: Failed with result 'exit-code'.

 

Any hint / idea is highly appreciated.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines