Hi.

Please forgive me for my bad english ;)

kernel: 2.6.19.2, ivtv 0.9.1 (0.10rc1),
hardware: Gotview PCI DVD2 Deluxe (Philips MK5)
work: video+audio = ok, radio - errror

1. v4l2-ctl -f 215.250 -s SECAM --verbose
...
ok

2. cat /dev/video0 | mplayer - &
ok.

3. v4l2-ctl -f 135.250 -s PAL
VIDIOC_QUERYCAP: ok
VIDIOC_G_TUNER: ok
VIDIOC_S_FREQUENCY: ok
Frequency set to 2164 (135.250000 MHz)
VIDIOC_S_STD: failed: Device or resource busy

After that I begin to search in v4l2-ctl source this code.
I found tv_set_norm and tv_set_freq (doioctl VIDIOC_S_STD).
Question: how I can change standard from PAL to SECAM if
/dev/video0 busy (cat /dev/video0 | mplayer -) ?

May be deal with stream_pvr?
May be I must stream_pvr close, change standard, and reopen stream?

How I can do this?

Request: may be require to change v4l2-ctl for
make atomic changes (like svn) - or change freq & standard (if I want
this), or don't change freq and standard (if can't change freq OR standard)?


Question for radio:

v4l2-ctl --list-audio-inputs
ioctl: VIDIOC_ENUMAUDIO
         Input   : 0
         Name    : Tuner 1

         Input   : 1
         Name    : Line In 1

but in source I see some line about radio.

ivtv log in /var/log/messages - ok:
dmesg | grep ivtv
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.9.0 (tagged release) loading
ivtv: Linux version: 2.6.19.2
ivtv: In case of problems please include the debug info between
ivtv: the START INIT IVTV and END INIT IVTV lines, along with
ivtv: any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected GotView PCI DVD2 Deluxe card (cx23416 based)
ivtv0: loaded v4l-cx2341x-enc.fw firmware
(last from ivtv 0.10rc1)
tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #0)
cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
ivtv0: Encoder revision: 0x02050032
ivtv0: Registered device video0 for encoder MPEG
ivtv0: Registered device video32 for encoder YUV
ivtv0: Registered device vbi0 for encoder VBI
ivtv0: Registered device video24 for encoder PCM audio
ivtv0: Registered device radio0 for encoder radio
ivtv0: Initialized GotView PCI DVD2 Deluxe, card #0
ivtv: ==================== END INIT IVTV ====================

How can I switch tuner in radio mode and work with ivtv-radio
(like ivtv-radio -v -a)?



_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to