Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> HD-2000/3000 drivers -> Gentoo, AMD64, ivtv, and pchdtv 3000
Post new topic  Reply to topic View previous topic :: View next topic 
Gentoo, AMD64, ivtv, and pchdtv 3000
PostPosted: Fri Apr 07, 2006 8:42 pm Reply with quote
UrsaMare
 
Joined: 07 Apr 2006
Posts: 6




Hey all!

I'm having some problems getting my pchdtv card working and I'm starting to get frustrated. The basic problem is that I get absolutely no signal when using dtvsignal on stations that are very close to me (6 are within approx 10 miles). I also get no stations tuned with atscscan.

Configuration
pchdtv 3000
Hauppauge PVR 150 MCE
Opteron 146
kernel 2.6.15-gentoo-r7

I followed the information provided here:

http://www.penlug.org/twiki/bin/view/Main/DigitalTelevisionDVB

and from what I can tell, all of the tests that they mention are fine, except for getting zero signal. The correct modules are loaded, the correct devices appear in /dev, MythTV recognizes the card, but I get no signal. This after going through two HDTV antennas (current is Terk HDTVi).

I built the kernel drivers with all modules for DVB support, then installed ivtv from the Gentoo e-builds after that. Here's my lsmod:

Module Size Used by
cx88_dvb 5060 1
cx8802 9796 1 cx88_dvb
cx88xx 58144 2 cx88_dvb,cx8802
ir_common 8836 1 cx88xx
btcx_risc 4296 2 cx8802,cx88xx
or51132 9092 1 cx88_dvb
video_buf_dvb 5124 1 cx88_dvb
dvb_core 74780 1 video_buf_dvb
video_buf 18308 4 cx88_dvb,cx8802,cx88xx,video_buf_dvb
cx22702 5956 1 cx88_dvb
dvb_pll 9924 3 cx88_dvb,or51132,cx22702
tda9887 14928 0
cx25840 21520 0
tuner 39524 0
tveeprom 15184 1 cx88xx
ivtv 191764 0
firmware_class 8640 3 or51132,cx25840,ivtv
i2c_algo_bit 8264 2 cx88xx,ivtv
videodev 9152 2 cx88xx,ivtv
nfsd 98312 13
snd_via82xx 23200 0
snd_ac97_codec 97304 1 snd_via82xx
snd_ac97_bus 2560 1 snd_ac97_codec
snd_pcm 80392 2 snd_via82xx,snd_ac97_codec
snd_timer 20424 1 snd_pcm
snd_page_alloc 9104 2 snd_via82xx,snd_pcm
snd_mpu401_uart 6464 1 snd_via82xx
snd_rawmidi 21600 1 snd_mpu401_uart
snd_seq_device 7312 1 snd_rawmidi
snd 46664 7 snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
wm8775 5772 0
skge 34064 0

and snippets from dmesg (after removing all modules, then modprobe -v ivtv; modprobe -v cx88_dvb; and then doing dtvsignal):

