mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pramod P K <pra.engr@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: how test keypad driver in 2.6.10
Date: Tue, 14 Feb 2006 10:51:11 +0530	[thread overview]
Message-ID: <417f1b740602132121q3d9c19a8r6d5c3d8b042991ac@mail.gmail.com> (raw)

Hi,
I need to test a keypad driver in 2.6.10. For that, to write a simple
application to read the device file and write it to display, dont I
need node to be in "/dev " ?.  But I agree, in 2.6, concept has been
changed. When I do

# cat /proc/bus/input/devices

I get

I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="KBD"
P: Phys=
H: Handlers=kbd
B: EV=3
B: KEY=800 1681 0 38a14001 50004ffc

Ive gone through "Using the Input Subsystem", By Brad Hards, published
in Linux Journal. link: http://www.linuxjournal.com/article/6429
How to use Handlers ??

dev fs entry is not created. But sys fs entry
/sys/devices/platform/keypad/driver/keypad/driver/keypad/..... goes
indefinitely. same is with
/sys/bus/platform/devices/keypad/driver/keypad/driver/..........

but couldnt find how to get a way to access kbd from user space.
Can any one have example ??

Please anyone, help me.
regards,
--pramod

                 reply	other threads:[~2006-02-14  5:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=417f1b740602132121q3d9c19a8r6d5c3d8b042991ac@mail.gmail.com \
    --to=pra.engr@gmail.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®