Re: Kernel driver vs libusb performance

2013-01-11 Thread Ozan Çağlayan
> It all depends on what you want to do, but I really think that user vs. > kernelspace is not going to be the real problem here. Start with libusb > and if you find that you are having problems, use 'perf' to see if the > kernel part is really the problem. I think you will find all of your > tim

Re: Kernel driver vs libusb performance

2013-01-11 Thread Greg KH
On Fri, Jan 11, 2013 at 04:10:30PM +0200, Ozan Çağlayan wrote: > > Ah, my sympathies, USB on a rpi is horrible, and you will have all sorts > > of nasty issues, no matter how you end up doing this (in the kernel or > > userspace). > > What kind of issues? Currently I can read from the device witho

Re: Kernel driver vs libusb performance

2013-01-11 Thread Ozan Çağlayan
> Ah, my sympathies, USB on a rpi is horrible, and you will have all sorts > of nasty issues, no matter how you end up doing this (in the kernel or > userspace). What kind of issues? Currently I can read from the device without problem. But, I had very weird problems with 2 uvc cameras, you're rig

Re: Kernel driver vs libusb performance

2013-01-11 Thread Greg KH
On Fri, Jan 11, 2013 at 11:53:36AM +0200, Ozan Çağlayan wrote: > Hi, > > I have a device which I'm currently accessing using libusb. It's > basically a HID compliant USB device. It reports 32bytes of data with > a time resolution of 128Hz, e.g. I have to read and store 32bytes each > 1/128 second.