LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   make install fails for BBTV... no TV for me :( (http://www.linuxquestions.org/questions/linux-newbie-8/make-install-fails-for-bbtv-no-tv-for-me-97609/)

jimdaworm 09-27-2003 06:11 PM

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?

linksocc 09-27-2003 06:27 PM

Can you plese tell me which Tv card are you using?

jimdaworm 09-28-2003 07:08 AM

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 ;)

jimdaworm 09-28-2003 11:29 AM

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

linksocc 09-28-2003 12:41 PM

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

jimdaworm 09-28-2003 05:11 PM

Ą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

linksocc 09-28-2003 06:10 PM

I would like to help you but I don't know how to do that

da3210 05-06-2005 01:06 AM

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 :)

jimdaworm 05-06-2005 02:19 AM

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

da3210 05-06-2005 07:16 AM

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

HappyTux 05-06-2005 08:03 AM

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?

da3210 05-10-2005 11:32 PM

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


All times are GMT -5. The time now is 06:40 PM.