public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Michael Krufky <mkrufky@kernellabs.com>
Cc: linux-media@vger.kernel.org
Subject: Re: [git:v4l-dvb/for_v3.2] [media] dvb-usb: refactor MFE code for individual streaming config per frontend
Date: Thu, 08 Sep 2011 00:45:41 +0300	[thread overview]
Message-ID: <4E67E605.90202@iki.fi> (raw)
In-Reply-To: <CAOcJUbzrc2AM7VnWYaqt0Pfb4x_HmjWBJUKc1D0OFxs_SVm_0Q@mail.gmail.com>

On 09/08/2011 12:39 AM, Michael Krufky wrote:
> On Wed, Sep 7, 2011 at 5:35 PM, Michael Krufky<mkrufky@kernellabs.com>  wrote:
>>> On 09/08/2011 12:18 AM, Antti Palosaari wrote:
>>>>
>>>> This patch seems to break all DVB USB devices we have. Michael, could
>>>> you check and fix it asap.
>>>>
>>>> On 09/06/2011 08:21 PM, Mauro Carvalho Chehab wrote:
>>>>>
>>>>> This is an automatic generated email to let you know that the
>>>>> following patch were queued at the
>>>>> http://git.linuxtv.org/media_tree.git tree:
>>>>>
>>>>> Subject: [media] dvb-usb: refactor MFE code for individual streaming
>>>>> config per frontend
>>>>> Author: Michael Krufky<mkrufky@kernellabs.com>
>>>>> Date: Tue Sep 6 09:31:57 2011 -0300
>>>>>
>>>>> refactor MFE code to allow for individual streaming configuration
>>>>> for each frontend
>>>>>
>>>>> Signed-off-by: Michael Krufky<mkrufky@kernellabs.com>
>>>>> Reviewed-by: Antti Palosaari<crope@iki.fi>
>>>>> Signed-off-by: Mauro Carvalho Chehab<mchehab@redhat.com>
>>>>
>>>>> drivers/media/dvb/dvb-usb/dvb-usb-dvb.c | 141 ++++++-----
>>>>
>>>> dvb_usb_ctrl_feed()
>>>> if ((adap->feedcount == onoff)&&  (!onoff))
>>>> adap->active_fe = -1;
>>>>
>>>>
>>>>
>>>>>
>>>>> http://git.linuxtv.org/media_tree.git?a=commitdiff;h=77eed219fed5a913f59329cc846420fdeab0150f
>>>>>
>>>>> <diff discarded since it is too big>
>>>>
>>>>
>>
>> On Wed, Sep 7, 2011 at 5:21 PM, Antti Palosaari<crope@iki.fi>  wrote:
>>> This error is shown by VLC when channel changed:
>>>
>>> [0x7f1bbc000cd0] dvb access error: DMXSetFilter: failed with -1 (Invalid
>>> argument)
>>> [0x7f1bbc000cd0] dvb access error: DMXSetFilter failed
>>> [0x7f1bbc32f910] main stream error: cannot pre fill buffer
>>>
>>>
>>> but it seems to be related dvb_usb_ctrl_feed() I pointed earlier mail.
>>>
>>> Antti
>>>
>>>
>>
>>
>> I will take a look at this tonight and give it a test with vlc.
>> Thanks for reporting the problem.
>
>
> Antti,
>
> Just to be sure -- which device driver did you use for your testing,
> and are you using the exact code in Mauro's for_v3.2 branch, or
> modified code?

Few hours since updated linux-media remote.
remotes/media/staging/for_v3.2

last commit:

commit d4d4e3c97211f20d4fde5d82878561adaa42b578
Author: Sylwester Nawrocki <s.nawrocki@samsung.com>
Date:   Thu Jul 7 12:13:25 2011 -0300

     [media] s5p-csis: Rework the system suspend/resume helpers

     Do not resume the device during system resume if it was idle
     before system suspend, as this causes resume from suspend
     to RAM failures on Exynos4. For this purpose runtime PM and
     system sleep helpers are separated.

     Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
     Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
     Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

I tested using one Anysee DVB-C model and one AF9015 DVB-T device.

Commenting out that
 >>>> if ((adap->feedcount == onoff)&&  (!onoff))
 >>>> adap->active_fe = -1;

resolves problem.

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

  reply	other threads:[~2011-09-07 21:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1R0zZM-0008EU-2T@www.linuxtv.org>
2011-09-07 21:18 ` [git:v4l-dvb/for_v3.2] [media] dvb-usb: refactor MFE code for individual streaming config per frontend Antti Palosaari
2011-09-07 21:21   ` Antti Palosaari
2011-09-07 21:35     ` Michael Krufky
2011-09-07 21:39       ` Michael Krufky
2011-09-07 21:45         ` Antti Palosaari [this message]
2011-09-07 21:52           ` Michael Krufky
2011-09-07 21:55             ` Michael Krufky

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=4E67E605.90202@iki.fi \
    --to=crope@iki.fi \
    --cc=linux-media@vger.kernel.org \
    --cc=mkrufky@kernellabs.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox