I have a i2c RTC (rtc-pcf8563) that runs great, but I don't always have it plugged in; is there a way to test to see if the RTC is plugged in and, if not, start fake-hwclock or will I have to dpkg purge it in order to use the RTC?

1 Answer 1


sure, if the RTC device is not on the i2C bus, for example. You could create a script that checks for the RTC i2c address, if not found fake clock should be enabled/started.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.