LinHES Forums
http://forum.linhes.org/

Has anyone used cx25840ctl to tweak a PVR-150 or PVR-500?
http://forum.linhes.org/viewtopic.php?f=11&t=11186
Page 1 of 1

Author:  Stef [ Thu Aug 17, 2006 4:12 pm ]
Post subject:  Has anyone used cx25840ctl to tweak a PVR-150 or PVR-500?

Hi everyone,

Just got myself a PVR-150MCE and installed it. Everything went pretty smoothly (other than the need to change all the Recording Profiles to 720x576 as it's a PAL card) but I'm not at all impressed by the tuner's picture quality, it actually seems worse than the cheap BT878 card it replaced.

I did a fair bit of digging to see if there was anything I could do to improve the image quality coming out of the tuner. Moved PCI slots, checked that the signal coming through from the aerial was fine, added a signal booster, rechecked using the old BTTV card. Nothing there. Tested everything on the checklist here:
http://www.knoppmythwiki.org/index.php? ... lityIssues

(Yes, I also upgraded to the latest version on IVTV.) Unfortunately, no improvement :(

Started hunting on Google, which turned up some interesting threads:
http://www.gossamer-threads.com/lists/i ... _view_flat

This one had comparison stills captures and talk of changing the registers on the card using the ivtv util called cx25840ctl. (See Post #14.)

There's more talk on this here by Bryan Mayland, who seems to be very clued up on the subject:
http://www.mail-archive.com/ivtv-devel@ ... 05658.html
http://lists.smeyers.be/mythtv-users/1894.html

Here he describes how to use the cx25840ctl util:
echo CCOMB_ERR_LIMIT=120 | cx25840ctl -s 1

However, if I do this I get:

root@mythtv:~# echo CCOMB_ERR_LIMIT=120 | cx25840ctl -s 1
Failed to open /dev/i2c-1: No such file or directory

(I installed "modprobe i2c-d" first.)
Running "i2cdetect -l" gives:

root@mythtv:~# i2cdetect -l
i2c-1 unknown ivtv i2c driver #0 Algorithm unavailable
i2c-0 unknown SMBus I801 adapter at 0c00 Algorithm unavailable

root@mythtv:~# i2cdetect 1
Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1': No such file or directory

(I also did an ls of /dev/i2c* and there's nothing there.)

So there's nothing at /dev/i2c*. Any ideas on what to do to get something to appear here so I can access the card's registers?

Cheers,

Stef

P.S. Here's the extracted IVTV info in case it's of any use:

Aug 17 16:45:57 mythtv kernel: ivtv: ==================== START INIT IVTV ====================
Aug 17 16:45:57 mythtv kernel: ivtv: version 0.4.6 (tagged release) loading
Aug 17 16:45:57 mythtv kernel: ivtv: Linux version: 2.6.15-chw-2 SMP preempt 586 gcc-3.3
Aug 17 16:45:57 mythtv kernel: ivtv: In case of problems please include the debug info between
Aug 17 16:45:57 mythtv kernel: ivtv: the START INIT IVTV and END INIT IVTV lines, along with
Aug 17 16:45:57 mythtv kernel: ivtv: any module options, when mailing the ivtv-users mailinglist.
Aug 17 16:45:57 mythtv kernel: ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
Aug 17 16:45:57 mythtv kernel: PCI: Enabling device 0000:03:0a.0 (0110 -> 0112)
Aug 17 16:45:57 mythtv kernel: ACPI: PCI Interrupt 0000:03:0a.0[A] -> GSI 22 (level, low) -> IRQ 21
Aug 17 16:45:57 mythtv kernel: ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
Aug 17 16:45:57 mythtv kernel: tveeprom: ivtv version
Aug 17 16:45:57 mythtv kernel: tveeprom: Hauppauge: model = 26559, rev = G189, serial# = 9512548
Aug 17 16:45:57 mythtv kernel: tveeprom: tuner = TCL MFPE05 2 (idx = 89, type = 38)
Aug 17 16:45:57 mythtv kernel: tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
Aug 17 16:45:57 mythtv kernel: tveeprom: audio processor = CX25843 (type = 25)
Aug 17 16:45:57 mythtv kernel: tveeprom: decoder processor = CX25843 (type = 1e)
Aug 17 16:45:57 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
Aug 17 16:45:57 mythtv kernel: tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
Aug 17 16:45:57 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
Aug 17 16:45:57 mythtv kernel: cx25840 1-0044: ivtv driver
Aug 17 16:45:57 mythtv kernel: cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
Aug 17 16:46:00 mythtv kernel: cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
Aug 17 16:46:01 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
Aug 17 16:46:01 mythtv kernel: wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
Aug 17 16:46:01 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
Aug 17 16:46:01 mythtv kernel: tda9887 1-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
Aug 17 16:46:01 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
Aug 17 16:46:02 mythtv kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
Aug 17 16:46:02 mythtv kernel: ivtv0: Encoder revision: 0x02050032
Aug 17 16:46:02 mythtv kernel: ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
Aug 17 16:46:02 mythtv kernel: ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
Aug 17 16:46:02 mythtv kernel: ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
Aug 17 16:46:02 mythtv kernel: ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
Aug 17 16:46:02 mythtv kernel: ivtv0: Create encoder radio stream
Aug 17 16:46:02 mythtv kernel: tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #0
Aug 17 16:46:02 mythtv kernel: ivtv0: Initialized WinTV PVR 150, card #0
Aug 17 16:46:02 mythtv kernel: ivtv: ==================== END INIT IVTV ====================

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/