Re: Sending signals to user space program from kernel space

2009-01-31 Thread Sandeep K Sinha
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 wrote: > Hello Everyone, > > I have

Information about some task_t members

2009-01-31 Thread Andreas Leppert
Hello, could you give me some information about these members of the task_struct structure in sched.h? What do they mean? I have written down what I do understand ... hope you can give me some help. Kernel reading isn't that easy, there are so less comments... sleep_avg it has something to do wi

Re: How printf output messages to kernel with uclibc lib

2009-01-31 Thread Denys Vlasenko
On Saturday 31 January 2009 07:18, loody wrote: > > Dear all: > > I am porting kernel on my arm platform and I wrote a userspace > > program, hello world. > > But I cannot see the "hello world". > > > > my environment is: > > 1. uclinux.dist 2008 > > 2. and I put my source code under user

Re: kernel comile test web site ?

2009-01-31 Thread MinChan Kim
On Sat, Jan 31, 2009 at 1:12 AM, Michael Blizek wrote: > Hi! > > On 09:05 Fri 30 Jan , MinChan Kim wrote: >> Hi, all. >> >> I seems to have seen the kernel compile test result in somewhere. >> Whenever it release new kernel version, it automatically tests >> whether kernel compile successes or

Re: kernel comile test web site ?

2009-01-31 Thread MinChan Kim
On Sat, Jan 31, 2009 at 12:24 PM, Greg KH wrote: > On Fri, Jan 30, 2009 at 09:05:54AM +0900, MinChan Kim wrote: >> Hi, all. >> >> I seems to have seen the kernel compile test result in somewhere. >> Whenever it release new kernel version, it automatically tests >> whether kernel compile successes

Sending signals to user space program from kernel space

2009-01-31 Thread rishi agrawal
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 ha