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?
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 debug=2047 in syslog: May 30 16:22:59 kyrie kernel: [57265.769760] ivtv: Start initialization, version 1.1.0 May 30 16:22:59 kyrie kernel: [57265.770858] ivtv0: Initializing card #0 May 30 16:22:59 kyrie kernel: [57265.770872] ivtv0: Autodetected Yuan MPG600GR, Kuroutoshikou CX23416GYC-STVLP card (cx23416 based) May 30 16:22:59 kyrie kernel: [57265.774690] ivtv0 info: base addr: 0xd8000000 May 30 16:22:59 kyrie kernel: [57265.774699] ivtv0 info: Enabling pci device May 30 16:22:59 kyrie kernel: [57265.774723] ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 20 May 30 16:22:59 kyrie kernel: [57265.774736] ivtv0 info: Attempting to enable Bus Mastering May 30 16:22:59 kyrie kernel: [57265.774745] ivtv0 info: Bus Mastering Enabled. May 30 16:22:59 kyrie kernel: [57265.774784] ivtv0 info: 22 (rev 1) at 00:0a.0, irq: 20, latency: 64, memory: 0xd8000000 May 30 16:22:59 kyrie kernel: [57265.774788] ivtv0 info: attempting ioremap at 0xd8000000 len 0x00800000 May 30 16:22:59 kyrie kernel: [57265.774836] ivtv0 info: attempting ioremap at 0xda000000 len 0x00010000 May 30 16:22:59 kyrie kernel: [57265.774845] ivtv0 info: GPIO initial dir: 0000c300 out: 00000200 May 30 16:22:59 kyrie kernel: [57265.774848] ivtv0 info: activating i2c... May 30 16:22:59 kyrie kernel: [57265.774851] ivtv0 i2c: i2c init May 30 16:22:59 kyrie kernel: [57265.774856] ivtv0 i2c: setting scl and sda to 1 May 30 16:22:59 kyrie kernel: [57265.783324] ivtv0 i2c: i2c client attach May 30 16:22:59 kyrie kernel: [57265.788700] tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0) May 30 16:22:59 kyrie kernel: [57265.789983] ivtv0 i2c: i2c client attach May 30 16:22:59 kyrie kernel: [57265.789995] tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner) May 30 16:22:59 kyrie kernel: [57265.789999] tuner 0-0043: type set to tda9887 May 30 16:22:59 kyrie kernel: [57265.799344] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0) May 30 16:22:59 kyrie kernel: [57265.805775] ivtv0 i2c: i2c client attach May 30 16:22:59 kyrie kernel: [57265.865464] ivtv0 info: Active card count: 1. May 30 16:22:59 kyrie kernel: [57265.886657] ivtv0 info: Loaded module tuner May 30 16:22:59 kyrie kernel: [57265.988712] ivtv0 info: Loaded module upd64031a May 30 16:22:59 kyrie kernel: [57266.015385] ivtv0 info: Loaded module upd64083 May 30 16:22:59 kyrie kernel: [57266.015409] tuner-simple 0-0061: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F)) May 30 16:22:59 kyrie kernel: [57266.015415] tuner 0-0061: type set to Philips NTSC MK3 (F May 30 16:22:59 kyrie kernel: [57266.015426] ivtv0 info: Allocate DMA encoder MPG stream: 128 x 32768 buffers (4096kB total) May 30 16:22:59 kyrie kernel: [57266.015585] ivtv0 info: Allocate DMA encoder YUV stream: 195 x 10800 buffers (2056kB total) May 30 16:22:59 kyrie kernel: [57266.015739] ivtv0 info: Allocate DMA encoder VBI stream: 61 x 17472 buffers (1040kB total) May 30 16:22:59 kyrie kernel: [57266.015803] ivtv0 info: Allocate DMA encoder PCM stream: 72 x 4608 buffers (324kB total) May 30 16:22:59 kyrie kernel: [57266.015851] ivtv0 irq: Masking interrupts May 30 16:22:59 kyrie kernel: [57266.015947] ivtv0: Registered device video0 for encoder MPG (4096 kB) May 30 16:22:59 kyrie kernel: [57266.015973] ivtv0: Registered device video32 for encoder YUV (2048 kB) May 30 16:22:59 kyrie kernel: [57266.015998] ivtv0: Registered device vbi0 for encoder VBI (1024 kB) May 30 16:22:59 kyrie kernel: [57266.016023] ivtv0: Registered device video24 for encoder PCM (320 kB) May 30 16:22:59 kyrie kernel: [57266.016028] ivtv0: Initialized card #0: Yuan MPG600GR, Kuroutoshikou CX23416GYC-STVLP May 30 16:22:59 kyrie kernel: [57266.016066] ivtv: End initialization May 30 16:22:59 kyrie kernel: [57266.040690] ivtv0 info: Preparing for firmware halt. May 30 16:22:59 kyrie kernel: [57266.051872] ivtv0 info: Stopping VDM May 30 16:22:59 kyrie kernel: [57266.051880] ivtv0 info: Stopping AO May 30 16:22:59 kyrie kernel: [57266.051883] ivtv0 info: pinging (?) APU May 30 16:22:59 kyrie kernel: [57266.051886] ivtv0 info: Stopping VPU May 30 16:22:59 kyrie kernel: [57266.051888] ivtv0 info: Resetting Hw Blocks May 30 16:22:59 kyrie kernel: [57266.051890] ivtv0 info: Stopping SPU May 30 16:22:59 kyrie kernel: [57266.063041] ivtv0 info: init Encoder SDRAM pre-charge May 30 16:22:59 kyrie kernel: [57266.063052] ivtv0 info: init Encoder SDRAM refresh to 1us May 30 16:22:59 kyrie kernel: [57266.063055] ivtv0 info: Sleeping for 600ms May 30 16:23:00 kyrie kernel: [57266.662651] ivtv0 info: Loading encoder image May 30 16:23:00 kyrie kernel: [57266.732205] ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes) May 30 16:23:00 kyrie kernel: [57266.930721] ivtv0 mb: MB Call: CX2341X_ENC_PING_FW May 30 16:23:00 kyrie kernel: [57266.930788] ivtv0 info: Getting firmware version.. May 30 16:23:00 kyrie kernel: [57266.930792] ivtv0 mb: MB Call: CX2341X_ENC_GET_VERSION May 30 16:23:00 kyrie kernel: [57266.930852] ivtv0: Encoder revision: 0x02060039 May 30 16:23:00 kyrie kernel: [57266.930858] ivtv0 info: Changing input from 1 to 0 May 30 16:23:00 kyrie kernel: [57266.930861] ivtv0 info: Mute May 30 16:23:00 kyrie kernel: [57266.930864] ivtv0 i2c: call_i2c_client addr=21 May 30 16:23:00 kyrie kernel: [57266.930883] ivtv0 info: Unmute May 30 16:23:00 kyrie kernel: [57266.930887] ivtv0 info: Mute May 30 16:23:00 kyrie kernel: [57266.930889] ivtv0 info: v4l2 ioctl: set frequency 1076 May 30 16:23:00 kyrie kernel: [57266.933749] ivtv0 info: Unmute May 30 16:23:00 kyrie kernel: [57266.933752] ivtv0 info: Switching standard to 1000. May 30 16:23:00 kyrie kernel: [57266.936618] ivtv0 file: open encoder MPG May 30 16:23:00 kyrie kernel: [57266.936657] ivtv0 ioctl: v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600) May 30 16:23:00 kyrie kernel: [57266.941265] ivtv0 ioctl: v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600) May 30 16:23:00 kyrie kernel: [57266.941283] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57266.941290] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57266.941294] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57266.941298] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57266.941303] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUM_FMT, dir=rw (0xc0405602) May 30 16:23:00 kyrie kernel: [57266.941307] ivtv0 ioctl: v4l2 ioctl VIDIOC_TRY_FMT, dir=rw (0xc0cc5640) May 30 16:23:00 kyrie kernel: [57266.943836] ivtv0 file: close encoder MPG May 30 16:23:00 kyrie kernel: [57266.973272] ivtv0 file: open encoder YUV May 30 16:23:00 kyrie kernel: [57266.973295] ivtv0 ioctl: v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600) May 30 16:23:00 kyrie kernel: [57266.975015] ivtv0 ioctl: v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600) May 30 16:23:00 kyrie kernel: [57266.975029] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57266.975035] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57266.975040] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57266.975044] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57266.975048] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUM_FMT, dir=rw (0xc0405602) May 30 16:23:00 kyrie kernel: [57266.975053] ivtv0 ioctl: v4l2 ioctl VIDIOC_TRY_FMT, dir=rw (0xc0cc5640) May 30 16:23:00 kyrie kernel: [57266.976020] ivtv0 file: close encoder YUV May 30 16:23:00 kyrie kernel: [57267.028178] ivtv0 file: open encoder VBI May 30 16:23:00 kyrie kernel: [57267.028202] ivtv0 ioctl: v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600) May 30 16:23:00 kyrie kernel: [57267.034179] ivtv0 ioctl: v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600) May 30 16:23:00 kyrie kernel: [57267.034197] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57267.034204] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57267.034208] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57267.034212] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57267.034216] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUM_FMT, dir=rw (0xc0405602) May 30 16:23:00 kyrie kernel: [57267.034221] ivtv0 ioctl: v4l2 ioctl VIDIOC_TRY_FMT, dir=rw (0xc0cc5640) May 30 16:23:00 kyrie kernel: [57267.041008] ivtv0 file: close encoder VBI May 30 16:23:00 kyrie kernel: [57267.084886] ivtv0 file: open encoder PCM May 30 16:23:00 kyrie kernel: [57267.084910] ivtv0 ioctl: v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600) May 30 16:23:00 kyrie kernel: [57267.090647] ivtv0 ioctl: v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600) May 30 16:23:00 kyrie kernel: [57267.090665] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57267.090671] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57267.090676] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57267.090680] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) May 30 16:23:00 kyrie kernel: [57267.090684] ivtv0 ioctl: v4l2 ioctl VIDIOC_ENUM_FMT, dir=rw (0xc0405602) May 30 16:23:00 kyrie kernel: [57267.090689] ivtv0 ioctl: v4l2 ioctl VIDIOC_TRY_FMT, dir=rw (0xc0cc5640) May 30 16:23:00 kyrie kernel: [57267.100715] ivtv0 file: close encoder PCM After that, 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,.... What does it mean? Thanks. _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
