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
#6
(2025-04-16, 06:36 PM)Jay_cd33 Wrote:
(2025-04-16, 05:53 PM)ukabroad Wrote: Hi Jay, many thanks for this Hack, unfortunately it doesn't want to stay in place after a reboot. I have tried 3 times and I could post screenshots that are identical to yours but the "comment out #" doesn't seem to survive a reboot so is not there when I return to line 504.
So glad it works for you though.
Cheers
Malcolm
S/Y Freya

Malcolm,
This is weird.  I powered up my test RPi5 used in the testing above and the lgpio.py line 504 # was gone.  So you are right, the fix doesn't stick.  What's really weird is I reapplied the fix and rebooted 3 times and it always stuck.  So I tried completed disconnecting power (unplugged) and when I powered up it was still there.  So I'm lost as to what sequence causes the lgpio.py library to be overwritten.  I currently testing a full power disconnect for a longer period.

I have rebooted my main boat system (with many more devices connected) many times and the fix seems to hold.  But why I don't know.

I will continue to investigate.   If nothing I'm persistent.  I might try taking away write privileges on that file or coming up with a startup script that overwrites with the fixed version on startup.  

I'll post if I have any success.

Jay
S/V Priority

Thanks for the prompt response Mate, I will stay tuned
Cheers
Malcolm
Reply


Messages In This Thread
RE: I2C service not running ...latest - by ukabroad - 2025-04-16, 06:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)