From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Karl Dahlke <eklhad@comcast.net>
Cc: linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>,
Jan Engelhardt <jengelh@computergmbh.de>,
Randy Dunlap <randy.dunlap@oracle.com>,
Valdis.Kletnieks@vt.edu
Subject: Re: adapter, what's in a name
Date: Wed, 20 Feb 2008 10:38:58 +0100 [thread overview]
Message-ID: <47BBF532.4030704@s5r6.in-berlin.de> (raw)
In-Reply-To: <20080119181606.eklhad@comcast.net>
Karl Dahlke wrote:
> The longer I stay on this list, the more I will learn.
> But it's high volume, so I may not be able to stay for long.
Because of the high volume at this list, it is essential that
- you keep everyone who posted in a tread in the Cc: list of your
replies, (that way it is possible to discuss on LKML even with
people who are not subscribed; but more importantly, people who
take part in a discussion are less likely to miss replies),
- you actually reply rather than start new threads all the time.
So, as Randy already asked you, please use reply-to-all when continuing
this discussion. That way (and with other measures like good subjects,
or respectively keeping the subject in replies if applicable) the list
volume becomes easily manageable.
> Drivers and modules designed to make linux more accessible
> could be placed in drivers/accessibility in the source tree.
> It's just a suggestion.
> If there is a better word for this concept, please let me know.
>
> And I finally understand what you are trying to say about /proc.
> Processes, and perhaps memory and raid by extension,
> but not everything under the planet.
> Would it be better for accessibility drivers to create files through sysfs, e.g.
> /sys/accessibility/jupiter/synth
> Naturally the jupiter subtree would appear when that module was loaded,
> and disappear when it was removed.
Aren't those drivers ones for
- input devices,
- display devices (in a more general sense than visual displays, i.e.
also including audible and tactile displays)?
Besides, if you had for example an USB device of that type, the most
natural place for its sources would be somewhere beneath drivers/usb/.
About the userspace interfaces of such drivers:
- As was noted, /proc is generally not for userspace ABIs except to
expose properties of processes and a few selected other core properties
of the kernel.
- /sys is for userspace ABIs which specifically pertain to properties
of kernel objects, notably properties of the kernel representations of
devices and of kernel modules. Have a look into /sys/devices, /sys/bus,
and /sys/modules to get an idea. Note, a lot of what is exposed in /sys
does not constitute stable long-time supported ABIs; see
Documentation/sysfs-rules.txt.
- There are other types of ABIs for I/O (character device files, block
device files), message-based(?) I/O (netlink), configuration (configfs),
and more.
I have no idea what kind of communication with userspace the various
accessibility related drivers maintain.
--
Stefan Richter
-=====-==--- --=- =-=--
http://arcgraph.de/sr/
next prev parent reply other threads:[~2008-02-20 9:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 23:16 Karl Dahlke
2008-02-20 9:38 ` Stefan Richter [this message]
2008-02-20 9:51 ` Stefan Richter
2008-02-20 10:20 ` Jan Engelhardt
2008-02-20 13:29 ` Stefan Richter
2008-02-20 10:16 ` Jan Engelhardt
2008-02-20 14:37 Karl Dahlke
2008-02-20 15:25 ` Frans Pop
2008-02-20 15:28 ` Stefan Richter
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=47BBF532.4030704@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=Valdis.Kletnieks@vt.edu \
--cc=eklhad@comcast.net \
--cc=jengelh@computergmbh.de \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
--cc=sam@ravnborg.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®