This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I2C service not running ...Work Around
#11
(2025-04-18, 10:57 AM)Jay_cd33 Wrote:
(2025-04-16, 06:41 PM)ukabroad Wrote: Thanks for the prompt response Mate, I will stay tuned
Cheers
Malcolm

Malcolm,
Could I ask you to confirm a couple things.   After making the modifications to the lgpio.py, instead of rebooting could you restart the openplotter-i2c-read service with the following command.

Code:
sudo systemctl restart openplotter-i2c-read

Then confirm that the read service is running with the Openplotter Check System.   Also confirm that Signalk is getting data from your BME688 sensor.

I have not been able to repeat the loss of the lgpio.py changes to my systems after shutdowns and reboots.  I'm thinking that maybe your changes to the lgpio.py are not being saved.  After making the changes the read service should work without rebooting.

Still investigating.
Jay
S/V Priority
Hi Jay,   After making the modifications to the lgpio.py I closed the terminal window, opened another and tried  sudo systemctl restart openplotter-i2c-read. I got zero response to that command. I tried 3 times - same. I closed that terminal window, opened new and navigated through the commands to arrive at line 504 to see that the red comment # was missing. So changed it again and saved but left the terminal window open.  tried  sudo systemctl restart openplotter-i2c-read but zero response. then closed all terminal windows - opened terminal and made modifications to lgpio and saved but left window open. opened a second terminal and repeated the process to open - at this point it stated the lgpio.py was under root modification (or words to that effect) and did I still want to open - replied Y - navigated to line 504 and no sign of red#. so obviously it is not saving before a reboot 
I'm at total newbee at this so I really do appreciate your clear precise instructions so please do not hesitate to let me know if i am making some mistakes.
Cheers Mate, really appreciate your help
Malcolm
S/Y Freya
ps What is your boat? (just curious, so no need to answer if you don't want to)
Reply


Messages In This Thread
RE: I2C service not running ...latest - by ukabroad - 2025-04-18, 04:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)