linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Restoring kernel input driver state on boot
@ 2011-11-28 10:20 Nuno Santos
  0 siblings, 0 replies; only message in thread
From: Nuno Santos @ 2011-11-28 10:20 UTC (permalink / raw)
  To: linux-input

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-28 10:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28 10:20 Restoring kernel input driver state on boot Nuno Santos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).