On Tue, Feb 3, 2009 at 6:59 AM, Pei Lin <[email protected]> wrote:
> why not use copy_from_user and copy_to_user?
>

DIdn't understand what you meant, but the question is regarding a
signal not data?
Am I missing something ???

> 2009/2/1 Sandeep K Sinha <[email protected]>:
>> Write a daemon in userspace which runs in background and continuously
>> send ioctl's to your driver and gets the value of i.
>> If the value of i becomes even, you can write your desired code.
>>
>> Is this what you wanted ?
>>
>> On Sat, Jan 31, 2009 at 2:53 PM, rishi agrawal <[email protected]> wrote:
>>> Hello Everyone,
>>>
>>> I have a char device which when gets ioctl  case 'a' starts a for loop with
>>> index ' i '.
>>>
>>> I want to send the value of index ' i ' to user space whenever ' i ' is
>>> even.
>>>
>>> I want some thing like the kernel space code of char device should send a
>>> variable and also a 'signal' that it has send a value.
>>>
>>> How can it be done ?
>>>
>>> Its something like Pipes
>>>
>>> --
>>> Regards,
>>> Rishi B. Agrawal
>>>
>>>
>>
>>
>>
>> --
>> Regards,
>> Sandeep.
>>
>>
>>
>>
>>
>>
>> "To learn is to change. Education is a process that changes the learner."
>>
>> --
>> To unsubscribe from this list: send an email with
>> "unsubscribe kernelnewbies" to [email protected]
>> Please read the FAQ at http://kernelnewbies.org/FAQ
>>
>>
>



-- 
Regards,
Sandeep.





        
"To learn is to change. Education is a process that changes the learner."

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to