From: CityK <cityk@rogers.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: V4L <video4linux-list@redhat.com>,
Mauro Carvalho Chehab <mchehab@infradead.org>,
Michael Krufky <mkrufky@linuxtv.org>,
Josh Borke <joshborke@gmail.com>,
David Lonie <loniedavid@gmail.com>,
linux-media@vger.kernel.org
Subject: Re: KWorld ATSC 115 all static
Date: Sun, 18 Jan 2009 13:10:16 -0500 [thread overview]
Message-ID: <49737088.7060800@rogers.com> (raw)
In-Reply-To: <200901171720.03890.hverkuil@xs4all.nl>
Hans Verkuil wrote:
> On Friday 16 January 2009 04:20:02 CityK wrote:
>
>> The "hack-fix" patch applies cleanly against Hans' sources. However,
>> the test results are negative -- the previous workaround ("modprobe
>> tuner -r and "modprobe tuner") fails to produce the desired result.
>>
>
> If you try to run 'modprobe -r tuner' when the saa7134 module build from
> my sources is loaded, then that should not work since saa7134 increases
> the use-count of the tuner module preventing it from being unloaded.
>
> If you can do this, then that suggests that you are perhaps not using my
> modified driver at all.
>
Huh? Of course I'm using your modified driver. As a recap:
* I tried Hans' modified sources and the test result was negative. I
also attempted (in a similar fashion as to the steps required when using
Mike's "hack/workaround") unloading all the modules and then modprobing
them .... as Mike later explained, the modifications Hans had made are
not enough to correct the issue
* Mike then asked whether:
(a) his "hack/workaround" still applied cleanly against Hans' source,
and stated that, if that was not the case, then he would re-spin the
"hack" patch ... I confirmed that Mike's "hack/workaround" did indeed
apply cleanly against Han's source.
(b) I was successful in getting the analogue TV working after applying
his "hack/workaround" patch against Hans' source. However, as I
reported, the results of this test were negative ... as Mauro later
explained, the "hack/workaround" that Mike had spun will no longer work
given the inherent changes introduced in Hans' code
As requested by Mauro, I will provide the dmesg output, both that from
the base case and then that given when 12c_scan is employed ... but that
will have to occur either later today or sometime during the week ... at
present, I have switched back to an older changeset, as I required
having a functional second TV this weekend
> BTW, I've asked Mauro to pull from my tree
> (www.linuxtv.org/hg/~hverkuil/v4l-dvb) which contains the converted
> saa7134 and saa6752hs drivers. It's definitely something that needs to
> be done regardless.
>
Err, while I agree that the changes are something that need to be done
(I don't think anyone is in disagreement with that consensus), I don't
think that this is a case of "regardless". In fact, I stand behind
Mike's position:
> Anyway, if the previous workaround works after Hans' changes, then I
> think his changes should be merged
But as I have demonstrated above, and as Mauro explained, the previous
"hack/workaround" no longer works in the case of with the Hans source
code. The "if" case fails! Consequently, the "else" case should be
don't merge. Why? Because we have now gone from:
* circa pre-2.6.25, Mauro's changes that broke the boards analog TV
support, but which could somewhat be corrected by Mike's "hack/workaround"
* to present, where merging Hans' code eliminates the usability of
Mike's "hack/workaround" ... in essence, analog TV function has now been
completely killed with these boards.
Now, if it is a case that a resolution to the problem is imminently
forthcoming, then I don't think that the merge would be much of a
problem. However, given the breadth of the conversation so far (and I
really do appreciate the depth of Trent's and Jean's
discussion/consideration on the matter), it is entirely unclear to me
that such a resolution will be found in short order (although, I don't
discount the possibility of it either).
And, although I may have altered some of the original text at some point
in time (and looking at it now, I see that it could stand for some even
more clean up/revision), I turn everyone's attention to the
http://www.linuxtv.org/wiki/index.php/Development:_Hints_for_Refactoring_Existing_Drivers#Please_do_never_ever_apply_big_Changes_in-place
In particular, the key passage:
> If you plan to rewrite bigger portions of the code please don't create
> a huge patch or thousands of patches but *fork the relevant code
> modules so that people can easily test them concurrently with the old
> code and are free to use the old, usually well-tested code until your
> new version has matured*.
>
> *There have been several situations in the past where the linux-dvb
> CVS was barely usable for weeks or months because we did not followed
> this principle. Please respect that other people are using the
> linux-dvb source in productive environments and rely on a working code
> base. *
If your mail reader supports the html bolding, you will see my
emphasis. I'm wagging my finger at some of you (ahem, Mauro, to start
with). Naughty, naughty. :D
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next prev parent reply other threads:[~2009-01-18 18:10 UTC|newest]
Thread overview: 88+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-15 14:01 KWorld ATSC 115 all static Hans Verkuil
2009-01-15 14:30 ` Michael Krufky
2009-01-15 17:29 ` Mauro Carvalho Chehab
2009-01-15 18:33 ` Trent Piepho
2009-01-16 2:02 ` Mauro Carvalho Chehab
[not found] ` <20090116110700.584ec052@hyperion.delvare>
[not found] ` <Pine.LNX.4.58.0901160424350.11165@shell2.speakeasy.net>
[not found] ` <20090116153257.0bd1c90f@hyperion.delvare>
2009-01-17 19:45 ` Trent Piepho
2009-01-18 10:08 ` Jean Delvare
2009-01-15 23:11 ` hermann pitton
2009-01-16 1:39 ` CityK
2009-01-16 3:20 ` CityK
2009-01-16 3:38 ` Mauro Carvalho Chehab
2009-01-17 16:20 ` Hans Verkuil
2009-01-17 17:42 ` hermann pitton
2009-01-17 18:44 ` Michael Krufky
2009-01-17 19:16 ` hermann pitton
2009-01-18 18:10 ` CityK [this message]
[not found] ` <200901182011.11960.hverkuil@xs4all.nl>
2009-01-18 21:20 ` CityK
[not found] ` <200901182241.10047.hverkuil@xs4all.nl>
2009-01-18 23:36 ` CityK
2009-01-19 11:01 ` Mauro Carvalho Chehab
[not found] ` <200901190853.19327.hverkuil@xs4all.nl>
2009-01-19 11:08 ` Mauro Carvalho Chehab
2009-01-19 17:16 ` hermann pitton
2009-01-25 18:10 ` CityK
2009-01-25 18:32 ` CityK
2009-01-25 21:49 ` Trent Piepho
2009-01-25 23:08 ` hermann pitton
2009-01-25 23:35 ` CityK
2009-01-26 0:45 ` hermann pitton
2009-01-28 2:23 ` Mauro Carvalho Chehab
2009-01-28 3:29 ` hermann pitton
2009-01-29 23:44 ` CityK
2009-01-30 3:00 ` Mauro Carvalho Chehab
2009-01-19 0:38 ` Trent Piepho
2009-02-02 23:58 ` David Engel
2009-02-03 6:03 ` CityK
2009-02-03 14:02 ` Michael Krufky
2009-02-04 3:56 ` KWorld ATSC 115 all static ... Mike's clarification CityK
2009-02-03 17:22 ` KWorld ATSC 115 all static David Engel
2009-02-04 4:07 ` CityK
2009-02-05 2:55 ` David Engel
2009-02-04 2:31 ` hermann pitton
2009-02-04 5:26 ` CityK
2009-02-05 1:22 ` hermann pitton
2009-02-08 10:07 ` Mauro Carvalho Chehab
2009-02-08 12:39 ` Mauro Carvalho Chehab
2009-02-09 2:43 ` Mauro Carvalho Chehab
2009-02-09 2:43 ` Mauro Carvalho Chehab
2009-02-10 0:37 ` hermann pitton
2009-02-10 0:54 ` hermann pitton
2009-02-10 1:31 ` hermann pitton
2009-02-10 2:35 ` Mauro Carvalho Chehab
2009-02-10 3:14 ` hermann pitton
2009-02-10 3:43 ` hermann pitton
2009-02-10 6:15 ` Mauro Carvalho Chehab
2009-02-10 12:07 ` Jonathan Isom
2009-02-10 12:27 ` Mauro Carvalho Chehab
2009-02-10 12:48 ` Jonathan Isom
2009-02-10 19:02 ` Mauro Carvalho Chehab
2009-02-11 3:50 ` David Engel
2009-02-11 4:34 ` hermann pitton
2009-02-11 7:43 ` Mauro Carvalho Chehab
2009-02-11 23:21 ` David Engel
2009-02-13 3:07 ` David Engel
2009-02-13 11:04 ` Mauro Carvalho Chehab
2009-02-13 11:28 ` Mauro Carvalho Chehab
2009-02-13 20:28 ` David Engel
2009-02-13 20:35 ` Mauro Carvalho Chehab
2009-02-17 15:53 ` David Engel
2009-02-18 7:45 ` Hans Verkuil
2009-02-18 15:26 ` David Engel
2009-02-10 6:19 ` Mauro Carvalho Chehab
2009-02-11 1:30 ` hermann pitton
-- strict thread matches above, loose matches on Subject: below --
2009-01-12 0:53 Josh Borke
2009-01-12 3:08 ` CityK
2009-01-12 5:19 ` Mauro Carvalho Chehab
2009-01-12 7:40 ` Hans Verkuil
2009-01-13 2:10 ` CityK
2009-01-13 3:17 ` hermann pitton
2009-01-14 4:41 ` CityK
2009-01-14 7:37 ` Hans Verkuil
2009-01-14 18:24 ` Hans Verkuil
2009-01-15 1:43 ` hermann pitton
2009-01-15 5:01 ` CityK
2009-01-15 7:27 ` Hans Verkuil
2009-01-15 13:45 ` Michael Krufky
2009-01-15 2:32 ` hermann pitton
2009-01-15 2:54 ` Mauro Carvalho Chehab
2009-01-15 3:15 ` hermann pitton
2009-01-12 3:13 ` CityK
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=49737088.7060800@rogers.com \
--to=cityk@rogers.com \
--cc=hverkuil@xs4all.nl \
--cc=joshborke@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=loniedavid@gmail.com \
--cc=mchehab@infradead.org \
--cc=mkrufky@linuxtv.org \
--cc=video4linux-list@redhat.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