On Wed, Nov 10, 2010 at 11:48 PM, Mohamed Ikbel Boulabiar <boulabiar@xxxxxxxxx> wrote: > On Wed, Nov 10, 2010 at 10:24 PM, Antonio Ospite > <ospite@xxxxxxxxxxxxxxxxx> wrote: >> If there are arguments against a kernel driver I can't see them yet. > > +1 > This device is a webcam+(other things), it should be handled similar > to other webcams already supported inside the kernel. > If we make an exception now, we should make many special hacks for > this only case to support it through the other libraries and layers of > the system. > > If I want to use this device, I will add many userspace code to create > the skeleton model and that need much computation. Kernel Module adds > performance to my other code. just some experience from our side, we do have fully working video4linux1/2 drivers in userspace, the only exception we have is a very thin layered kernelmodule in order to improve the datatransfer. BUT on the other side someone also has to think about the bandwidth - this is the main consideration why we only use this for low bandwidth DVB. Is it worth to optimize any datatransfer that already requires >150 mbit for embedded devices? (most of them cannot handle analog TV/high bandwidth cameras due that high bandwidth requirement). There's definitely a point speed VS userfriendlyness. Due high bandwidth need it's kinda obsolete to focus on high optimizations for this, thus it's better to focus on higher compatibility (this shall work with what you have done now already). I've seen alot projects failing due not having enough users If it should mainly remain a hacker only project then a kernel module should be fine. Aside of that libusb has been ported to BSD and OSX as well, so it widens the possibilities to other operating systems. Also think about you update your work and it can immediately be tested with all systems without too much work, getting the right kernel sources, kernel module etc. But of course it's up to the developer :-) I just want to give some ideas, since we already went through with some projects that and I can tell it works. BR, Markus > > i > -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html