Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> HD-2000/3000 drivers -> ANNOUNCE: pcHDTV 2000 & 3000 drivers included in the ker Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Post new topic  This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic 
PostPosted: Sat Apr 02, 2005 6:22 pm Reply with quote
JohnE
 
Joined: 31 Mar 2005
Posts: 8




Unfortunately that isn't the problem. I did install the kernel. Look at my post and you'll notice the other pieces (config-*-rc1, System.map-*-rc1, vmlinuz-*-rc1) are there but initrd-*-rc1 is not there.
Any other suggestions would be appreciated.

(I edit my post to show that the other kernel files are present)
View user's profile Send private message
PostPosted: Sun Apr 03, 2005 2:08 pm Reply with quote
Jim
 
Joined: 01 Mar 2005
Posts: 88
Location: Greater Portland ME joined jan'05




When I said to type rpm -ivh kernel_rpm_file, I did not mean it literary.

Well i first took it literally because at the start of your script, i saw -# Download the firmware
mkdir -p /usr/lib/hotplug/firmware. I assumed "firmware" was a filename to look up, but it turned out it IS called "firmware" on the pchdtv site so I took the rest literally.

Now I have 2.6.12-rc1 installed, all the updates, but the card when run with dtvsignal and the various device choices, it come up but with a zero signal level..I had read a post earlier on this but it has been deleted from the forum..

So now what? and thanks for your help, even if it is, well never mind..Just keep helping us loyal customers of pchdtv.
**************UPDATE getting nowhere so far my fault...4 months so far, enjoy learning linux, but many buying cards may not think so


Last edited by Jim on Tue Apr 05, 2005 8:31 pm; edited 4 times in total

_________________
Stars Up, Lights Down... International Darksky Association... Be a good neighbor, shield/turn off your lights.
View user's profile Send private message
Three pcHDTV 3000s on one machine
PostPosted: Mon Apr 04, 2005 6:40 pm Reply with quote
liontooth
Guest
 




I put three pcHDTV 3000 cards into one amd64 motherboard, and just tested they all work at the same time, using

xawtv -remote -noxv -c /dev/video2 -C /dev/vbi2

Nice and stable too. That's all using the analog v4l2 driver. Small screenshot 100k showing channel windows over a 100MB network
http://owens.cogweb.net/Images/4tv-small.pngScreenshot (includes a fourth session from a second computer).

That's using the 2.6.12-rc1 kernel, the cards are autoconfigured at boot, so fantastic work done on this.

I use this to capture, but mencoder segfaults:

mencoder -tv driver=v4l2:width=640:height=480:norm=ntsc-m -ovc lavc -lavcopts vcodec=mpeg4:vhq -oac mp3lame -lameopts cbr:br=128 -endpos 30 -o outfile.mpg tv://

Are other people seeing this?

Dave


$ mencoder -tv driver=v4l2:width=640:height=480 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 -oac mp3lame -lameopts cbr:br=64 -o output.avi tv://
MEncoder 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
Cannot test OS support for SSE, disabling to be safe.
File not found: 'frameno.avi'
Failed to open frameno.avi
success: format: 9 data: 0x0 - 0x0
TV detected! Wink
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come Wink
Selected device: pcHDTV HD3000 HDTV
Tuner cap: STEREO LANG2
Tuner rxs: STEREO LANG2
Capabilites: video capture VBI capture device tuner read/write streaming
supported norms: 0 = NTSC-M; 1 = NTSC-JP; 2 = PAL-BG; 3 = PAL-DK; 4 = PAL-I; 5 = PAL-M; 6 = PAL-N; 7 = PAL-Nc; 8 = PAL-60; 9 = SECAM-L; 10 = SECAM-DK;
inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
Current input: 0
Current format: BGR24
v4l2: current audio mode is : MONO
v4l2: ioctl set format failed: Invalid argument
[V] filefmt:9 fourcc:0x42475218 size:640x480 fps:29.00 ftime:=0.0345
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using BGR 24-bit as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: using unscaled BGR 24-bit -> Planar YV12 special converter
videocodec: libavcodec (640x480 fourcc=58564944 [DIVX])
Selected video codec: [rawbgr24] vfm:raw (RAW BGR24)
==========================================================================
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Forcing audio preload to 0, max pts correction to 0
Segmentation fault
Re: Three pcHDTV 3000s on one machine
PostPosted: Mon Apr 04, 2005 6:44 pm Reply with quote
Guest
 




