Well, I did what you asked, but I don't think it will help.
I found sound only works on Cardtype=0, Input=1.
Video only works on Cardtype=1, Input=1.
Cardtype=1, no input setting gives sound, and only Input=1 gives video.
Cardtype=0, input setting of 1 gives sound, and all input give no video..

Any other test I can run?

Script started on Sun 21 Aug 2005 03:05:17 PM CDT
[EMAIL PROTECTED] utils]$ cat /etc/modprobe.conf
alias eth0 tulip
alias eth1 tulip
alias snd-card-0 snd-via82xx
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx && /usr/sbin/alsactl restore >/dev/null 2>&1 || : remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
alias usb-controller uhci-hcd
install snd-es1968 /sbin/modprobe --ignore-install snd-es1968 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
options cx25840 cardtype=1
options ivtv tuner=57
[EMAIL PROTECTED] utils]$
[EMAIL PROTECTED] utils]$ ./ivtvctl -P
ioctl VIDIOC_G_INPUT ok
Video input = 1
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 0
ioctl VIDIOC_S_INPUT ok
Video input set to 0
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 1
ioctl VIDIOC_S_INPUT ok
Video input set to 1
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 2
ioctl VIDIOC_S_INPUT ok
Video input set to 2
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 3
ioctl VIDIOC_S_INPUT ok
Video input set to 3
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 4
ioctl VIDIOC_S_INPUT ok
Video input set to 4
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 5
ioctl VIDIOC_S_INPUT failed: Invalid argument
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 6
ioctl VIDIOC_S_INPUT failed: Invalid argument
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 7
ioctl VIDIOC_S_INPUT failed: Invalid argument
[EMAIL PROTECTED] utils]$
[EMAIL PROTECTED] utils]$ cat /etc/modprobe.conf
alias eth0 tulip
alias eth1 tulip
alias snd-card-0 snd-via82xx
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx && /usr/sbin/alsactl restore >/dev/null 2>&1 || : remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
alias usb-controller uhci-hcd
install snd-es1968 /sbin/modprobe --ignore-install snd-es1968 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
options cx25840 cardtype=0
options ivtv tuner=57
[EMAIL PROTECTED] utils]$
[EMAIL PROTECTED] utils]$ ./ivtvctl -P
ioctl VIDIOC_G_INPUT ok
Video input = 1
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 0
ioctl VIDIOC_S_INPUT ok
Video input set to 0
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 1
ioctl VIDIOC_S_INPUT ok
Video input set to 1
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 2
ioctl VIDIOC_S_INPUT ok
Video input set to 2
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 3
ioctl VIDIOC_S_INPUT ok
Video input set to 3
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 4
ioctl VIDIOC_S_INPUT ok
Video input set to 4
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 5
ioctl VIDIOC_S_INPUT failed: Invalid argument
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 6
ioctl VIDIOC_S_INPUT failed: Invalid argument
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 7
ioctl VIDIOC_S_INPUT failed: Invalid argument
[EMAIL PROTECTED] utils]$ ./ivtvctl -p 1
ioctl VIDIOC_S_INPUT ok
Video input set to 1
[EMAIL PROTECTED] utils]$ exit

Script done on Sun 21 Aug 2005 03:09:07 PM CDT



Hans Verkuil wrote:

On Sunday 21 August 2005 21:45, Robert Kohler wrote:
No sound using cardtype=1.  Video works great!!  Tuner works too.
Using just Antenna connected to COAX input.

I change to exactly what you specified in the modprobe.conf.

OK, leave it that way for now.

Start a capture session. So you now see video, but no audio.

Go to another console and do the following:

First show the current input: ivtvctl -P

Now change the input from another console: run

        ivtvctl -p X

where X = 0-7. Some of the later once probably fail, that's OK. For
each value keep track whether you hear sound and/or see video.
Please report this.

Now set cardtype to 0 and repeat the whole procedure.

That should normally give me enough info to see how it should be wired
up.

                Hans


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to