Re: communication between userspace and kernelspace

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

 



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 <puram.niranjan.kumar@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux