Re: Which interface: sysfs, proc, devfs?

From: Greg KH
Date: Thu Jan 29 2004 - 18:04:29 EST


On Thu, Jan 29, 2004 at 10:28:13PM +0100, Jonas Diemer wrote:
> Hi!
>
> I am writing a driver for an usb microcontroller (ezusb), which will be
> used for measuring and controlling. I am confused on which interface to
> use though. The driver is for kernel 2.6.x.
> I want to send small (human readable) commends as well as data (e.g.
> firmware) to the device. Which filesystem is appropriate?

What about not writing a kernel driver at all and just using
libusb/usbfs? Any reason you have to have a kernel driver for your
device?

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/