linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Restoring kernel module settings
@ 2011-12-06 18:34 Nuno Santos
  0 siblings, 0 replies; only message in thread
From: Nuno Santos @ 2011-12-06 18:34 UTC (permalink / raw)
  To: linux-input

Hi,

I have developed a kernel module to act as driver for a multitouch input 
device,

It happens that the kernel module settings are setted and getted via 
binnary attributes.

I know that kernel modules can't save or read files. I need an 
alternative way of restoring a saved settings state.

Question:

Is there any way of calling a determined program when a device is 
connected to the computer?

My idea is to develop a really small application that sets the saved 
settings from the last time the device control panel interacted with the 
device.

I think someone has already suggested udev to do it. What functionality 
should I search within udev documentation? Is there any other way of 
achieving this?

Thank you in advance,

With my best regards,

Nuno

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

only message in thread, other threads:[~2011-12-06 18:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06 18:34 Restoring kernel module settings 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).