Bash Error Adding a Real Time Clock to Raspberry Pi

For RTC breakouts, etc., use the Other Products from Adafruit forum

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mengjialyu
 
Posts: 12
Joined: Mon Aug 24, 2020 6:41 pm

Bash Error Adding a Real Time Clock to Raspberry Pi

Post by mengjialyu »

Dear Community,

I have run into a problem following the tutorial https://learn.adafruit.com/adding-a-rea ... 2026484-18.

After inputting echo pcf8523 0x68 > /sys/class/i2c-adapter/i2c-1/new_device, I bumped into the error
bash: echo: write error: Device or resource busy


I have googled around and found no luck in resolving the issue. Could anyone provide some insights?

Thanks,
Mengjia

User avatar
adafruit_support_carter
 
Posts: 29157
Joined: Tue Nov 29, 2016 2:45 pm

Re: Bash Error Adding a Real Time Clock to Raspberry Pi

Post by adafruit_support_carter »

Those steps are in the section:
Raspbian Wheezy or other pre-systemd Linux
Don't run those commands. Those would be very old OS versions at this point. So you only need to focus on the steps outlined in the section above:
Raspbian Jessie (Systemd)

User avatar
mengjialyu
 
Posts: 12
Joined: Mon Aug 24, 2020 6:41 pm

Re: Bash Error Adding a Real Time Clock to Raspberry Pi

Post by mengjialyu »

Dear Adafruit,

Thank you for your suggestions. It is now working fine : )

However, the time that's shown after running

Code: Select all

date
is in BST. Is there a way for the time to be recorded in EST?

Thank you,
Mengjia

User avatar
adafruit_support_carter
 
Posts: 29157
Joined: Tue Nov 29, 2016 2:45 pm

Re: Bash Error Adding a Real Time Clock to Raspberry Pi

Post by adafruit_support_carter »

Try setting your location. You can do that via raspi-config.

User avatar
mengjialyu
 
Posts: 12
Joined: Mon Aug 24, 2020 6:41 pm

Re: Bash Error Adding a Real Time Clock to Raspberry Pi

Post by mengjialyu »

Thank you so much! I really appreciate your help!

Locked
Please be positive and constructive with your questions and comments.

Return to “Clock Kits (discontinued)”