Re: Can `hwclock` access /dev/rtc after /dev/rtc is added?

2024-10-02 Thread Samuel Thibault
Hello, Zhaoming Luo, le mer. 02 oct. 2024 15:41:54 +0800, a ecrit: > However, the probing work > will only be done when the system-specific pre-defined macro `__linux__` is > defined [2]. > Does that mean `hwclock` will still not be able to access /dev/rtc after /dev/ > rtc is implemented? Yes.

Can `hwclock` access /dev/rtc after /dev/rtc is added?

2024-10-02 Thread Zhaoming Luo
Hi, I am trying to learn how to add the /dev/rtc device as it is in *Small hack entries* in https://darnassus.sceen.net/~hurd-web/contributing/. I found that `hwclock` command will try to detect /dev/rtc [1]. However, the probing work will only be done when the system-specific pre-defined mac