You can use sysfs. You can just cat the data in a file in sysfs and set a
variable in your module! The other way is to register a character driver
with open, release, ioctl operations and use ioctl interface to control your
driver.

On Thu, Apr 16, 2009 at 10:26 AM, niranjan puram <
[email protected]> wrote:

> Hello all,
>     I need to set some variables defined in a kernel driver from the
> user space. Is there a clean simple way to do that? I thought of the
> following methods: socket connection, RPC ,etc. but was not able to
> find enough documentation regarding the same. Please help me, its
> urgent.
>
> Thanks,
> Niranjan Kumar
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to [email protected]
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>


-- 
~p~r~a~s~h~a~n~t~

Reply via email to