Restoring kernel module settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
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


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux