LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2003, 05:11 PM   #1
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
make install fails for BBTV... no TV for me :(


I am trying to install bbtv I have extracted bttv-0.7.107.tar.gz in my root directory as in the instructions, I do make which seems to go ok and then make install but near the end of the make install I get these errors. In the FAQ that comes with the bttv driver it says that I might need to make some changes to the Makefile but I canīt find the lines it says I need to change I tried the next part of the instructions I was following modprobe i2c-core i2c_debug=1 but it says that it can't locate module i2c-core.


`tuner.o' -> `/lib/modules/2.4.20/kernel/drivers/media/video/tuner.o'
`tvaudio.o' -> `/lib/modules/2.4.20/kernel/drivers/media/video/tvaudio.o'
`tvmixer.o' -> `/lib/modules/2.4.20/kernel/drivers/media/video/tvmixer.o'
`bt832.o' -> `/lib/modules/2.4.20/kernel/drivers/media/video/bt832.o'
`msp3400.o' -> `/lib/modules/2.4.20/kernel/drivers/media/video/msp3400.o'
`tda7432.o' -> `/lib/modules/2.4.20/kernel/drivers/media/video/tda7432.o'
`tda9875.o' -> `/lib/modules/2.4.20/kernel/drivers/media/video/tda9875.o'
`tda9887.o' -> `/lib/modules/2.4.20/kernel/drivers/media/video/tda9887.o'
`dpl3518.o' -> `/lib/modules/2.4.20/kernel/drivers/media/video/dpl3518.o'
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/media/video/bt832.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/media/video/dpl3518.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/media/video/msp3400.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/media/video/tda7432.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/media/video/tda9875.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/media/video/tda9887.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/media/video/tuner.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/media/video/tvaudio.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/media/video/tvmixer.o
if test -f bttv.o; then su -c "cp -v bttv.o /lib/modules/2.4.20/kernel/drivers/media/video"; fi
`bttv.o' -> `/lib/modules/2.4.20/kernel/drivers/media/video/bttv.o'
make[1]: Leaving directory `/root/bttv-0.7.107/driver'
bash-2.05b#


What do I need to do so I can watch TV?
 
Old 09-27-2003, 05:27 PM   #2
linksocc
Member
 
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313

Rep: Reputation: 30
Can you plese tell me which Tv card are you using?
 
Old 09-28-2003, 06:08 AM   #3
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Original Poster
Rep: Reputation: 30
Hey I have card number 78

Hey I have card number 78 (Jetway), its exactly the same card but with a different name I actually have a Zaapa Tv Capture card but I went though a whole lot of photos to find an exact match before I could get it to work before (In Red Hat 9.0) but Red Hat has all this stuff already installed

Adam

Si quiere puede escribir en Espaņol pero no creo que todos vayan a entenderlo aqui
 
Old 09-28-2003, 10:29 AM   #4
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Original Poster
Rep: Reputation: 30
Hey I think that there is support in the kernel??? I have recompiled and but I still am having problems. I donīt know what things i should have included but think somthing must be missing because when I tried modprobe i2c-algo-bit bit_test=1 I get an error

Quote:
Canīt locate module i2c-algo-bit

any ideas?
Adam

Last edited by jimdaworm; 09-28-2003 at 10:30 AM.
 
Old 09-28-2003, 11:41 AM   #5
linksocc
Member
 
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313

Rep: Reputation: 30
here I have some simple instructions of how I get my card to work its an ati tv wonder ve but this should work for all the other bttv compatible cards.
First: go to the kernel source directory as root and do this:
Code:
make menuconfig
Socond: go down to Caracter devices, in that seccion go to the subsection I2C support,. In that menu select exactly as this:
Code:
        <M> I2C support                                                  
        <M> I2C bit-banging interfaces                                    
        < >   Philips style parallel port adapter                         
        < >   ELV adapter                                                 
        < >   Velleman K9000 adapter                                      
        < >   Basic I2C on Parallel Port                                  
        < > I2C PCF 8584 interfaces                                       
        <M> I2C device interface                                          
        < > I2C /proc interface (required for hardware sensors)
Third: Exit from that section and go to the Multimedia devices, then select video for linux as module, and move to the video for linux section and it should now have the BT848 Video For linux option select as it looks here:
Code:
    [ ]   V4L information in proc filesystem                              
    < >   I2C on parallel port                                            
    --- Video Adapters                                                    
    <M>   BT848 Video For Linux                                           
    < >   Mediavision Pro Movie Studio Video For Linux                    
    < >   Quickcam BW Video For Linux                                     
    < >   QuickCam Colour Video For Linux (EXPERIMENTAL)                  
    < >   W9966CF Webcam (FlyCam Supra and others) Video For Linux        
    < >   CPiA Video For Linux                                            
    < >   SAA5249 Teletext processor
Fourth: Exit from everything save you configuration and make you new kernel with. then configure your bootloader:
Code:
make dep && make clean bzImage modules modules_install
when its done doing that copy the new image to /boot with a new name, for a backup
Code:
cp arch/i386/boot/bzImage /boot/bzImage-tv
then just configure lilo.
edit the file /etc/modules.conf and add this
Code:
# Support for i2c and lm_sensors
alias char-major-89    i2c-dev

alias char-major-81 bttv
options bttv card=64 autoload=0 radio=0
post-install bttv insmod tuner type=2
remember to change my card number with your and the card tuner with yours
Fifth: reboot to see if you tv card is working with the new kernel. Open you favorite tv app like Xawtv (tvtime is much better and has more quality) and watch some Cartoons.
Hope it helps you and if not just ask
 
Old 09-28-2003, 04:11 PM   #6
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Original Poster
Rep: Reputation: 30
ĄMuchas Gracias!

Thanks... that was all the info I needed I got it all working now! Hey do you know how I remove xawtv so I can install xawdecode... because I want to decode a tv channel that we have here (Canal+) I have a program that worked in windows MoreTV but apparently xawdecode (the decoding purely for educational uses of course!) does the trick in linux

Thanks again

Adam
 
Old 09-28-2003, 05:10 PM   #7
linksocc
Member
 
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313

Rep: Reputation: 30
I would like to help you but I don't know how to do that
 
Old 05-06-2005, 12:06 AM   #8
da3210
LQ Newbie
 
Registered: Apr 2005
Distribution: debian
Posts: 3

Rep: Reputation: 0
que buenos que soys

Hi everybody...

I have a Zaapa TV card and I have done all what you wrote (recompile the kernel and edit /etc/modules.conf) but i can't make it works.

Any idea?

I don't know if i have to edit /etc/modules.conf exactly like you wrote or if it's only a guide.
This is what i add to the modules.conf:



Code:
# Support for i2c and lm_sensors
alias char-major-89    i2c-dev
alias char-major-81 bttv
options bttv card=78 autoload=0 radio=1
post-install bttv insmod tuner type=32
I think my data card it's:

card 78
tuner 32
radio 1

But i don't know how to introduce in the modules.conf


Sorry about my english and i hope you can help me
 
Old 05-06-2005, 01:19 AM   #9
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Original Poster
Rep: Reputation: 30
What card do you have? Its MUY importante that you get the right number:
Quote:
http://www.linux.com/howtos/BTTV/cards.shtml
Good luck
 
Old 05-06-2005, 06:16 AM   #10
da3210
LQ Newbie
 
Registered: Apr 2005
Distribution: debian
Posts: 3

Rep: Reputation: 0
zaapa tv capture card

I have a zaapa tv cature card:

lspci:

0000:00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
0000:00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)

search in google i found :
http://www.linuxquestions.org/hcl/sh...cat=196&page=1

because of this in the file : /etc/modules.conf
i write:
Code:
# Support for i2c and lm_sensors
alias char-major-89    i2c-dev
alias char-major-81 bttv
options bttv card=78 autoload=0 radio=1
post-install bttv insmod tuner type=32
i think i did every step in the kernel but im not sure about this

thank you
 
Old 05-06-2005, 07:03 AM   #11
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: zaapa tv capture card

Quote:
Originally posted by da3210
I have a zaapa tv cature card:

lspci:

0000:00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
0000:00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)

search in google i found :
http://www.linuxquestions.org/hcl/sh...cat=196&page=1

because of this in the file : /etc/modules.conf
i write:
Code:
# Support for i2c and lm_sensors
alias char-major-89    i2c-dev
alias char-major-81 bttv
options bttv card=78 autoload=0 radio=1
post-install bttv insmod tuner type=32
i think i did every step in the kernel but im not sure about this

thank you
You should not edit the modules.conf directly in Debian. Try this as root modprobe bttv card=78 tuner=32 with maybe radio=1 on the end if it does not get detected correctly. You can check to see if it loads properly by using dmesg the output should look similar to this.

Code:
snip ...

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).
PCI: Found IRQ 9 for device 0000:00:09.0
PCI: Sharing IRQ 9 with 0000:00:09.1
PCI: Sharing IRQ 9 with 0000:00:0d.0
bttv0: Bt878 (rev 17) at 0000:00:09.0, irq: 9, latency: 64, mmio: 0xdcdfe000
bttv0: detected: Leadtek WinFast TV 2000 [card=34], PCI subsystem ID is 107d:6606
bttv0: using: Leadtek WinFast 2000/ WinFast 2000 XP [card=34,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00bf731f [init]
bttv0: using tuner=2
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
tuner: chip found at addr 0xc2 i2c-bus bt878 #0 [sw]
tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) by bt878 #0 [sw]
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: add subdevice "remote0"
lirc_dev: IR Remote Control driver registered, at major 61
lirc_gpio (-1): card type 0x22, id 0x6606107d
lirc_dev: lirc_register_plugin:sample_rate: 0
lirc_gpio (0): driver registered
If you already have the modules loaded then use rmmod to remove them first. BTW what kernel are you running?
 
Old 05-10-2005, 10:32 PM   #12
da3210
LQ Newbie
 
Registered: Apr 2005
Distribution: debian
Posts: 3

Rep: Reputation: 0
thank you alot

thank you !!

at the momment i can watch tv,
now i hope i can hear but this, im sure so easy...

thank you
 
  


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
pango install fails on make install Seph64 Linux From Scratch 1 10-15-2005 11:17 PM
Ndiswrapper install failure - LBA-Linux "make" command fails petteril Linux - Wireless Networking 1 04-23-2005 08:22 AM
mplayerplug-in 2.8 fails to make install awing_pilot Linux - Software 2 03-12-2005 05:30 PM
When "make install clean" ports fails everytime! Devboy *BSD 9 08-11-2004 07:46 PM
Slack 9.1 kernel 2.6.1 make install fails LoungeLizard Slackware 2 01-31-2004 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:02 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