[mythtv-users] PVR-350 and a pcHDTV 5500

Kevin J. Cummings cummings at kjchome.homeip.net
Tue Jan 23 06:05:29 UTC 2007


I finally got around to installing my new pcHDTV 5500 in my computer
today.  I had a working system with a PVR-350.  Fedora Core 5, using the
RPMs from ATRPMS for MythTV and IVTV.

Problem #1:  Upon rebooting, the pcHDTV decided it would now be /dev/video0.

Problem #2:  IVTV refused to load.  It complained that the firmware
wasn't found.  Strange, because it has had no problems finding it before!

> Jan 22 17:59:23 kjc386 kernel: ivtv:  ==================== START INIT IVTV ====================
> Jan 22 17:59:23 kjc386 kernel: ivtv:  version 0.8.2 (tagged release) loading
> Jan 22 17:59:23 kjc386 kernel: ivtv:  Linux version: 2.6.18-1.2257.fc5 mod_unload 686 REGPARM 4KSTACKS gcc-4.1
> Jan 22 17:59:23 kjc386 kernel: ivtv:  In case of problems please include the debug info between
> Jan 22 17:59:23 kjc386 kernel: ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
> Jan 22 17:59:23 kjc386 kernel: ivtv:  any module options, when mailing the ivtv-users mailinglist.
> Jan 22 17:59:23 kjc386 kernel: ivtv0: Autodetected Hauppauge card (cx23415 based)
> Jan 22 17:59:23 kjc386 kernel: ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
> Jan 22 17:59:23 kjc386 kernel: ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 217
> Jan 22 17:59:23 kjc386 kernel: ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> Jan 22 17:59:23 kjc386 kernel: firmware_loading_store: unexpected value (0)
> Jan 22 17:59:23 kjc386 kernel: ivtv0: unable to open firmware v4l-cx2341x-enc.fw (must be 262144 bytes)
> Jan 22 17:59:23 kjc386 kernel: ivtv0: did you put the firmware in the hotplug firmware directory?
> Jan 22 17:59:23 kjc386 kernel: ivtv0 warning: failed loading encoder firmware
> Jan 22 17:59:23 kjc386 kernel: ivtv0 warning: Error loading firmware -3!
> Jan 22 17:59:23 kjc386 kernel: ivtv0: Error -3 initializing firmware.
> Jan 22 17:59:23 kjc386 kernel: Trying to free already-free IRQ 217
> Jan 22 17:59:23 kjc386 kernel: ivtv0: Error -12 on initialization
> Jan 22 17:59:23 kjc386 kernel: ivtv: probe of 0000:02:08.0 failed with error -12
> Jan 22 17:59:23 kjc386 kernel: ivtv:  ====================  END INIT IVTV  ====================
> Jan 22 17:59:23 kjc386 kernel: ivtv-osd:  ivtv_fb_card_id parameter is out of range (valid range: 0--1)

After playing with the pcHDTV 5500 for a while, and downloading and
building the tools that pcHDTV wanted me to so I could check out the
card, I was able to determine that it is working for both NTSC and HDTV
using my (old) roof antenna.  So I started working on the IVTV side of
things.

After some hemming (and hawing), I founfd I had to change the following:

/etc/modprobe.conf:

Changed:

> alias char-major-81-0 ivtv

to:

> alias char-major-81-1 ivtv
> options ivtv ivtv_first_minor=1

Then after some rmmoding and modprobing, I was finally able to get ivtv
to load properly (took me 3 attempts!).  I had to rmmod ivtv, lirc_i2c,
and lirc_dev before doing the modprobe for ivtv and lirc_i2c!  I think
it was the 3 minute pause between the rmmods and the modprobe that made
it successful.

