Hi,
I am new at kernel programming. I have written a driver for a custom device,
running on arm board. It works well (for last few months).
I happen to look at kernel logs and I seen,
[231250.894334] [ cut here ]
[231250.899146] WARNING: at kernel/workqueue.c:1953
Hi,
I want a user process to be notified on device wakeup so that I can print
some related information.
Which framework to use for this?(events, .. ??)
One idea I get is to log the info into debugfs and poll(implement my
poll) on it for data. This is my last option.
Are there any better ways?
On 2014-10-08 12:43:58 (+0530), Sagar Padhye sgr.m@gmail.com wrote:
I am new at kernel programming. I have written a driver for a custom
device, running on arm board. It works well (for last few months). I
happen to look at kernel logs and I seen,
[231250.899146] WARNING: at
On Wed, Oct 08, 2014 at 11:33:57AM +0200, Kristof Provost wrote:
On 2014-10-08 12:43:58 (+0530), Sagar Padhye sgr.m@gmail.com wrote:
I am new at kernel programming. I have written a driver for a custom
device, running on arm board. It works well (for last few months). I
happen to look
On Wed, Oct 08, 2014 at 04:39:17PM +0900, manty kuma wrote:
Hi,
I want a user process to be notified on device wakeup so that I can print some
related information.
Really? My device can wakeup thousands of times a second, what are
you going to do with that type of information?
Which
Wayback when I was working on some project to wake up userspace program for
every rising edge in GPIO pin (hall sensor), I use to send signal to the
PID from kernel, before that userspace has to register its PID with kernel
module. Max interrupts I have tested is some 100 times per second I.e. 100
On 2014-10-08 21:14:43 (+0530), Jeshwanth Kumar N K jeshkumar...@gmail.com
wrote:
Wayback when I was working on some project to wake up userspace program for
every rising edge in GPIO pin (hall sensor), I use to send signal to the
PID from kernel, before that userspace has to register its PID
On Wed, Oct 08, 2014 at 05:57:50PM +0200, Kristof Provost wrote:
On 2014-10-08 21:14:43 (+0530), Jeshwanth Kumar N K jeshkumar...@gmail.com
wrote:
Wayback when I was working on some project to wake up userspace program for
every rising edge in GPIO pin (hall sensor), I use to send signal to
Greg, then what will you suggest for my case? I mean any alternative ?
Thanks
On Wed, Oct 8, 2014 at 9:55 PM, Greg Kroah-Hartman g...@kroah.com wrote:
On Wed, Oct 08, 2014 at 05:57:50PM +0200, Kristof Provost wrote:
On 2014-10-08 21:14:43 (+0530), Jeshwanth Kumar N K
jeshkumar...@gmail.com
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
On Wed, Oct 08, 2014 at 10:01:43PM +0530, Jeshwanth Kumar N K wrote:
Greg, then what will you suggest for my case? I mean any alternative ?
What case? What problem are you trying to solve?
greg
On Wed, Oct 8, 2014 at 10:08 PM, Greg Kroah-Hartman g...@kroah.com wrote:
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
On Wed, Oct 08, 2014 at 10:01:43PM +0530, Jeshwanth Kumar N K wrote:
Greg, then what will you suggest for my case? I
On Wed, Oct 08, 2014 at 10:23:32PM +0530, Jeshwanth Kumar N K wrote:
My case was: I have a hall sensor connected to Beaglebone black, And Userspace
needed a wakeup once the interrupt occur (example: every rising edge of GPIO).
Before that, the program will register (ioctl) the User space task
On Wed, Oct 8, 2014 at 11:02 PM, Greg Kroah-Hartman g...@kroah.com wrote:
On Wed, Oct 08, 2014 at 10:23:32PM +0530, Jeshwanth Kumar N K wrote:
My case was: I have a hall sensor connected to Beaglebone black, And
Userspace
needed a wakeup once the interrupt occur (example: every rising edge
2014-10-08 0:39 GMT-07:00 manty kuma mantyk...@gmail.com:
Hi,
I want a user process to be notified on device wakeup so that I can print
some related information.
Which framework to use for this?(events, .. ??)
You can use netlink and uevent to do this job.
But just as Greg has pointed
Hello,
What should be the approximate rate of entering and exit retention
mode in cpuide ?
Thanks
Ran
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi All,
Thank you for the replies. I understand that I can use netlink sockets.
Also, i have gone through various other possible ways :
http://people.ee.ethz.ch/~arkeller/linux/kernel_user_space_howto.html
I am looking for a simpler solution which uses existing information of sys
entries. That
16 matches
Mail list logo