I didn't get any suggestions when I posted this a couple of weeks ago so I
thought I'd try one more time.

I have a new PVR I've built with a single PVR-500 installed. Everything seems
to work when accessing the first encoder. However when I test the second
encoder with 'cat /dev/video1 > test.mpg' the host will lock-up after I hit
cntrl-C to stop the capture. I've tested this both with the tuner and with the
second S-video input on the second encoder.

After rebooting, the test.mpg file is fine -- the stream was encoded correctly.

I found http://www.mythtv.org/wiki/index.php/PCI_Latency on the MythTV wiki
but I don't seem to be able to reset the latency on my SATA controller. After
running the command listed there, my latency is still zero:

00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial
ATA Storage Controller IDE (rev 01) (prog-if 80 [Master])
        Subsystem: Elitegroup Computer Systems Unknown device 1b76
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 201
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at fb00 [size=16]
        Capabilities: <access denied>

Could the second encoder sharing an interrupt with the NIC be the problem?

$ cat /proc/interrupts
           CPU0       CPU1
  0:   32333565   32310269    IO-APIC-edge  timer
  7:          0          0    IO-APIC-edge  parport0
  8:          0          0    IO-APIC-edge  rtc
  9:          0          0   IO-APIC-level  acpi
 14:      43664      32798    IO-APIC-edge  libata
 15:     672694     717319    IO-APIC-edge  libata
169:    2140359    2267566   IO-APIC-level  uhci_hcd:usb4, HDA Intel, nvidia
193:    1764223    1872627   IO-APIC-level  uhci_hcd:usb1, ehci_hcd:usb5
201:      86629     103848   IO-APIC-level  uhci_hcd:usb2, ivtv0
209:          0          0   IO-APIC-level  uhci_hcd:usb3
217:    4197437          0   IO-APIC-level  ivtv1, eth0
NMI:       1771       1037
LOC:   64630644   64630571
ERR:          0
MIS:          0

I'm using the 0.10.5 driver from ATRPMS on CentOS 5 x86_64. Load-time messages
are below. The only error I see in the startup messages is the 'hda_codec'
message.

Can anyone provide any insight?

Thanks,
Kirk Bocek



ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.10.5 (tagged release) loading
ivtv:  Linux version: 2.6.18-8.1.8.el5 SMP mod_unload gcc-4.1
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 Hauppauge card (cx23416 based)
ACPI: PCI Interrupt 0000:03:08.0[A] -> GSI 19 (level, low) -> IRQ 201
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 169
PCI: Setting latency timer of device 0000:00:1b.0 to 64
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
tveeprom 1-0050: Hauppauge model 23552, rev E587, serial# 9867390
tveeprom 1-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 70)
tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 1-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101,
type 62)
tveeprom 1-0050: audio processor is CX25843 (idx 37)
tveeprom 1-0050: decoder processor is CX25843 (idx 30)
tveeprom 1-0050: has radio, has no IR remote
ivtv0: Autodetected WinTV PVR 500 (unit #1)
tuner 1-0060: TEA5767 detected.
tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #0)
tuner 1-0060: type set to 62 (Philips TEA5767HN FM Radio)
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Registered device radio0 for encoder radio
tuner 1-0061: type set to 70 (Samsung TCPN 2121P30A)
ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
ivtv:  ======================  NEXT CARD  ======================
ivtv1: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt 0000:03:09.0[A] -> GSI 20 (level, low) -> IRQ 217
ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
ivtv1: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv1: Encoder revision: 0x02060039
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #1)
tveeprom 2-0050: Hauppauge model 23552, rev E587, serial# 9867390
tveeprom 2-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 70)
tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 2-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101,
type 62)
tveeprom 2-0050: audio processor is CX25843 (idx 37)
tveeprom 2-0050: decoder processor is CX25843 (idx 30)
tveeprom 2-0050: has radio, has no IR remote
ivtv1: Correcting tveeprom data: no radio present on second unit
ivtv1: Autodetected WinTV PVR 500 (unit #2)
ivtv1: Registered device video1 for encoder MPEG (4 MB)
ivtv1: Registered device video33 for encoder YUV (2 MB)
ivtv1: Registered device vbi1 for encoder VBI (1 MB)
ivtv1: Registered device video25 for encoder PCM audio (1 MB)
tuner 2-0061: type set to 70 (Samsung TCPN 2121P30A)
ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
ivtv:  ====================  END INIT IVTV  ====================



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

Reply via email to