All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: ok more details: Re: bttv problem loading takes about several minutes
@ 2009-06-18 13:24 Hans Verkuil
  2009-06-18 14:01 ` Halim Sahin
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Verkuil @ 2009-06-18 13:24 UTC (permalink / raw)
  To: Halim Sahin; +Cc: Trent Piepho, linux-media


> Hi,
> On Do, Jun 18, 2009 at 01:09:56 +0200, Hans Verkuil wrote:
>>
>> > Hi,
>> > sorry for the nusable output!
>> > I found the time consuming funktion:
>> >         bttv_init_card2(btv);
>> > This takes about 4 min. today.
>> > my new testcode:
>> >         /* needs to be done before i2c is registered */
>> > printk("linke 2:bttv_init_card1(btv);\n");
>> >
>> >         bttv_init_card1(btv);
>> >
>> >         /* register i2c + gpio */
>> > printk("line 3: init_bttv_i2c(btv);\n");
>> >
>> >         init_bttv_i2c(btv);
>> >
>> >         /* some card-specific stuff (needs working i2c) */
>> > printk("line4:         some card-specific stuff needs working i2c
>> \n");
>> >         bttv_init_card2(btv);
>> > printk("irq init\n");
>> >
>> >         init_irqreg(btv);
>> >
>> > dmesg output:
>> > [ 2282.430209] bttv: driver version 0.9.18 loaded
>> > [ 2282.430216] bttv: using 8 buffers with 2080k (520 pages) each for
>> > capture
>> > [ 2282.430313] bttv: Bt8xx card found (0).
>> > [ 2282.430334] bttv0: Bt878 (rev 17) at 0000:00:0b.0, irq: 19,
>> latency:
>> > 32, mmio
>> > : 0xf7800000
>> > [ 2282.430777] bttv0: using: Leadtek WinFast 2000/ WinFast 2000 XP
>> > [card=34,insm
>> > od option]
>> > [ 2282.430839] bttv_gpio_tracking(bt
>> > [ 2282.430843] bttv0: gpio: en=00000000, out=00000000 in=003ff502
>> [init]
>> > [ 2282.430845] linke 2:bttv_init_card1(btv);
>> > [ 2282.430859] line 3: init_bttv_i2c(btv);
>> > [ 2282.430917] line4:         some card-specific stuff needs working
>> i2c
>> > [ 2282.430922] bttv0: tuner type=24
>> >
>> > Ok here is the 4 min dely and after that the following linkes were
>> printed
>> > out:
>> >
>> > [ 2416.836017] bttv0: audio absent, no audio device found!
>>
>> When you tested this with bttv 0.9.17, wasn't the delay then before the
>> text 'tuner type=24'?
>>
>> Anyway, if you modprobe with the option 'audiodev=-1', will that solve
>> this? If not, then can you do the same printk trick in the
>> bttv_init_card2
>> function?
>
> I couldn't find a parameter audiodev in bttv module
> Do you mean audioall??
> It has no effect.
> So I need an older revision of v4l-dvb to test the 17. drivers.

If you installed from the v4l-dvb repository, then 'modinfo bttv' should
show the audiodev module option. It does for me. I'm not sure how you can
get a bttv version of 0.9.18 without seeing that module option. I'm
assuming your v4l-dvb tree is up to date?

Regards,

         Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ok more details: Re: bttv problem loading takes about several minutes
  2009-06-18 13:24 ok more details: Re: bttv problem loading takes about several minutes Hans Verkuil
@ 2009-06-18 14:01 ` Halim Sahin
  2009-06-18 19:21   ` hermann pitton
  0 siblings, 1 reply; 9+ messages in thread
From: Halim Sahin @ 2009-06-18 14:01 UTC (permalink / raw)
  To: Hans Verkuil; +Cc: Trent Piepho, linux-media

Hi,
you can see at my dmesg output
[ 2282.430209] bttv: driver version 0.9.18 loaded

i have done
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make && make install 
reboot
No idea why I don't have the audiodev modparam?
Regards
Halim

-- 
Halim Sahin
E-Mail:				
halim.sahin (at) t-online.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ok more details: Re: bttv problem loading takes about several minutes
  2009-06-18 14:01 ` Halim Sahin
@ 2009-06-18 19:21   ` hermann pitton
  2009-06-19 11:49     ` Halim Sahin
  0 siblings, 1 reply; 9+ messages in thread
From: hermann pitton @ 2009-06-18 19:21 UTC (permalink / raw)
  To: Halim Sahin; +Cc: Hans Verkuil, Trent Piepho, linux-media

Hi,

Am Donnerstag, den 18.06.2009, 16:01 +0200 schrieb Halim Sahin:
> Hi,
> you can see at my dmesg output
> [ 2282.430209] bttv: driver version 0.9.18 loaded
> 
> i have done
> hg clone http://linuxtv.org/hg/v4l-dvb
> cd v4l-dvb
> make && make install 
> reboot
> No idea why I don't have the audiodev modparam?
> Regards
> Halim
> 

Halim, we should get that in sync.

parm:           autoload:obsolete option, please do not use anymore (int)
parm:           audiodev:specify audio device:
                -1 = no audio
                 0 = autodetect (default)
                 1 = msp3400
                 2 = tda7432
                 3 = tvaudio (array of int)
parm:           saa6588:if 1, then load the saa6588 RDS module, default (0) is to use the card definition.
parm:           no_overlay:allow override overlay default (0 disables, 1 enables) [some VIA/SIS chipsets are known to have problem with overlay] (int)

Hopefully we don't need to fall back on Konfuzius for it ;)

Cheers,
Hermann




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ok more details: Re: bttv problem loading takes about several minutes
  2009-06-18 19:21   ` hermann pitton
@ 2009-06-19 11:49     ` Halim Sahin
  2009-06-19 12:47       ` Hans Verkuil
  0 siblings, 1 reply; 9+ messages in thread
From: Halim Sahin @ 2009-06-19 11:49 UTC (permalink / raw)
  To: hermann pitton; +Cc: Hans Verkuil, linux-media

Hi,
Ok I have tested 
modprobe bttv audiodev=-1 card=34 tuner=24 gbuffers=16

I am seeing again the delay.
More ideas?
Regards
Halim


-- 
Halim Sahin
E-Mail:				
halim.sahin (at) t-online.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ok more details: Re: bttv problem loading takes about several minutes
  2009-06-19 11:49     ` Halim Sahin
@ 2009-06-19 12:47       ` Hans Verkuil
  2009-06-26 18:16         ` Hans Verkuil
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Verkuil @ 2009-06-19 12:47 UTC (permalink / raw)
  To: Halim Sahin; +Cc: hermann pitton, linux-media

On Friday 19 June 2009 13:49:37 Halim Sahin wrote:
> Hi,
> Ok I have tested
> modprobe bttv audiodev=-1 card=34 tuner=24 gbuffers=16
>
> I am seeing again the delay.
> More ideas?

Use more printk messages in the bttv_init_card2() function to try and narrow 
down the exact function call that is causing the delay. I still have no 
idea what it might be.

Regards,

	Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ok more details: Re: bttv problem loading takes about several minutes
  2009-06-19 12:47       ` Hans Verkuil
@ 2009-06-26 18:16         ` Hans Verkuil
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Verkuil @ 2009-06-26 18:16 UTC (permalink / raw)
  To: Halim Sahin; +Cc: hermann pitton, linux-media

On Friday 19 June 2009 14:47:33 Hans Verkuil wrote:
> On Friday 19 June 2009 13:49:37 Halim Sahin wrote:
> > Hi,
> > Ok I have tested
> > modprobe bttv audiodev=-1 card=34 tuner=24 gbuffers=16
> >
> > I am seeing again the delay.
> > More ideas?
> 
> Use more printk messages in the bttv_init_card2() function to try and narrow 
> down the exact function call that is causing the delay. I still have no 
> idea what it might be.
> 
> Regards,
> 
> 	Hans
> 

Hi Halim,

Did you have time to try and narrow this down?

Regards,

        Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ok more details: Re: bttv problem loading takes about several minutes
  2009-06-18 11:09 Hans Verkuil
@ 2009-06-18 12:05 ` Halim Sahin
  0 siblings, 0 replies; 9+ messages in thread
From: Halim Sahin @ 2009-06-18 12:05 UTC (permalink / raw)
  To: Hans Verkuil; +Cc: Trent Piepho, linux-media

Hi,
On Do, Jun 18, 2009 at 01:09:56 +0200, Hans Verkuil wrote:
> 
> > Hi,
> > sorry for the nusable output!
> > I found the time consuming funktion:
> >         bttv_init_card2(btv);
> > This takes about 4 min. today.
> > my new testcode:
> >         /* needs to be done before i2c is registered */
> > printk("linke 2:bttv_init_card1(btv);\n");
> >
> >         bttv_init_card1(btv);
> >
> >         /* register i2c + gpio */
> > printk("line 3: init_bttv_i2c(btv);\n");
> >
> >         init_bttv_i2c(btv);
> >
> >         /* some card-specific stuff (needs working i2c) */
> > printk("line4:         some card-specific stuff needs working i2c \n");
> >         bttv_init_card2(btv);
> > printk("irq init\n");
> >
> >         init_irqreg(btv);
> >
> > dmesg output:
> > [ 2282.430209] bttv: driver version 0.9.18 loaded
> > [ 2282.430216] bttv: using 8 buffers with 2080k (520 pages) each for
> > capture
> > [ 2282.430313] bttv: Bt8xx card found (0).
> > [ 2282.430334] bttv0: Bt878 (rev 17) at 0000:00:0b.0, irq: 19, latency:
> > 32, mmio
> > : 0xf7800000
> > [ 2282.430777] bttv0: using: Leadtek WinFast 2000/ WinFast 2000 XP
> > [card=34,insm
> > od option]
> > [ 2282.430839] bttv_gpio_tracking(bt
> > [ 2282.430843] bttv0: gpio: en=00000000, out=00000000 in=003ff502 [init]
> > [ 2282.430845] linke 2:bttv_init_card1(btv);
> > [ 2282.430859] line 3: init_bttv_i2c(btv);
> > [ 2282.430917] line4:         some card-specific stuff needs working i2c
> > [ 2282.430922] bttv0: tuner type=24
> >
> > Ok here is the 4 min dely and after that the following linkes were printed
> > out:
> >
> > [ 2416.836017] bttv0: audio absent, no audio device found!
> 
> When you tested this with bttv 0.9.17, wasn't the delay then before the
> text 'tuner type=24'?
> 
> Anyway, if you modprobe with the option 'audiodev=-1', will that solve
> this? If not, then can you do the same printk trick in the bttv_init_card2
> function?

I couldn't find a parameter audiodev in bttv module
Do you mean audioall??
It has no effect.
So I need an older revision of v4l-dvb to test the 17. drivers.
Thanks
regards
Halim

> 
> Regards,
> 
>         Hans
> 
> > [ 2416.836024] irq init
> > [ 2416.840551] bttv0: registered device video1
> > [ 2416.840684] bttv0: registered device vbi0
> > [ 2416.840716] bttv0: registered device radio0
> > [ 2416.840736] bttv0: PLL: 28636363 => 35468950 .<6>bttv0: PLL: 28636363
> > => 3546
> > 8950 . ok
> > [ 2416.856221] input: bttv IR (card=34) as
> > /devices/pci0000:00/0000:00:0b.0/inpu
> > t/input10
> > [ 2416.864069]  ok
> >
> > Hope that helps!
> > Regards
> > Halim
> > --
> > Halim Sahin
> > E-Mail:
> > halim.sahin (at) t-online.de
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-media" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
> 
> 
> -- 
> Hans Verkuil - video4linux developer - sponsored by TANDBERG

-- 
Halim Sahin
E-Mail:				
halim.sahin (at) t-online.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ok more details: Re: bttv problem loading takes about several minutes
@ 2009-06-18 11:09 Hans Verkuil
  2009-06-18 12:05 ` Halim Sahin
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Verkuil @ 2009-06-18 11:09 UTC (permalink / raw)
  To: Halim Sahin; +Cc: Trent Piepho, linux-media


