Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

Greg Kroah-Hartman
2013-08-09T21:52:34Z

On Thu, Aug 08, 2013 at 02:23:06PM -0700, Bob Smith wrote:
> Greg Kroah-Hartman wrote:>
> > You are mixing protocols and bindings and system calls up it seems.
> > They are not the same at all.
>
> > How can you control a robot with this code?
> > What do you want to do in order to control your robot? What are your
> > needs in accessing the hardware? What hardware are you wanting to
> > control? And why can't you just access that hardware through the normal
> > kernel apis we have today?
>
>
> Greg
> I'll reply again to this message but for now let me try
> another explanation that does not mention sysfs, procfs, or
> device drivers. This is probably how I should have started.

I fail to understand how you will use this code to write a "userspace
device driver" at all.

still confused,

greg k-h