From: Malcolm Priestley <tvboxspy@gmail.com>
To: Johann Klammer <klammerj@a1.net>, linux-media@vger.kernel.org
Cc: hverkuil@xs4all.nl
Subject: Re: [BUG] STV0299 has bogus CAN_INVERSION_AUTO flag
Date: Sun, 30 Aug 2015 19:14:20 +0100 [thread overview]
Message-ID: <55E347FC.2090702@gmail.com> (raw)
In-Reply-To: <55E31C40.6000409@a1.net>
On 30/08/15 16:07, Johann Klammer wrote:
> On 08/30/2015 11:53 AM, Malcolm Priestley wrote:
>> On 24/08/15 16:19, Johann Klammer wrote:
>>> from gdb dump:
>>> [...]
>>> info = {
>>> name = "ST STV0299 DVB-S", '\000' <repeats 111 times>, type = FE_QPSK,
>>> frequency_min = 950000, frequency_max = 2150000,
>>> frequency_stepsize = 125, frequency_tolerance = 0,
>>> symbol_rate_min = 1000000, symbol_rate_max = 45000000,
>>> symbol_rate_tolerance = 500, notifier_delay = 0,
>>> caps = (FE_CAN_INVERSION_AUTO | FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 | FE_CAN_FEC_5_6 | FE_CAN_FEC_7_8 | FE_CAN_FEC_AUTO | FE_CAN_QPSK)},
>>> [...]
>>>
>>> when tuning:
>>> [...]
>> Hi
>> ..
>>> [331020.207352] stv0299 does not support auto-inversion
>>> [331020.507480] stv0299 does not support auto-inversion
>>> [331020.807610] stv0299 does not support auto-inversion
>>> [331021.107747] stv0299 does not support auto-inversion
>>> [...]
>>> (but how the heck should I know?)
>>
>> I am using the stv0299 with no problems at all, the code hasn't changed much in years. I am using linux 4.2-rc6
>> boot/vmlinuz-4.1.0-1-586
>
> Something must have changed. I updated kernel and got those messages.
> I did not get then before. The vmlinuz.old
> points to: boot/vmlinuz-3.14.15
> vmlinuz points to: boot/vmlinuz-4.1.0-1-586
> (debian testing binary .deb)
>
>> You shouldn't be getting that message as dvb core does the auto inversion for the driver.
> It may have been exposed by trying oneshot tuning mode... not sure...
Yes, it is with setting oneshot.
Looks like the FE_CAN_INVERSION_AUTO flag is only bogus in
FE_TUNE_MODE_ONESHOT mode.
Obversely don't set INVERSION_AUTO bearing in mind when you do it
manually you have to tune first with it off and if that fails again with
it on.
Regards
Malcolm
prev parent reply other threads:[~2015-08-30 18:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-24 15:19 [BUG] STV0299 has bogus CAN_INVERSION_AUTO flag Johann Klammer
2015-08-28 22:00 ` Johann Klammer
2015-08-30 2:28 ` Johann Klammer
2015-08-30 9:53 ` Malcolm Priestley
2015-08-30 15:07 ` Johann Klammer
2015-08-30 18:14 ` Malcolm Priestley [this message]
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=55E347FC.2090702@gmail.com \
--to=tvboxspy@gmail.com \
--cc=hverkuil@xs4all.nl \
--cc=klammerj@a1.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox