[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTimb1N3zQCBbWQAq4u4YwcLYhyXdtOWfPt00REPR@mail.gmail.com>
Date: Fri, 28 May 2010 19:07:15 +0200
From: Kay Sievers <kay.sievers@...y.org>
To: Alan Ott <alan@...nal11.us>
Cc: linux-kernel@...r.kernel.org, linux-input@...r.kernel.org
Subject: Re: [RFC] User Guide for Sysfs and libudev
On Fri, May 28, 2010 at 04:28, Alan Ott <alan@...nal11.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists