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 
Re: 2.6.12-r2 and pcHDTV 2000 - Success!!
PostPosted: Thu May 05, 2005 12:59 am Reply with quote
HDTV buff
 
Joined: 02 Mar 2005
Posts: 114
Location: Maryland, USA




PSzalapski wrote:
does "=m" mean a modularized kernel driver? I have them =y:
Code:

CONFIG_DVB_OR51132=y
CONFIG_DVB_OR51211=y


Should I recompile the kernel with modularized DVB drivers, etc? Does anyone know of a good internet doc on the differences between modularized and built-in drivers when configuring the kernel? This confuses me. Thanks.


"m" means that is is compiled as an external module. "y" means that it is built into the kernel itself.

Both of them means pretty much the same thing: you are compiling the driver(s) for pcHDTV 3k and 2k with this kernel.

As long as you did not hand edit the .config file, you should be fine. At this point, the only thing left is to copy the firmware files into the appropriate folder (and boot with this kernel).

If you are not sure where to copy the firmware, search these forums. That varies by distribution.

-HDTV Buff
View user's profile Send private message
On Kernels: modules and built-in
PostPosted: Thu May 05, 2005 10:42 am Reply with quote
photonwave
 
Joined: 10 Nov 2004
Posts: 45
Location: Carlsbad, CA




Hi PSzalapski,

Here's a fairly good explanation of using modules in a linux kernel:
Code:
http://www.linuxhomenetworking.com/linux-adv/kernel.htm

The linux home networking site has some pretty good documentation on a variety of topics.

The quick and dirty explanation of the difference between modules and built-in code is that modules are built (i.e. compiled) but not loaded into your kernel until you issue a modprobe command. If you choose to have a feature built into your kernel, then the size of your kernel increases, but you have the feature all ready to go in your kernel.

For example consider a video driver. If you have an ATI graphics card in your machine, you'll probably choose to have the feature "built-in" to your kernel. But, if you later decide to buy the slick new nVidia video card, you'll have to rebuild your kernel and reboot your machine to use the new driver. If you had instead made the ATI driver a module, you could have unloaded the ATI driver, compiled the nVidia driver and loaded it up without rebooting your machine.

Don S.

_________________
Gentoo 2.6.23-r3, pcHDTV 2000 and HD-5500, CM 4221 Antenna, MythTV
View user's profile Send private message
PostPosted: Fri May 06, 2005 11:50 am Reply with quote
PSzalapski
 
Joined: 19 Apr 2005
Posts: 16




OK, thanks that helps a lot--confirms most of what I already thought I knew. One thing still isn't clear--a kernel module needs to be specified in /etc/modules.autoload.d/kernel-2.6 in order to be used, correct? So if a kernel module isn't listed in that file, it cannot be used?

(whereas a built-in kernel driver won't be specified in that file)

P-Sz
View user's profile Send private message ICQ Number
Kernel 2.6.12-rc4 seems to have a glitch
PostPosted: Sun May 08, 2005 8:17 am Reply with quote
Guest
 




rc3 works fine for me but the attempt to use rc4 dies at this error.

drivers/built-in.o(.text+0x8fb34): In function `dvb_register':
: undefined reference to `cx22702_attach'
make: *** [.tmp_vmlinux1] Error 1

To get it to compile I have to go into video for Linux and unselect Conexant and DVB support

( some settings from my config file )

<*> Video For Linux
> Conexant 2388x (bt878 successor) support │ │
│ │ <*> DVB Support for cx2388x based TV cards
│[*] DVB For Linux │ │
│ │<*> DVB Core Support
--- OR51132 based (pcHDTV)

Anyone else have luck with it and a 3000 series card ?


Ken
Kernel 2.6.12-rc4 seems to have a glitch
PostPosted: Tue May 10, 2005 8:24 pm Reply with quote
cardiackid
 
Joined: 10 May 2005
Posts: 1
Location: Charleston, SC




I'm having a problems with 2.6.12-rc4 and mythtv. dvb-apps are working fine ie) azap -r WCSC + cat /dev/dvb/adapter0>>test.mpg works.

I'm getting "could not get card info for card#0" message when trying to setup PC 3000 under mythtv. I just had this working over the weekend using 2.6.12-rc3. Anybody got any ideas?
I'm running gentoo linux:
2.6.12-rc4 vanilla-sources kenel and myth-0.18
USE flags = "gtk gtk2 qt kde dvd alsa cdr dvb mythtv mysql apache2 usb lirc ieee1394"
View user's profile Send private message
PostPosted: Wed May 11, 2005 5:45 pm Reply with quote
Guest
 




cardiackid What config settings did you use to setup the card. I cannot get it to work with the settings I used with rc3.

Ken
PostPosted: Wed May 18, 2005 8:55 pm Reply with quote
Guest
 




OK, I'm back at trying to get myself set up. I've moved and have the linux box connected to the internet. I began following the instructions below:

Code:

# Download the firmware
 mkdir -p /usr/lib/hotplug/firmware
 cd /usr/lib/hotplug
 wget http://pchdtv.com/downloads/firmware.tar.gz
 tar zxf firmware.tar.gz
 rm -f firmware.tar.gz
 
 # Download and install the kernel
 mkdir -p /usr/src/download/kernel
 cd /usr/src/download/kernel
 wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2
 wget http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.12-rc2.bz2
 
 tar jxf linux-2.6.11.tar.bz2
 mv linux-2.6.11 linux-2.6.12-rc2
 cd linux-2.6.12-rc2
 
 wget http://freepages.iqsystems.net/~ikhan/linux/linux-2.6.12-rc2.config
 mv linux-2.6.12-rc2.config .config
 
 cat ../patch-2.6.12-rc2.bz2 | bunzip2 | patch -p1
 
 chown -R root.root .
 
 make rpm
 
 echo The following rpms have been produced by the script . . .
 ls -al /usr/src/redhat/SRPMS/kernel-2.6.12*.rpm
 ls -al /usr/src/redhat/RPMS/i386/kernel-2.6.12*.rpm
 
 cd /usr/src/redhat/RPMS/i386/

 echo Installing OS Kernel `ls kernel-2.6.12*.rpm  | sort  | tail -n 1` . . .
 # rpm -ivh `ls kernel-2.6.12*.rpm  | sort  | tail -n 1`


I did change 2.6.12-rc2 to 2.6.12-rc4. When I got to:
Code:

 wget http://freepages.iqsystems.net/~ikhan/linux/linux-2.6.12-rc2.config


I get:

joev@linux:~/linux-2.6.11/linux-2.6.12-rc4> wget http://freepages.iqsystems.net/~ikhan/linux/linux-2.6.12-rc4.config
--21:46:39-- http://freepages.iqsystems.net/%7Eikhan/linux/linux-2.6.12-rc4.config
=> `linux-2.6.12-rc4.config'
Resolving freepages.iqsystems.net... 66.134.100.195
Connecting to freepages.iqsystems.net|66.134.100.195|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
21:46:40 ERROR 403: Forbidden.

joev@linux:~/linux-2.6.11/linux-2.6.12-rc4> wget http://freepages.iqsystems.net/~ikhan/linux/linux-2.6.12-rc2.config
--21:46:56-- http://freepages.iqsystems.net/%7Eikhan/linux/linux-2.6.12-rc2.config
=> `linux-2.6.12-rc2.config'
Resolving freepages.iqsystems.net... 66.134.100.195
Connecting to freepages.iqsystems.net|66.134.100.195|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
21:46:57 ERROR 403: Forbidden.


Did something change here?

Thanks
PostPosted: Wed May 18, 2005 10:35 pm Reply with quote
HDTV buff
 
Joined: 02 Mar 2005
Posts: 114
Location: Maryland, USA




Okay, that is my bad. Smile

We had a "problem" with our primary hosting server. Being the pariod self that I am, simply got rid of EVERYTHING and decided to just redo everything from scratch.

Everything automatically routed to the backup site. However, certain improvements that were just for me were not implemented to the failover site.

Temporarily, you can download the files from:
Code:
http://www.iqsystems.net/ikhan/linux/
http://www.iqsystems.net/ikhan/linux/linux-2.6.12-rc2.config


-HDTV Buff
View user's profile Send private message
PostPosted: Thu May 19, 2005 6:54 pm Reply with quote
tijoev
 
Joined: 06 Apr 2005
Posts: 42




Got to here and not sure if I did the install right.

Code:

 echo Installing OS Kernel `ls kernel-2.6.12*.rpm  | sort  | tail -n 1` . . .
  # rpm -ivh `ls kernel-2.6.12*.rpm  | sort  | tail -n 1`


Is this all one command? My results looked like:

linux:/usr/src/packages/RPMS/i386 # echo Installing OS Kernel `ls kernel-2.6.12*.rpm | sort | tail -n 1` . . .
Installing OS Kernel kernel-2.6.12rc2-1.i386.rpm . . .
linux:/usr/src/packages/RPMS/i386 # rpm -ivh `ls kernel-2.6.12*.rpm |sort | tail -n 1`
Preparing...########################################### [100%]
1:kernel########################################### [100%]
I do not see any new kernels in /usr/src. Do rpms place the kernel images the same way?
[/code]
View user's profile Send private message
PostPosted: Sun May 29, 2005 10:53 pm Reply with quote
ggmorton
 
Joined: 21 Sep 2004
Posts: 12
Location: Houston, TX




HDTV buff wrote:
Okay, that is my bad. Smile

We had a "problem" with our primary hosting server. Being the pariod self that I am, simply got rid of EVERYTHING and decided to just redo everything from scratch.

Everything automatically routed to the backup site. However, certain improvements that were just for me were not implemented to the failover site.

Temporarily, you can download the files from:
Code:
http://www.iqsystems.net/ikhan/linux/
http://www.iqsystems.net/ikhan/linux/linux-2.6.12-rc2.config


-HDTV Buff


Are these kernel config files anywhere to be found?
View user's profile Send private message
PostPosted: Mon May 30, 2005 10:28 am Reply with quote
HDTV buff
 
Joined: 02 Mar 2005
Posts: 114
Location: Maryland, USA




ggmorton wrote:
HDTV buff wrote:
Okay, that is my bad. Smile

We had a "problem" with our primary hosting server. Being the pariod self that I am, simply got rid of EVERYTHING and decided to just redo everything from scratch.

Everything automatically routed to the backup site. However, certain improvements that were just for me were not implemented to the failover site.

Temporarily, you can download the files from:
Code:
http://www.iqsystems.net/ikhan/linux/
http://www.iqsystems.net/ikhan/linux/linux-2.6.12-rc2.config


-HDTV Buff


Are these kernel config files anywhere to be found?


Okay,

I am such an idiot! Embarassed

We had isp level problems and had to move around the servers from primary to secoundary site. While all customer sites got moved, I always forget to move my pesonal stuff.

It is back there in the temporary location. Sorry about the confusion. Smile

-HDTV Buff
View user's profile Send private message
Re: 2.6.12-r2 and pcHDTV 2000 - Success!!
PostPosted: Sun Jun 05, 2005 1:35 pm Reply with quote
ggmorton
 
Joined: 21 Sep 2004
Posts: 12
Location: Houston, TX




photonwave wrote:
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--

Is there a corresponding change in Fedora to set the USE variable to DVB?

I also have set my kernel build options as such using 2.6.12-rc5.
Processor -> Pentium 4
Device Drivers -> I2C Support -> I2C Algorithims -> I2C bit banging interfaces
device Drivers -> Character devices -> IPMI -> Device interface [OFF]
Device drivers -> multimedia devices -> DVB Devices -> DVB Core support
File systems -> XFS Support -> XFS Filesystem support

It seems to be showing up at the bottom, but should the bttv driver be loaded as well?

Here is what my dmesg says:
Code:
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:02:01.0[A] -> GSI 22 (level, low) -> IRQ 169
bttv0: Bt878 (rev 17) at 0000:02:01.0, irq: 169, latency: 32, mmio: 0xf47fe000
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=0000007f [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,tea6320,tea6420,tda8425,pic16c54 (PV951),ta8874z
tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
tuner 0-0061: type set to 42 (Philips 1236D ATSC/NTSC daul in)
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:02:01.1[A] -> GSI 22 (level, low) -> IRQ 169
bt878(0): Bt878 (rev 17) at 02:01.1, irq: 169, latency: 32, memory: 0xf47ff000
DVB: registering new adapter (bttv0).
DVB: registering frontend 0 (Oren OR51211 VSB Frontend)...
View user's profile Send private message
Re: 2.6.12-r2 and pcHDTV 2000 - Success!!
PostPosted: Sun Jun 05, 2005 11:02 pm Reply with quote
HDTV buff
 
Joined: 02 Mar 2005
Posts: 114
Location: Maryland, USA




ggmorton wrote:
Is there a corresponding change in Fedora to set the USE variable to DVB?

I also have set my kernel build options as such using 2.6.12-rc5.
Processor -> Pentium 4
Device Drivers -> I2C Support -> I2C Algorithims -> I2C bit banging interfaces
device Drivers -> Character devices -> IPMI -> Device interface [OFF]
Device drivers -> multimedia devices -> DVB Devices -> DVB Core support
File systems -> XFS Support -> XFS Filesystem support


ggmorton,

The output is clearly showing that you are mixing and matching drivers.

Just to be clear: If you install linux kernel 2.6.12-rc2 or higher, do not install any drirvers or any other software from pchdtv's website, period.

No downloading driver, no udev, no modifcations. Nothing.

The pchdtv driver and the kernel driver cannot co-exist.

If you have installed the driver from pchdtv's website, please uninstall it properly. Make sure that all the other changes it made (such as hotplug and udev) are back to the way it was shipped by your vendor.

After the above step is completed:
1) Download and extract the firmware from pchdtv's website into the appropriate firmware folder for your distribution.
2) Compile and install a fresh new kernel (2.6.12-rc2 or higher).
3) Reboot (into the newly compiled kernel).

The key to success is not to over think the process. Just stick to the three steps above and don't perform any unnecessary steps.

Also, the following line will confirm that you have the driver set to be compiled.
Code:
# grep OR51 .config
CONFIG_DVB_OR51132=m
CONFIG_DVB_OR51211=m


-HDTV Buff
View user's profile Send private message
Re: 2.6.12-r2 and pcHDTV 2000 - Success!!
PostPosted: Mon Jun 06, 2005 12:10 pm Reply with quote
ggmorton
 
Joined: 21 Sep 2004
Posts: 12
Location: Houston, TX




HDTV buff wrote:
The output is clearly showing that you are mixing and matching drivers.

Just to be clear: If you install linux kernel 2.6.12-rc2 or higher, do not install any drirvers or any other software from pchdtv's website, period.

No downloading driver, no udev, no modifcations. Nothing.

The pchdtv driver and the kernel driver cannot co-exist.

If you have installed the driver from pchdtv's website, please uninstall it properly. Make sure that all the other changes it made (such as hotplug and udev) are back to the way it was shipped by your vendor.

After the above step is completed:
1) Download and extract the firmware from pchdtv's website into the appropriate firmware folder for your distribution.
2) Compile and install a fresh new kernel (2.6.12-rc2 or higher).
3) Reboot (into the newly compiled kernel).

