Re: Which interface: sysfs, proc, devfs?

From: Duncan Sands
Date: Mon Feb 02 2004 - 02:53:30 EST


> Greg KH <greg@xxxxxxxxx> wrote:
> > Yet you want to do asynchronous support with sysfs? How would that
> > work?
> > What kind of device are you writing a driver for?
>
> It is not firmware uploading only. Once the firmware is uploaded, I will
> communicate with that device. It is a ezusb microcontroller controlling
> several relais, adc and dac.

usbfs certainly supports asynchronous communication (sending an urb
and picking up the result at some convenient later time). I don't know if
libusb supports it, but in any case it is easy to use usbfs directly.

Duncan.
-
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/