On 8/27/06, Hans Verkuil <[EMAIL PROTECTED]> wrote:
On Sunday 27 August 2006 20:21, Eric Paynter wrote:
> I picked up a new Hauppauge PVR-500 this weekend, and, like many, I
> had the problem with video0 having the appearance of a very weak
> signal while video1 was fine. Digging through the archives, I found a
> thread with a patch:
>
> http://ivtvdriver.org/pipermail/ivtv-users/2006-June/002998.html
>
> Unfortunately, this patch is only good for ivtv 0.4.x series on
> kernel <= 2.6.15.
>
> I'm stuck with 2.6.17 because my wireless drivers are broken on
> 2.6.15. But  there doesn't even exist a tuner.c file on which to try
> to apply the patch in those kernel sources. After digging around in
> the kernel code, I found that the affected code now resides in
> tuner-types.c.
>
> Note: This patch does *not* solve the fact that the tuner is
> mis-identified as a TCPN_2121P30A instead of a TCPN_2221P30A. Those
> changes where all over the map and I didn't want to break anything,
> so I made the simplest change possible, which fixed the problem, and
> now I'm not going to touch it. Rumour is that 2.6.18 will have a fix
> included, so wait until then for the full fix. Here is the
> ridiculously simple patch that solves the immediate problem:

Yes, the fix is in 2.6.18. And I actually suspect there is both a
TCPN_2121P30A and a TCPN_2221P30A, however I don't have solid proof of
it. If so, then they seem to behave pretty much identical. It would be
nice if someone can confirm that they have a PVR500 with a
TCPN_2121P30A as opposed to a TCPN_2221P30A.

       Hans
 
Hans,
 
What do you need to confirm this?
 
Aug 27 17:28:29 mythtv kernel: ivtv:  ==================== START INIT IVTV ====================
Aug 27 17:28:29 mythtv kernel: ivtv:  version 0.7.0 (tagged release) loading
Aug 27 17:28:29 mythtv gpm[2467]: *** info [ startup.c(95)]:
Aug 27 17:28:29 mythtv kernel: ivtv:  Linux version: 2.6.17-1.2174_FC5smp SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1
Aug 27 17:28:29 mythtv gpm[2467]: Started gpm successfully. Entered daemon mode.
Aug 27 17:28:29 mythtv kernel: ivtv:  In case of problems please include the debug info between
Aug 27 17:28:30 mythtv kernel: ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
Aug 27 17:28:30 mythtv kernel: ivtv:  any module options, when mailing the ivtv-users mailinglist.
Aug 27 17:28:30 mythtv kernel: ivtv0: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based)
Aug 27 17:28:30 mythtv kernel: ACPI: PCI Interrupt 0000:03:08.0[A] -> GSI 22 (level, low) -> IRQ 185
Aug 27 17:28:30 mythtv kernel: tveeprom 1-0050: Hauppauge model 23552, rev E587, serial# 8382729
Aug 27 17:28:30 mythtv kernel: tveeprom 1-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 70)
Aug 27 17:28:30 mythtv kernel: tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
Aug 27 17:28:31 mythtv kernel: tveeprom 1-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
Aug 27 17:28:31 mythtv kernel: tveeprom 1-0050: audio processor is CX25843 (idx 37)
Aug 27 17:28:31 mythtv kernel: tveeprom 1-0050: decoder processor is CX25843 (idx 30)
Aug 27 17:28:31 mythtv ntpd[2315]: frequency initialized 29.019 PPM from /var/lib/ntp/drift
Aug 27 17:28:31 mythtv kernel: tveeprom 1-0050: has radio, has no IR remote
Aug 27 17:28:31 mythtv kernel: ivtv0: This is the second unit of a PVR500
Aug 27 17:28:31 mythtv kernel: ivtv0: Correcting tveeprom data: no radio present on second unit
Aug 27 17:28:31 mythtv kernel: ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 193
Aug 27 17:28:31 mythtv kernel: ehci_hcd 0000:00:1d.7: EHCI Host Controller
Aug 27 17:28:31 mythtv kernel: ehci_hcd 0000:00: 1d.7: new USB bus registered, assigned bus number 1
Aug 27 17:28:31 mythtv kernel: ehci_hcd 0000:00:1d.7: debug port 1
Aug 27 17:28:31 mythtv kernel: ehci_hcd 0000:00:1d.7: irq 193, io mem 0xffa80800
Aug 27 17:28:31 mythtv kernel: ehci_hcd 0000:00: 1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
Aug 27 17:28:31 mythtv kernel: usb usb1: configuration #1 chosen from 1 choice
Aug 27 17:28:31 mythtv kernel: hub 1-0:1.0: USB hub found
Aug 27 17:28:31 mythtv kernel: hub 1-0: 1.0: 8 ports detected
Aug 27 17:28:31 mythtv kernel: e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
Aug 27 17:28:32 mythtv kernel: e100: Copyright(c) 1999-2005 Intel Corporation
Aug 27 17:28:32 mythtv kernel: USB Universal Host Controller Interface driver v3.0
Aug 27 17:28:32 mythtv kernel: tuner 1-0060: TEA5767 detected.
Aug 27 17:28:32 mythtv kernel: tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #0)
Aug 27 17:28:32 mythtv kernel: tuner 1-0060: type set to 62 (Philips TEA5767HN FM Radio)
Aug 27 17:28:32 mythtv kernel: tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
Aug 27 17:28:32 mythtv kernel: Floppy drive(s): fd0 is 1.44M
Aug 27 17:28:32 mythtv kernel: FDC 0 is a post-1991 82077
Aug 27 17:28:32 mythtv kernel: cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
Aug 27 17:28:32 mythtv kernel: cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
Aug 27 17:28:32 mythtv kernel: wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
Aug 27 17:28:32 mythtv kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
Aug 27 17:28:32 mythtv kernel: ivtv0: Encoder revision: 0x02050032
Aug 27 17:28:32 mythtv kernel: ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
Aug 27 17:28:32 mythtv kernel: ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
Aug 27 17:28:32 mythtv kernel: ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
Aug 27 17:28:32 mythtv kernel: ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
Aug 27 17:28:32 mythtv kernel: tuner 1-0061: type set to 70 (Samsung TCPN 2121P30A)
Aug 27 17:28:32 mythtv kernel: ivtv0: Initialized WinTV PVR 500 (unit #2), card #0
Aug 27 17:28:33 mythtv kernel: ivtv:  ======================  NEXT CARD  ======================
Aug 27 17:28:33 mythtv kernel: ivtv1: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based)
Aug 27 17:28:33 mythtv kernel: ACPI: PCI Interrupt 0000:03: 09.0[A] -> GSI 21 (level, low) -> IRQ 201
Aug 27 17:28:33 mythtv kernel: tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
Aug 27 17:28:33 mythtv kernel: cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
Aug 27 17:28:33 mythtv kernel: cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
Aug 27 17:28:34 mythtv kernel: wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #1)
Aug 27 17:28:34 mythtv kernel: tveeprom 2-0050: Hauppauge model 23552, rev E587, serial# 8382729
Aug 27 17:28:34 mythtv kernel: tveeprom 2-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 70)
Aug 27 17:28:34 mythtv kernel: tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
Aug 27 17:28:34 mythtv kernel: tveeprom 2-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
Aug 27 17:28:34 mythtv kernel: tveeprom 2-0050: audio processor is CX25843 (idx 37)
Aug 27 17:28:34 mythtv kernel: tveeprom 2-0050: decoder processor is CX25843 (idx 30)
Aug 27 17:28:35 mythtv kernel: tveeprom 2-0050: has radio, has no IR remote
Aug 27 17:28:35 mythtv avahi-daemon[2619]: Found user 'avahi' (UID 70) and group 'avahi' (GID 70).
Aug 27 17:28:35 mythtv kernel: ivtv1: This is the first unit of a PVR500
Aug 27 17:28:36 mythtv avahi-daemon[2619]: Successfully dropped root privileges.
Aug 27 17:28:36 mythtv kernel: ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
Aug 27 17:28:37 mythtv avahi-daemon[2619]: avahi-daemon 0.6.10 starting up.
Aug 27 17:28:37 mythtv kernel: ivtv1: Encoder revision: 0x02050032
Aug 27 17:28:38 mythtv avahi-daemon[2619]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Aug 27 17:28:38 mythtv kernel: ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
Aug 27 17:28:38 mythtv avahi-daemon[2619]: Successfully called chroot().
Aug 27 17:28:38 mythtv kernel: ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
Aug 27 17:28:39 mythtv avahi-daemon[2619]: Successfully dropped remaining capabilities.
Aug 27 17:28:39 mythtv kernel: ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
Aug 27 17:28:39 mythtv avahi-daemon[2619]: No service found in /etc/avahi/services.
Aug 27 17:28:39 mythtv kernel: ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
Aug 27 17:28:39 mythtv avahi-daemon[2619]: New relevant interface eth0.IPv4 for mDNS.
Aug 27 17:28:40 mythtv kernel: ivtv1: Create encoder radio stream
Aug 27 17:28:40 mythtv avahi-daemon[2619]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.245.
Aug 27 17:28:40 mythtv kernel: tuner 2-0061: type set to 70 (Samsung TCPN 2121P30A)
Aug 27 17:28:40 mythtv avahi-daemon[2619]: Network interface enumeration completed.
Aug 27 17:28:40 mythtv kernel: ivtv1: Initialized WinTV PVR 500 (unit #1), card #1
Aug 27 17:28:40 mythtv avahi-daemon[2619]: Registering new address record for 192.168.1.245 on eth0.
Aug 27 17:28:40 mythtv kernel: ivtv:  ====================  END INIT IVTV  ====================
 
/sbin/lspci -vv
 

03:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. Unknown device 17f7
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (32000ns min, 2000ns max), Cache Line Size 10
        Interrupt: pin A routed to IRQ 185
        Region 0: Memory at f4000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

03:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. Unknown device 17e7
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (32000ns min, 2000ns max), Cache Line Size 10
        Interrupt: pin A routed to IRQ 201
        Region 0: Memory at f0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


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

Reply via email to