kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: jeshkumar555@gmail.com (jeshwanth Kumar N K)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Re: Gpio interrupt shall pass the signal to application
Date: Sat, 06 Oct 2012 23:16:32 +0530	[thread overview]
Message-ID: <50706e6f.e758420a.5806.ffffd261@mx.google.com> (raw)

Actually what I am doing is, I have 3 inputs to beaglebone from  BLDC motor hall sensor. If there is any change in any of 3 inputs, the kernel module has to send signal to my beaglebone. From the interrupt my application reads the input from sysfs and pass the next sequence to pwm. PWM I am using userspace only. 
So is my design right for handling fast input change, I mean 50 micro seconds ? Any suggestion ? I am new to device driver concept, please suggest.
Thanks :)

Sent from my HTC

----- Reply message -----
From: "Jonathan Neusch?fer" <j.neuschaefer@gmx.net>
Date: Sat, Oct 6, 2012 10:29 pm
Subject: Gpio interrupt shall pass the signal to application
To: "jeshwanth Kumar N K" <jeshkumar555@gmail.com>
Cc: "kernelnewbies" <kernelnewbies@kernelnewbies.org>


On Sat, Oct 06, 2012 at 01:50:55PM +0530, jeshwanth Kumar N K wrote:
> Hello All,
> 
> I am writing a kernel module that shall pass the signal to application running in user space. So which signal i should use? And how to achieve this? Thank you.

What kind of information need to be transmitted from your device to the
application?


Jonathan Neusch?fer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121006/bf6bba1b/attachment.html 

             reply	other threads:[~2012-10-06 17:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-06 17:46 jeshwanth Kumar N K [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-10-06 12:14 Gpio interrupt shall pass the signal to application jeshwanth Kumar N K
2012-10-06 12:26 ` Fabio Pozzi
2012-10-06  8:20 jeshwanth Kumar N K
2012-10-06  8:59 ` Fabio Pozzi
2012-10-06 12:45 ` devendra.aaru
2012-10-06 16:59 ` Jonathan Neuschäfer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50706e6f.e758420a.5806.ffffd261@mx.google.com \
    --to=jeshkumar555@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).