Linux video capture interface: v1.00
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.4.2 (tagged release) loading
ivtv: Linux version: 2.6.15-gentoo-r7 SMP gcc-3.4
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 150 card (cx23416 based)
ACPI: PCI Interrupt 0000:00:06.0[A] -> GSI 17 (level, low) -> IRQ 209
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tveeprom 1-0050: Hauppauge model 26552, rev F068, serial# 8377412
tveeprom 1-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
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
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 1-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
tda9887 1-0043: 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: Encoder revision: 0x02050032
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
tuner 1-0061: type set to 47 (LG NTSC (TAPE series))
ivtv0: Initialized WinTV PVR 150, card #0
ivtv: ==================== END INIT IVTV ====================
cx2388x dvb driver version 0.0.5 loaded
CORE cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22,autodetected]
TV tuner 52 at 0x1fe, Radio tuner -1 at 0x1fe
tuner 2-0061: chip found @ 0xc2 (cx88[0])
tuner 2-0061: type set to 52 (Thomson DDT 7610 (ATSC/NTSC))
tda9887 2-0043: chip found @ 0x86 (cx88[0])
ACPI: PCI Interrupt 0000:00:05.2[A] -> GSI 16 (level, low) -> IRQ 201
cx88[0]/2: found at 0000:00:05.2, rev: 5, irq: 201, latency: 32, mmio: 0xf5000000
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-vsb.fw)...
or51132: Version: 10001134-19430000 (113-4-194-3)
or51132: Firmware upload complete.
cx88[0]/2: queue is empty - first active
cx88[0]/2: cx8802_start_dma w: 0, h: 0, f: 2
cx88[0]/2: setting the interrupt mask
cx88[0]/2: [ffff81003f010c00/0] cx8802_buf_queue - first active
cx88[0]/2: cx8802_timeout
cx88[0]/2: cx8802_stop_dma
cx88[0]/2: restarting queue
cx88[0]/2: cx8802_restart_queue
cx88[0]/2: cx8802_restart_queue: queue is empty
cx88[0]/2: queue is empty - first active
cx88[0]/2: cx8802_start_dma w: 0, h: 0, f: 2
cx88[0]/2: setting the interrupt mask
cx88[0]/2: [ffff810022f8dc00/0] cx8802_buf_queue - first active
cx88[0]/2: cx8802_timeout
cx88[0]/2: cx8802_stop_dma
cx88[0]/2: restarting queue
cx88[0]/2: cx8802_restart_queue
cx88[0]/2: cx8802_restart_queue: queue is empty
cx88[0]/2: queue is empty - first active
cx88[0]/2: cx8802_start_dma w: 0, h: 0, f: 2
cx88[0]/2: setting the interrupt mask
cx88[0]/2: [ffff81001a3e9e00/0] cx8802_buf_queue - first active
cx88[0]/2: cx8802_timeout
cx88[0]/2: cx8802_stop_dma
cx88[0]/2: restarting queue
cx88[0]/2: cx8802_restart_queue
cx88[0]/2: cx8802_restart_queue: queue is empty
cx88[0]/2: queue is empty - first active
cx88[0]/2: cx8802_start_dma w: 0, h: 0, f: 2
cx88[0]/2: setting the interrupt mask
cx88[0]/2: [ffff81003f7fc400/0] cx8802_buf_queue - first active
cx88[0]/2: cx8802_timeout
cx88[0]/2: cx8802_stop_dma
cx88[0]/2: restarting queue
cx88[0]/2: cx8802_restart_queue
cx88[0]/2: cx8802_restart_queue: queue is empty
cx88[0]/2: queue is empty - first active
cx88[0]/2: cx8802_start_dma w: 0, h: 0, f: 2
cx88[0]/2: setting the interrupt mask
cx88[0]/2: [ffff81000c2b7c00/0] cx8802_buf_queue - first active
cx88[0]/2: cx8802_timeout
cx88[0]/2: cx8802_stop_dma
cx88[0]/2: restarting queue
cx88[0]/2: cx8802_restart_queue
cx88[0]/2: cx8802_restart_queue: queue is empty

As you can see, I have a PVR 150 which works perfectly, with the ivtv 0.4.2 drivers. The firmware loads for hd3000, and I get the following devices:

ls -l /dev/dvb/adapter0/
total 0
crw-rw---- 1 root video 212, 4 Apr 7 23:07 demux0
crw-rw---- 1 root video 212, 5 Apr 7 23:07 dvr0
crw-rw---- 1 root video 212, 3 Apr 7 23:07 frontend0
crw-rw---- 1 root video 212, 7 Apr 7 23:07 net0

dtvsignal seems to read it just fine.

I'm using kernel 2.6.15-gentoo-r7 on an Opteron 146

Relevant snippet of kernel config:

CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_BT848=m
CONFIG_VIDEO_SAA6588=m
CONFIG_VIDEO_CX88=m
CONFIG_VIDEO_CX88_DVB=m
# CONFIG_VIDEO_CX88_DVB_OR51132 is not set
CONFIG_VIDEO_AUDIO_DECODER=m
CONFIG_VIDEO_DECODER=m
CONFIG_DVB=y
CONFIG_DVB_CORE=m
CONFIG_DVB_OR51132=m
CONFIG_VIDEO_TUNER=m
CONFIG_VIDEO_BUF=m
CONFIG_VIDEO_BUF_DVB=m
CONFIG_VIDEO_BTCX=m
CONFIG_VIDEO_IR=m
CONFIG_VIDEO_TVEEPROM=m

I'm at my wits end; it's been two weeks now. I feel like I've done everything right and it still doesn't work. I'd like to get some confirmation that my software configuration looks right before I come to the conclusion that the hardware is bad.

Thanks in advance; it's going to be a rainy day in the Northeast US tomorrow, so I'll have plenty of time to post more debug output or follow suggestions.
View user's profile Send private message
PostPosted: Tue Apr 11, 2006 9:30 pm Reply with quote
pcHDTV_tech
 
Joined: 16 Dec 2004
Posts: 295




Sorry for a belated response, but it appears to me that everything in the driver is working well. What version of the tools are you using? (dtvsignal, etc?) COuld you post some output from your attempts to use dtvsignal?

Rusty
View user's profile Send private message Visit poster's website
Version of dtvsignal
PostPosted: Wed Apr 12, 2006 7:24 pm Reply with quote
UrsaMare
 
Joined: 07 Apr 2006
Posts: 6




I'm using dvb-atsc-tools-1.0.1 downloaded from the pchdtv site. When I run dtvsignal on channel 10 and 51 (It wasn't clear from the help message what frequency to enter. WJAR-DT in my area is analog channel 10 running on frequency 51, and generally the strongest station in my area, so I tried both)

Here's representative output:

~/dvb-atsc-tools-1.0.1 $ ./dtvsignal 51
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 695000000 Hz
video pid 0x0021, audio pid 0x0024
dtvsignal ver 1.0 - by Jack Kelliher (c) 2002
channel = 51 freq = 695000000Hz
30db 0% 25% 50% 75% 100%
Signal: | . : . | ._____:_____._____|
Signal: 000 .
View user's profile Send private message
PostPosted: Thu Apr 13, 2006 9:43 pm Reply with quote
pcHDTV_tech
 
Joined: 16 Dec 2004
Posts: 295




Try using dtvscan to see if it can pick up on anything in your area.

Try loading just the HD3000 driver without the ivtv module.

Do the following to generate a full dmesg output:

> /sbin/modprobe -rv cx88-dvb cx8800
> /sbin/modprobe -v cx8800
> /sbin/modprobe -v cx88-dvb
> dtvsignal -d 0 51
> dmesg

Then paste the full output of dmesg (satrting from where the drivers loaded) here. This is a tricky one...

Rusty
View user's profile Send private message Visit poster's website
Output from dtvsignal without ivtv drivers
PostPosted: Mon Apr 24, 2006 6:44 pm Reply with quote
UrsaMare
 
Joined: 07 Apr 2006
Posts: 6




I apologize for the lag in response. I was out of the country for the week. Here is the output as requested after unloading the ivtv and dvb drivers for the hd3000

# Loading cx8800 and cx88_dvb

Linux video capture interface: v1.00
cx2388x v4l2 driver version 0.0.5 loaded
ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 201
CORE cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22,autodetected]
TV tuner 52 at 0x1fe, Radio tuner -1 at 0x1fe
tuner 1-0061: chip found @ 0xc2 (cx88[0])
tuner 1-0061: type set to 52 (Thomson DDT 7610 (ATSC/NTSC))
tda9887 1-0043: chip found @ 0x86 (cx88[0])
cx88[0]/0: found at 0000:00:05.0, rev: 5, irq: 201, latency: 32, mmio: 0xf4000000
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
cx2388x dvb driver version 0.0.5 loaded
ACPI: PCI Interrupt 0000:00:05.2[A] -> GSI 16 (level, low) -> IRQ 201
cx88[0]/2: found at 0000:00:05.2, rev: 5, irq: 201, latency: 32, mmio: 0xf5000000
cx88[0]/2: cx2388x based dvb card
DVB: registering new adapter (cx88[0]).
DVB: registering frontend 0 (Oren OR51132 VSB/QAM Frontend)...