Sorry, that was supposed to be
http://owens.cogweb.net/Images/4tv-small.png or
http://owens.cogweb.net/Images/4tv.png (1.4MB)

Dave
HD2000 and HD3000 drivers
PostPosted: Tue Apr 05, 2005 8:31 am Reply with quote
jerstamb
 
Joined: 22 Sep 2003
Posts: 18
Location: SF Bay area_SunnyVale




Hi all
Kernel.org has posted the linux-2.6.12.rc2 patch on their server last night. I downloaded it, patched linux-2.6.11 and it oompiled clean! Now I have to go to work Sad

Later
Jerry
View user's profile Send private message
PostPosted: Tue Apr 05, 2005 8:19 pm Reply with quote
Jim
 
Joined: 01 Mar 2005
Posts: 88
Location: Greater Portland ME joined jan'05




went through whole install again and ends here:
i did this line, rpm -ivh `ls kernel-2.6.12*.rpm | sort | tail -n 1`

it did its thing i edited the grub to load 2.6.12-rc1

it says booting from 2.6.12 etc, but when i do uname -r ist says i am running 2.6.11

now what
btw just noticed rc2 is out..sorry, I am a newbie to linux but not dos, so i understand context, windows is a necessary evil, most of the population uses it. Most overeat too.

_________________
Stars Up, Lights Down... International Darksky Association... Be a good neighbor, shield/turn off your lights.
View user's profile Send private message
PostPosted: Tue Apr 05, 2005 8:56 pm Reply with quote
Jim
 
Joined: 01 Mar 2005
Posts: 88
Location: Greater Portland ME joined jan'05




package kernel-2.6.12rc1-1 is already installed and i changed the grub.config

_________________
Stars Up, Lights Down... International Darksky Association... Be a good neighbor, shield/turn off your lights.
View user's profile Send private message
pcHDTV 2000 and 2.6.12-rc2
PostPosted: Wed Apr 06, 2005 1:03 am Reply with quote
photonwave
 
Joined: 10 Nov 2004
Posts: 45
Location: Carlsbad, CA




Hello,

I just installed 2.6.12-rc2 on my gentoo box (vanilla-sources ebuild). I compiled v4l and dvb frontend for pcHDTV into my kernel. After a reboot I see the video0 and vbi0 devices in /dev, but I can't get a signal (i.e. dtvsignal /dev/video0 40 yields 0 signal).

My old 2.6.8 kernel which I patched by hand from the pchdtv download area works fine.

Any ideas what I can do to debug this issue?

Thanks in advance

details: pcHDTV 2000 card, gentoo 2.6.12-rc2 kernel
View user's profile Send private message
PostPosted: Wed Apr 06, 2005 8:02 am Reply with quote
pcHDTV_tech
 
Joined: 16 Dec 2004
Posts: 295




You need to get the dvb apps from the linuxtv CVS to use the DVB driver (digital video) which will be on /dev/adapter0/xxxx0. The dtvsignal app is for use with the older v4l interface which wasnt accepted into the kernel.

/dev/video0 is the NTSC (analog video) interface so, yes, you won't see anything there with dtvsignal. A second option is to use (only) the cx88-atsc module from the 2.0 driver instead of the DVB driver. Then dtvsignal will work with the HD3000. Personally I would take the time to get the DVB stuff setup.

Rusty
View user's profile Send private message Visit poster's website
pcHDTV 2000 and 2.6.12-rc2
PostPosted: Wed Apr 06, 2005 10:37 am Reply with quote
photonwave
 
Joined: 10 Nov 2004
Posts: 45
Location: Carlsbad, CA




Hi Rusty,

Thanks for your help. I grabbed the DVB tools from linuxtv.org, then I noticed that I didn't have a directory /dev/adapter0/ or anything in /dev/dvb/ . Does this indicate a problem with the driver loading? Or do I simply need to create /dev/adapter0/* myself? If so, do you have an example?

Thanks again!

Don

Here's the pertinent output from dmesg:

Linux video capture interface: v1.00
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 17 (level, low) -> IRQ 17
bttv0: Bt878 (rev 17) at 0000:00:09.0, irq: 17, latency: 32, mmio: 0xefffe000
bttv0: detected: pcHDTV HD-2000 TV [card=112], PCI subsystem ID is 7063:2000
bttv0: using: pcHDTV HD-2000 TV [card=112,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=0080007f [init]
bttv0: using tuner=42
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: add subdevice "dvb0"
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea632
0,tea6420,tda8425,pic16c54 (PV951),ta8874z
saa7130/34: v4l2 driver version 0.2.12 loaded
tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
tuner 0-0061: type set to 42 (Philips 1236D ATSC/NTSC daul in)
View user's profile Send private message
Re: pcHDTV 2000 and 2.6.12-rc2
PostPosted: Wed Apr 06, 2005 5:40 pm Reply with quote
Guest
 




Rusty:

shouldn't you create a new post with FC3 and Kernel 2.6.12rc2? and modify your scrip accordingly?
Please make sure that the new scrip applies to all newbies Embarassed !!!

Thanks alot for you help!

Newbie
PostPosted: Wed Apr 06, 2005 8:38 pm Reply with quote
jerstamb
 
Joined: 22 Sep 2003
Posts: 18
Location: SF Bay area_SunnyVale




Hi,
I got home from work so I could do important things like work on the dvb software. This morning I had patched the kernel linux-2.6.11 with 2.6.12-rc2 patch. This went smooth without errors. I checked to see that /usr/lib/hotplug/firmware drivers were still there(from earlier attempts) Tonight I then used dvb-apps and used the perl script to run channel.conf for my area, SF bay. Then
'./azap -c channel.conf KGO'. and I saw the sweetest text:

.........FE_HAS_LOCK ! Surprised

FYI, I am running AMD 2600. Mandrake 10.1 (started out that is)
nVidia FX5200. HD-2000 card. I have been using Mythtv with the 1.5 driver and 2.6.7 fairly sucessfully.
Thanks to many people on this list for the help. I lurk it constantly. I just received an HD-3000 card, so I am not done yet.

Bye
Jerry
View user's profile Send private message
2.6.12-r2
PostPosted: Thu Apr 07, 2005 10:53 am Reply with quote
photonwave
 
Joined: 10 Nov 2004
Posts: 45
Location: Carlsbad, CA




Jerry,

Regarding your install of 2.6.12-r2, are you using the pcHDTV 2000 or 3000?

If you are using the 2000, I would be very interested to know which kernel options you are using? I've been trying to get 2.6.12.-r2 to work with my pcHDTV 2000 card and have had no luck (the /dev/adapter/* devices are not created!).

So, specifically, did you compile the following into the kernel?
Video 4 Linux
DVB or51211
bttv

Thanks for your help!

Don
View user's profile Send private message
Re: pcHDTV 2000 and 2.6.12-rc2
PostPosted: Thu Apr 07, 2005 11:28 am Reply with quote
HDTV buff
 
Joined: 02 Mar 2005
Posts: 114
Location: Maryland, USA




photonwave wrote:
Hello,

I just installed 2.6.12-rc2 on my gentoo box (vanilla-sources ebuild). I compiled v4l and dvb frontend for pcHDTV into my kernel. After a reboot I see the video0 and vbi0 devices in /dev, but I can't get a signal (i.e. dtvsignal /dev/video0 40 yields 0 signal).

My old 2.6.8 kernel which I patched by hand from the pchdtv download area works fine.

Any ideas what I can do to debug this issue?

Thanks in advance

details: pcHDTV 2000 card, gentoo 2.6.12-rc2 kernel


Photowave,

Gentoo is trully a double-edged sord. On the plus side, it lets you customize like crazy. On the negative side, it lets you customize like crazy. Smile

In any case, it looks like some of your packages have been built without the proper dvb support. It could be udev or it could be the kernel. I am not sure. Also, I noticed, you are loading the "bttv" driver. That driver is used by the pcHDTV's 2.0 driver. PCHDTV's driver and the kernel driver cannot be installed at the same time.

The bottom like is that somehow, you have added the pchdtv's driver and removed dvb drivers from your kernel. This is not a vanilla kernel.

Here is what the output of a vanilla kernel should look like:

Code:
Linux video capture interface: v1.00
cx2388x v4l2 driver version 0.0.4 loaded
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 169
cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22,autodetected]
cx88[0]/0: found at 0000:03:00.0, rev: 5, irq: 169, latency: 64, mmio: 0xd3000000
tuner 1-0061: chip found @ 0xc2 (cx88[0])
tuner 1-0061: type set to 52 (Thomson DDT 7610 (ATSC/NTSC))
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
ACPI: PCI Interrupt 0000:03:01.0[A] -> GSI 17 (level, low) -> IRQ 50
cx88[1]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22,autodetected]
tuner 2-0061: chip found @ 0xc2 (cx88[1])
tuner 2-0061: type set to 52 (Thomson DDT 7610 (ATSC/NTSC))
cx88[1]/0: found at 0000:03:01.0, rev: 5, irq: 50, latency: 64, mmio: 0xd5000000
cx88[1]/0: registered device video1 [v4l2]
cx88[1]/0: registered device vbi1
cx88[1]/0: registered device radio1
cx2388x dvb driver version 0.0.4 loaded
ACPI: PCI Interrupt 0000:03:00.2[A] -> GSI 16 (level, low) -> IRQ 169
cx88[0]/2: found at 0000:03:00.2, rev: 5, irq: 169, latency: 64, mmio: 0xd4000000
cx88[0]/2: cx2388x based dvb card
DVB: registering new adapter (cx88[0]).
DVB: registering frontend 0 (pcHDTV HD3000 HDTV)...
ACPI: PCI Interrupt 0000:03:01.2[A] -> GSI 17 (level, low) -> IRQ 50
cx88[1]/2: found at 0000:03:01.2, rev: 5, irq: 50, latency: 64, mmio: 0xd6000000
cx88[1]/2: cx2388x based dvb card
DVB: registering new adapter (cx88[1]).
DVB: registering frontend 1 (pcHDTV HD3000 HDTV)...


That is the output of loading two pcHDTV 3000 cards by a vanilla kernel (2.6.12-rc2).

Try to build a vanilla kernel. That will solve your problem.

-HDTV Buff
View user's profile Send private message
2.6.12-r2 and pcHDTV 2000 - Success!!
PostPosted: Thu Apr 07, 2005 2:18 pm Reply with quote
photonwave
 
Joined: 10 Nov 2004
Posts: 45
Location: Carlsbad, CA




Thank you HDTV buff!! Your last message gave me the clue I needed! I now have signal lock on my local HDTV broadcast channels using 2.6.12.-r2 with no extra mods.

Here's a quick HOWTO for pcHDTV 2000 and 2.6.12-r2 using Gentoo:

o Edit the /etc/make.conf and add "dvb" to the USE variable
o Select the following options when building the kernel (I used genkernel to make my kernel)
Code:
    -Drivers
         -Multimedia Devices
             <*> Video for Linux
                 -Video for Linux
                     <*> BT848 Video for Linux
                 -Digital Video Brodacasting Device
                     <*> DVB for Linux
                         <*> DVB Core Support
                     --Supported BT878 Adapters--
                         <*> Nebula/Pinnacle PCTV/Twinham PCI Cards
                     -- Customize DVB Frontends--


o Run the /usr/src/linux/Documentation/dvb/get_dvb_firmware (/usr/src/linux should be the location of your kernel source, YMMV) script:
Code:
perl get_dvb_firmware or51211

copy the resulting ".fw" file to /usr/lib/hotplug/firmware/
o Use the DVB apps from linuxtv.org (CVS the dvb-apps directory) to scan and tune.
o If all goes well, you should see the following devices:
Code:
     /dev/dvb/adapter0/demux0
     /dev/dvb/adapter0/dvr0
     /dev/dvb/adapter0/frontend0
     /dev/dvb/adapter0/net0

and the following output from dmesg:
Code:
    tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
    tuner 0-0061: type set to 42 (Philips 1236D ATSC/NTSC daul in)
    bt878(0): Bt878 (rev 17) at 00:09.1, irq: 17, latency: 32, memory:    0xeffff000
    DVB: registering new adapter (bttv0).
    DVB: registering frontend 0 (Oren OR51211 VSB Frontend)...


Tadaa!

The tricky parts are, using the "dvb" USE flag, and knowing that you should choose the Nebula/Pinnacle BT878 Adapters. If you don't choose the Nebula/Pinnacle module, then the Customize DVB Frontends kernel options will allow you to choose the pcHDTV 2000 kernel option by itself (which won't work unless you have the selected several other very un-obvious kernel choices).

Thanks to everyone out on the list who are offering their experiences, every bit helps!

Don S.
View user's profile Send private message
ANNOUNCE: pcHDTV 2000 & 3000 drivers included in the ker
  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 2 of 7  
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
  
  
 Post new topic  This topic is locked: you cannot edit posts or make replies.  


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