From: Kay Sievers <kay.sievers@vrfy.org>
To: Alan Ott <alan@signal11.us>
Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org
Subject: Re: [RFC] User Guide for Sysfs and libudev
Date: Fri, 28 May 2010 19:07:15 +0200 [thread overview]
Message-ID: <AANLkTimb1N3zQCBbWQAq4u4YwcLYhyXdtOWfPt00REPR@mail.gmail.com> (raw)
In-Reply-To: <4BFF2A33.8060504@signal11.us>
On Fri, May 28, 2010 at 04:28, Alan Ott <alan@signal11.us> wrote:
> Also, would you please give me some text which describes the "online"
> and "offline" events? What types of devices do these come from? Are
> there any other types of events which are not listed?
Nothing really. They would not be added today. It's from the time
everybody added their favorite stuff to sysfs, and nobody had a real
idea in which direction the stuff was supposed to go. :)
We only need "add"/"remove" and "move" for renames or re-parenting,
and "change" when stuff changes.
The "online"/"offline" are not useful at all, and ideally should just
use "change" for their state and pass the state with variables or
sysfs files.
No new subsystem should ever use these events.
Kay
prev parent reply other threads:[~2010-05-28 17:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-24 18:08 [RFC] User Guide for Sysfs and libudev Alan Ott
2010-05-25 4:43 ` Kay Sievers
2010-05-28 2:28 ` Alan Ott
2010-05-28 17:07 ` Kay Sievers [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=AANLkTimb1N3zQCBbWQAq4u4YwcLYhyXdtOWfPt00REPR@mail.gmail.com \
--to=kay.sievers@vrfy.org \
--cc=alan@signal11.us \
--cc=linux-input@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).