From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Sysfs properties with libudev (for example capabilities/key)
Date: Sun, 31 Oct 2010 14:23:48 +0000 [thread overview]
Message-ID: <20101031142348.GA25411@kroah.com> (raw)
In-Reply-To: <AANLkTi=z2McbB95XxgZ5kFoojeLVOGWHfYQCtLFJfw3e@mail.gmail.com>
On Sun, Oct 31, 2010 at 07:04:30AM -0700, Laszlo Papp wrote:
> Hi,
>
> You can check the code out more in-depth in the following with the
> produced output. This is the compilation command I used for testing:
> gcc -Wall -o test -ggdb -ludev main.c.
>
> I just would like to get the real input devices.. so VID/PID: (null)
> (null) and related device node entries are undesired.
But those are "real" input devices, why do you think otherwise?
If you don't want them, then filter them out by ignoring the event
types, but note that they are needed by your system to work properly
(i.e. x.org uses them.)
So your code is working as designed, I just don't think that you
realized there are all of these input devices present :)
thanks,
greg k-h
next prev parent reply other threads:[~2010-10-31 14:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-30 21:17 Sysfs properties with libudev (for example capabilities/key) Laszlo Papp
2010-10-30 21:23 ` Laszlo Papp
2010-10-31 1:39 ` Greg KH
2010-10-31 14:04 ` Laszlo Papp
2010-10-31 14:23 ` Greg KH [this message]
2010-10-31 14:39 ` Laszlo Papp
2010-10-31 14:52 ` Laszlo Papp
2010-10-31 16:09 ` Laszlo Papp
2010-10-31 20:54 ` Greg KH
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=20101031142348.GA25411@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).