-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Pi 5 with built-in RTC throws error ioctl(4, RTC_UIE_ON, 0): Invalid argument #5793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Based on discussion in #3282 perhaps setting Testing... yes - it avoids the ioctl complaint:
|
@pelwell any thoughts? The docs do say:
|
Aside from the ugly error, does it work without UIE support? |
It works for the obvious use cases (reading the time and waking up Pi at an specified time). @by are you missing any functionality due to this? |
No, haven't found functional errors yet; as with the Pi 5, RTC became an official product feature, it would be nice to correct the ugly error. And yes, the kernel switch avoids it, and it would be nice to get it set in the 6.x kernels, similarly to #5057 , if the root cause can't be eliminated, thanks. |
Describe the bug
hwclock -v throws msg. with error
Waiting for clock tick...
ioctl(4, RTC_UIE_ON, 0): Invalid argument
Waiting in loop for time from /dev/rtc0 to change
...got clock tick
on Pi 5 like on the previous Pis despite the fact that it now has a built-in RTC, so no RTC extension board from other manufacturers.
Steps to reproduce the behaviour
Run hwclock -v on Pi 5
Device (s)
Other
System
cat /etc/rpi-issue
Raspberry Pi reference 2023-10-10
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 962bf483c8f326405794827cce8c0313fd5880a8, stage4
vcgencmd version
2023/12/14 16:43:25
Copyright (c) 2012 Broadcom
version 0f881224 (release) (embedded)
uname -a
Linux aion 6.6.5-v8-16k+ #1706 SMP PREEMPT Fri Dec 8 18:45:36 GMT 2023 aarch64 GNU/Linux
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: