Re: bttv problem loading takes about several minutes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
On Mi, Jun 17, 2009 at 10:06:26 +0200, Hans Verkuil wrote:
> The log is from bttv version 0.9.17. The new code is only present in version 
> 0.9.18. So this is definitely not related to any of my changes.
> 

Yes it's from a debian lenny kernel 2.6.26.
But I have tested latest v4l-dvb with the same result
under 2.6.28 (ubuntu 9.04).



> The code in bttv_probe (bttv-driver.c) does this:
> 
>         if (bttv_verbose)
>                 bttv_gpio_tracking(btv,"init");
> 
>         /* needs to be done before i2c is registered */
>         bttv_init_card1(btv);
> 
>         /* register i2c + gpio */
>         init_bttv_i2c(btv);
> 
>         /* some card-specific stuff (needs working i2c) */
>         bttv_init_card2(btv);
> 
> So it looks like it can be either bttv_init_card1 or init_bttv_i2c that is 
> causing the delay.
> 
> Halim, can you try to put some printk() statements in between the calls 
> above to see which call is taking so long? Actually, it would be nice if 
> you are able to 'drill-down' as well in whatever function is causing the 
> delay, since I truly don't see what might be delaying things for you.

Yes I will test  this tomorrow.

Thanks a lot!
Halim

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux