[mythtv-users] HD-3000, FC4, PVR-250/500

Mike stuff at dustsmoke.com
Sat Jan 7 05:24:46 UTC 2006


Chris Lynch wrote:

> All,
>
> I'm hoping someone has some ideas on what to look at.  I recently 
> updated my Sempron 3000+ box for HD, but so far it's not been going 
> too well :)  It was an FC3 box but I updated it over the past few days 
> to FC4 thinking this would be the best time to do it.
>
> I've got X running at 1080i but now I'm struggling to get the HD-3000 
> to work on ATSC.  A quick list of what I have set up so far:
>
> - Running latest stable IVTV 4 on 2.6.14-1.1653 with Myth .18.1
> - The box has a PVR-250 and a PVR-500 already
> - Installed the firmware for the HD-3000 DVB
> - I'm using kernel tveeprom instead of the IVTV one per messages I've seen
> - I have done mythtvsetup and successfully scanned channels and mapped 
> them to my Zap2It config
> - Using a tool on the pcHDTV site, I can scan and detect channels over 
> ATSC with the card.  At least I know it's *working*.
>
> At this point I can't cat anything on /dev/dvb/adapter0/dvr0 - nothing 
> shows up.  I've removed all cards in Myth and am just trying this one 
> but I get a black screen and then it comes back shortly thereafter to 
> the main menu.  At this point I'm just not sure what to do... for some 
> reason with these changes I can also not get my second PVR-500 tuner 
> to work, but I'm less worried about that right now.  I'd really like 
> to see some HDTV come through the new board!
>
> Here's what I have in my modprobe.conf:
> # ivtv modules setup
> alias char-major-81 videodev
> alias char-major-81-0 ivtv
> alias char-major-81-1 ivtv
> alias char-major-81-2 ivtv
> alias char-major-81-3 cx8800
> alias tuner tuner-ivtv
> alias msp3400 msp3400-ivtv
> install cx88-dvb /sbin/modprobe cx8800;/sbin/modprobe --ignore-install 
> cx88-dvb
>
> Anyone have any ideas?
>
> Thanks,
>
> Chris


When you have your channels.conf setup and tune to one, are you getting 
a lock before you try to cat the device? In one console you need to be 
seeing something like this.
./azap -r XETV
tuning to 627000000 Hz
video pid 0x0000, audio pid 0x0000
status 00 | signal a28e | snr fb73 | ber 00000000 | unc 00000000 |
status 1f | signal 04dc | snr fce9 | ber 00000000 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal 04dc | snr fd21 | ber 00000000 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal 0936 | snr fd19 | ber 00000000 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal 0936 | snr fcf9 | ber 00000000 | unc 00000000 | 
FE_HAS_LOCK

Once you see something like that and it locks onto the stream, you 
should be able to cat dvr0 at the same time and get a readable HD file. 
(make sure you don't have mythbackend running and holding onto the dvb 
card like it does) But you have to see the lock otherwise it isn't going 
to give you anything.

Also the only thing I have in my modules.conf. (but /etc/modutiles/ivtv 
in my case with debian sarge and 2.6.14.4 and ivtv 4.1) is
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
alias char-major-81-2 ivtv

My system runs a PVR-350 and PVR-500 and a HD-3000 so pretty much the 
same thing you have. (although I use QAM instead of OTA) This post 
helped me when I was first trying to do it with OTA. (and you seem to 
know about the tveeprom.ko from the kernel instead of ivytv)

http://www.avsforum.com/avs-vb/archive/index.php/t-530806.html


-Mike


Here's this stuff if you find any use out of it.

lspci
0000:00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] 
System Controller (rev 12)
0000:00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] 
AGP Bridge
0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super 
South] (rev 40)
0000:00:07.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 
1.1 Controller (rev 16)
0000:00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 
1.1 Controller (rev 16)
0000:00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] 
(rev 40)
0000:00:09.0 Multimedia video controller: Conexant Winfast TV2000 XP 
(rev 05)
0000:00:09.2 Multimedia controller: Conexant: Unknown device 8802 (rev 05)
0000:00:0a.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge 
(non-transparent mode) (rev 11)
0000:00:0c.0 Multimedia video controller: Internext Compression Inc 
iTVC15 MPEG-2 Encoder (rev 01)
0000:00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 
(rev 07)
0000:00:0d.1 Input device controller: Creative Labs SB Live! MIDI/Game 
Port (rev 07)
0000:00:0f.0 Ethernet controller: Linksys NC100 Network Everywhere Fast 
Ethernet 10/100 (rev 11)
0000:01:05.0 VGA compatible controller: nVidia Corporation NV25 
[GeForce4 Ti 4600] (rev a3)
0000:02:08.0 Multimedia video controller: Internext Compression Inc 
iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
0000:02:09.0 Multimedia video controller: Internext Compression Inc 
iTVC16 (CX23416) MPEG-2 Encoder (rev 01)

lsmod
Module                  Size  Used by
nvidia               3713864  12
ipv6                  270528  21
smbfs                  70008  2
af_packet              23176  2
floppy                 63044  0
pcspkr                  3872  0
rtc                    14072  0
cx88_dvb                9924  4
mt352                   6788  1 cx88_dvb
or51132                10756  1 cx88_dvb
video_buf_dvb           6788  1 cx88_dvb
dvb_core               84520  1 video_buf_dvb
lgdt330x                8220  1 cx88_dvb
cx22702                 6596  1 cx88_dvb
dvb_pll                 9348  3 cx88_dvb,or51132,cx22702
cx88_blackbird         16780  0
cx8802                 12356  2 cx88_dvb,cx88_blackbird
via686a                17416  0
i2c_isa                 4800  1 via686a
pci_hotplug            31028  0
amd_k7_agp              8844  1
agpgart                36296  2 nvidia,amd_k7_agp
tsdev                   7488  0
usbhid                 38368  0
tulip                  52320  0
emu10k1_gp              3712  0
gameport               16328  2 emu10k1_gp
snd_emu10k1           124900  0
snd_rawmidi            26592  1 snd_emu10k1
snd_seq_device          8780  2 snd_emu10k1,snd_rawmidi
snd_ac97_codec         95932  1 snd_emu10k1
snd_pcm_oss            53408  0
snd_mixer_oss          19712  1 snd_pcm_oss
snd_pcm                94280  3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_timer              26244  2 snd_emu10k1,snd_pcm
snd_ac97_bus            2240  1 snd_ac97_codec
snd_page_alloc         10888  2 snd_emu10k1,snd_pcm
snd_util_mem            4544  1 snd_emu10k1
snd_hwdep               9760  1 snd_emu10k1
snd                    58660  9 
snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore              10720  1 snd
uhci_hcd               34384  0
usbcore               126784  3 usbhid,uhci_hcd
parport_pc             36676  0
parport                38344  1 parport_pc
cx8800                 33420  1 cx88_blackbird
cx88xx                 60704  4 cx88_dvb,cx88_blackbird,cx8802,cx8800
ir_common               9028  1 cx88xx
v4l1_compat            14468  1 cx8800
wm8775                  6092  0
cx25840                28496  0
tda9887                16400  0
msp3400                35040  0
saa7127                12820  0
saa7115                16272  0
tuner                  24672  0
ivtv                  220244  5
bttv                  163920  0
video_buf              22532  7 
cx88_dvb,video_buf_dvb,cx88_blackbird,cx8802,cx8800,cx88xx,bttv
firmware_class         11136  5 or51132,cx88_blackbird,cx25840,ivtv,bttv
i2c_algo_bit            9800  3 cx88xx,ivtv,bttv
v4l2_common             5824  2 cx8800,bttv
btcx_risc               4936  4 cx8802,cx8800,cx88xx,bttv
tveeprom               13840  2 cx88xx,bttv
videodev                9984  9 cx88_blackbird,cx8800,cx88xx,ivtv,bttv
lirc_i2c               10564  1
i2c_core               22928  19 
cx88_dvb,mt352,or51132,lgdt330x,cx22702,via686a,i2c_isa,cx88xx,wm8775,cx25840,tda9887,msp3400,saa7127,saa7115,tuner,bttv,i2c_algo_bit,tveeprom,lirc_i2c
lirc_dev               15588  1 lirc_i2c
psmouse                39428  0
ide_cd                 43908  0
cdrom                  41376  1 ide_cd
unix                   29360  90
ext3                  146696  2
jbd                    62932  1 ext3
mbcache                10756  1 ext3
ide_disk               19072  5
generic                 4548  0 [permanent]
ide_generic             1280  0 [permanent]
via82cxxx              13532  0 [permanent]
ide_core              129120  5 
ide_cd,ide_disk,generic,ide_generic,via82cxxx
evdev                   9472  0
mousedev               11936  1
fbcon                  41664  0
tileblit                2368  1 fbcon
font                    8128  1 fbcon
bitblit                 5568  1 fbcon

dmesg

