State of Linux webcam support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 01, 2007 at 09:18:06AM -0700, Greg KH wrote:
> On Mon, Oct 01, 2007 at 11:05:38AM -0400, Ben Warren wrote:

> > Are ioctls still the preferred way to pass
> > complex data between the kernel and user space?

> For the video-for-linux interface, yes, unfortunatly they are still the
> preferred way due to a lot of legacy issues that are involved :(
> 
> But for anything else, you are correct, use sysfs whenever possible for
> simple things, and only use an ioctl for more complex transaction-like
> things.  Although for some transaction-like things, configfs works quite
> well, you might want to look into that.

I'm not too familiar w/ v4l, so this may or may not be an appropriate
suggestion for an alternative.  But in many cases it may be worthwhile
to consider netlink (esp. the newer 'generic netlink' bits) as an
alternative configuration or even data-passing mechanism.

Hth...

John
-- 
John W. Linville
linville at tuxdriver.com


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux