LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-17-2005, 07:13 PM   #1
jmit887
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Hauppauge Wintv pvr-250 card setup


I am jsut starting out using linux so i dont even know where to start with installing my WinTV pvr-250 card. I know that once i have it working i want to use MythTv(looks like a very nice program) But first things first i need to get my card set up.

I am using FedoraCore 3 kernel 2.6.10

i know that i need the BTTV software but that is the extent of my knowledge.

If someone could give me or better yet direct me to a step by step guide that will hold my hand the whole process that would be great

Also i am slightly confused, because i have read conflicting info, such that i need to compile my own kernel !?!?!?! and then that the new 2.6 kernel comes with everything needed. IS it both?

.Any help would be much appreciated.
 
Old 01-17-2005, 08:32 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You will not need to recompile your kernel. You can build the driver module as long as you have the source tree for your kernel installed. The MythTV documentation has a good overview of installing the ivtv driver.

The bttv page has a page on installing the bttv driver if you would prefer that.

Håkan
 
Old 01-17-2005, 09:03 PM   #3
jmit887
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the quick response, i am trying the first link that you gave me, the one from mythtv and i dont know what to do for this

urpmi kernel-source

it says change it for your distribution so what do i make it? for fedora core 3?

EDIT: i tried both ways, and now i am lost

*1st way*

If i do the rest up to make i get this error
Code:
[root@jfm5005 driver]# make
gcc -D__KERNEL__ -D__KERNEL_SYSCALLS__ -DMODULE -DMODVERSIONS -I/lib/modules/2.6.10-1.741_FC3/build/include -O2 -fomit-frame-pointer -march=i586 -mcpu=i586 -fno-strict-aliasing -Wno-unused -include /lib/modules/2.6.10-1.741_FC3/build/include/linux/modversions.h   -c -o msp3400.o msp3400.c
cc1: /lib/modules/2.6.10-1.741_FC3/build/include/linux/modversions.h: No such file or directory
In file included from /lib/modules/2.6.10-1.741_FC3/build/include/linux/irq.h:21,
                 from /lib/modules/2.6.10-1.741_FC3/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.10-1.741_FC3/build/include/linux/hardirq.h:6,
                 from /lib/modules/2.6.10-1.741_FC3/build/include/linux/delay.h:13,
                 from msp3400.c:43:
/lib/modules/2.6.10-1.741_FC3/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.10-1.741_FC3/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.10-1.741_FC3/build/include/linux/hardirq.h:6,
                 from /lib/modules/2.6.10-1.741_FC3/build/include/linux/delay.h:13,
                 from msp3400.c:43:
/lib/modules/2.6.10-1.741_FC3/build/include/linux/irq.h:71: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.10-1.741_FC3/build/include/linux/irq.h:73,
                 from /lib/modules/2.6.10-1.741_FC3/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.10-1.741_FC3/build/include/linux/hardirq.h:6,
                 from /lib/modules/2.6.10-1.741_FC3/build/include/linux/delay.h:13,
                 from msp3400.c:43:
/lib/modules/2.6.10-1.741_FC3/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
msp3400.c: In function `msp3400c_set_scart':
msp3400.c:344: error: structure has no member named `data'
msp3400.c: In function `msp3400c_setmode':
msp3400.c:408: error: structure has no member named `data'
msp3400.c: In function `msp3400c_setstereo':
msp3400.c:481: error: structure has no member named `data'
msp3400.c: In function `msp3400c_restore_dfp':
msp3400.c:609: error: structure has no member named `data'
msp3400.c: In function `autodetect_stereo':
msp3400.c:637: error: structure has no member named `data'
msp3400.c: In function `watch_stereo':
msp3400.c:737: error: structure has no member named `data'
msp3400.c: In function `msp3400c_thread':
msp3400.c:756: error: structure has no member named `data'
msp3400.c:761: error: too few arguments to function `daemonize'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:767: error: structure has no member named `sigmask_lock'
msp3400.c:767: error: structure has no member named `sigmask_lock'
msp3400.c:767: error: structure has no member named `sigmask_lock'
msp3400.c:767: error: structure has no member named `sigmask_lock'
msp3400.c:767: error: structure has no member named `sigmask_lock'
msp3400.c:767: error: structure has no member named `sigmask_lock'
msp3400.c:767: error: structure has no member named `sigmask_lock'
msp3400.c:767: error: structure has no member named `sigmask_lock'
msp3400.c:781: warning: `interruptible_sleep_on' is deprecated (declared at /lib/modules/2.6.10-1.741_FC3/build/include/linux/wait.h:310)
msp3400.c: In function `msp3410d_thread':
msp3400.c:1011: error: structure has no member named `data'
msp3400.c:1014: error: too few arguments to function `daemonize'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1020: error: structure has no member named `sigmask_lock'
msp3400.c:1020: error: structure has no member named `sigmask_lock'
msp3400.c:1020: error: structure has no member named `sigmask_lock'
msp3400.c:1020: error: structure has no member named `sigmask_lock'
msp3400.c:1020: error: structure has no member named `sigmask_lock'
msp3400.c:1020: error: structure has no member named `sigmask_lock'
msp3400.c:1020: error: structure has no member named `sigmask_lock'
msp3400.c:1020: error: structure has no member named `sigmask_lock'
msp3400.c:1035: warning: `interruptible_sleep_on' is deprecated (declared at /lib/modules/2.6.10-1.741_FC3/build/include/linux/wait.h:310)
msp3400.c: In function `msp_attach':
msp3400.c:1282: error: structure has no member named `data'
msp3400.c:1333: error: `MOD_INC_USE_COUNT' undeclared (first use in this function)
msp3400.c:1333: error: (Each undeclared identifier is reported only once
msp3400.c:1333: error: for each function it appears in.)
msp3400.c: In function `msp_detach':
msp3400.c:1357: error: structure has no member named `data'
msp3400.c:1383: error: `MOD_DEC_USE_COUNT' undeclared (first use in this function)
msp3400.c: In function `msp_probe':
msp3400.c:1390: warning: passing arg 3 of `i2c_probe' from incompatible pointer type
msp3400.c: In function `msp_wake_thread':
msp3400.c:1396: error: structure has no member named `data'
msp3400.c: In function `msp_command':
msp3400.c:1408: error: structure has no member named `data'
make: *** [msp3400.o] Error 1
*2nd Way*

downloadeed bttv un compressed it and then ran make KDIR=.......

long story short i get this error, i coppied my command too

Code:
[root@jfm5005 bttv]# make KDIR=/lib/modules/2.6.10-1.741_FC3/build
make -C /lib/modules/2.6.10-1.741_FC3/build SUBDIRS=/home/jon/bttv modules
make[1]: Entering directory `/lib/modules/2.6.10-1.741_FC3/build'
  CC [M]  /home/jon/bttv/video-buf.o
  CC [M]  /home/jon/bttv/v4l1-compat.o
  CC [M]  /home/jon/bttv/v4l2-common.o
  CC [M]  /home/jon/bttv/btcx-risc.o
  CC [M]  /home/jon/bttv/ir-common.o
  CC [M]  /home/jon/bttv/bttv-driver.o
/home/jon/bttv/bttv-driver.c: In function `bttv_suspend':
/home/jon/bttv/bttv-driver.c:3956: error: too many arguments to function `pci_save_state'
/home/jon/bttv/bttv-driver.c: In function `bttv_resume':
/home/jon/bttv/bttv-driver.c:3977: error: too many arguments to function `pci_restore_state'
make[2]: *** [/home/jon/bttv/bttv-driver.o] Error 1
make[1]: *** [_module_/home/jon/bttv] Error 2
make[1]: Leaving directory `/lib/modules/2.6.10-1.741_FC3/build'
make: *** [default] Error 2

Last edited by jmit887; 01-17-2005 at 09:34 PM.
 
Old 01-25-2005, 09:08 PM   #4
digitalb0y
Member
 
Registered: Mar 2003
Distribution: GenMyth
Posts: 36

Rep: Reputation: 15
It's always good to search

Check out this Link
http://forums.kustompcs.co.uk/archiv...p/t-24609.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hauppauge WinTV PVR 150 LinuxEL Linux - Hardware 9 12-08-2005 10:15 PM
How to install Hauppauge WINTV PVR-150 on Mandriva2005LE kambingselam Linux - General 4 11-11-2005 03:13 PM
lirc and a Hauppauge PVR 250 Remote bugg_tb Linux - Software 0 02-18-2005 11:57 AM
Hauppauge WinTV PVR 250 in Suse 9.1 kstj Linux - Hardware 13 11-22-2004 12:37 PM
Hauppauge WinTV PVR USB Adam15906 Linux - Hardware 0 07-31-2004 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration