Messages in this thread |  | | | Date | Thu, 24 Jul 2008 09:26:24 -0400 | | From | Dmitry Torokhov <> | | Subject | Re: [spi-devel-general] [Patch 0/4] IndustrialIO subsystem (ADCs, accelerometers etc) |
On Thu, Jul 24, 2008 at 01:45:31PM +0100, Jonathan Cameron wrote:
> >>
> >> At the moment the big missing element of the subsystem is an easy way of
> >> querying what is there. (proc interface similar to that for the input
> >> subsystem)
> > You mean /sys/class/input/, right? Indeed, something inspired by the
> > input subsystem should work well.
> No, I meant /proc/bus/input/devices which gives machine readable description
> of all devices registered with the input subsystem and their capabilities.
>
/proc/bus/input is a legacy interface (pre-sysfs). Newer subsystems
should try to stay in /sys/.
--
Dmitry
|  |