Linux video capture interface: v1.00
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.1 (tagged release) loading
ivtv:  Linux version: 2.6.14.4 preempt K7 gcc-3.3
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 WinTV PVR 350 card (cx23415 based)
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNKA] -> GSI 10 (level, 
low) -> IRQ 10
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tveeprom 0-0050: Hauppauge model 48132, rev K268, serial# 7875498
tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 0-0050: audio processor is MSP4448 (idx 27)
tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
tveeprom 0-0050: has radio, has IR remote
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
saa7115 0-0021: ivtv driver
saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
saa7127 0-0044: ivtv driver
saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
msp3400 0-0040: ivtv driver
msp3400 0-0040: chip=MSP4448G-A2 +nicam +simple +simpler +radio mode=simpler
msp3400 0-0040: msp34xxg daemon started
ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, addr=40]
tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Decoder revision: 0x02020023
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB 
total)
ivtv0: Create encoder radio stream
ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv0: Create decoder VOUT stream
ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total)
ivtv0: loaded v4l-cx2341x-init-mpeg.bin firmware (155648 bytes)
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
spurious 8259A interrupt: IRQ7.
ivtv0: Initialized WinTV PVR 350, card #0
ivtv:  ======================  NEXT CARD  ======================
ivtv1: Autodetected WinTV PVR 150 card (cx23416 based)
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [LNKC] -> GSI 5 (level, low) 
-> IRQ 5
ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc0 i2c-bus ivtv i2c driver #1
TEA5767 detected.
ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=60]
tuner: type set to 62 (Philips TEA5767HN FM Radio) by autodetect
type set to 62 (Philips TEA5767HN FM Radio)
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61]
tda9887 1-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #1)
ivtv1: i2c attach to card #1 ok [client=tda9887, addr=43]
tveeprom 1-0050: Hauppauge model 23552, rev D592, serial# 2994978
tveeprom 1-0050: tuner model is Philips FQ1236A MK4 (idx 92, type 57)
tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 1-0050: second tuner model is Philips TEA5767HN 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
ivtv1: This is the first unit of a PVR500
cx25840 1-0044: ivtv driver
cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
cx25840 1-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv1: i2c attach to card #1 ok [client=cx25840, addr=44]
wm8775 1-001b: ivtv driver
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #1)
ivtv1: i2c attach to card #1 ok [client=wm8775, addr=1b]
ivtv1: Detected a TEA5767 radio tuner. Enabling radio support.
ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv1: Encoder revision: 0x02050032
ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB 
total)
ivtv1: Create encoder radio stream
tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #1
ivtv1: Initialized WinTV PVR 500 (unit #1), card #1
ivtv:  ======================  NEXT CARD  ======================
ivtv2: Autodetected WinTV PVR 150 card (cx23416 based)
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:02:09.0[A] -> Link [LNKD] -> GSI 11 (level, 
low) -> IRQ 11
ivtv2: Unreasonably low latency timer, setting to 64 (was 32)
ivtv2: i2c attach to card #2 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #2
ivtv2: i2c attach to card #2 ok [client=(tuner unset), addr=61]
tda9887 2-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #2)
ivtv2: i2c attach to card #2 ok [client=tda9887, addr=43]
cx25840 2-0044: ivtv driver
cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #2)
cx25840 2-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv2: i2c attach to card #2 ok [client=cx25840, addr=44]
wm8775 2-001b: ivtv driver
wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #2)
ivtv2: i2c attach to card #2 ok [client=wm8775, addr=1b]
tveeprom 2-0050: Hauppauge model 23552, rev D592, serial# 2994978
tveeprom 2-0050: tuner model is Philips FQ1236A MK4 (idx 92, type 57)
tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 2-0050: second tuner model is Philips TEA5767HN 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
ivtv2: This is the second unit of a PVR500
ivtv2: Correcting tveeprom data: no radio present on second unit
ivtv2: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv2: Encoder revision: 0x02050032
ivtv2: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv2: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv2: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv2: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB 
total)
tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #2
ivtv2: Initialized WinTV PVR 500 (unit #2), card #2
ivtv:  ====================  END INIT IVTV  ====================
cx2388x v4l2 driver version 0.0.5 loaded
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] -> GSI 12 (level, 
low) -> IRQ 12
CORE cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV 
[card=22,autodetected]
TV tuner 52 at 0x1fe, Radio tuner -1 at 0x1fe
tuner (ivtv): chip found at addr 0xc2 i2c-bus cx88[0]
tuner: type set to 52 (Thomson DDT 7610 (ATSC/NTSC)) by cx88[0]
tda9887 3-0043: (ivtv) chip found @ 0x86 (cx88[0])
cx88[0]/0: found at 0000:00:09.0, rev: 5, irq: 12, latency: 32, mmio: 
0xe3000000
cx88[0]/0: registered device video3 [v4l2]
cx88[0]/0: registered device vbi3
cx88[0]/0: registered device radio2
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv0: i2c attach to card #0 ok [client=Hauppauge IR, addr=18]
lirc_dev: lirc_register_plugin: sample_rate: 10

.........

cx2388x blackbird driver version 0.0.5 loaded
cx2388x dvb driver version 0.0.5 loaded
ACPI: PCI Interrupt 0000:00:09.2[A] -> Link [LNKB] -> GSI 12 (level, 
low) -> IRQ 12
cx88[0]/2: found at 0000:00:09.2, rev: 5, irq: 12, latency: 32, mmio: 
0xe0000000
cx88[0]/2: cx2388x based dvb card
DVB: registering new adapter (cx88[0]).
DVB: registering frontend 0 (Oren OR51132 VSB/QAM Frontend)...

......

or51132: Waiting for firmware upload(dvb-fe-or51132-qam.fw)...

.....

or51132: Version: 10001334-17430000 (133-4-174-3)
or51132: Firmware upload complete.
cx88[0]/2: queue is empty - first active
cx88[0]/2: cx8802_start_dma 752
cx88[0]/2: setting the interrupt mask
cx88[0]/2: [f2154be0/0] cx8802_buf_queue - first active




More information about the mythtv-users mailing list