Hi,
Since is not possible for a kernel driver to save anything to a file I
need to know how could I achieve that using other technic.
Someone mentioned earlier in this list that I could use udev to load
settings on a kernel module.
Since my module state depends on a whole structure the best thing I can
remember to achieve this goal is someting like this:
- In user space (and since i'm always exchanging that data from and to
the kernel module within my device control panel) I could save to a
fixed place a file with that state.
- With a custom and small utility I could load (using the binnary
attributes) that state to the kernel module on it's initialization using
for that udev.
Since my understanding of udev at this point is almost null, I would
like to know if this is possible, and in what functionality of udev I
should put my effort on.
If someone could give me an expert advice about I would really
appreciate it.
Thanks in advance,
With my best regards,
Nuno Santos
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html