Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Random i2c outages / timeouts

Featured Replies

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.

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.