Thank you for reply!
It means for me, that it's no use to torment my system any more.
Thank you, Hans!


On Птн, 2008-05-30 at 21:18 +0200, Hans Verkuil wrote:
> On Friday 30 May 2008 15:56, Kirill wrote:
> > Good day!
> > I have Gotview pci dvd tuner card ( with hardware mpeg encoder), but
> > it doesn't want to work in Ubuntu. May be, someone has any ideas... I
> > think, if modinfo ivtv says, that cardtype=15 is gotview pci dvd,
> > that means, that someone has reached success with this card in linux.
> > Am I right?
> 
> Unlucky choice. The problem is the saa717x chip: it's only supported for 
> NTSC, not PAL. I never got around to adding PAL support (a non-trivial 
> exercise), even though I have the datasheet and all. This only affects 
> this particular card. If anyone is willing to try and get PAL to work, 
> then I'm happy to share that datasheet, but I know I won't have time 
> for it.
> 
> Regards,
> 
>       Hans
> 
> >
> > uname -a
> > Linux kyrie 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008
> > i686 GNU/Linux
> >
> > lspci
> > ...
> > 00:0a.0 Multimedia video controller: Internext Compression Inc iTVC16
> > (CX23416) MPEG-2 Encoder (rev 01)
> > ...
> >
> > Ok,
> > modprobe ivtv
> > in syslog:
> >
> > May 30 17:35:01 kyrie kernel: [61586.758425] ivtv:  Start
> > initialization, version 1.1.0
> > May 30 17:35:01 kyrie kernel: [61586.759494] ivtv0: Initializing card
> > #0 May 30 17:35:01 kyrie kernel: [61586.759509] ivtv0: Autodetected
> > Yuan MPG600GR, Kuroutoshikou CX23416GYC-STVLP card (cx23416 based)
> > May 30 17:35:01 kyrie kernel: [61586.763487] ACPI: PCI Interrupt
> > 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 20
> > May 30 17:35:01 kyrie kernel: [61586.770028] tuner 0-0043: chip found
> > @ 0x86 (ivtv i2c driver #0)
> > May 30 17:35:01 kyrie kernel: [61586.770777] tda9887 0-0043:
> > tda988[5/6/7] found @ 0x43 (tuner)
> > May 30 17:35:01 kyrie kernel: [61586.770783] tuner 0-0043: type set
> > to tda9887
> > May 30 17:35:01 kyrie kernel: [61586.781491] tuner 0-0061: chip found
> > @ 0xc2 (ivtv i2c driver #0)
> > May 30 17:35:01 kyrie kernel: [61586.818033] saa717x 0-0021:
> > saa7174HL found @ 0x42 (ivtv i2c driver #0)
> > May 30 17:35:03 kyrie kernel: [61589.419940] tuner-simple 0-0061:
> > type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
> > May 30 17:35:03 kyrie kernel: [61589.419952] tuner 0-0061: type set
> > to Philips NTSC MK3 (F
> > May 30 17:35:03 kyrie kernel: [61589.420567] ivtv0: Registered device
> > video0 for encoder MPG (4096 kB)
> > May 30 17:35:03 kyrie kernel: [61589.420592] ivtv0: Registered device
> > video32 for encoder YUV (2048 kB)
> > May 30 17:35:03 kyrie kernel: [61589.420618] ivtv0: Registered device
> > vbi0 for encoder VBI (1024 kB)
> > May 30 17:35:03 kyrie kernel: [61589.420643] ivtv0: Registered device
> > video24 for encoder PCM (320 kB)
> > May 30 17:35:03 kyrie kernel: [61589.420647] ivtv0: Initialized card
> > #0: Yuan MPG600GR, Kuroutoshikou CX23416GYC-STVLP
> > May 30 17:35:03 kyrie kernel: [61589.420685] ivtv:  End
> > initialization May 30 17:35:04 kyrie kernel: [61590.154186] ivtv0:
> > Loaded
> > v4l-cx2341x-enc.fw firmware (376836 bytes)
> > May 30 17:35:04 kyrie kernel: [61590.351521] ivtv0: Encoder revision:
> > 0x02060039
> >
> > After that (with switched on debug),
> > cat /dev/video0 >./mpg - file has zero length.
> > In log:
> > May 30 16:24:53 kyrie kernel: [57380.059611] ivtv0 file: open encoder
> > MPG
> > May 30 16:24:53 kyrie kernel: [57380.060371] ivtv0 file: read 4096
> > bytes from encoder MPG
> > May 30 16:24:53 kyrie kernel: [57380.060930] ivtv0 info: Start
> > encoder stream encoder MPG
> > May 30 16:24:53 kyrie kernel: [57380.060938] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_DMA_BLOCK_SIZE
> > May 30 16:24:53 kyrie kernel: [57380.060972] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_VERT_CROP_LINE
> > May 30 16:24:53 kyrie kernel: [57380.061033] ivtv0 mb: MB Call:
> > CX2341X_ENC_MISC
> > <several times>
> > May 30 16:24:53 kyrie kernel: [57380.061277] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_PLACEHOLDER
> > May 30 16:24:53 kyrie kernel: [57380.061310] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_NUM_VSYNC_LINES
> > May 30 16:24:53 kyrie kernel: [57380.061343] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_VBI_LINE
> > May 30 16:24:53 kyrie kernel: [57380.061418] ivtv0 i2c:
> > call_i2c_client addr=21
> > May 30 16:24:53 kyrie kernel: [57380.061430] ivtv0 info: Setup VBI
> > API header 0x0000bd03 pkts 1 buffs 4 ln 24 sz 1456
> > May 30 16:24:53 kyrie kernel: [57380.061433] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_VBI_CONFIG
> > May 30 16:24:53 kyrie kernel: [57380.061502] ivtv0 info: Setup VBI
> > start 0x002fea04 frames 4 fpi 1
> > May 30 16:24:53 kyrie kernel: [57380.061505] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_VBI_LINE
> > <many times>
> > May 30 16:24:53 kyrie kernel: [57380.064677] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_PGM_INDEX_INFO
> > May 30 16:24:53 kyrie kernel: [57380.064737] ivtv0 info: PGM Index at
> > 0x00180150 with 400 elements
> > May 30 16:24:53 kyrie kernel: [57380.064741] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_OUTPUT_PORT
> > May 30 16:24:53 kyrie kernel: [57380.064773] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_FRAME_RATE
> > May 30 16:24:53 kyrie kernel: [57380.064809] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_FRAME_SIZE
> > May 30 16:24:53 kyrie kernel: [57380.064843] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_STREAM_TYPE
> > May 30 16:24:53 kyrie kernel: [57380.064879] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_ASPECT_RATIO
> > May 30 16:24:53 kyrie kernel: [57380.087322] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_GOP_PROPERTIES
> > May 30 16:24:53 kyrie kernel: [57380.087361] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_GOP_CLOSURE
> > May 30 16:24:53 kyrie kernel: [57380.087396] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_AUDIO_PROPERTIES
> > May 30 16:24:53 kyrie kernel: [57380.087431] ivtv0 mb: MB Call:
> > CX2341X_ENC_MUTE_AUDIO
> > May 30 16:24:53 kyrie kernel: [57380.098694] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_BIT_RATE
> > May 30 16:24:53 kyrie kernel: [57380.098735] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_DNR_FILTER_MODE
> > May 30 16:24:53 kyrie kernel: [57380.098773] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_CORING_LEVELS
> > May 30 16:24:53 kyrie kernel: [57380.098807] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_SPATIAL_FILTER_TYPE
> > May 30 16:24:53 kyrie kernel: [57380.098843] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_DNR_FILTER_PROPS
> > May 30 16:24:53 kyrie kernel: [57380.098877] ivtv0 mb: MB Call:
> > CX2341X_ENC_SET_FRAME_DROP_RATE
> > May 30 16:24:53 kyrie kernel: [57380.098911] ivtv0 mb: MB Call:
> > CX2341X_ENC_MUTE_VIDEO
> > May 30 16:24:53 kyrie kernel: [57380.099018] ivtv0 mb: MB Call:
> > CX2341X_ENC_MISC
> > May 30 16:24:53 kyrie kernel: [57380.099082] ivtv0 i2c:
> > call_i2c_client addr=21
> > May 30 16:24:54 kyrie kernel: [57380.398584] ivtv0 mb: MB Call:
> > CX2341X_ENC_INITIALIZE_INPUT
> > May 30 16:24:54 kyrie kernel: [57380.398673] ivtv0 i2c:
> > call_i2c_client addr=21
> > May 30 16:24:54 kyrie kernel: [57380.398685] ivtv0 mb: MB Call:
> > CX2341X_ENC_START_CAPTURE
> >
> > and nothing else.
> >
> > If I type
> >
> > cat /dev/video24 > ./mpg - it reads smth, but even mplayer is unable
> > to play it.
> >
> >
> > I have tried to determine options to ivtv, ex.:
> >
> > modprobe ivtv debug=2047 cardtype=15 tuner=24
> > - nothing. I have tried tuner=24,38,63,....
> >
> > log status:
> >  v4l2-ctl  --log-status
> >
> > Status Log:
> >
> >    [62089.970379] ivtv0: =================  START STATUS CARD #0
> > =================
> >    [62089.970397] ivtv0: Version: 1.1.0 Card: Yuan MPG600GR,
> > Kuroutoshikou CX23416GYC-STVLP
> >    [62089.971093] tda9887 0-0043: Data bytes: b=0x14 c=0x30 e=0x44
> >    [62089.971300] tuner 0-0061: Tuner mode:      analog TV
> >    [62089.971305] tuner 0-0061: Frequency:       67.25 MHz
> >    [62089.971309] tuner 0-0061: Standard:        0x00001000
> >    [62089.971802] ivtv0: GPIO status: DIR=0xf880 OUT=0x8800 IN=0x8e00
> >    [62089.971809] ivtv0: Video Input:  Tuner 1
> >    [62089.971812] ivtv0: Audio Input:  Tuner 1
> >    [62089.971814] ivtv0: Tuner:  TV
> >    [62089.971818] ivtv0: Stream: MPEG-2 Program Stream
> >    [62089.971822] ivtv0: VBI Format: No VBI
> >    [62089.971825] ivtv0: Video:  720x480, 30 fps
> >    [62089.971829] ivtv0: Video:  MPEG-2, 4x3, Variable Bitrate,
> > 6000000, Peak 8000000
> >    [62089.971834] ivtv0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
> >    [62089.971838] ivtv0: Audio:  48 kHz, Layer II, 224 kbps, Stereo,
> > No Emphasis, No CRC
> >    [62089.971844] ivtv0: Spatial Filter:  Manual, Luma 1D Horizontal,
> > Chroma 1D Horizontal, 0
> >    [62089.971848] ivtv0: Temporal Filter: Manual, 8
> >    [62089.971851] ivtv0: Median Filter:   Off, Luma [0, 255], Chroma
> > [0, 255]
> >    [62089.971854] ivtv0: Status flags:    0x00200000
> >    [62089.971858] ivtv0: Stream encoder MPG: status 0x0000, 0% of
> > 4096 KiB (128 buffers) in use
> >    [62089.971863] ivtv0: Stream encoder YUV: status 0x0000, 0% of
> > 2056 KiB (195 buffers) in use
> >    [62089.971867] ivtv0: Stream encoder VBI: status 0x0000, 0% of
> > 1040 KiB (61 buffers) in use
> >    [62089.971872] ivtv0: Stream encoder PCM: status 0x0000, 0% of 324
> > KiB (72 buffers) in use
> >    [62089.971876] ivtv0: Read MPG/VBI: 0/0 bytes
> >    [62089.971879] ivtv0: ==================  END STATUS CARD #0
> > ==================
> >
> >
> >
> > What does it mean?
> >
> > Thanks.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > ivtv-users mailing list
> > [email protected]
> > http://ivtvdriver.org/mailman/listinfo/ivtv-users


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

Reply via email to