The key to success is not to over think the process. Just stick to the three steps above and don't perform any unnecessary steps.

Also, the following line will confirm that you have the driver set to be compiled.
Code:
# grep OR51 .config
CONFIG_DVB_OR51132=m
CONFIG_DVB_OR51211=m


-HDTV Buff


I did not install anything from pchdtv's website. Just vanila 2.6.12-rc5 kernel. I did get it working last night, but my dmesg is still showing the same info. I had patched rc5 over 2.6.11 as a previous script showed. Last night I installed just 2.6.12-rc5 without patching.
View user's profile Send private message
Re: 2.6.12-r2 and pcHDTV 2000 - Success!!
PostPosted: Mon Jun 06, 2005 12:47 pm Reply with quote
HDTV buff
 
Joined: 02 Mar 2005
Posts: 114
Location: Maryland, USA




ggmorton wrote:
I did not install anything from pchdtv's website. Just vanila 2.6.12-rc5 kernel. I did get it working last night, but my dmesg is still showing the same info. I had patched rc5 over 2.6.11 as a previous script showed. Last night I installed just 2.6.12-rc5 without patching.


That may have been my bad. I did not read your output closely enought to see that you are using pcHDTV HD-2000. I simply assumed it was pcHDTV HD-3000. That is why I made that comment.

The dmesg output been 2k and 3k cards is different. *I believe* that is the correct output for 2k card. However, I don't own that card so I don't really know for certain.

If the card works, why care? Smile

-HDTV Buff
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 6 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