Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel won't compile with bt878 support
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
elsenator
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2005
Posts: 89

PostPosted: Sun Mar 06, 2005 4:02 pm    Post subject: Kernel won't compile with bt878 support Reply with quote

I'm trying to make my tv capture work under Linux but when i compile my kernel with bt878 it won't compile. I do not have the card installed in my mainboard right now, but that shouldn't keep the kernel from compiling should it?

I'm using Gentoo-dev-sources-r6 and this is the error i get when compiling with
Device Driver>Multimedia devices>Video 4 linux>Conexant 2388x (bt878 successor) support
compiled into the kernel.

Quote:

LD .tmp_vmlinux1
drivers/built-in.o(.text+0x7ed74): In function `i2c_eeprom':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x7ed8d): In function `i2c_eeprom':
: undefined reference to `i2c_master_recv'
drivers/built-in.o(.text+0x81130): In function `cx88_core_put':
: undefined reference to `i2c_bit_del_bus'
drivers/built-in.o(.text+0x813b1): In function `do_i2c_scan':
: undefined reference to `i2c_master_recv'
drivers/built-in.o(.text+0x814ed): In function `cx88_i2c_init':
: undefined reference to `i2c_bit_add_bus'
drivers/built-in.o(.text+0x81378): In function `cx88_call_i2c_clients':
: undefined reference to `i2c_clients_command'
drivers/built-in.o(.text+0x86956): In function `blackbird_load_firmware':
: undefined reference to `request_firmware'
drivers/built-in.o(.text+0x86a04): In function `blackbird_load_firmware':
: undefined reference to `release_firmware'
drivers/built-in.o(.text+0x87a67): In function `tuner_getstatus':
: undefined reference to `i2c_master_recv'
drivers/built-in.o(.text+0x87f98): In function `mt2032_check_lo_lock':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x87fac): In function `mt2032_check_lo_lock':
: undefined reference to `i2c_master_recv'
drivers/built-in.o(.text+0x8805e): In function `mt2032_optimize_vco':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x88073): In function `mt2032_optimize_vco':
: undefined reference to `i2c_master_recv'
drivers/built-in.o(.text+0x880ce): In function `mt2032_optimize_vco':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x88179): In function `mt2032_set_if_freq':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x88192): In function `mt2032_set_if_freq':
: undefined reference to `i2c_master_recv'
drivers/built-in.o(.text+0x881f8): In function `mt2032_set_if_freq':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x88216): In function `mt2032_set_if_freq':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x88234): In function `mt2032_set_if_freq':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x882a9): In function `mt2032_set_if_freq':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x882e6): In function `mt2032_set_if_freq':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x88323): more undefined references to `i2c_master_send' follow
drivers/built-in.o(.text+0x8855d): In function `mt2032_init':
: undefined reference to `i2c_master_recv'
drivers/built-in.o(.text+0x885a6): In function `mt2032_init':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x88684): In function `mt2050_set_antenna':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x8883a): In function `mt2050_set_if_freq':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x88a3c): In function `mt2050_init':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x88a5b): In function `mt2050_init':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x88a75): more undefined references to `i2c_master_send' follow
drivers/built-in.o(.text+0x88a8a): In function `mt2050_init':
: undefined reference to `i2c_master_recv'
drivers/built-in.o(.text+0x88b15): In function `microtune_init':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x88b2a): In function `microtune_init':
: undefined reference to `i2c_master_recv'
drivers/built-in.o(.text+0x88d09): In function `default_set_tv_freq':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x88d62): In function `default_set_tv_freq':
: undefined reference to `i2c_master_recv'
drivers/built-in.o(.text+0x88dd2): In function `default_set_tv_freq':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x890a8): In function `default_set_radio_freq':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x895ef): In function `tuner_attach':
: undefined reference to `i2c_attach_client'
drivers/built-in.o(.text+0x896ac): In function `tuner_probe':
: undefined reference to `i2c_probe'
drivers/built-in.o(.text+0x896d9): In function `tuner_detach':
: undefined reference to `i2c_detach_client'
drivers/built-in.o(.text+0x8a225): In function `tda9887_status':
: undefined reference to `i2c_master_recv'
drivers/built-in.o(.text+0x8a2d6): In function `tda9887_configure':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x8a40a): In function `tda9887_attach':
: undefined reference to `i2c_attach_client'
drivers/built-in.o(.text+0x8a449): In function `tda9887_probe':
: undefined reference to `i2c_probe'
drivers/built-in.o(.text+0x8a465): In function `tda9887_detach':
: undefined reference to `i2c_detach_client'
drivers/built-in.o(.text+0x8a5cb): In function `tda9887_command':
: undefined reference to `i2c_master_recv'
drivers/built-in.o(.init.text+0x668b): In function `tuner_init_module':
: undefined reference to `i2c_add_driver'
drivers/built-in.o(.init.text+0x66ab): In function `tda9887_init_module':
: undefined reference to `i2c_add_driver'
drivers/built-in.o(.exit.text+0x51b): In function `tuner_cleanup_module':
: undefined reference to `i2c_del_driver'
drivers/built-in.o(.exit.text+0x53b): In function `tda9887_cleanup_module':
: undefined reference to `i2c_del_driver'
make: *** [.tmp_vmlinux1] Error 1
Back to top
View user's profile Send private message
lbrtuk
l33t
l33t


Joined: 08 May 2003
Posts: 910

PostPosted: Sun Mar 06, 2005 4:16 pm    Post subject: Reply with quote

You're not building the bt878 driver, you're building the cx88 driver. Different chips. The bt878 driver (bttv) only appears in menuconfig once you've enabled i2c support.
Back to top
View user's profile Send private message
elsenator
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2005
Posts: 89

PostPosted: Mon Mar 07, 2005 12:48 pm    Post subject: Reply with quote

Is the bt848 the same as the bt878 driver? When i load up tvtime the antenna doesn't work and when i use composite input the image is b/w. I tried all the different settings concerning pal/ntsc and so on.

Someone mentioned in another post that they needed to change the "card=" and "tuner=" options. What does this mean? And where do i change it?
I also added Load "v4l" in my xorg.conf file under modules. That is needed right?
Back to top
View user's profile Send private message
lbrtuk
l33t
l33t


Joined: 08 May 2003
Posts: 910

PostPosted: Mon Mar 07, 2005 7:22 pm    Post subject: Reply with quote

bt848 and bt878 both use the bttv driver.

When you modprobe the bttv driver, you can also give it card= and tuner= options on the commandline because sometimes the autodetection doesn't work as well as it should.

Look in /usr/src/linux/Documentation/video4linux/CARDLIST.bttv to see what the card numbers correspond to and /usr/src/linux/Documentation/video4linux/CARDLIST.tuner for the tuners.

So your command would look something like:

Code:
modprobe bttv card=39
Back to top
View user's profile Send private message
elsenator
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2005
Posts: 89

PostPosted: Mon Mar 07, 2005 7:50 pm    Post subject: Reply with quote

lbrtuk wrote:
bt848 and bt878 both use the bttv driver.

When you modprobe the bttv driver, you can also give it card= and tuner= options on the commandline because sometimes the autodetection doesn't work as well as it should.

Look in /usr/src/linux/Documentation/video4linux/CARDLIST.bttv to see what the card numbers correspond to and /usr/src/linux/Documentation/video4linux/CARDLIST.tuner for the tuners.

So your command would look something like:

Code:
modprobe bttv card=39


Great! Thanks :) I'll check it out
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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