I guess insmod/rmmod can do it too, to a point, if a format way is established
by which insmod knowd where the parameters are stored (and makes it available
to the module init) and the module lets rmmod know where the outgoing data
is. Maybe just another well-known symbol like the init/cleanup.
It is importanat that not only detection info is saved but also user settable
modes (from ioctl).