Hello I would like to upload a new Linux module for access to the Real Time Clock (RTC) driver using ioctl calls.
I use it for the wake-up alarm than can power on the computer over night for maintenance tasks. https://github.com/terminatorul/Linux-RTC-Ioctl As I am by no means an expert on Linux drivers, I am thinking I need a better name, to not take over the Linux::RTC namespace directly, maybe use Linux::Device::RTC::Ioctl instead. I am using the "::Ioctl" part because there are other interfaces to the RTC driver: sysfs and procfs, and maybe some day they can be implemented as well, even allow the programer to choose one of them with: import Linux::Device::RTC qw(ioctl); Since most of the functionality is only available when the RTC hardware (a little chip on the motherboard powered by a coin-sized battery) supports it, I am facing the question of allowing or not the module tests to pass if the ioctl requests fail. If I allow the ioctls to fail, there is not much testing left to be done. Also tests require root access by default, regular users will not actually run the ioctl tests when installing from CPAN. P.S. Thiis would be my first module to upload.