Linux kernel module, concept of configuration and persistent state -


i work on linux kernel loadable module , proper way configure , way load/store binary data when module loaded/unloaded. module needs read configuration data in time of loading, may change data , save them in run-time. read on many places reading/writing file not recommended , read sysfs can used such purpose. can binary configuration data stored in sysfs ? or exist more suitable solution ? can provide link example or doc can found details how load/save persistent configuration module ?

peter

maybe can use firmware interface in module. should able load binary file include settings request_firmware(..)

i think isn't required write binary file hardware...?


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

dataset - MPAndroidchart returning no chart Data available -

post - imageshack API cURL -