> Hi,
> sorry for the nusable output!
> I found the time consuming funktion:
>         bttv_init_card2(btv);
> This takes about 4 min. today.
> my new testcode:
>         /* needs to be done before i2c is registered */
> printk("linke 2:bttv_init_card1(btv);\n");
>
>         bttv_init_card1(btv);
>
>         /* register i2c + gpio */
> printk("line 3: init_bttv_i2c(btv);\n");
>
>         init_bttv_i2c(btv);
>
>         /* some card-specific stuff (needs working i2c) */
> printk("line4:         some card-specific stuff needs working i2c \n");
>         bttv_init_card2(btv);
> printk("irq init\n");
>
>         init_irqreg(btv);
>
> dmesg output:
> [ 2282.430209] bttv: driver version 0.9.18 loaded
> [ 2282.430216] bttv: using 8 buffers with 2080k (520 pages) each for
> capture
> [ 2282.430313] bttv: Bt8xx card found (0).
> [ 2282.430334] bttv0: Bt878 (rev 17) at 0000:00:0b.0, irq: 19, latency:
> 32, mmio
> : 0xf7800000
> [ 2282.430777] bttv0: using: Leadtek WinFast 2000/ WinFast 2000 XP
> [card=34,insm
> od option]
> [ 2282.430839] bttv_gpio_tracking(bt
> [ 2282.430843] bttv0: gpio: en=00000000, out=00000000 in=003ff502 [init]
> [ 2282.430845] linke 2:bttv_init_card1(btv);
> [ 2282.430859] line 3: init_bttv_i2c(btv);
> [ 2282.430917] line4:         some card-specific stuff needs working i2c
> [ 2282.430922] bttv0: tuner type=24
>
> Ok here is the 4 min dely and after that the following linkes were printed
> out:
>
> [ 2416.836017] bttv0: audio absent, no audio device found!

When you tested this with bttv 0.9.17, wasn't the delay then before the
text 'tuner type=24'?

Anyway, if you modprobe with the option 'audiodev=-1', will that solve
this? If not, then can you do the same printk trick in the bttv_init_card2
function?

Regards,

        Hans

> [ 2416.836024] irq init
> [ 2416.840551] bttv0: registered device video1
> [ 2416.840684] bttv0: registered device vbi0
> [ 2416.840716] bttv0: registered device radio0
> [ 2416.840736] bttv0: PLL: 28636363 => 35468950 .<6>bttv0: PLL: 28636363
> => 3546
> 8950 . ok
> [ 2416.856221] input: bttv IR (card=34) as
> /devices/pci0000:00/0000:00:0b.0/inpu
> t/input10
> [ 2416.864069]  ok
>
> Hope that helps!
> Regards
> Halim
> --
> Halim Sahin
> E-Mail:
> halim.sahin (at) t-online.de
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG


^ permalink raw reply	[flat|nested] 9+ messages in thread

* ok more details: Re: bttv problem loading takes about several minutes
  2009-06-18  9:58     ` Halim Sahin
@ 2009-06-18 10:18       ` Halim Sahin
  0 siblings, 0 replies; 9+ messages in thread
From: Halim Sahin @ 2009-06-18 10:18 UTC (permalink / raw)
  To: Hans Verkuil; +Cc: Trent Piepho, linux-media

Hi,
sorry for the nusable output!
I found the time consuming funktion:
        bttv_init_card2(btv);
This takes about 4 min. today.
my new testcode:
        /* needs to be done before i2c is registered */
printk("linke 2:bttv_init_card1(btv);\n");

        bttv_init_card1(btv);

        /* register i2c + gpio */
printk("line 3: init_bttv_i2c(btv);\n");

        init_bttv_i2c(btv);

        /* some card-specific stuff (needs working i2c) */
printk("line4:         some card-specific stuff needs working i2c \n");
        bttv_init_card2(btv);
printk("irq init\n");

        init_irqreg(btv);

dmesg output:
[ 2282.430209] bttv: driver version 0.9.18 loaded
[ 2282.430216] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 2282.430313] bttv: Bt8xx card found (0).
[ 2282.430334] bttv0: Bt878 (rev 17) at 0000:00:0b.0, irq: 19, latency: 32, mmio
: 0xf7800000
[ 2282.430777] bttv0: using: Leadtek WinFast 2000/ WinFast 2000 XP [card=34,insm
od option]
[ 2282.430839] bttv_gpio_tracking(bt
[ 2282.430843] bttv0: gpio: en=00000000, out=00000000 in=003ff502 [init]
[ 2282.430845] linke 2:bttv_init_card1(btv);
[ 2282.430859] line 3: init_bttv_i2c(btv);
[ 2282.430917] line4:         some card-specific stuff needs working i2c
[ 2282.430922] bttv0: tuner type=24

Ok here is the 4 min dely and after that the following linkes were printed out:

[ 2416.836017] bttv0: audio absent, no audio device found!
[ 2416.836024] irq init
[ 2416.840551] bttv0: registered device video1
[ 2416.840684] bttv0: registered device vbi0
[ 2416.840716] bttv0: registered device radio0
[ 2416.840736] bttv0: PLL: 28636363 => 35468950 .<6>bttv0: PLL: 28636363 => 3546
8950 . ok
[ 2416.856221] input: bttv IR (card=34) as /devices/pci0000:00/0000:00:0b.0/inpu
t/input10
[ 2416.864069]  ok

Hope that helps!
Regards
Halim
-- 
Halim Sahin
E-Mail:				
halim.sahin (at) t-online.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-06-26 18:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-18 13:24 ok more details: Re: bttv problem loading takes about several minutes Hans Verkuil
2009-06-18 14:01 ` Halim Sahin
2009-06-18 19:21   ` hermann pitton
2009-06-19 11:49     ` Halim Sahin
2009-06-19 12:47       ` Hans Verkuil
2009-06-26 18:16         ` Hans Verkuil
  -- strict thread matches above, loose matches on Subject: below --
2009-06-18 11:09 Hans Verkuil
2009-06-18 12:05 ` Halim Sahin
2009-06-17 16:24 Halim Sahin
2009-06-17 17:11 ` Trent Piepho
2009-06-17 20:06   ` Hans Verkuil
2009-06-18  9:58     ` Halim Sahin
2009-06-18 10:18       ` ok more details: " Halim Sahin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.