To see if PVR-350 playback works for me yet (didn't two years ago), I
decided
to wipe out and redo a myth box. I'm using FC4 and Jarod's always-useful
howto.
Things were generally good. Modules (including ivtv-fb) installed and
loaded
okay.
Works great:
modprobe saa7127 test_image=1
Works great, good data:
cat /dev/video0 > test.mpg
Trouble:
ivtvfbctl /dev/fb1 --globalalpha=off --localalpha=on
IVTVFB_IOCTL_GET_STATE failed (error: Invalid argument)
I discovered the new argument syntax, but anything I do with ivtvfbctl
returns IVTVFB_IOCTL_GET_STATE failed (error: Invalid argument) So first thing
I double-check is my fb device. It is indeed, as shown below, /dev/fb1 UH oh,
there goes my easy answer. Am I missing something else simple about ivtv-fb?
I should note that I got further than this two years ago, so hardware
shouldn't be the issue. I was always able to change fb settings through the
utilities, and displav X through the 350, it just bombed out after playing
video a bit.
Relevant dmesg:
ivtv: no version for "struct_module" found: kernel tainted.
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.4.1 (tagged release) loading
ivtv: Linux version: 2.6.14-1.1656_FC4 686 REGPARM 4KSTACKS gcc-4.0
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 WinTV PVR 350 card (cx23415 based)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] -> GSI 12 (level, low) ->
IRQ 12
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: ivtv version
tveeprom: Hauppauge: model = 48132, rev = J323, serial# = 6813616
tveeprom: tuner = Philips FM1236 (idx = 23, type = 2)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP4448 (type = 1b)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
saa7115 1-0021: ivtv driver
saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
saa7127 1-0044: ivtv driver
saa7127 1-0044: saa7127 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
msp34xx: init: chip=MSP3448W-A2 +nicam +simple +simpler +radio mode=simpler
ivtv0: i2c attach to card #0 ok [client=MSP3448W-A2, addr=40]
msp34xxg: daemon started
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Decoder revision: 0x02020023
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0: Create encoder radio stream
ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv0: Create decoder VOUT stream
ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total)
ivtv0: loaded v4l-cx2341x-init-mpeg.bin firmware (155648 bytes)
tuner 1-0061: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles))
ivtv0: Initialized WinTV PVR 350, card #0ivtv: ==================== END INIT
IVTV ====================
ivtv0-osd: Framebuffer module loaded (attached to ivtv card id 0)
ivtv0-osd warning: Framebuffer is at decoder-relative address 0x00510000 and
has 1704960 bytes.
ivtv0-osd: screen coords: [0 0] -> [720 480]
ivtv0-osd: original global alpha = 208
ivtv0-osd: current OSD state = 39
ivtv0-osd: new global alpha = 208 (1 255 0)
ivtv0-osd: framebuffer at 0xdd510000, mapped to 0xdfb10000, size 1350k
ivtv0-osd: mode is 720x480x32, linelength=2880
ivtv0-osd: fb1: cx23415 TV out frame buffer device
ivtv0: Allocate DMA decoder OSD stream: 16 x 65536 buffers (1024KB total)
Relevant devices:
# ls -l /dev/fb*
lrwxrwxrwx 1 root root 3 Jan 11 07:40 /dev/fb -> fb0
crw------- 1 root root 29, 0 Jan 11 07:40 /dev/fb0
crw------- 1 root root 29, 1 Jan 11 12:40 /dev/fb1
Relevant lsmod:
ivtv_fb 35080 0
tda9887 14033 0
msp3400 25057 0
saa7127 10644 0
saa7115 13968 0
tuner 39029 0
tveeprom 12332 0
ivtv 202004 1 ivtv_fb
i2c_algo_bit 9289 1 ivtv
videodev 9665 1 ivtv
shpchp 93317 0
i2c_viapro 8401 0
i2c_core 22081 8
tda9887,msp3400,saa7127,saa7115,tuner,tveeprom,i2c_algo_bit,i2c_viapro
Relevant lspci:
00:09.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2
Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR-350
Flags: bus master, medium devsel, latency 64, IRQ 12
Memory at dc000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
Relevant modprobe.conf:
# ivtv
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias tveeprom tveeprom-ivtv
install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb
Firmware RPM: ivtv-firmware-1.8a-8.at
Thanks,
Lars
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel