Hi, Currently I am working on adding /dev/rtc. For now I can compile it and use `settrans` to create a device file; I can confirm that ioctl() works perfectly on the generated device file. I think it's a good chance to stop and gather some suggestions and feedback, so I sent a series of RTC patches.
The next thing I'm going to do is implementing the rtc server code, i.e rtc device driver. I have no experience of writing driver but I want to give it a try. Any document that is recommended to read for implementing rtc device driver? Best, Zhaoming Zhaoming Luo (3): Compile rtc server while compiling the Hurd rtc server rtc ioctl interface definitions Makefile | 2 ++ hurd/pioctl.defs | 34 ++++++++++++++++++ rtc/Makefile | 19 ++++++++++ rtc/main.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++ rtc/mig-mutate.h | 0 rtc/pioctl-ops.c | 17 +++++++++ rtc/rtc.h | 21 +++++++++++ 7 files changed, 187 insertions(+) create mode 100644 hurd/pioctl.defs create mode 100644 rtc/Makefile create mode 100644 rtc/main.c create mode 100644 rtc/mig-mutate.h create mode 100644 rtc/pioctl-ops.c create mode 100644 rtc/rtc.h -- 2.47.0