> Jan 22 21:50:03 kjc386 kernel: ivtv:  ==================== START INIT IVTV ====================
> Jan 22 21:50:03 kjc386 kernel: ivtv:  version 0.8.2 (tagged release) loading
> Jan 22 21:50:03 kjc386 kernel: ivtv:  Linux version: 2.6.18-1.2257.fc5 mod_unload 686 REGPARM 4KSTACKS gcc-4.1
> Jan 22 21:50:03 kjc386 kernel: ivtv:  In case of problems please include the debug info between
> Jan 22 21:50:03 kjc386 kernel: ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
> Jan 22 21:50:03 kjc386 kernel: ivtv:  any module options, when mailing the ivtv-users mailinglist.
> Jan 22 21:50:03 kjc386 kernel: ivtv0: Autodetected Hauppauge card (cx23415 based)
> Jan 22 21:50:04 kjc386 kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> Jan 22 21:50:04 kjc386 kernel: ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
> Jan 22 21:50:04 kjc386 kernel: tuner 6-0043: chip found @ 0x86 (ivtv i2c driver #0)
> Jan 22 21:50:04 kjc386 kernel: tda9887 6-0043: tda988[5/6/7] found @ 0x43 (tuner)
> Jan 22 21:50:04 kjc386 kernel: tuner 6-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> Jan 22 21:50:04 kjc386 kernel: tveeprom 6-0050: Hauppauge model 48132, rev K268, serial# 7875777
> Jan 22 21:50:04 kjc386 kernel: tveeprom 6-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
> Jan 22 21:50:04 kjc386 kernel: tveeprom 6-0050: TV standards NTSC(M) (eeprom 0x08)
> Jan 22 21:50:04 kjc386 kernel: tveeprom 6-0050: audio processor is MSP4448 (idx 27)
> Jan 22 21:50:04 kjc386 kernel: tveeprom 6-0050: decoder processor is SAA7115 (idx 19)
> Jan 22 21:50:04 kjc386 kernel: tveeprom 6-0050: has radio, has IR remote
> Jan 22 21:50:04 kjc386 kernel: ivtv0: Autodetected Hauppauge WinTV PVR-350
> Jan 22 21:50:04 kjc386 kernel: saa7115 6-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
> Jan 22 21:50:05 kjc386 kernel: saa7127 6-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
> Jan 22 21:50:05 kjc386 kernel: msp3400 6-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0)
> Jan 22 21:50:05 kjc386 kernel: msp3400 6-0040: MSP4448G-A2 supports radio, mode is autodetect and autoselect
> Jan 22 21:50:05 kjc386 kernel: ivtv0: Encoder revision: 0x02050032
> Jan 22 21:50:05 kjc386 kernel: ivtv0: Decoder revision: 0x02020023
> Jan 22 21:50:05 kjc386 kernel: ivtv0: Registered device video1 for encoder MPEG
> Jan 22 21:50:05 kjc386 kernel: ivtv0: Registered device video33 for encoder YUV
> Jan 22 21:50:05 kjc386 kernel: ivtv0: Registered device vbi1 for encoder VBI
> Jan 22 21:50:05 kjc386 kernel: ivtv0: Registered device video25 for encoder PCM audio
> Jan 22 21:50:05 kjc386 kernel: ivtv0: Registered device radio1 for encoder radio
> Jan 22 21:50:05 kjc386 kernel: ivtv0: Registered device video17 for decoder MPEG
> Jan 22 21:50:05 kjc386 kernel: ivtv0: Registered device vbi9 for decoder VBI
> Jan 22 21:50:05 kjc386 kernel: ivtv0: Registered device vbi17 for decoder VOUT
> Jan 22 21:50:05 kjc386 kernel: ivtv0: Registered device video49 for decoder YUV
> Jan 22 21:50:05 kjc386 kernel: ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
> Jan 22 21:50:05 kjc386 firmware_helper[13222]: Loading of /lib/firmware/v4l-cx2341x-init.mpg for ivtv driver failed: No such file or directory
> Jan 22 21:50:05 kjc386 kernel: tuner 6-0061: type set to 47 (LG NTSC (TAPE series))
> Jan 22 21:50:05 kjc386 kernel: ivtv0: Initialized Hauppauge WinTV PVR-350, card #0
> Jan 22 21:50:05 kjc386 kernel: ivtv:  ====================  END INIT IVTV  ====================
> Jan 22 21:50:05 kjc386 kernel: ivtv0-osd: Framebuffer module loaded (attached to ivtv card id 0)
> Jan 22 21:50:06 kjc386 kernel: ivtv0-osd: screen coords: [0 0] -> [720 480]
> Jan 22 21:50:06 kjc386 kernel: ivtv0-osd: original global alpha = 208
> Jan 22 21:50:06 kjc386 kernel: ivtv0-osd: current OSD state = 39
> Jan 22 21:50:06 kjc386 kernel: ivtv0-osd: new global alpha = 208 (1 255 0)
> Jan 22 21:50:06 kjc386 kernel: ivtv0-osd: framebuffer at 0xe1510000, mapped to 0xfc610000, size 1665k
> Jan 22 21:50:06 kjc386 kernel: ivtv0-osd: mode is 720x480x32, linelength=2880
> Jan 22 21:50:06 kjc386 kernel: ivtv0-osd: fb1: cx23415 TV out frame buffer device

I didn't touch my firmware files though all of this, so IVTV has some
problems interpreting its errors when it is unable to get the firmware
to load properly.  Its error messages are misleading sometimes (it
assumes the firmware files can't be found, when in fact, something else
is actually wrong).

(and, NO, I haven't re-booted yet to see if this all works following my
next re-boot....)

Finally, I was able to re-run myth-setup and tell myth about my new OTA
ATSC capture card.  That was the easy part.  I re-ran mythfilldatabase
(though I'm sure I needed to), and started to watch some live TV.  I
couldn't understand why the "Y" key wasn't working to switch capture
cards until I realized that the new setup dutifully started recording
Star Trek: Enterprise for me at 22:00, so the "other" tuner was "in
use".  After 23:00, I was able to switch between the capture cards at
will. (I even saw some PIP too, cool!)

Boy, does the HDTV look nice compared to SD!  I only wish my AMD
Athlon-XP 2600+ could keep up with it (its not a dedicated machine, in
fact, its my desktop, and a small mail/web/bittorrent server as well, so
drop-outs or freezes were sometimes numerous).

Ah well,  I guess I'll enjoy this for a few days before I try and see
how it can improve my cable TV viewing/recording (RCN Digital Vision
Plus, but I only wish to record straight from the cable like I am with
the PVR-350).  I'm hoping to get better signals via ATSC than I am with
the old analog signals (NTSC).

I'm posting this because there' not a lot out there on how to get IVTV
and pcHDTV cards working together, and I wanted to add my experience to
that which is available.

Thanks to all who have worked on V4L2, IVTV, or MythTV for making this
pretty painless, but I fear that the Linux inexperienced will find this
a daunting task....

-- 
Kevin J. Cummings
kjchome at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)


More information about the mythtv-users mailing list