Motion - Support Question 2005x 12x 09x 233702

What config options are most likely to generate ioctl (VIDIOCGCHAN): Inv arg error?

Question

I have installed kernel 2.6.14.3 and compiled it to also support my SAA7134 (FlyVideo3000) card. I'm also fairly sure that the modprobe that was passed with card=2 tuner=17 are correct.

I've tried input settings from 1 thru 8 with no success and ffmpeg is installed.

Any thoughts?

[0] Processing thread 0
[1] Thread is from
[1] Thread started
[1] ioctl (VIDIOCGCHAN): Invalid argument
[1] motion-httpd/3.2.3 running, accepting connections

Environment

Motion version: 3.2.3
ffmpeg version: 0.4.9.pre
Libraries: ffmpeg, mysql, postgresql
Server OS: CENTOS (RHE clone)

-- RayAllen - 09 Dec 2005

Follow up

What is the value for input parameter in your motion.conf ? ( It should be 0,1 or 2 )

-- AngelCarpintero - 12 Dec 2005

I recompiled the kernel and set modprobe.conf to select the card as card=2 and tuner=42. This seems to have corrected the original problem (by giving it the correct values). I must admit to being new to playing with V4L, but am not a novice linux user ~Not exactly admin material either btw). I have an X10 wireless video camera's reception point connected via the Cable bnc connection. And the Channel is set to :

#Channel 3 61.25MHz according to a google search

frequency=61250

# Given in KHz per the config instructions

Yet, I still don't get a signal to the application. I have verified that the camera and station work by conneting to a TV first. The card appears to be the only hinderance. If there is a good V4L tutorial/how-to that you know of, please post, so I (and others in a similar predicament) can look there as well.

-- RayAllen - 12 Dec 2005

Answer

Go to http://www.linuxtv.org , there's a nice twiki with a lot of useful information, for Saa7134 devices click Here

-- AngelCarpintero - 12 Dec 2005

SupportForm edit

TopicTitle What config options are most likely to generate ioctl (VIDIOCGCHAN): Inv arg error?
SupportStatus AnsweredQuestions
AssignedQuestionTo Angel.Carpintero
SubmittedBy RayAllen
Topic revision: r4 - 12 Dec 2005, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.