WinTV PVR500 & Ubuntu8.04 worked; upgrade to 10.04 doesn't!!

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

WinTV PVR500 & Ubuntu8.04 worked; upgrade to 10.04 doesn't!!

Anthony DeNardo III

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have 3 WinTVPVR500 cards each, in a bunch of linux boxes.  Let's just
consider one (encoder1).  Each card receives input from composite video,
and the card is tuned correctly (I can see the video locally).  I am
trying to multicast all 6.  I used to (when using Ubuntu8.04) use this
startup script:

#!/bin/bash
/usr/bin/vlc -vvv --color
pvr:/dev/video0:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
- --cr-average 1000 --sout udp:239.82.11.4:1234 --ttl 4 -I dummy &
/usr/bin/vlc -vvv --color
pvr:/dev/video1:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
- --cr-average 1000 --sout udp:239.82.11.5:1234 --ttl 4 -I dummy &
/usr/bin/vlc -vvv --color
pvr:/dev/video2:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
- --cr-average 1000 --sout udp:239.82.11.6:1234 --ttl 4 -I dummy &
/usr/bin/vlc -vvv --color
pvr:/dev/video3:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
- --cr-average 1000 --sout udp:239.82.11.7:1234 --ttl 4 -I dummy &
/usr/bin/vlc -vvv --color
pvr:/dev/video4:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
- --cr-average 1000 --sout udp:239.82.11.8:1234 --ttl 4 -I dummy &
/usr/bin/vlc -vvv --color
pvr:/dev/video5:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
- --cr-average 1000 --sout udp:239.82.11.9:1234 --ttl 4 -I dummy &

When encoder1 was running Ubuntu 8.04, this worked fine, and I could use
an application like VLC to receive the multicasts without issue.

Now I've upgraded encoder1 from Ubuntu 8.04 to Ubuntu 10.04, and only
one multicast at a time works.  Doesn't matter which, I can start each
of them successfully, and view them (locally and multicast), however a
second stream can be started, but not viewed.  Tshark confirms only one
multicast leaving the box.  If I kill the active one, the second one
becomes vieweable (locally and multicast) and tshark indicates the
stream leaving the box.

Did some sort of un-multi-threading happen recently?

dmesg output:
[   10.672489] ivtv: Start initialization, version 1.4.2
[   10.672585] ivtv0: Initializing card 0
[   10.672590] ivtv0: Autodetected Hauppauge card (cx23416 based)
[   10.672669] ivtv 0000:08:08.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[   10.672685] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[   10.732038] tveeprom 0-0050: Hauppauge model 23552, rev E692, serial#
10324230
[   10.732046] tveeprom 0-0050: tuner model is Philips FQ1236A MK4 (idx
92, type 57)
[   10.732053] tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
[   10.732058] tveeprom 0-0050: second tuner model is Philips TEA5768HL
FM Radio (idx 101, type 62)
[   10.732064] tveeprom 0-0050: audio processor is CX25843 (idx 37)
[   10.732069] tveeprom 0-0050: decoder processor is CX25843 (idx 30)
[   10.732073] tveeprom 0-0050: has radio
[   10.732078] ivtv0: Autodetected WinTV PVR 500 (unit #1)
[   10.737456] e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
[   10.757080] [drm] radeon defaulting to kernel modesetting.
[   10.757086] [drm] radeon kernel modesetting enabled.
[   10.757171] radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) ->
IRQ 16
[   10.757179] radeon 0000:01:00.0: setting latency timer to 64
[   10.760104] [drm] radeon: Initializing kernel modesetting.
[   10.760235] [drm] register mmio base: 0x60210000
[   10.760240] [drm] register mmio size: 65536
[   10.762450] [drm] GPU reset succeed (RBBM_STATUS=0x00000140)
[   10.762468] [drm] Generation 2 PCI interface, using max accessible memory
[   10.762474] [drm] radeon: VRAM 128M
[   10.762477] [drm] radeon: VRAM from 0x00000000 to 0x07FFFFFF
[   10.762481] [drm] radeon: GTT 512M
[   10.762485] [drm] radeon: GTT from 0x20000000 to 0x3FFFFFFF
[   10.762531]   alloc irq_desc for 31 on node -1
[   10.762535]   alloc kstat_irqs on node -1
[   10.762551] radeon 0000:01:00.0: irq 31 for MSI/MSI-X
[   10.762560] [drm] radeon: using MSI.
[   10.762591] [drm] radeon: irq initialized.
[   10.763315] [drm] Detected VRAM RAM=128M, BAR=128M
[   10.763321] [drm] RAM width 64bits DDR
[   10.763487] [TTM] Zone  kernel: Available graphics memory: 444410 kiB.
[   10.763492] [TTM] Zone highmem: Available graphics memory: 507978 kiB.
[   10.763515] [drm] radeon: 128M of VRAM memory ready
[   10.763520] [drm] radeon: 512M of GTT memory ready.
[   10.763543] [drm] GART: num cpu pages 131072, num gpu pages 131072
[   10.764548] [drm] radeon: 1 quad pipes, 1 Z pipes initialized.
[   10.764644] [drm] PCIE GART of 512M enabled (table at 0x00040000).
[   10.764669] [drm] radeon: cp idle (0x10000C03)
[   10.764729] [drm] Loading R300 Microcode
[   10.764736] platform radeon_cp.0: firmware: requesting radeon/R300_cp.bin
[   10.771360] [drm] radeon: ring at 0x0000000020000000
[   10.771388] [drm] ring test succeeded in 0 usecs
[   10.771723] [drm] radeon: ib pool ready.
[   10.771846] [drm] ib test succeeded in 0 usecs
[   10.772027] [drm] Default TV standard: NTSC
[   10.772032] [drm] 27.000000000 MHz TV ref clk
[   10.772039] [drm] DFP table revision: 4
[   10.772138] [drm] Default TV standard: NTSC
[   10.772142] [drm] 27.000000000 MHz TV ref clk
[   10.772198] [drm] Radeon Display Connectors
[   10.772202] [drm] Connector 0:
[   10.772205] [drm]   VGA
[   10.772210] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[   10.772214] [drm]   Encoders:
[   10.772217] [drm]     CRT1: INTERNAL_DAC1
[   10.772220] [drm] Connector 1:
[   10.772223] [drm]   DVI-I
[   10.772226] [drm]   HPD1
[   10.772231] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[   10.772234] [drm]   Encoders:
[   10.772237] [drm]     CRT2: INTERNAL_DAC2
[   10.772241] [drm]     DFP1: INTERNAL_TMDS1
[   10.772244] [drm] Connector 2:
[   10.772247] [drm]   S-video
[   10.772250] [drm]   Encoders:
[   10.772254] [drm]     TV1: INTERNAL_DAC2
[   10.792088] e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
[   10.792336] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.910080] cx25840 0-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0)
[   10.917458]   alloc irq_desc for 22 on node -1
[   10.917464]   alloc kstat_irqs on node -1
[   10.917477] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low)
- -> IRQ 22
[   10.917614] HDA Intel 0000:00:1b.0: setting latency timer to 64
[   10.954383] [drm] fb mappable at 0x400C0000
[   10.954388] [drm] vram apper at 0x40000000
[   10.954392] [drm] size 3145728
[   10.954395] [drm] fb depth is 24
[   10.954399] [drm]    pitch is 4096
[   10.956654] fb0: radeondrmfb frame buffer device
[   10.956658] registered panic notifier
[   10.956668] [drm] Initialized radeon 2.0.0 20080528 for 0000:01:00.0
on minor 0
[   10.962593] vga16fb: initializing
[   10.962599] vga16fb: mapped to 0xc00a0000
[   10.962606] vga16fb: not registering due to another framebuffer present
[   10.971450] tuner 0-0060: chip found @ 0xc0 (ivtv i2c driver #0)
[   10.971631] tea5767 0-0060: type set to Philips TEA5767HN FM Radio
[   11.015692] tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
[   11.029015] tda9887 0-0043: creating new instance
[   11.029019] tda9887 0-0043: tda988[5/6/7] found
[   11.032190] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[   11.046093] Console: switching to colour frame buffer device 128x48
[   11.056721] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
[   11.058743] input: HDA Digital PCBeep as
/devices/pci0000:00/0000:00:1b.0/input/input4
[   11.139251] tuner-simple 0-0061: creating new instance
[   11.139259] tuner-simple 0-0061: type set to 57 (Philips FQ1236A MK4)
[   11.140333] IRQ 21/ivtv0: IRQF_DISABLED is not guaranteed on shared IRQs
[   11.140907] ivtv0: Registered device video0 for encoder MPG (4096 kB)
[   11.140969] ivtv0: Registered device video32 for encoder YUV (2048 kB)
[   11.141026] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
[   11.141079] ivtv0: Registered device video24 for encoder PCM (320 kB)
[   11.141136] ivtv0: Registered device radio0 for encoder radio
[   11.141142] ivtv0: Initialized card: WinTV PVR 500 (unit #1)
[   11.141206] ivtv1: Initializing card 1
[   11.141212] ivtv1: Autodetected Hauppauge card (cx23416 based)
[   11.144437] ivtv 0000:08:09.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   11.144457] ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
[   11.201023] tveeprom 3-0050: Hauppauge model 23552, rev E692, serial#
10324230
[   11.201031] tveeprom 3-0050: tuner model is Philips FQ1236A MK4 (idx
92, type 57)
[   11.201038] tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
[   11.201044] tveeprom 3-0050: second tuner model is Philips TEA5768HL
FM Radio (idx 101, type 62)
[   11.201051] tveeprom 3-0050: audio processor is CX25843 (idx 37)
[   11.201057] tveeprom 3-0050: decoder processor is CX25843 (idx 30)
[   11.201062] tveeprom 3-0050: has radio
[   11.201067] ivtv1: Correcting tveeprom data: no radio present on
second unit
[   11.201071] ivtv1: Autodetected WinTV PVR 500 (unit #2)
[   11.222524] cx25840 3-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #1)
[   11.231136] tuner 3-0043: chip found @ 0x86 (ivtv i2c driver #1)
[   11.231304] tda9887 3-0043: creating new instance
[   11.231308] tda9887 3-0043: tda988[5/6/7] found
[   11.240791] tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
[   11.248266] wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
[   11.252876] type=1505 audit(1281978471.212:6):
operation="profile_replace" pid=816 name="/sbin/dhclient3"
[   11.253649] type=1505 audit(1281978471.212:7):
operation="profile_replace" pid=816
name="/usr/lib/NetworkManager/nm-dhcp-client.action"
[   11.254069] type=1505 audit(1281978471.212:8):
operation="profile_replace" pid=816
name="/usr/lib/connman/scripts/dhclient-script"
[   11.256466] type=1505 audit(1281978471.216:9):
operation="profile_replace" pid=817 name="/usr/sbin/ntpd"
[   11.259108] type=1505 audit(1281978471.216:10):
operation="profile_load" pid=818 name="/usr/sbin/tcpdump"
[   11.266891] tuner-simple 3-0061: creating new instance
[   11.266900] tuner-simple 3-0061: type set to 57 (Philips FQ1236A MK4)
[   11.267995] IRQ 22/ivtv1: IRQF_DISABLED is not guaranteed on shared IRQs
[   11.271346] ivtv1: Registered device video1 for encoder MPG (4096 kB)
[   11.271545] ivtv1: Registered device video33 for encoder YUV (2048 kB)
[   11.271742] ivtv1: Registered device vbi1 for encoder VBI (1024 kB)
[   11.271920] ivtv1: Registered device video25 for encoder PCM (320 kB)
[   11.271926] ivtv1: Initialized card: WinTV PVR 500 (unit #2)
[   11.271999] ivtv2: Initializing card 2
[   11.272004] ivtv2: Autodetected Hauppauge card (cx23416 based)
[   11.280401] ivtv 0000:09:08.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   11.280420] ivtv2: Unreasonably low latency timer, setting to 64 (was 32)
[   11.337661] tveeprom 4-0050: Hauppauge model 23552, rev E692, serial#
10324457
[   11.337669] tveeprom 4-0050: tuner model is Philips FQ1236A MK4 (idx
92, type 57)
[   11.337676] tveeprom 4-0050: TV standards NTSC(M) (eeprom 0x08)
[   11.337682] tveeprom 4-0050: second tuner model is Philips TEA5768HL
FM Radio (idx 101, type 62)
[   11.337688] tveeprom 4-0050: audio processor is CX25843 (idx 37)
[   11.337694] tveeprom 4-0050: decoder processor is CX25843 (idx 30)
[   11.337699] tveeprom 4-0050: has radio
[   11.337704] ivtv2: Autodetected WinTV PVR 500 (unit #1)
[   11.337983] input: HDA Intel Line In at Ext Rear Jack as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input5
[   11.338139] input: HDA Intel Mic at Ext Front Jack as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[   11.338273] input: HDA Intel Mic at Ext Rear Jack as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[   11.338401] input: HDA Intel Mic at Ext Rear Jack as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[   11.338540] input: HDA Intel Line In at Ext Rear Jack as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[   11.338667] input: HDA Intel Line Out at Ext Rear Jack as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[   11.338798] input: HDA Intel HP Out at Ext Front Jack as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   11.349373] cx25840 4-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #2)
[   11.354211] tuner 4-0060: chip found @ 0xc0 (ivtv i2c driver #2)
[   11.354313] tea5767 4-0060: type set to Philips TEA5767HN FM Radio
[   11.360230] tuner 4-0043: chip found @ 0x86 (ivtv i2c driver #2)
[   11.360334] tda9887 4-0043: creating new instance
[   11.360337] tda9887 4-0043: tda988[5/6/7] found
[   11.363246] tuner 4-0061: chip found @ 0xc2 (ivtv i2c driver #2)
[   11.365043] wm8775 4-001b: chip found @ 0x36 (ivtv i2c driver #2)
[   11.411259] input: ImExPS/2 Generic Explorer Mouse as
/devices/platform/i8042/serio1/input/input12
[   11.421448] tuner-simple 4-0061: creating new instance
[   11.421457] tuner-simple 4-0061: type set to 57 (Philips FQ1236A MK4)
[   11.422527] IRQ 22/ivtv2: IRQF_DISABLED is not guaranteed on shared IRQs
[   11.423486] ivtv2: Registered device video2 for encoder MPG (4096 kB)
[   11.423694] ivtv2: Registered device video34 for encoder YUV (2048 kB)
[   11.423882] ivtv2: Registered device vbi2 for encoder VBI (1024 kB)
[   11.424068] ivtv2: Registered device video26 for encoder PCM (320 kB)
[   11.424252] ivtv2: Registered device radio2 for encoder radio
[   11.424258] ivtv2: Initialized card: WinTV PVR 500 (unit #1)
[   11.424330] ivtv3: Initializing card 3
[   11.424336] ivtv3: Autodetected Hauppauge card (cx23416 based)
[   11.426986] ivtv 0000:09:09.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[   11.427004] ivtv3: Unreasonably low latency timer, setting to 64 (was 32)
[   11.484207] tveeprom 5-0050: Hauppauge model 23552, rev E692, serial#
10324457
[   11.484215] tveeprom 5-0050: tuner model is Philips FQ1236A MK4 (idx
92, type 57)
[   11.484221] tveeprom 5-0050: TV standards NTSC(M) (eeprom 0x08)
[   11.484228] tveeprom 5-0050: second tuner model is Philips TEA5768HL
FM Radio (idx 101, type 62)
[   11.484235] tveeprom 5-0050: audio processor is CX25843 (idx 37)
[   11.484240] tveeprom 5-0050: decoder processor is CX25843 (idx 30)
[   11.484245] tveeprom 5-0050: has radio
[   11.484249] ivtv3: Correcting tveeprom data: no radio present on
second unit
[   11.484254] ivtv3: Autodetected WinTV PVR 500 (unit #2)
[   11.489044] cx25840 5-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #3)
[   11.505995] tuner 5-0043: chip found @ 0x86 (ivtv i2c driver #3)
[   11.506177] tda9887 5-0043: creating new instance
[   11.506183] tda9887 5-0043: tda988[5/6/7] found
[   11.519154] tuner 5-0061: chip found @ 0xc2 (ivtv i2c driver #3)
[   11.527230] wm8775 5-001b: chip found @ 0x36 (ivtv i2c driver #3)
[   11.546204] tuner-simple 5-0061: creating new instance
[   11.546213] tuner-simple 5-0061: type set to 57 (Philips FQ1236A MK4)
[   11.547289] IRQ 21/ivtv3: IRQF_DISABLED is not guaranteed on shared IRQs
[   11.547962] ivtv3: Registered device video3 for encoder MPG (4096 kB)
[   11.548092] ivtv3: Registered device video35 for encoder YUV (2048 kB)
[   11.548218] ivtv3: Registered device vbi3 for encoder VBI (1024 kB)
[   11.548351] ivtv3: Registered device video27 for encoder PCM (320 kB)
[   11.548357] ivtv3: Initialized card: WinTV PVR 500 (unit #2)
[   11.548426] ivtv4: Initializing card 4
[   11.548431] ivtv4: Autodetected Hauppauge card (cx23416 based)
[   11.548549] ivtv 0000:0a:08.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[   11.548566] ivtv4: Unreasonably low latency timer, setting to 64 (was 32)
[   11.606923] tveeprom 6-0050: Hauppauge model 23552, rev E692, serial#
10324346
[   11.606932] tveeprom 6-0050: tuner model is Philips FQ1236A MK4 (idx
92, type 57)
[   11.606940] tveeprom 6-0050: TV standards NTSC(M) (eeprom 0x08)
[   11.606947] tveeprom 6-0050: second tuner model is Philips TEA5768HL
FM Radio (idx 101, type 62)
[   11.606954] tveeprom 6-0050: audio processor is CX25843 (idx 37)
[   11.606960] tveeprom 6-0050: decoder processor is CX25843 (idx 30)
[   11.606966] tveeprom 6-0050: has radio
[   11.606973] ivtv4: Autodetected WinTV PVR 500 (unit #1)
[   11.612875] cx25840 6-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #4)
[   11.619893] tuner 6-0060: chip found @ 0xc0 (ivtv i2c driver #4)
[   11.620090] tea5767 6-0060: type set to Philips TEA5767HN FM Radio
[   11.630081] tuner 6-0043: chip found @ 0x86 (ivtv i2c driver #4)
[   11.630266] tda9887 6-0043: creating new instance
[   11.630271] tda9887 6-0043: tda988[5/6/7] found
[   11.634374] tuner 6-0061: chip found @ 0xc2 (ivtv i2c driver #4)
[   11.643329] wm8775 6-001b: chip found @ 0x36 (ivtv i2c driver #4)
[   11.660866] tuner-simple 6-0061: creating new instance
[   11.660872] tuner-simple 6-0061: type set to 57 (Philips FQ1236A MK4)
[   11.661923] IRQ 18/ivtv4: IRQF_DISABLED is not guaranteed on shared IRQs
[   11.662426] ivtv4: Registered device video4 for encoder MPG (4096 kB)
[   11.662541] ivtv4: Registered device video36 for encoder YUV (2048 kB)
[   11.662646] ivtv4: Registered device vbi4 for encoder VBI (1024 kB)
[   11.662751] ivtv4: Registered device video28 for encoder PCM (320 kB)
[   11.662853] ivtv4: Registered device radio4 for encoder radio
[   11.662857] ivtv4: Initialized card: WinTV PVR 500 (unit #1)
[   11.662926] ivtv5: Initializing card 5
[   11.662930] ivtv5: Autodetected Hauppauge card (cx23416 based)
[   11.663016] ivtv 0000:0a:09.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[   11.663029] ivtv5: Unreasonably low latency timer, setting to 64 (was 32)
[   11.719324] tveeprom 7-0050: Hauppauge model 23552, rev E692, serial#
10324346
[   11.719333] tveeprom 7-0050: tuner model is Philips FQ1236A MK4 (idx
92, type 57)
[   11.719340] tveeprom 7-0050: TV standards NTSC(M) (eeprom 0x08)
[   11.719346] tveeprom 7-0050: second tuner model is Philips TEA5768HL
FM Radio (idx 101, type 62)
[   11.719352] tveeprom 7-0050: audio processor is CX25843 (idx 37)
[   11.719357] tveeprom 7-0050: decoder processor is CX25843 (idx 30)
[   11.719362] tveeprom 7-0050: has radio
[   11.719366] ivtv5: Correcting tveeprom data: no radio present on
second unit
[   11.719371] ivtv5: Autodetected WinTV PVR 500 (unit #2)
[   11.723878] cx25840 7-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #5)
[   11.733535] tuner 7-0043: chip found @ 0x86 (ivtv i2c driver #5)
[   11.733717] tda9887 7-0043: creating new instance
[   11.733723] tda9887 7-0043: tda988[5/6/7] found
[   11.737345] tuner 7-0061: chip found @ 0xc2 (ivtv i2c driver #5)
[   11.739466] wm8775 7-001b: chip found @ 0x36 (ivtv i2c driver #5)
[   11.757105] tuner-simple 7-0061: creating new instance
[   11.757113] tuner-simple 7-0061: type set to 57 (Philips FQ1236A MK4)
[   11.758185] IRQ 19/ivtv5: IRQF_DISABLED is not guaranteed on shared IRQs
[   11.758903] ivtv5: Registered device video5 for encoder MPG (4096 kB)
[   11.759049] ivtv5: Registered device video37 for encoder YUV (2048 kB)
[   11.759185] ivtv5: Registered device vbi5 for encoder VBI (1024 kB)
[   11.759330] ivtv5: Registered device video29 for encoder PCM (320 kB)
[   11.759337] ivtv5: Initialized card: WinTV PVR 500 (unit #2)
[   11.759473] ivtv: End initialization
[   12.245371] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow
Control: None
[   12.245376] 0000:00:19.0: eth0: 10/100 speed: disabling TSO
[   12.245546] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   12.384604] ivtv 0000:0a:08.0: firmware: requesting v4l-cx2341x-enc.fw
[   12.403896] ivtv4: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[   12.403923] ivtv 0000:08:09.0: firmware: requesting v4l-cx2341x-enc.fw
[   12.424950] ivtv1: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[   12.436521] ivtv 0000:09:09.0: firmware: requesting v4l-cx2341x-enc.fw
[   12.444348] ivtv 0000:08:08.0: firmware: requesting v4l-cx2341x-enc.fw
[   12.454296] ivtv3: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[   12.471916] ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[   12.472540] ivtv 0000:09:08.0: firmware: requesting v4l-cx2341x-enc.fw
[   12.472607] ivtv 0000:0a:09.0: firmware: requesting v4l-cx2341x-enc.fw
[   12.505558] ivtv5: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[   12.506308] ivtv2: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[   12.604692] ivtv4: Encoder revision: 0x02060039
[   12.621952] cx25840 6-0044: firmware: requesting v4l-cx25840.fw
[   12.624699] ivtv1: Encoder revision: 0x02060039
[   12.643922] cx25840 3-0044: firmware: requesting v4l-cx25840.fw
[   12.660606] ivtv3: Encoder revision: 0x02060039
[   12.673073] ivtv0: Encoder revision: 0x02060039
[   12.707761] cx25840 5-0044: firmware: requesting v4l-cx25840.fw
[   12.708303] ivtv2: Encoder revision: 0x02060039
[   12.713001] ivtv5: Encoder revision: 0x02060039
[   12.744166] cx25840 0-0044: firmware: requesting v4l-cx25840.fw
[   12.755032] cx25840 7-0044: firmware: requesting v4l-cx25840.fw
[   12.755394] cx25840 4-0044: firmware: requesting v4l-cx25840.fw
[   22.696507] eth0: no IPv6 routers present
[   22.715802] cx25840 4-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
[   22.932299] cx25840 3-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
[   23.063737] cx25840 6-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
[   23.266220] cx25840 0-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
[   23.821455] cx25840 5-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
[   24.187802] cx25840 7-0044: loaded v4l-cx25840.fw firmware (16382 bytes)


I'm currently using the ivtv driver (1.0.3) which I built on the system
in question (encoder1).  I've also tried xf86-video-ivtv-1.1.1 and, of
course, tried whatever is installed by default in Ubuntu10.04 first.

/var/log/messages shows no sort of error, nor anything suspicious.

Any help appreciated, thanks in advance ;-)

Anthony DeNardo III

            .___________
_____     __| _/\_____  \
\__  \   / __ |   _(__  <
 / __ \_/ /_/ |  /       \
(____  /\____ | /______  /
     \/      \/        \/

- --
==========================================
| Anthony Ben'jammin' DeNardo III
| Academic Computing & Networking Services
|
| 970 297 37 10
| [hidden email]
===========================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMaXRqjokULZJdRwcRAkpjAKCShgL22ecU9j1ZnXtZC2782CrqFQCgq8B2
31ECDfRMgNch+rtbtHAxvM0=
=M2jb
-----END PGP SIGNATURE-----

_______________________________________________
ivtv-users mailing list
[hidden email]
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Reply | Threaded
Open this post in threaded view
|

Re: WinTV PVR500 & Ubuntu8.04 worked; upgrade to 10.04 doesn't!!

Peter Schneider
I have a slightly different issue in that only one of the two tuners appears to work on the pvr500.  In my research it appears to be an issue with the dynamic device allocation that 10 now appears bound to.  A recomendation that I got was to use udev to solve the issue.  Not knowing how to set that up right now I have lots of research to do. Perhaps this is the same issue that you are facing.  

-Peter

Sent from my iPhone

On 2010-08-16, at 11:24 AM, Anthony DeNardo III <[hidden email]> wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have 3 WinTVPVR500 cards each, in a bunch of linux boxes.  Let's just
> consider one (encoder1).  Each card receives input from composite video,
> and the card is tuned correctly (I can see the video locally).  I am
> trying to multicast all 6.  I used to (when using Ubuntu8.04) use this
> startup script:
>
> #!/bin/bash
> /usr/bin/vlc -vvv --color
> pvr:/dev/video0:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
> - --cr-average 1000 --sout udp:239.82.11.4:1234 --ttl 4 -I dummy &
> /usr/bin/vlc -vvv --color
> pvr:/dev/video1:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
> - --cr-average 1000 --sout udp:239.82.11.5:1234 --ttl 4 -I dummy &
> /usr/bin/vlc -vvv --color
> pvr:/dev/video2:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
> - --cr-average 1000 --sout udp:239.82.11.6:1234 --ttl 4 -I dummy &
> /usr/bin/vlc -vvv --color
> pvr:/dev/video3:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
> - --cr-average 1000 --sout udp:239.82.11.7:1234 --ttl 4 -I dummy &
> /usr/bin/vlc -vvv --color
> pvr:/dev/video4:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
> - --cr-average 1000 --sout udp:239.82.11.8:1234 --ttl 4 -I dummy &
> /usr/bin/vlc -vvv --color
> pvr:/dev/video5:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
> - --cr-average 1000 --sout udp:239.82.11.9:1234 --ttl 4 -I dummy &
>
> When encoder1 was running Ubuntu 8.04, this worked fine, and I could use
> an application like VLC to receive the multicasts without issue.
>
> Now I've upgraded encoder1 from Ubuntu 8.04 to Ubuntu 10.04, and only
> one multicast at a time works.  Doesn't matter which, I can start each
> of them successfully, and view them (locally and multicast), however a
> second stream can be started, but not viewed.  Tshark confirms only one
> multicast leaving the box.  If I kill the active one, the second one
> becomes vieweable (locally and multicast) and tshark indicates the
> stream leaving the box.
>
> Did some sort of un-multi-threading happen recently?
>
> dmesg output:
> [   10.672489] ivtv: Start initialization, version 1.4.2
> [   10.672585] ivtv0: Initializing card 0
> [   10.672590] ivtv0: Autodetected Hauppauge card (cx23416 based)
> [   10.672669] ivtv 0000:08:08.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
> [   10.672685] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> [   10.732038] tveeprom 0-0050: Hauppauge model 23552, rev E692, serial#
> 10324230
> [   10.732046] tveeprom 0-0050: tuner model is Philips FQ1236A MK4 (idx
> 92, type 57)
> [   10.732053] tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
> [   10.732058] tveeprom 0-0050: second tuner model is Philips TEA5768HL
> FM Radio (idx 101, type 62)
> [   10.732064] tveeprom 0-0050: audio processor is CX25843 (idx 37)
> [   10.732069] tveeprom 0-0050: decoder processor is CX25843 (idx 30)
> [   10.732073] tveeprom 0-0050: has radio
> [   10.732078] ivtv0: Autodetected WinTV PVR 500 (unit #1)
> [   10.737456] e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
> [   10.757080] [drm] radeon defaulting to kernel modesetting.
> [   10.757086] [drm] radeon kernel modesetting enabled.
> [   10.757171] radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) ->
> IRQ 16
> [   10.757179] radeon 0000:01:00.0: setting latency timer to 64
> [   10.760104] [drm] radeon: Initializing kernel modesetting.
> [   10.760235] [drm] register mmio base: 0x60210000
> [   10.760240] [drm] register mmio size: 65536
> [   10.762450] [drm] GPU reset succeed (RBBM_STATUS=0x00000140)
> [   10.762468] [drm] Generation 2 PCI interface, using max accessible memory
> [   10.762474] [drm] radeon: VRAM 128M
> [   10.762477] [drm] radeon: VRAM from 0x00000000 to 0x07FFFFFF
> [   10.762481] [drm] radeon: GTT 512M
> [   10.762485] [drm] radeon: GTT from 0x20000000 to 0x3FFFFFFF
> [   10.762531]   alloc irq_desc for 31 on node -1
> [   10.762535]   alloc kstat_irqs on node -1
> [   10.762551] radeon 0000:01:00.0: irq 31 for MSI/MSI-X
> [   10.762560] [drm] radeon: using MSI.
> [   10.762591] [drm] radeon: irq initialized.
> [   10.763315] [drm] Detected VRAM RAM=128M, BAR=128M
> [   10.763321] [drm] RAM width 64bits DDR
> [   10.763487] [TTM] Zone  kernel: Available graphics memory: 444410 kiB.
> [   10.763492] [TTM] Zone highmem: Available graphics memory: 507978 kiB.
> [   10.763515] [drm] radeon: 128M of VRAM memory ready
> [   10.763520] [drm] radeon: 512M of GTT memory ready.
> [   10.763543] [drm] GART: num cpu pages 131072, num gpu pages 131072
> [   10.764548] [drm] radeon: 1 quad pipes, 1 Z pipes initialized.
> [   10.764644] [drm] PCIE GART of 512M enabled (table at 0x00040000).
> [   10.764669] [drm] radeon: cp idle (0x10000C03)
> [   10.764729] [drm] Loading R300 Microcode
> [   10.764736] platform radeon_cp.0: firmware: requesting radeon/R300_cp.bin
> [   10.771360] [drm] radeon: ring at 0x0000000020000000
> [   10.771388] [drm] ring test succeeded in 0 usecs
> [   10.771723] [drm] radeon: ib pool ready.
> [   10.771846] [drm] ib test succeeded in 0 usecs
> [   10.772027] [drm] Default TV standard: NTSC
> [   10.772032] [drm] 27.000000000 MHz TV ref clk
> [   10.772039] [drm] DFP table revision: 4
> [   10.772138] [drm] Default TV standard: NTSC
> [   10.772142] [drm] 27.000000000 MHz TV ref clk
> [   10.772198] [drm] Radeon Display Connectors
> [   10.772202] [drm] Connector 0:
> [   10.772205] [drm]   VGA
> [   10.772210] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
> [   10.772214] [drm]   Encoders:
> [   10.772217] [drm]     CRT1: INTERNAL_DAC1
> [   10.772220] [drm] Connector 1:
> [   10.772223] [drm]   DVI-I
> [   10.772226] [drm]   HPD1
> [   10.772231] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
> [   10.772234] [drm]   Encoders:
> [   10.772237] [drm]     CRT2: INTERNAL_DAC2
> [   10.772241] [drm]     DFP1: INTERNAL_TMDS1
> [   10.772244] [drm] Connector 2:
> [   10.772247] [drm]   S-video
> [   10.772250] [drm]   Encoders:
> [   10.772254] [drm]     TV1: INTERNAL_DAC2
> [   10.792088] e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
> [   10.792336] ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   10.910080] cx25840 0-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0)
> [   10.917458]   alloc irq_desc for 22 on node -1
> [   10.917464]   alloc kstat_irqs on node -1
> [   10.917477] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low)
> - -> IRQ 22
> [   10.917614] HDA Intel 0000:00:1b.0: setting latency timer to 64
> [   10.954383] [drm] fb mappable at 0x400C0000
> [   10.954388] [drm] vram apper at 0x40000000
> [   10.954392] [drm] size 3145728
> [   10.954395] [drm] fb depth is 24
> [   10.954399] [drm]    pitch is 4096
> [   10.956654] fb0: radeondrmfb frame buffer device
> [   10.956658] registered panic notifier
> [   10.956668] [drm] Initialized radeon 2.0.0 20080528 for 0000:01:00.0
> on minor 0
> [   10.962593] vga16fb: initializing
> [   10.962599] vga16fb: mapped to 0xc00a0000
> [   10.962606] vga16fb: not registering due to another framebuffer present
> [   10.971450] tuner 0-0060: chip found @ 0xc0 (ivtv i2c driver #0)
> [   10.971631] tea5767 0-0060: type set to Philips TEA5767HN FM Radio
> [   11.015692] tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
> [   11.029015] tda9887 0-0043: creating new instance
> [   11.029019] tda9887 0-0043: tda988[5/6/7] found
> [   11.032190] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> [   11.046093] Console: switching to colour frame buffer device 128x48
> [   11.056721] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
> [   11.058743] input: HDA Digital PCBeep as
> /devices/pci0000:00/0000:00:1b.0/input/input4
> [   11.139251] tuner-simple 0-0061: creating new instance
> [   11.139259] tuner-simple 0-0061: type set to 57 (Philips FQ1236A MK4)
> [   11.140333] IRQ 21/ivtv0: IRQF_DISABLED is not guaranteed on shared IRQs
> [   11.140907] ivtv0: Registered device video0 for encoder MPG (4096 kB)
> [   11.140969] ivtv0: Registered device video32 for encoder YUV (2048 kB)
> [   11.141026] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
> [   11.141079] ivtv0: Registered device video24 for encoder PCM (320 kB)
> [   11.141136] ivtv0: Registered device radio0 for encoder radio
> [   11.141142] ivtv0: Initialized card: WinTV PVR 500 (unit #1)
> [   11.141206] ivtv1: Initializing card 1
> [   11.141212] ivtv1: Autodetected Hauppauge card (cx23416 based)
> [   11.144437] ivtv 0000:08:09.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
> [   11.144457] ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
> [   11.201023] tveeprom 3-0050: Hauppauge model 23552, rev E692, serial#
> 10324230
> [   11.201031] tveeprom 3-0050: tuner model is Philips FQ1236A MK4 (idx
> 92, type 57)
> [   11.201038] tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
> [   11.201044] tveeprom 3-0050: second tuner model is Philips TEA5768HL
> FM Radio (idx 101, type 62)
> [   11.201051] tveeprom 3-0050: audio processor is CX25843 (idx 37)
> [   11.201057] tveeprom 3-0050: decoder processor is CX25843 (idx 30)
> [   11.201062] tveeprom 3-0050: has radio
> [   11.201067] ivtv1: Correcting tveeprom data: no radio present on
> second unit
> [   11.201071] ivtv1: Autodetected WinTV PVR 500 (unit #2)
> [   11.222524] cx25840 3-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #1)
> [   11.231136] tuner 3-0043: chip found @ 0x86 (ivtv i2c driver #1)
> [   11.231304] tda9887 3-0043: creating new instance
> [   11.231308] tda9887 3-0043: tda988[5/6/7] found
> [   11.240791] tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
> [   11.248266] wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
> [   11.252876] type=1505 audit(1281978471.212:6):
> operation="profile_replace" pid=816 name="/sbin/dhclient3"
> [   11.253649] type=1505 audit(1281978471.212:7):
> operation="profile_replace" pid=816
> name="/usr/lib/NetworkManager/nm-dhcp-client.action"
> [   11.254069] type=1505 audit(1281978471.212:8):
> operation="profile_replace" pid=816
> name="/usr/lib/connman/scripts/dhclient-script"
> [   11.256466] type=1505 audit(1281978471.216:9):
> operation="profile_replace" pid=817 name="/usr/sbin/ntpd"
> [   11.259108] type=1505 audit(1281978471.216:10):
> operation="profile_load" pid=818 name="/usr/sbin/tcpdump"
> [   11.266891] tuner-simple 3-0061: creating new instance
> [   11.266900] tuner-simple 3-0061: type set to 57 (Philips FQ1236A MK4)
> [   11.267995] IRQ 22/ivtv1: IRQF_DISABLED is not guaranteed on shared IRQs
> [   11.271346] ivtv1: Registered device video1 for encoder MPG (4096 kB)
> [   11.271545] ivtv1: Registered device video33 for encoder YUV (2048 kB)
> [   11.271742] ivtv1: Registered device vbi1 for encoder VBI (1024 kB)
> [   11.271920] ivtv1: Registered device video25 for encoder PCM (320 kB)
> [   11.271926] ivtv1: Initialized card: WinTV PVR 500 (unit #2)
> [   11.271999] ivtv2: Initializing card 2
> [   11.272004] ivtv2: Autodetected Hauppauge card (cx23416 based)
> [   11.280401] ivtv 0000:09:08.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
> [   11.280420] ivtv2: Unreasonably low latency timer, setting to 64 (was 32)
> [   11.337661] tveeprom 4-0050: Hauppauge model 23552, rev E692, serial#
> 10324457
> [   11.337669] tveeprom 4-0050: tuner model is Philips FQ1236A MK4 (idx
> 92, type 57)
> [   11.337676] tveeprom 4-0050: TV standards NTSC(M) (eeprom 0x08)
> [   11.337682] tveeprom 4-0050: second tuner model is Philips TEA5768HL
> FM Radio (idx 101, type 62)
> [   11.337688] tveeprom 4-0050: audio processor is CX25843 (idx 37)
> [   11.337694] tveeprom 4-0050: decoder processor is CX25843 (idx 30)
> [   11.337699] tveeprom 4-0050: has radio
> [   11.337704] ivtv2: Autodetected WinTV PVR 500 (unit #1)
> [   11.337983] input: HDA Intel Line In at Ext Rear Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
> [   11.338139] input: HDA Intel Mic at Ext Front Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
> [   11.338273] input: HDA Intel Mic at Ext Rear Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
> [   11.338401] input: HDA Intel Mic at Ext Rear Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
> [   11.338540] input: HDA Intel Line In at Ext Rear Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
> [   11.338667] input: HDA Intel Line Out at Ext Rear Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
> [   11.338798] input: HDA Intel HP Out at Ext Front Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
> [   11.349373] cx25840 4-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #2)
> [   11.354211] tuner 4-0060: chip found @ 0xc0 (ivtv i2c driver #2)
> [   11.354313] tea5767 4-0060: type set to Philips TEA5767HN FM Radio
> [   11.360230] tuner 4-0043: chip found @ 0x86 (ivtv i2c driver #2)
> [   11.360334] tda9887 4-0043: creating new instance
> [   11.360337] tda9887 4-0043: tda988[5/6/7] found
> [   11.363246] tuner 4-0061: chip found @ 0xc2 (ivtv i2c driver #2)
> [   11.365043] wm8775 4-001b: chip found @ 0x36 (ivtv i2c driver #2)
> [   11.411259] input: ImExPS/2 Generic Explorer Mouse as
> /devices/platform/i8042/serio1/input/input12
> [   11.421448] tuner-simple 4-0061: creating new instance
> [   11.421457] tuner-simple 4-0061: type set to 57 (Philips FQ1236A MK4)
> [   11.422527] IRQ 22/ivtv2: IRQF_DISABLED is not guaranteed on shared IRQs
> [   11.423486] ivtv2: Registered device video2 for encoder MPG (4096 kB)
> [   11.423694] ivtv2: Registered device video34 for encoder YUV (2048 kB)
> [   11.423882] ivtv2: Registered device vbi2 for encoder VBI (1024 kB)
> [   11.424068] ivtv2: Registered device video26 for encoder PCM (320 kB)
> [   11.424252] ivtv2: Registered device radio2 for encoder radio
> [   11.424258] ivtv2: Initialized card: WinTV PVR 500 (unit #1)
> [   11.424330] ivtv3: Initializing card 3
> [   11.424336] ivtv3: Autodetected Hauppauge card (cx23416 based)
> [   11.426986] ivtv 0000:09:09.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
> [   11.427004] ivtv3: Unreasonably low latency timer, setting to 64 (was 32)
> [   11.484207] tveeprom 5-0050: Hauppauge model 23552, rev E692, serial#
> 10324457
> [   11.484215] tveeprom 5-0050: tuner model is Philips FQ1236A MK4 (idx
> 92, type 57)
> [   11.484221] tveeprom 5-0050: TV standards NTSC(M) (eeprom 0x08)
> [   11.484228] tveeprom 5-0050: second tuner model is Philips TEA5768HL
> FM Radio (idx 101, type 62)
> [   11.484235] tveeprom 5-0050: audio processor is CX25843 (idx 37)
> [   11.484240] tveeprom 5-0050: decoder processor is CX25843 (idx 30)
> [   11.484245] tveeprom 5-0050: has radio
> [   11.484249] ivtv3: Correcting tveeprom data: no radio present on
> second unit
> [   11.484254] ivtv3: Autodetected WinTV PVR 500 (unit #2)
> [   11.489044] cx25840 5-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #3)
> [   11.505995] tuner 5-0043: chip found @ 0x86 (ivtv i2c driver #3)
> [   11.506177] tda9887 5-0043: creating new instance
> [   11.506183] tda9887 5-0043: tda988[5/6/7] found
> [   11.519154] tuner 5-0061: chip found @ 0xc2 (ivtv i2c driver #3)
> [   11.527230] wm8775 5-001b: chip found @ 0x36 (ivtv i2c driver #3)
> [   11.546204] tuner-simple 5-0061: creating new instance
> [   11.546213] tuner-simple 5-0061: type set to 57 (Philips FQ1236A MK4)
> [   11.547289] IRQ 21/ivtv3: IRQF_DISABLED is not guaranteed on shared IRQs
> [   11.547962] ivtv3: Registered device video3 for encoder MPG (4096 kB)
> [   11.548092] ivtv3: Registered device video35 for encoder YUV (2048 kB)
> [   11.548218] ivtv3: Registered device vbi3 for encoder VBI (1024 kB)
> [   11.548351] ivtv3: Registered device video27 for encoder PCM (320 kB)
> [   11.548357] ivtv3: Initialized card: WinTV PVR 500 (unit #2)
> [   11.548426] ivtv4: Initializing card 4
> [   11.548431] ivtv4: Autodetected Hauppauge card (cx23416 based)
> [   11.548549] ivtv 0000:0a:08.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> [   11.548566] ivtv4: Unreasonably low latency timer, setting to 64 (was 32)
> [   11.606923] tveeprom 6-0050: Hauppauge model 23552, rev E692, serial#
> 10324346
> [   11.606932] tveeprom 6-0050: tuner model is Philips FQ1236A MK4 (idx
> 92, type 57)
> [   11.606940] tveeprom 6-0050: TV standards NTSC(M) (eeprom 0x08)
> [   11.606947] tveeprom 6-0050: second tuner model is Philips TEA5768HL
> FM Radio (idx 101, type 62)
> [   11.606954] tveeprom 6-0050: audio processor is CX25843 (idx 37)
> [   11.606960] tveeprom 6-0050: decoder processor is CX25843 (idx 30)
> [   11.606966] tveeprom 6-0050: has radio
> [   11.606973] ivtv4: Autodetected WinTV PVR 500 (unit #1)
> [   11.612875] cx25840 6-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #4)
> [   11.619893] tuner 6-0060: chip found @ 0xc0 (ivtv i2c driver #4)
> [   11.620090] tea5767 6-0060: type set to Philips TEA5767HN FM Radio
> [   11.630081] tuner 6-0043: chip found @ 0x86 (ivtv i2c driver #4)
> [   11.630266] tda9887 6-0043: creating new instance
> [   11.630271] tda9887 6-0043: tda988[5/6/7] found
> [   11.634374] tuner 6-0061: chip found @ 0xc2 (ivtv i2c driver #4)
> [   11.643329] wm8775 6-001b: chip found @ 0x36 (ivtv i2c driver #4)
> [   11.660866] tuner-simple 6-0061: creating new instance
> [   11.660872] tuner-simple 6-0061: type set to 57 (Philips FQ1236A MK4)
> [   11.661923] IRQ 18/ivtv4: IRQF_DISABLED is not guaranteed on shared IRQs
> [   11.662426] ivtv4: Registered device video4 for encoder MPG (4096 kB)
> [   11.662541] ivtv4: Registered device video36 for encoder YUV (2048 kB)
> [   11.662646] ivtv4: Registered device vbi4 for encoder VBI (1024 kB)
> [   11.662751] ivtv4: Registered device video28 for encoder PCM (320 kB)
> [   11.662853] ivtv4: Registered device radio4 for encoder radio
> [   11.662857] ivtv4: Initialized card: WinTV PVR 500 (unit #1)
> [   11.662926] ivtv5: Initializing card 5
> [   11.662930] ivtv5: Autodetected Hauppauge card (cx23416 based)
> [   11.663016] ivtv 0000:0a:09.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
> [   11.663029] ivtv5: Unreasonably low latency timer, setting to 64 (was 32)
> [   11.719324] tveeprom 7-0050: Hauppauge model 23552, rev E692, serial#
> 10324346
> [   11.719333] tveeprom 7-0050: tuner model is Philips FQ1236A MK4 (idx
> 92, type 57)
> [   11.719340] tveeprom 7-0050: TV standards NTSC(M) (eeprom 0x08)
> [   11.719346] tveeprom 7-0050: second tuner model is Philips TEA5768HL
> FM Radio (idx 101, type 62)
> [   11.719352] tveeprom 7-0050: audio processor is CX25843 (idx 37)
> [   11.719357] tveeprom 7-0050: decoder processor is CX25843 (idx 30)
> [   11.719362] tveeprom 7-0050: has radio
> [   11.719366] ivtv5: Correcting tveeprom data: no radio present on
> second unit
> [   11.719371] ivtv5: Autodetected WinTV PVR 500 (unit #2)
> [   11.723878] cx25840 7-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #5)
> [   11.733535] tuner 7-0043: chip found @ 0x86 (ivtv i2c driver #5)
> [   11.733717] tda9887 7-0043: creating new instance
> [   11.733723] tda9887 7-0043: tda988[5/6/7] found
> [   11.737345] tuner 7-0061: chip found @ 0xc2 (ivtv i2c driver #5)
> [   11.739466] wm8775 7-001b: chip found @ 0x36 (ivtv i2c driver #5)
> [   11.757105] tuner-simple 7-0061: creating new instance
> [   11.757113] tuner-simple 7-0061: type set to 57 (Philips FQ1236A MK4)
> [   11.758185] IRQ 19/ivtv5: IRQF_DISABLED is not guaranteed on shared IRQs
> [   11.758903] ivtv5: Registered device video5 for encoder MPG (4096 kB)
> [   11.759049] ivtv5: Registered device video37 for encoder YUV (2048 kB)
> [   11.759185] ivtv5: Registered device vbi5 for encoder VBI (1024 kB)
> [   11.759330] ivtv5: Registered device video29 for encoder PCM (320 kB)
> [   11.759337] ivtv5: Initialized card: WinTV PVR 500 (unit #2)
> [   11.759473] ivtv: End initialization
> [   12.245371] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow
> Control: None
> [   12.245376] 0000:00:19.0: eth0: 10/100 speed: disabling TSO
> [   12.245546] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [   12.384604] ivtv 0000:0a:08.0: firmware: requesting v4l-cx2341x-enc.fw
> [   12.403896] ivtv4: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> [   12.403923] ivtv 0000:08:09.0: firmware: requesting v4l-cx2341x-enc.fw
> [   12.424950] ivtv1: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> [   12.436521] ivtv 0000:09:09.0: firmware: requesting v4l-cx2341x-enc.fw
> [   12.444348] ivtv 0000:08:08.0: firmware: requesting v4l-cx2341x-enc.fw
> [   12.454296] ivtv3: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> [   12.471916] ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> [   12.472540] ivtv 0000:09:08.0: firmware: requesting v4l-cx2341x-enc.fw
> [   12.472607] ivtv 0000:0a:09.0: firmware: requesting v4l-cx2341x-enc.fw
> [   12.505558] ivtv5: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> [   12.506308] ivtv2: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> [   12.604692] ivtv4: Encoder revision: 0x02060039
> [   12.621952] cx25840 6-0044: firmware: requesting v4l-cx25840.fw
> [   12.624699] ivtv1: Encoder revision: 0x02060039
> [   12.643922] cx25840 3-0044: firmware: requesting v4l-cx25840.fw
> [   12.660606] ivtv3: Encoder revision: 0x02060039
> [   12.673073] ivtv0: Encoder revision: 0x02060039
> [   12.707761] cx25840 5-0044: firmware: requesting v4l-cx25840.fw
> [   12.708303] ivtv2: Encoder revision: 0x02060039
> [   12.713001] ivtv5: Encoder revision: 0x02060039
> [   12.744166] cx25840 0-0044: firmware: requesting v4l-cx25840.fw
> [   12.755032] cx25840 7-0044: firmware: requesting v4l-cx25840.fw
> [   12.755394] cx25840 4-0044: firmware: requesting v4l-cx25840.fw
> [   22.696507] eth0: no IPv6 routers present
> [   22.715802] cx25840 4-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> [   22.932299] cx25840 3-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> [   23.063737] cx25840 6-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> [   23.266220] cx25840 0-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> [   23.821455] cx25840 5-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> [   24.187802] cx25840 7-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
>
>
> I'm currently using the ivtv driver (1.0.3) which I built on the system
> in question (encoder1).  I've also tried xf86-video-ivtv-1.1.1 and, of
> course, tried whatever is installed by default in Ubuntu10.04 first.
>
> /var/log/messages shows no sort of error, nor anything suspicious.
>
> Any help appreciated, thanks in advance ;-)
>
> Anthony DeNardo III
>
>            .___________
> _____     __| _/\_____  \
> \__  \   / __ |   _(__  <
> / __ \_/ /_/ |  /       \
> (____  /\____ | /______  /
>     \/      \/        \/
>
> - --
> ==========================================
> | Anthony Ben'jammin' DeNardo III
> | Academic Computing & Networking Services
> |
> | 970 297 37 10
> | [hidden email]
> ===========================================
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iD8DBQFMaXRqjokULZJdRwcRAkpjAKCShgL22ecU9j1ZnXtZC2782CrqFQCgq8B2
> 31ECDfRMgNch+rtbtHAxvM0=
> =M2jb
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> ivtv-users mailing list
> [hidden email]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users

_______________________________________________
ivtv-users mailing list
[hidden email]
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Reply | Threaded
Open this post in threaded view
|

Re: WinTV PVR500 & Ubuntu8.04 worked; upgrade to 10.04 doesn't!!

Andy Walls-2
In reply to this post by Anthony DeNardo III
On Mon, 2010-08-16 at 11:24 -0600, Anthony DeNardo III wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have 3 WinTVPVR500 cards each, in a bunch of linux boxes.  Let's just
> consider one (encoder1).  Each card receives input from composite video,
> and the card is tuned correctly (I can see the video locally).  I am
> trying to multicast all 6.  I used to (when using Ubuntu8.04) use this
> startup script:
>
> #!/bin/bash
> /usr/bin/vlc -vvv --color
> pvr:/dev/video0:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
> - --cr-average 1000 --sout udp:239.82.11.4:1234 --ttl 4 -I dummy &
> /usr/bin/vlc -vvv --color
> pvr:/dev/video1:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
> - --cr-average 1000 --sout udp:239.82.11.5:1234 --ttl 4 -I dummy &
> /usr/bin/vlc -vvv --color
> pvr:/dev/video2:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
> - --cr-average 1000 --sout udp:239.82.11.6:1234 --ttl 4 -I dummy &
> /usr/bin/vlc -vvv --color
> pvr:/dev/video3:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
> - --cr-average 1000 --sout udp:239.82.11.7:1234 --ttl 4 -I dummy &
> /usr/bin/vlc -vvv --color
> pvr:/dev/video4:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
> - --cr-average 1000 --sout udp:239.82.11.8:1234 --ttl 4 -I dummy &
> /usr/bin/vlc -vvv --color
> pvr:/dev/video5:norm=ntsc:size=720x576:frequency=576250:bitrate=5000000:maxbitrate=8000000
> - --cr-average 1000 --sout udp:239.82.11.9:1234 --ttl 4 -I dummy &
>
> When encoder1 was running Ubuntu 8.04, this worked fine, and I could use
> an application like VLC to receive the multicasts without issue.
>
> Now I've upgraded encoder1 from Ubuntu 8.04 to Ubuntu 10.04, and only
> one multicast at a time works.  Doesn't matter which, I can start each
> of them successfully, and view them (locally and multicast), however a
> second stream can be started, but not viewed.  Tshark confirms only one
> multicast leaving the box.  If I kill the active one, the second one
> becomes vieweable (locally and multicast) and tshark indicates the
> stream leaving the box.

Try to isolate kernel+ivtv driver vs application and networking first.

1. Use v4l2-ctl to set up each encoder to use Composite 1, PAL, and set
your bitrates.  'v4l2-ctl --help' and 'v4l2-ctl -d /dev/video0 -L'
should provide enough help,

2. Then use cat to perform multiple captures at once

$ cat /dev/video0 > foo0.mpg &
$ cat /dev/video1 > foo1.mpg &
$ cat /dev/video2 > foo2.mpg &
....

3. After you're satisfied enoguh time has past, stop the captures and
play each with mplayer.  If one doesn't have video in it, it indicates a
kernel or ivtv driver problems (or no video on the input of course).



> Did some sort of un-multi-threading happen recently?

Not in the ivtv driver.

The bleeding edge kernels have gutted the old workqueue (deferred
handling of non-timing critical driver actions that happen in response
to interrupts) implementation in latest kernel has been gutted and
replaced with concurrency managed workqueues.  The change should not
have broken the ivtv driver, but ivtv does rely on a single worker
thread per CX23416 to get buffers transferred.  Also, I suspect you
aren't running a bleeding edge kernel anyway.

Regards,
Andy

> dmesg output:
> [   10.672489] ivtv: Start initialization, version 1.4.2
> [   10.672585] ivtv0: Initializing card 0
> [   10.672590] ivtv0: Autodetected Hauppauge card (cx23416 based)
> [   10.672669] ivtv 0000:08:08.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
> [   10.672685] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> [   10.732038] tveeprom 0-0050: Hauppauge model 23552, rev E692, serial#
> 10324230
> [   10.732046] tveeprom 0-0050: tuner model is Philips FQ1236A MK4 (idx
> 92, type 57)
> [   10.732053] tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
> [   10.732058] tveeprom 0-0050: second tuner model is Philips TEA5768HL
> FM Radio (idx 101, type 62)
> [   10.732064] tveeprom 0-0050: audio processor is CX25843 (idx 37)
> [   10.732069] tveeprom 0-0050: decoder processor is CX25843 (idx 30)
> [   10.732073] tveeprom 0-0050: has radio
> [   10.732078] ivtv0: Autodetected WinTV PVR 500 (unit #1)
> [   10.737456] e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
> [   10.757080] [drm] radeon defaulting to kernel modesetting.
> [   10.757086] [drm] radeon kernel modesetting enabled.
> [   10.757171] radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) ->
> IRQ 16
> [   10.757179] radeon 0000:01:00.0: setting latency timer to 64
> [   10.760104] [drm] radeon: Initializing kernel modesetting.
> [   10.760235] [drm] register mmio base: 0x60210000
> [   10.760240] [drm] register mmio size: 65536
> [   10.762450] [drm] GPU reset succeed (RBBM_STATUS=0x00000140)
> [   10.762468] [drm] Generation 2 PCI interface, using max accessible memory
> [   10.762474] [drm] radeon: VRAM 128M
> [   10.762477] [drm] radeon: VRAM from 0x00000000 to 0x07FFFFFF
> [   10.762481] [drm] radeon: GTT 512M
> [   10.762485] [drm] radeon: GTT from 0x20000000 to 0x3FFFFFFF
> [   10.762531]   alloc irq_desc for 31 on node -1
> [   10.762535]   alloc kstat_irqs on node -1
> [   10.762551] radeon 0000:01:00.0: irq 31 for MSI/MSI-X
> [   10.762560] [drm] radeon: using MSI.
> [   10.762591] [drm] radeon: irq initialized.
> [   10.763315] [drm] Detected VRAM RAM=128M, BAR=128M
> [   10.763321] [drm] RAM width 64bits DDR
> [   10.763487] [TTM] Zone  kernel: Available graphics memory: 444410 kiB.
> [   10.763492] [TTM] Zone highmem: Available graphics memory: 507978 kiB.
> [   10.763515] [drm] radeon: 128M of VRAM memory ready
> [   10.763520] [drm] radeon: 512M of GTT memory ready.
> [   10.763543] [drm] GART: num cpu pages 131072, num gpu pages 131072
> [   10.764548] [drm] radeon: 1 quad pipes, 1 Z pipes initialized.
> [   10.764644] [drm] PCIE GART of 512M enabled (table at 0x00040000).
> [   10.764669] [drm] radeon: cp idle (0x10000C03)
> [   10.764729] [drm] Loading R300 Microcode
> [   10.764736] platform radeon_cp.0: firmware: requesting radeon/R300_cp.bin
> [   10.771360] [drm] radeon: ring at 0x0000000020000000
> [   10.771388] [drm] ring test succeeded in 0 usecs
> [   10.771723] [drm] radeon: ib pool ready.
> [   10.771846] [drm] ib test succeeded in 0 usecs
> [   10.772027] [drm] Default TV standard: NTSC
> [   10.772032] [drm] 27.000000000 MHz TV ref clk
> [   10.772039] [drm] DFP table revision: 4
> [   10.772138] [drm] Default TV standard: NTSC
> [   10.772142] [drm] 27.000000000 MHz TV ref clk
> [   10.772198] [drm] Radeon Display Connectors
> [   10.772202] [drm] Connector 0:
> [   10.772205] [drm]   VGA
> [   10.772210] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
> [   10.772214] [drm]   Encoders:
> [   10.772217] [drm]     CRT1: INTERNAL_DAC1
> [   10.772220] [drm] Connector 1:
> [   10.772223] [drm]   DVI-I
> [   10.772226] [drm]   HPD1
> [   10.772231] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
> [   10.772234] [drm]   Encoders:
> [   10.772237] [drm]     CRT2: INTERNAL_DAC2
> [   10.772241] [drm]     DFP1: INTERNAL_TMDS1
> [   10.772244] [drm] Connector 2:
> [   10.772247] [drm]   S-video
> [   10.772250] [drm]   Encoders:
> [   10.772254] [drm]     TV1: INTERNAL_DAC2
> [   10.792088] e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
> [   10.792336] ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   10.910080] cx25840 0-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0)
> [   10.917458]   alloc irq_desc for 22 on node -1
> [   10.917464]   alloc kstat_irqs on node -1
> [   10.917477] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low)
> - -> IRQ 22
> [   10.917614] HDA Intel 0000:00:1b.0: setting latency timer to 64
> [   10.954383] [drm] fb mappable at 0x400C0000
> [   10.954388] [drm] vram apper at 0x40000000
> [   10.954392] [drm] size 3145728
> [   10.954395] [drm] fb depth is 24
> [   10.954399] [drm]    pitch is 4096
> [   10.956654] fb0: radeondrmfb frame buffer device
> [   10.956658] registered panic notifier
> [   10.956668] [drm] Initialized radeon 2.0.0 20080528 for 0000:01:00.0
> on minor 0
> [   10.962593] vga16fb: initializing
> [   10.962599] vga16fb: mapped to 0xc00a0000
> [   10.962606] vga16fb: not registering due to another framebuffer present
> [   10.971450] tuner 0-0060: chip found @ 0xc0 (ivtv i2c driver #0)
> [   10.971631] tea5767 0-0060: type set to Philips TEA5767HN FM Radio
> [   11.015692] tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
> [   11.029015] tda9887 0-0043: creating new instance
> [   11.029019] tda9887 0-0043: tda988[5/6/7] found
> [   11.032190] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> [   11.046093] Console: switching to colour frame buffer device 128x48
> [   11.056721] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
> [   11.058743] input: HDA Digital PCBeep as
> /devices/pci0000:00/0000:00:1b.0/input/input4
> [   11.139251] tuner-simple 0-0061: creating new instance
> [   11.139259] tuner-simple 0-0061: type set to 57 (Philips FQ1236A MK4)
> [   11.140333] IRQ 21/ivtv0: IRQF_DISABLED is not guaranteed on shared IRQs
> [   11.140907] ivtv0: Registered device video0 for encoder MPG (4096 kB)
> [   11.140969] ivtv0: Registered device video32 for encoder YUV (2048 kB)
> [   11.141026] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
> [   11.141079] ivtv0: Registered device video24 for encoder PCM (320 kB)
> [   11.141136] ivtv0: Registered device radio0 for encoder radio
> [   11.141142] ivtv0: Initialized card: WinTV PVR 500 (unit #1)
> [   11.141206] ivtv1: Initializing card 1
> [   11.141212] ivtv1: Autodetected Hauppauge card (cx23416 based)
> [   11.144437] ivtv 0000:08:09.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
> [   11.144457] ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
> [   11.201023] tveeprom 3-0050: Hauppauge model 23552, rev E692, serial#
> 10324230
> [   11.201031] tveeprom 3-0050: tuner model is Philips FQ1236A MK4 (idx
> 92, type 57)
> [   11.201038] tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
> [   11.201044] tveeprom 3-0050: second tuner model is Philips TEA5768HL
> FM Radio (idx 101, type 62)
> [   11.201051] tveeprom 3-0050: audio processor is CX25843 (idx 37)
> [   11.201057] tveeprom 3-0050: decoder processor is CX25843 (idx 30)
> [   11.201062] tveeprom 3-0050: has radio
> [   11.201067] ivtv1: Correcting tveeprom data: no radio present on
> second unit
> [   11.201071] ivtv1: Autodetected WinTV PVR 500 (unit #2)
> [   11.222524] cx25840 3-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #1)
> [   11.231136] tuner 3-0043: chip found @ 0x86 (ivtv i2c driver #1)
> [   11.231304] tda9887 3-0043: creating new instance
> [   11.231308] tda9887 3-0043: tda988[5/6/7] found
> [   11.240791] tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
> [   11.248266] wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
> [   11.252876] type=1505 audit(1281978471.212:6):
> operation="profile_replace" pid=816 name="/sbin/dhclient3"
> [   11.253649] type=1505 audit(1281978471.212:7):
> operation="profile_replace" pid=816
> name="/usr/lib/NetworkManager/nm-dhcp-client.action"
> [   11.254069] type=1505 audit(1281978471.212:8):
> operation="profile_replace" pid=816
> name="/usr/lib/connman/scripts/dhclient-script"
> [   11.256466] type=1505 audit(1281978471.216:9):
> operation="profile_replace" pid=817 name="/usr/sbin/ntpd"
> [   11.259108] type=1505 audit(1281978471.216:10):
> operation="profile_load" pid=818 name="/usr/sbin/tcpdump"
> [   11.266891] tuner-simple 3-0061: creating new instance
> [   11.266900] tuner-simple 3-0061: type set to 57 (Philips FQ1236A MK4)
> [   11.267995] IRQ 22/ivtv1: IRQF_DISABLED is not guaranteed on shared IRQs
> [   11.271346] ivtv1: Registered device video1 for encoder MPG (4096 kB)
> [   11.271545] ivtv1: Registered device video33 for encoder YUV (2048 kB)
> [   11.271742] ivtv1: Registered device vbi1 for encoder VBI (1024 kB)
> [   11.271920] ivtv1: Registered device video25 for encoder PCM (320 kB)
> [   11.271926] ivtv1: Initialized card: WinTV PVR 500 (unit #2)
> [   11.271999] ivtv2: Initializing card 2
> [   11.272004] ivtv2: Autodetected Hauppauge card (cx23416 based)
> [   11.280401] ivtv 0000:09:08.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
> [   11.280420] ivtv2: Unreasonably low latency timer, setting to 64 (was 32)
> [   11.337661] tveeprom 4-0050: Hauppauge model 23552, rev E692, serial#
> 10324457
> [   11.337669] tveeprom 4-0050: tuner model is Philips FQ1236A MK4 (idx
> 92, type 57)
> [   11.337676] tveeprom 4-0050: TV standards NTSC(M) (eeprom 0x08)
> [   11.337682] tveeprom 4-0050: second tuner model is Philips TEA5768HL
> FM Radio (idx 101, type 62)
> [   11.337688] tveeprom 4-0050: audio processor is CX25843 (idx 37)
> [   11.337694] tveeprom 4-0050: decoder processor is CX25843 (idx 30)
> [   11.337699] tveeprom 4-0050: has radio
> [   11.337704] ivtv2: Autodetected WinTV PVR 500 (unit #1)
> [   11.337983] input: HDA Intel Line In at Ext Rear Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
> [   11.338139] input: HDA Intel Mic at Ext Front Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
> [   11.338273] input: HDA Intel Mic at Ext Rear Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
> [   11.338401] input: HDA Intel Mic at Ext Rear Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
> [   11.338540] input: HDA Intel Line In at Ext Rear Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
> [   11.338667] input: HDA Intel Line Out at Ext Rear Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
> [   11.338798] input: HDA Intel HP Out at Ext Front Jack as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
> [   11.349373] cx25840 4-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #2)
> [   11.354211] tuner 4-0060: chip found @ 0xc0 (ivtv i2c driver #2)
> [   11.354313] tea5767 4-0060: type set to Philips TEA5767HN FM Radio
> [   11.360230] tuner 4-0043: chip found @ 0x86 (ivtv i2c driver #2)
> [   11.360334] tda9887 4-0043: creating new instance
> [   11.360337] tda9887 4-0043: tda988[5/6/7] found
> [   11.363246] tuner 4-0061: chip found @ 0xc2 (ivtv i2c driver #2)
> [   11.365043] wm8775 4-001b: chip found @ 0x36 (ivtv i2c driver #2)
> [   11.411259] input: ImExPS/2 Generic Explorer Mouse as
> /devices/platform/i8042/serio1/input/input12
> [   11.421448] tuner-simple 4-0061: creating new instance
> [   11.421457] tuner-simple 4-0061: type set to 57 (Philips FQ1236A MK4)
> [   11.422527] IRQ 22/ivtv2: IRQF_DISABLED is not guaranteed on shared IRQs
> [   11.423486] ivtv2: Registered device video2 for encoder MPG (4096 kB)
> [   11.423694] ivtv2: Registered device video34 for encoder YUV (2048 kB)
> [   11.423882] ivtv2: Registered device vbi2 for encoder VBI (1024 kB)
> [   11.424068] ivtv2: Registered device video26 for encoder PCM (320 kB)
> [   11.424252] ivtv2: Registered device radio2 for encoder radio
> [   11.424258] ivtv2: Initialized card: WinTV PVR 500 (unit #1)
> [   11.424330] ivtv3: Initializing card 3
> [   11.424336] ivtv3: Autodetected Hauppauge card (cx23416 based)
> [   11.426986] ivtv 0000:09:09.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
> [   11.427004] ivtv3: Unreasonably low latency timer, setting to 64 (was 32)
> [   11.484207] tveeprom 5-0050: Hauppauge model 23552, rev E692, serial#
> 10324457
> [   11.484215] tveeprom 5-0050: tuner model is Philips FQ1236A MK4 (idx
> 92, type 57)
> [   11.484221] tveeprom 5-0050: TV standards NTSC(M) (eeprom 0x08)
> [   11.484228] tveeprom 5-0050: second tuner model is Philips TEA5768HL
> FM Radio (idx 101, type 62)
> [   11.484235] tveeprom 5-0050: audio processor is CX25843 (idx 37)
> [   11.484240] tveeprom 5-0050: decoder processor is CX25843 (idx 30)
> [   11.484245] tveeprom 5-0050: has radio
> [   11.484249] ivtv3: Correcting tveeprom data: no radio present on
> second unit
> [   11.484254] ivtv3: Autodetected WinTV PVR 500 (unit #2)
> [   11.489044] cx25840 5-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #3)
> [   11.505995] tuner 5-0043: chip found @ 0x86 (ivtv i2c driver #3)
> [   11.506177] tda9887 5-0043: creating new instance
> [   11.506183] tda9887 5-0043: tda988[5/6/7] found
> [   11.519154] tuner 5-0061: chip found @ 0xc2 (ivtv i2c driver #3)
> [   11.527230] wm8775 5-001b: chip found @ 0x36 (ivtv i2c driver #3)
> [   11.546204] tuner-simple 5-0061: creating new instance
> [   11.546213] tuner-simple 5-0061: type set to 57 (Philips FQ1236A MK4)
> [   11.547289] IRQ 21/ivtv3: IRQF_DISABLED is not guaranteed on shared IRQs
> [   11.547962] ivtv3: Registered device video3 for encoder MPG (4096 kB)
> [   11.548092] ivtv3: Registered device video35 for encoder YUV (2048 kB)
> [   11.548218] ivtv3: Registered device vbi3 for encoder VBI (1024 kB)
> [   11.548351] ivtv3: Registered device video27 for encoder PCM (320 kB)
> [   11.548357] ivtv3: Initialized card: WinTV PVR 500 (unit #2)
> [   11.548426] ivtv4: Initializing card 4
> [   11.548431] ivtv4: Autodetected Hauppauge card (cx23416 based)
> [   11.548549] ivtv 0000:0a:08.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> [   11.548566] ivtv4: Unreasonably low latency timer, setting to 64 (was 32)
> [   11.606923] tveeprom 6-0050: Hauppauge model 23552, rev E692, serial#
> 10324346
> [   11.606932] tveeprom 6-0050: tuner model is Philips FQ1236A MK4 (idx
> 92, type 57)
> [   11.606940] tveeprom 6-0050: TV standards NTSC(M) (eeprom 0x08)
> [   11.606947] tveeprom 6-0050: second tuner model is Philips TEA5768HL
> FM Radio (idx 101, type 62)
> [   11.606954] tveeprom 6-0050: audio processor is CX25843 (idx 37)
> [   11.606960] tveeprom 6-0050: decoder processor is CX25843 (idx 30)
> [   11.606966] tveeprom 6-0050: has radio
> [   11.606973] ivtv4: Autodetected WinTV PVR 500 (unit #1)
> [   11.612875] cx25840 6-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #4)
> [   11.619893] tuner 6-0060: chip found @ 0xc0 (ivtv i2c driver #4)
> [   11.620090] tea5767 6-0060: type set to Philips TEA5767HN FM Radio
> [   11.630081] tuner 6-0043: chip found @ 0x86 (ivtv i2c driver #4)
> [   11.630266] tda9887 6-0043: creating new instance
> [   11.630271] tda9887 6-0043: tda988[5/6/7] found
> [   11.634374] tuner 6-0061: chip found @ 0xc2 (ivtv i2c driver #4)
> [   11.643329] wm8775 6-001b: chip found @ 0x36 (ivtv i2c driver #4)
> [   11.660866] tuner-simple 6-0061: creating new instance
> [   11.660872] tuner-simple 6-0061: type set to 57 (Philips FQ1236A MK4)
> [   11.661923] IRQ 18/ivtv4: IRQF_DISABLED is not guaranteed on shared IRQs
> [   11.662426] ivtv4: Registered device video4 for encoder MPG (4096 kB)
> [   11.662541] ivtv4: Registered device video36 for encoder YUV (2048 kB)
> [   11.662646] ivtv4: Registered device vbi4 for encoder VBI (1024 kB)
> [   11.662751] ivtv4: Registered device video28 for encoder PCM (320 kB)
> [   11.662853] ivtv4: Registered device radio4 for encoder radio
> [   11.662857] ivtv4: Initialized card: WinTV PVR 500 (unit #1)
> [   11.662926] ivtv5: Initializing card 5
> [   11.662930] ivtv5: Autodetected Hauppauge card (cx23416 based)
> [   11.663016] ivtv 0000:0a:09.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
> [   11.663029] ivtv5: Unreasonably low latency timer, setting to 64 (was 32)
> [   11.719324] tveeprom 7-0050: Hauppauge model 23552, rev E692, serial#
> 10324346
> [   11.719333] tveeprom 7-0050: tuner model is Philips FQ1236A MK4 (idx
> 92, type 57)
> [   11.719340] tveeprom 7-0050: TV standards NTSC(M) (eeprom 0x08)
> [   11.719346] tveeprom 7-0050: second tuner model is Philips TEA5768HL
> FM Radio (idx 101, type 62)
> [   11.719352] tveeprom 7-0050: audio processor is CX25843 (idx 37)
> [   11.719357] tveeprom 7-0050: decoder processor is CX25843 (idx 30)
> [   11.719362] tveeprom 7-0050: has radio
> [   11.719366] ivtv5: Correcting tveeprom data: no radio present on
> second unit
> [   11.719371] ivtv5: Autodetected WinTV PVR 500 (unit #2)
> [   11.723878] cx25840 7-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #5)
> [   11.733535] tuner 7-0043: chip found @ 0x86 (ivtv i2c driver #5)
> [   11.733717] tda9887 7-0043: creating new instance
> [   11.733723] tda9887 7-0043: tda988[5/6/7] found
> [   11.737345] tuner 7-0061: chip found @ 0xc2 (ivtv i2c driver #5)
> [   11.739466] wm8775 7-001b: chip found @ 0x36 (ivtv i2c driver #5)
> [   11.757105] tuner-simple 7-0061: creating new instance
> [   11.757113] tuner-simple 7-0061: type set to 57 (Philips FQ1236A MK4)
> [   11.758185] IRQ 19/ivtv5: IRQF_DISABLED is not guaranteed on shared IRQs
> [   11.758903] ivtv5: Registered device video5 for encoder MPG (4096 kB)
> [   11.759049] ivtv5: Registered device video37 for encoder YUV (2048 kB)
> [   11.759185] ivtv5: Registered device vbi5 for encoder VBI (1024 kB)
> [   11.759330] ivtv5: Registered device video29 for encoder PCM (320 kB)
> [   11.759337] ivtv5: Initialized card: WinTV PVR 500 (unit #2)
> [   11.759473] ivtv: End initialization
> [   12.245371] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow
> Control: None
> [   12.245376] 0000:00:19.0: eth0: 10/100 speed: disabling TSO
> [   12.245546] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [   12.384604] ivtv 0000:0a:08.0: firmware: requesting v4l-cx2341x-enc.fw
> [   12.403896] ivtv4: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> [   12.403923] ivtv 0000:08:09.0: firmware: requesting v4l-cx2341x-enc.fw
> [   12.424950] ivtv1: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> [   12.436521] ivtv 0000:09:09.0: firmware: requesting v4l-cx2341x-enc.fw
> [   12.444348] ivtv 0000:08:08.0: firmware: requesting v4l-cx2341x-enc.fw
> [   12.454296] ivtv3: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> [   12.471916] ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> [   12.472540] ivtv 0000:09:08.0: firmware: requesting v4l-cx2341x-enc.fw
> [   12.472607] ivtv 0000:0a:09.0: firmware: requesting v4l-cx2341x-enc.fw
> [   12.505558] ivtv5: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> [   12.506308] ivtv2: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> [   12.604692] ivtv4: Encoder revision: 0x02060039
> [   12.621952] cx25840 6-0044: firmware: requesting v4l-cx25840.fw
> [   12.624699] ivtv1: Encoder revision: 0x02060039
> [   12.643922] cx25840 3-0044: firmware: requesting v4l-cx25840.fw
> [   12.660606] ivtv3: Encoder revision: 0x02060039
> [   12.673073] ivtv0: Encoder revision: 0x02060039
> [   12.707761] cx25840 5-0044: firmware: requesting v4l-cx25840.fw
> [   12.708303] ivtv2: Encoder revision: 0x02060039
> [   12.713001] ivtv5: Encoder revision: 0x02060039
> [   12.744166] cx25840 0-0044: firmware: requesting v4l-cx25840.fw
> [   12.755032] cx25840 7-0044: firmware: requesting v4l-cx25840.fw
> [   12.755394] cx25840 4-0044: firmware: requesting v4l-cx25840.fw
> [   22.696507] eth0: no IPv6 routers present
> [   22.715802] cx25840 4-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> [   22.932299] cx25840 3-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> [   23.063737] cx25840 6-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> [   23.266220] cx25840 0-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> [   23.821455] cx25840 5-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> [   24.187802] cx25840 7-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
>
>
> I'm currently using the ivtv driver (1.0.3) which I built on the system
> in question (encoder1).  I've also tried xf86-video-ivtv-1.1.1 and, of
> course, tried whatever is installed by default in Ubuntu10.04 first.
>
> /var/log/messages shows no sort of error, nor anything suspicious.
>
> Any help appreciated, thanks in advance ;-)
>
> Anthony DeNardo III
>
>             .___________
> _____     __| _/\_____  \
> \__  \   / __ |   _(__  <
>  / __ \_/ /_/ |  /       \
> (____  /\____ | /______  /
>      \/      \/        \/
>
> - --
> ==========================================
> | Anthony Ben'jammin' DeNardo III
> | Academic Computing & Networking Services
> |
> | 970 297 37 10
> | [hidden email]
> ===========================================
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iD8DBQFMaXRqjokULZJdRwcRAkpjAKCShgL22ecU9j1ZnXtZC2782CrqFQCgq8B2
> 31ECDfRMgNch+rtbtHAxvM0=
> =M2jb
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> ivtv-users mailing list
> [hidden email]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users



_______________________________________________
ivtv-users mailing list
[hidden email]
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Reply | Threaded
Open this post in threaded view
|

Re: WinTV PVR500 & Ubuntu8.04 worked; upgrade to 10.04 doesn't!!

Andy Walls-2
In reply to this post by Peter Schneider
On Mon, 2010-08-16 at 12:33 -0600, Peter Schneider wrote:
> I have a slightly different issue in that only one of the two tuners
> appears to work on the pvr500.  In my research it appears to be an
> issue with the dynamic device allocation that 10 now appears bound to.
> A recomendation that I got was to use udev to solve the issue.  Not
> knowing how to set that up right now I have lots of research to do.


$ v4l2-ctl --list-devices

may be of some help to you for manually using the devices.

Setting up udev is a pain, in that it is best if you learn how to use
udevadm to snoop hotplug event so you can then write rules to them.

Conceptually something like this:

1. man udevadm
2. confusion & swearing
3. su - root;
4  modprobe -r ivtv
5. udevadm monitor --somearguments
6. modprobe ivtv
7. confusion & swearing
8. quit udevadm
9. man udev
10. confusion & swearing
11. edit rules file on you machine
12. restart udev
13. modprobe -r ivtv; modprobe ivtv
14. check results
15. confusion & swearing
16. if results aren't right goto step 4
17. realize that pam rules affect device permissions
18  confusion & swearing
19. manually fix ownership and permissions on device nodes
        until logout and re-login

:)

>  Perhaps this is the same issue that you are facing.  

I suspect that is not the case.

Regards,
Andy

> -Peter
>
> Sent from my iPhone
>
> On 2010-08-16, at 11:24 AM, Anthony DeNardo III <[hidden email]> wrote:
>
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I have 3 WinTVPVR500 cards each, in a bunch of linux boxes.  Let's just
> > consider one (encoder1).  Each card receives input from composite video,
> > and the card is tuned correctly (I can see the video locally).  I am
> > trying to multicast all 6.  I used to (when using Ubuntu8.04) use this
> > startup script:
> >
> >
> > Now I've upgraded encoder1 from Ubuntu 8.04 to Ubuntu 10.04, and only
> > one multicast at a time works.  Doesn't matter which, I can start each
> > of them successfully, and view them (locally and multicast), however a
> > second stream can be started, but not viewed.  Tshark confirms only one
> > multicast leaving the box.  If I kill the active one, the second one
> > becomes vieweable (locally and multicast) and tshark indicates the
> > stream leaving the box.
> >
> > Did some sort of un-multi-threading happen recently?
> >



_______________________________________________
ivtv-users mailing list
[hidden email]
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Reply | Threaded
Open this post in threaded view
|

Re: WinTV PVR500 & Ubuntu8.04 worked; upgrade to 10.04 doesn't!!

Michael Cree
On 25/08/2010, at 12:11 AM, Andy Walls wrote:
> Setting up udev is a pain, in that it is best if you learn how to use
> udevadm to snoop hotplug event so you can then write rules to them.
>
> Conceptually something like this:
>
> 1. man udevadm
> 2. confusion & swearing

I utterly agree.  When I tried reading the udevadm man file (for some  
other reason) I was left utterly be-wildered and muttering WTF.  On  
realising that I would be encountering the following steps:

> 7. confusion & swearing
> 10. confusion & swearing
> 15. confusion & swearing
> 18  confusion & swearing

on a regular basis if a pursued my project, I abandoned what I was  
doing and moved on to something much more enthusing and uplifting.

Cheers
Michael.


_______________________________________________
ivtv-users mailing list
[hidden email]
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Reply | Threaded
Open this post in threaded view
|

Re: WinTV PVR500 & Ubuntu8.04 worked; upgrade to 10.04 doesn't!!

Peter Schneider
I have a feeling that steps 2, 7, 10, 15, & 18 are going to be a ongoing (as I have already been doing so leading up to this point) occurrence.  I ran the first command that Andy provided and got the following.

$ v4l2-ctl --list-devices
WinTV PVR 500 (unit #1) (PCI:0000:02:08.0):
/dev/video0
/dev/video24
/dev/video32
/dev/vbi0

WinTV PVR 500 (unit #2) (PCI:0000:02:09.0):
/dev/video1
/dev/video25
/dev/video33
/dev/vbi1

To me this looks fine yet the second receiver just shows static.  Now I am wondering about the health of the PVR 500.  Given all the postings about getting one but not the other I hold on to some fantasy about this being and configuration issue.

If anyone else has experience with this and can give any other pointers it would be most appreciated.

Thanks,
Peter




On 2010-08-24, at 6:18 PM, Michael Cree wrote:

On 25/08/2010, at 12:11 AM, Andy Walls wrote:
Setting up udev is a pain, in that it is best if you learn how to use
udevadm to snoop hotplug event so you can then write rules to them.

Conceptually something like this:

1. man udevadm
2. confusion & swearing

I utterly agree.  When I tried reading the udevadm man file (for some other reason) I was left utterly be-wildered and muttering WTF.  On realising that I would be encountering the following steps:

7. confusion & swearing
10. confusion & swearing
15. confusion & swearing
18  confusion & swearing

on a regular basis if a pursued my project, I abandoned what I was doing and moved on to something much more enthusing and uplifting.

Cheers
Michael.


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


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