From: matthias.bgg@googlemail.com (Matthias Brugger)
To: kernelnewbies@lists.kernelnewbies.org
Subject:
Date: Mon, 15 Oct 2012 12:19:18 +0200 [thread overview]
Message-ID: <507BE326.3030505@gmail.com> (raw)
In-Reply-To: <CAKzXvN9Y4AXPARKA+937j=kgK_dM6MUVjgnkAQS7Q3nkCkFKVQ@mail.gmail.com>
Hi,
On 10/15/2012 11:24 AM, Niroj Pokhrel wrote:
> Hi,
> I'm new to linux and kernel . I'm ongoing with the linux device drivers.
> I've followed the the book LDD but i'm lost about how to call my
> driver's specific method from the user space.
> Eg: if have developed a character device and inserted the module then
> how can i make sure that when I read or write that it implement the
> functions via the methods i have implemented in my module.
the most easy way would be to put some printk output in your read/write
functions of your driver. So with cat/echo from userspace you should be
able to verify your implementation.
Regards,
Matthias
>
> --
> Niroj Pokhrel
> NIT Jamshedpur,
> B.Tech,Electronics and Communication
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
next prev parent reply other threads:[~2012-10-15 10:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-15 9:24 No subject Niroj Pokhrel
2012-10-15 10:19 ` Matthias Brugger [this message]
2012-10-15 10:53 ` Niroj Pokhrel
2012-10-15 11:12 ` Kumar amit mehta
2012-10-15 11:20 ` Javier Martinez Canillas
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=507BE326.3030505@gmail.com \
--to=matthias.bgg@googlemail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.