Re: I/O error with v4l2

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



Hi,

Es schrieb Sum Yip:
> 
> Hi, I'm using kernel-2.4.22 with saa7134-0.2.8. When I
> start the zapping to watch TV. It always displays the
> following things.
> Using video device '/dev/video0', display ':0.0'.
> Querying frame buffer parameters from DGA.
> Using V4L2 2.5 interface.
> Setup completed.
> I/O error #5 in decoding thread:
> V4L/V4L2 VBI interface: Failed to read from the device
> Aborting.
> cap: read(): [tveng25.c] p_tveng25_dqbuf (line 1472)
> VIDIOC_DQBUF failed: Input/output error

means no signal or very bad signal ...

> 
> The following is the "dmesg"
> Linux video capture interface: v1.00
> i2c-core.o: i2c core module
> saa7130/34: v4l2 driver version 0.2.8 loaded
> saa7134[0]: found at 02:01.0, rev: 1, irq: 21,
> latency: 32, mmio: 0xfa004000
> saa7134[0]: subsystem: 5168:0138, board: LifeView
> FlyVIDEO3000 [card=2,insmod option]
> i2c-core.o: adapter saa7134[0] registered as adapter
> 0.
> saa7134[0]: i2c eeprom 00: 68 51 38 01 10 28 ff ff ff
> ff ff ff ff ff ff ff
> saa7134[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> saa7134[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> saa7134[0]: board init: gpio is 39000
> i2c-core.o: driver i2c TV tuner driver registered.
> tuner: chip found @ 0xc2
> tuner: type set to 5 (Philips PAL_BG (FI1216 and
> compatibles))
> i2c-core.o: client [Philips PAL_BG (FI1216 and comp]

this is the default tuner=5 and that is wrong in Hongkong.
You should have a PAL I tuner.

> registered to adapter [saa7134[0]](pos. 0).
> saa7134[0]: registered device video0 [v4l2]
> saa7134[0]: registered device vbi0
> saa7134[0]: registered device radio0
> saa7134[0]: registered device dsp1
> saa7134[0]: registered device mixer1
> saa7134[0]/audio: audio carrier scan failed, using
> 5.500 MHz [default]

this then is wrong in Hongkong too.

> tuner: tv freq set to 567.25
> tuner: tv 0x25 0xe3 0x8e 0x30
> tuner: tv freq set to 567.25
> tuner: tv 0x25 0xe3 0x8e 0x30
> tuner: tv freq set to 561.25
> tuner: tv 0x25 0x83 0x8e 0x30
> tuner: tv freq set to 561.25
> tuner: tv 0x25 0x83 0x8e 0x30
> tuner: tv freq set to 561.25
> tuner: tv 0x25 0x83 0x8e 0x30
> tuner: tv freq set to 561.25
> tuner: tv 0x25 0x83 0x8e 0x30
> tuner: tv freq set to 555.25
> tuner: tv 0x25 0x23 0x8e 0x30
> saa7134[0]/audio: audio carrier scan failed, using
> 6.000 MHz [last detected]

aha, the driver has detected the correct audio_carrier=6000 for PAL I.

> tuner: tv 0x25 0x23 0x8e 0x30
> tuner: tv 0x25 0x23 0x8e 0x30
> [drm:radeon_unlock] *ERROR* Process 4429 using kernel
> context 0

What I would like to suggest first would be,
make sure you have a PAL I capable tuner on your FV3K. (PAL I is marked
on it)
This tuner will not be autodetected! You have to find out, which one it
is and you have to set it explicitly with the modprobe options.

Open tuner.h from saa7134-0.2.8 in an editor. The first PAL I tuner is
tuner=1 TUNER_PHILLIPS_PAL_I. You also can force the PAL I audio carrier
(modinfo saa7134)

So you can start testing with:
"modprobe saa7134 card=2 tuner=1 audio_carrier=6000"

The next one is the TEMIC tuner=7, then the ALPS tuner=11 and so on ...
Make sure to unload the tuner module after modprobe -r saa7134 too,
before you try the next tuner ... if necessary.

Good Luck,
Hermann




[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux