Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Bash Error Adding a Real Time Clock to Raspberry Pi
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Bash Error Adding a Real Time Clock to Raspberry Pi

by mengjialyu on Tue Aug 25, 2020 5:18 pm

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

mengjialyu
 
Posts: 5
Joined: Mon Aug 24, 2020 6:41 pm

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

by adafruit_support_carter on Tue Aug 25, 2020 6:02 pm

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)

adafruit_support_carter
 
Posts: 16833
Joined: Tue Nov 29, 2016 2:45 pm

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

by mengjialyu on Wed Aug 26, 2020 10:19 am

Dear Adafruit,

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

However, the time that's shown after running
Code: Select all | TOGGLE FULL SIZE
date
is in BST. Is there a way for the time to be recorded in EST?

Thank you,
Mengjia

mengjialyu
 
Posts: 5
Joined: Mon Aug 24, 2020 6:41 pm

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

by adafruit_support_carter on Wed Aug 26, 2020 10:58 am

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

adafruit_support_carter
 
Posts: 16833
Joined: Tue Nov 29, 2016 2:45 pm

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

by mengjialyu on Wed Aug 26, 2020 7:13 pm

Thank you so much! I really appreciate your help!

mengjialyu
 
Posts: 5
Joined: Mon Aug 24, 2020 6:41 pm

Please be positive and constructive with your questions and comments.