HowtoMatrix

Lot of HOWTOs

January 8th, 2011

Reading Files From The Linux Kernel Space (Module/Driver) (Fedora 14)

Fedora, Kernel, by suvi.

New tutorial added to HowtoMatrix database.
Reading Files From The Linux Kernel Space (Module/Driver) (Fedora 14)

Reading Files From The Linux Kernel Space (Module/Driver) (Fedora
14)

It seems like operations that
communicate with userspace are really discouraged. And I am not
arguing with that. Although it doesn’t mean that they cannot be
accomplished. A driver loads configuration that could be stored only
on HDD. When MS Windows XP boots up it remembers that I have turned
Bluetooth off so it is not powered on, unlike even the latest Linux
(Fedora 14 at the moment of writing) – such functionality in many
drivers was not implemented. When developer uses procfs or
character devices there should be another software or script in boot
sequence that is actually sending information from a file to
particular device. After some time looking over the
internet I have managed to write such module that reads a file.

Link to the original site

Back Top

Leave a Reply

Your email address will not be published. Required fields are marked *


*

Featuring YD Feedwordpress Content Filter Plugin