C4 rtc wakeup 동작 오류

Post Reply
hanlimce
Posts: 2
Joined: Thu Jun 03, 2021 1:31 pm
languages_spoken: english
ODROIDs: odroid-xu4, odroid-c4
Has thanked: 0
Been thanked: 0
Contact:

C4 rtc wakeup 동작 오류

Post by hanlimce »

C4 보드에 PCF8563 백업 배터리를 달아서 rtc wake up 관련 테스트를 진행하고 있습니다.

wiki에 적혀 있는데로 해서

cat /proc/driver/rtc 상태를 확인하면 alarm_IRQ : yes 로 출력되지만 poweroff 시 동작하지 않으며

sudo rtcwake -d rtc0 -s 60 -m off rtc0 event not enable 같은 문구가 나오면서 동작 하지 않고 있습니다.

rtc 관련 설정을 잘못해서 그런건가요?

oddulf
Posts: 21
Joined: Mon Nov 12, 2018 8:42 pm
languages_spoken: english, swedish
ODROIDs: C1+, XU4Q, C4, N2+
Has thanked: 5 times
Been thanked: 3 times
Contact:

Re: C4 rtc wakeup 동작 오류

Post by oddulf »

Bumping this post - I'm having exactly the same problem on the C4 with a RTC shield bought in the UK, also PCF8563. The official wiki page (https://wiki.odroid.com/odroid-c4/appli ... rtc_wakeup) says "This guide isn't working for now. Please remove this WRAP block if it works."

I need to get the rtcwake working for my application.

Any known workarounds?

Thank you,

User avatar
odroid
Site Admin
Posts: 37793
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1919 times
Been thanked: 1185 times
Contact:

Re: C4 rtc wakeup 동작 오류

Post by odroid »

@hanlimce,
증상 확인하였으며, 동작하지 않는 원인을 찾고 있습니다.

@oddulf,
We could reproduce the issue.
We are trying to find a root cause and solution.
These users thanked the author odroid for the post:
oddulf (Mon Jun 07, 2021 5:45 pm)

joshua.yang
Posts: 524
Joined: Fri Sep 22, 2017 5:54 pm
languages_spoken: Korean, English
ODROIDs: XU4, XU4Q + Cloudshell2, H2, N2
Has thanked: 37 times
Been thanked: 162 times
Contact:

Re: C4 rtc wakeup 동작 오류

Post by joshua.yang »

안녕하세요,
증상 확인하였으며 RTC wake-up이 작동할 수 있도록 위키를 업데이트했습니다. 새로운 위키 내용을 따라 다시 한 번 시도해주세요.

Hi,
I checked that was not working well so I updated the wiki page to fix the RTC wake-up. Please try again with the new wiki page.

https://wiki.odroid.com/odroid-c4/appli ... rtc_wakeup
These users thanked the author joshua.yang for the post:
oddulf (Thu Jun 10, 2021 4:42 am)

oddulf
Posts: 21
Joined: Mon Nov 12, 2018 8:42 pm
languages_spoken: english, swedish
ODROIDs: C1+, XU4Q, C4, N2+
Has thanked: 5 times
Been thanked: 3 times
Contact:

Re: C4 rtc wakeup 동작 오류

Post by oddulf »

Hi Joshua,

Many thanks for this fix! I got it working as per instructions on the updated wiki page.

The C4 seems to wait a further 20-30 seconds after the set alarm time before waking up, which is fine for our use case.

Best Wishes
Ulf
These users thanked the author oddulf for the post:
odroid (Thu Jun 10, 2021 11:01 am)

Post Reply

Return to “C4/HC4”

Who is online

Users browsing this forum: No registered users and 0 guests