All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Devin Heitmueller <dheitmueller@kernellabs.com>
Cc: Jose Alberto Reguero <jareguero@telefonica.net>,
	linux-media@vger.kernel.org
Subject: Re: Noisy video with Avermedia AVerTV Digi Volar X HD (AF9015) and mythbuntu 9.04
Date: Wed, 26 Aug 2009 01:09:46 +0300	[thread overview]
Message-ID: <4A94612A.2070705@iki.fi> (raw)
In-Reply-To: <829197380908251501l7731536bg79dd8595cd7ce50d@mail.gmail.com>

On 08/26/2009 01:01 AM, Devin Heitmueller wrote:
> On Tue, Aug 25, 2009 at 5:50 PM, Antti Palosaari<crope@iki.fi>  wrote:
>> USB2.0 BULK stream .buffersize is currently 512 and your patch increases it
>> to the 65424. I don't know how this value should be determined. I have set
>> it as small as it is working and usually it is 512 used almost every driver.
>> 511 will not work (if not USB1.1 configured to the endpoints).
>>
>> ****
>>
>> Could someone point out how correct BULK buffersize should be determined? I
>> have thought that many many times...
>
> Usually I do a sniffusb capture of the Windows driver and use whatever
> they are using.

Should try that if better trick is not known.

>> ****
>>
>> Also one other question; if demod is powered off and some IOCTL is coming -
>> like FE_GET_FRONTEND - how that should be handled? v4l-dvb -framework does
>> not look whether or not demod is sleeping and forwards that query to the
>> demod which cannot answer it.
>
> In other demods, whenever the set_frontend call comes in the driver
> check to see if the device is asleep and wakes it up on demand.  On
> some demods, you can query a register to get the power state.  In
> other cases you have to manually keep track of whether you previously
> put the demod to sleep using the demod's state structure.

If demod (and tuner) is powered off by bridge (.power_ctrl) that's not 
possible. Is there way to call bridge .power_ctrl to wake up demod and 
tuner? I added param for demdod state to track sleep/wake state and 
return 0 in sleep case. But that does not sounds good solution...

Thank you for fast answer.

regards
Antti
-- 
http://palosaari.fi/

  reply	other threads:[~2009-08-25 22:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04  7:16 Noisy video with Avermedia AVerTV Digi Volar X HD (AF9015) and mythbuntu 9.04 Cyril Hansen
2009-08-04 11:12 ` Jose Alberto Reguero
2009-08-04 21:23   ` Cyril Hansen
2009-08-04 21:48     ` Jose Alberto Reguero
2009-08-25 21:50       ` Antti Palosaari
2009-08-25 22:01         ` Devin Heitmueller
2009-08-25 22:09           ` Antti Palosaari [this message]
2009-08-25 22:24             ` Devin Heitmueller
2009-08-25 22:38               ` Antti Palosaari
2009-08-26 11:09                 ` Antti Palosaari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A94612A.2070705@iki.fi \
    --to=crope@iki.fi \
    --cc=dheitmueller@kernellabs.com \
    --cc=jareguero@telefonica.net \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.