All of lore.kernel.org
 help / color / mirror / Atom feed
From: hermann pitton <hermann-pitton@arcor.de>
To: CityK <cityk@rogers.com>
Cc: David Engel <david@istwok.net>, Hans Verkuil <hverkuil@xs4all.nl>,
	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: Wed, 04 Feb 2009 03:31:02 +0100	[thread overview]
Message-ID: <1233714662.3728.45.camel@pc10.localdom.local> (raw)
In-Reply-To: <4987DE4E.2090902@rogers.com>

Hi,

Am Dienstag, den 03.02.2009, 01:03 -0500 schrieb CityK:
> David Engel wrote:
> > As far as I can tell, this thread petered out without a resolution.  
> > CityK later posted on avsforum, however, that analog on his card was
> > after more changes by Hans.  I'm confused.  Is analog on the KWorld
> > 115 supposed to be working again or not?  I saw that some changes by
> > Hans made it into the main Hg repository, but as of yesterday, analog
> > still didn't work for me.
> >   
> 
> Nope, this thread is still alive and well -- I posted to it last Thurs
> (?), and Mauro replied, but I haven't had time to follow up with this
> since then. Anyway, here's a synopsis of the situation:
> 
> - Hans had a first go at the saa7134 (and related modules) in this work
> was in his v4l-dvb-saa7134 test repo .... these initial changes,
> unfortunately, were NOT sufficient on their own to get analog TV
> working. These changes did, however, get pulled into the mainline of v4l-dvb
> 
> - Hans' second attempt at this is found in his v4l-dvb-kworld test repo
> ... testing this code revealed that analog tv did indeed work again with
> tvtime ... I also noted that there seems to be a bit of redundancy now
> in terms of the tuner being initialized twice
> 
> - Mauro created a patch intended to be applied against mainline ... I
> tested and analog tv did NOT work

strange, that we don't see at least some error messages.

> - On Sunday Jan 25th I sent a lengthy message to the list, outlining
> some debug results etc. and also informing Mauro that his patch did NOT
> work ... I know that, at the very least, Trent and Hermann received that
> message, because they quoted from it in further discussion about the i2c
> gate (the inherent underlying problem at the heart of the issue).
> 
> - A few days later, scanning through the #irc logs, I caught a
> discussion, regarding Mauro's patch getting pulled into mainline, and
> the discussion seemed to indicate that there was some confusion as to
> what I had said worked and what doesn't. This surprised me for I had
> been pretty explicit in my Jan 25th mail list message. The other
> alternative was perhaps they simply had missed that message...so, in
> order to clear the situation up, I went to the mailing list archive to
> find a link for my message...only to discover it was NEVER
> achieved/recorded....grrrrr. So I'm at a complete loss as to who
> actually saw the Jan 25th message and who didn't.

On Jan. 18 the copy to the video4linux-list was dropped.
Some mailers by default have a limit there and the number of recipients
must be increased manually, i don't think it was intentionally.

However, all on linux-media should have received your postings and they
are in the archives.
http://www.spinics.net/lists/linux-media/msg00817.html

> - Further, somewhat concurrently, I discovered that (with Hans' kworld
> test repo) analog TV was ONLY working with tvtime ... xawtv/motv and
> kdetv were borked (I don't use Myth, so I have no idea what its status
> would be ... though, I'd suspect that it works like tvtime). I quickly
> traced this problem to be related to dga and Xv. A very similar
> situation with these apps existed several years ago when the proprietary
> X drivers from nvidia and ati removed dga functionality from their
> respective drivers (for some background read:
> http://www.nvnews.net/vbulletin/showthread.php?t=68232, and also the
> relevant portion of the FAQ from the nvidia readme:
> ftp://download.nvidia.com/XFree86/Linux-x86_64/180.27/README/chapter-07.html),
> however, the basic nv driver would still function. Nvidia would later
> provide a workaround to this issue in their driver.
> So, in this modern day occurrence of this similar error/bug, the obvious
> first test is to eliminate the proprietary driver from the equation.
> However, the test result with the nv driver was the same -- borked
> motv/xawtv and kdetv. I reported this, saying that I suspected that a
> something may have been introduced somewhere resulting in this issue
> with these apps resurfacing. This is why I asked that Hans' kworld repo
> NOT be pulled into mainline (if there had been any thought to that --
> though I don't think there was, because I now realize that I don't think
> many had even seen my prior Jan 25th message !) until further testing
> was performed.
> 
> - Mauro replied believing that this was unrelated to anything v4l-dvb,
> but rather an artefact of the X drivers. I suspected that that was NOT
> the case (the nv driver failing in my previous test was my cue). The
> next obvious test was to revert back to an older v4l-dvb snapshot that
> was patched with Mike Krufky's hack/workaround.
> 
> [reverting back should have been an easy task, but unfortunately I
> managed to turn it into a frustrating ordeal --- in the case of Hans'
> kworld source, the rminstall process did not blow away all the modules;
> further, while I had been testing channel scans with xawtv/motv/kdetv, I
> also tried with YAST, and unbeknownst to me, it must have saved an
> attempt at configing the ir remote --- so that, later, when no v4l-dvb
> modules were any longer present on the system, a config script somewhere
> must have been calling for the related remote control i2c-blah-blah-blah
> modules and the system would freeze, all too coincidently just when the
> nvidia x driver was starting up X ... and booting to failsafe and
> console mode was not working either (or at least not very well) ... so
> my initial belief that the very recent nvidia driver I installed had
> mucked up X, and that incorrect belief/assumption led to a masking of
> the real underlying problem for a while ... plus the fact that I really
> went off on a tangent messing around with xorg.conf and trying out some
> of the recent xinput modules etc etc ) .. anyway, as they say, all roads
> lead to Rome, and I eventually sorted everything out]
> 
> The older snapshot and Mike's patch worked as I expected it to. Removing
> that and installing Hans' kworld repo again --> xawtv/motv/kdetv = fail
> with Overlay. I can positively state, WITHOUT DOUBT, that there is
> something in Hans code that is sourcing this issue. I have not looked at
> it closely, nor do I know if I would recognise it when I do, though I
> suspect that it would be from initial batch of changes (inserted into
> the v4l-dvb-saa7134 repo).

I had a quick test on the in kernel radeon driver on Fedora 10 and
recent 2.6.27 with xawtv-3.95.

True is, that overlay-preview yields dga is not supported, but with
current v4l-dvb master and Hans' conversions mmap/grabdisplay works with
the old "xawtv -v 1 -nodga -remote -c /dev/video2" something.

Like you, I can't imagine that the earlier Kworld ATSC 110/15
initialization in Hans' kworld repo could be related to it.

> --------------------------------------------------------------------
> So the grand conclusion (aka state of the nation):
> --------------------------------------------------------------------
> 
> - how to provide a proper solution that will resolve the underlying i2c
> gate issue remains a point in discussion. In the meantime:
> 
> - Hans kworld repo:
> Pros: does provide analog tv functionality for, at a minimum, tvtime.
> Cons: The changes introduced result in, as testing to date has shown, a
> harmless bit of duplication in the way of the tuner being loaded twice.
> kdetv/motv/xawtv, at a minimum, do not work in overlay mode.

I can test on nv drivers as well next, they might have dropped support
for it too and just the x capabilies should be reported. For the second
attach of hybrid tuners in digital mode we maybe should print something
pointing to it.

> - Mainline v4l-dvb:
> Pros: none ... you will achieve this thread's namesake -- all static.
> Cons: since the code from Hans' v4l-dvb-saa7134 repo was merged, Mike's
> hack/workaround patch has been rendered ineffective for good. Mauro's
> later patch was also pulled into mainline, but it does not change the
> situation analog tv (and I do not mean in relation to Mike's patch, I
> mean precisely upon its own).
> 
> - Mike's hack/workaround patch
> Pros: it will apply and work with snapshots of v4l-dvb up to probably ~
> Jan 15th or so. All the apps that I tested with work as expected.
> Cons: in order to use analog tv, upon each boot, one must do what I
> termed being a dance with unloading and reloading the tuner module via
> modprobe.

I'm not sure if we even have the status of all devices potentially
seeing impacts, but reloading modules becomes more difficult, since we
load now saa7134-alsa by default. This will cause that apps like mixers
on runlevel 5 need to be closed before you can unload/reload
saa7134-alsa and saa7134 and then further any tuner modules.

This is fine for all the cards without such problems, but else one must
be aware off. With "options saa7134 alsa=0" the old behaviour is
restored.

Mauro also disabled saa7134-alsa support on saa7130 devices, which
simply do not support it and the deprecated saa7134-oss. Thanks! 

> - And finally, as an end note, DVB does, and always has, continue to
> work. As I eluded to earlier (somewhere within this growing thread), the
> assignment of RF input spigots has changed several times for these cards
> throughout the course of their Linux driver(s)'s lifetime. Currently, by
> default:
> DVB - digital cable is now accessed through the lower input. OTA/ATSC
> off the top input. ... this configuration is opposite to that which
> users of 2.6.24 era kernels are familiar with.
> Analog TV - regardless of whether ota or through cable is also off the
> top input.

Cheers,
Hermann



  parent reply	other threads:[~2009-02-04  2:30 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
     [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 [this message]
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=1233714662.3728.45.camel@pc10.localdom.local \
    --to=hermann-pitton@arcor.de \
    --cc=cityk@rogers.com \
    --cc=david@istwok.net \
    --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 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.