# Start of dtvsignal

cx88[0]/2: queue is empty - first active
cx88[0]/2: cx8802_start_dma w: 0, h: 0, f: 2
cx88[0]/2: setting the interrupt mask
cx88[0]/2: [ffff81002353f800/0] cx8802_buf_queue - first active
or51132: Waiting for firmware upload(dvb-fe-or51132-vsb.fw)...
cx88[0]/2: cx8802_timeout
cx88[0]/2: cx8802_stop_dma
cx88[0]/2: restarting queue
cx88[0]/2: cx8802_restart_queue
cx88[0]/2: cx8802_restart_queue: queue is empty
or51132: Version: 10001134-19430000 (113-4-194-3)
or51132: Firmware upload complete.

Thoughts?
View user's profile Send private message
Same problem
PostPosted: Mon May 01, 2006 8:36 pm Reply with quote
joules314
 
Joined: 01 May 2006
Posts: 2
Location: Boston, MA




I am having the same issue. Some differences from your setup:

kernel 2.6.15-gentoo-r1
no ivtv driver
compiled all the pc3000/dvb/etc stuff directly into the kernel.

In any case - I run into the same issue.

card gets detected, firmware gets loaded, but I have zero signal on any channel. I am located within 7 miles of 12 HD stations.

analog channels work - tested with tvtime

Any thoughts? I am out of ideas as well....
View user's profile Send private message
A little more data...
PostPosted: Mon May 01, 2006 9:48 pm Reply with quote
UrsaMare
 
Joined: 07 Apr 2006
Posts: 6




Well, I opened my server up to blow some dust out. When I reconnected the antenna, I got some spotty reception... all the way up to 77 in dtvsignal. I wasn't getting a steady signal though. It fluctuated wildly, though it was still exciting to see the signal meter move at all.

I then loaded the ivtv driver and got no more signal. I don't know if it was a fluke or what. I'm not even sure I can replicate it. It might be a bad connection on the board, too much heat in the case, a subtle driver conflict with tveeprom, or maybe I have the antenna too tight or too loose. At the time, I was debugging a problem with my ivtv card, so I was focused on fixing that. I successfully did that, so my next effort will be try to and replicate that signal. I might even pull the card and reseat it, and/or try a different slot.
View user's profile Send private message
PostPosted: Tue May 02, 2006 6:39 pm Reply with quote
joules314
 
Joined: 01 May 2006
Posts: 2
Location: Boston, MA




The pc3000 was near a major heat source. I moved the card to another slot - that solved the issue.

Thanks...
View user's profile Send private message
PostPosted: Wed May 03, 2006 8:27 am Reply with quote
UrsaMare
 
Joined: 07 Apr 2006
Posts: 6




Hmm... maybe I'll try that to. Right now, my PVR-150 and the HD3000 are right next to each other... if I put the SATA controller between them (it's a smaller card), maybe that will help them cool down a little.
View user's profile Send private message
PostPosted: Thu Dec 28, 2006 8:16 pm Reply with quote
masquedavenger
 
Joined: 26 Dec 2005
Posts: 7




UrsaMare wrote:
Hmm... maybe I'll try that to. Right now, my PVR-150 and the HD3000 are right next to each other... if I put the SATA controller between them (it's a smaller card), maybe that will help them cool down a little.


I was just wondering if you were able to get this to work. I noticed the timeout messages in your dmesg output. I'm having exactly the same problem, except that I have an HD-3000 and a PVR-350.

James
View user's profile Send private message AIM Address
PostPosted: Tue Jan 02, 2007 2:04 pm Reply with quote
UrsaMare
 
Joined: 07 Apr 2006
Posts: 6




To be honest, I've given up for the moment. Other calls to answer. I'm actually going to build a slave frontend/backend and move the HD card into that.
View user's profile Send private message
Gentoo, AMD64, ivtv, and pchdtv 3000
  pcHDTV Forum Index -> HD-2000/3000 drivers
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin