From: lists@fuchsschwanzdomain.de (Sven Geggus)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How is gpio_keys.ko supposed to work?
Date: Sat, 30 Mar 2013 18:41:06 +0000 (UTC) [thread overview]
Message-ID: <kj7bk2$t0q$1@ultimate100.geggus.net> (raw)
In-Reply-To: CANVwdDqwbYagJZjPu6Vdexnw0P_P2UzBu4ebxGrU_V3Ly1-FBg@mail.gmail.com
Jerry Zhang <jerry.scofield@gmail.com> wrote:
> The entry will only be created after the "Driver" probes the "Device"
> successfully. In your case, you need to be sure the corresponding
> platform_device is claimed in your board setup code.
What does claiming the device actually mean? Do I really need to
hardcode the GPIOs where buttons are connected at compile time?
This would not be a very good idea for a User configurable board like
Raspberry Pi.
I actually thought that I could configure the gpios where buttons are
connected at runtime using sysfs, depending on the actual hardware
setup in use.
Sven
--
"Das Einzige wovor wir Angst haben m?ssen ist die Angst selbst"
(Franklin D. Roosevelt)
/me is giggls at ircnet, http://sven.gegg.us/ on the Web
prev parent reply other threads:[~2013-03-30 18:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-28 16:13 How is gpio_keys.ko supposed to work? Sven Geggus
2013-03-29 17:46 ` Jerry Zhang
2013-03-30 18:41 ` Sven Geggus [this message]
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='kj7bk2$t0q$1@ultimate100.geggus.net' \
--to=lists@fuchsschwanzdomain.de \
--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).