Michael Kellner wrote: > > Justin Schoeman wrote: > > > I cannot change the video input with > > > > > > ... > > > err = ioctl (pcapt_d->fd_video, VIDIOC_S_INPUT, &input); > > > ... > > > > What is the return value of this ioctl? > It is 0. No errors! > > > Also, make sure capture is not active when you issue this ioctl, otherwise > > channel change may be defferred until capture is stopped. > Good hint, but I always close the video device before I change settings. I use > the sample code from http://www.thedirks.org/v4l2/. Therefore I think, I do > everything right. > > I tested some more things: > > With the card type 0, I only can use the plug 3 (available: 0-3) > With type 1, I only can use plug 2. > Changing the port with 'ioctl' has no effect! > > What are the differences between the different cards with respect to switching > the input ports? OK - the card type actually tells the driver how to switch channels (where the mux is, and how to program it). The strange thing is that bttv2 uses exactly the same card interface as bttv, so if you use the card type that worked with bttv, with bttv2, it should work just fine. To be sure, in the driver directory, type "make list", look through the list and find the card that exactly matches yours. Use this card type for bttv2. -justin