Passmark USB loopback test plugs

Greg KH greg at kroah.com
Mon Nov 26 19:13:42 UTC 2007


On Wed, Nov 21, 2007 at 07:28:03AM -0400, Felipe Balbi wrote:
> > Again, at first glance, this driver looks like it can be written in
> > userspace, using usbfs, without any kernel code at all.  That's my main
> > question.
> 
> If it can be done completely in userspace with usbfs, I can't see why
> not. But I can't also see
> why not putting in the kernel and allowing users to build it as a module.

If things can be done in userspace, it should be done there, and not
also as a kernel module.  That is why usb scanners are handled by
userspace and not from a kernel module, as an example.

thanks,

greg k-h



More information about the devel mailing list