All of lore.kernel.org
 help / color / mirror / Atom feed
From: CityK <cityk@rogers.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Michael Krufky <mkrufky@linuxtv.org>,
	hermann pitton <hermann-pitton@arcor.de>,
	Mauro Carvalho Chehab <mchehab@infradead.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 18:36:35 -0500	[thread overview]
Message-ID: <4973BD03.4060702@rogers.com> (raw)
In-Reply-To: <200901182241.10047.hverkuil@xs4all.nl>

Hans Verkuil wrote:
> On Sunday 18 January 2009 22:20:30 CityK wrote:
>   
>> The output of dmesg is interesting (two times tuner simple initiating):
> Shouldn't there be a tda9887 as well? It's what the card config says, but
> I'm not sure whether that is correct.
>  
>   
>> Would you like to see the results of after enabling 12c_scan to see what
>> is going on, or is this the behaviour you expected?
>>     
>
> It seems to be OK, although I find it a bit peculiar that the tuner type
> is set twice. Or does that have to do with it being a hybrid tuner, perhaps?
>   

The Philips TUV1236D NIM does indeed use a tda9887  (I know, because I
was the one who discovered this some four years ago (pats self on
head)).  But the module is not loading.  I can make it load, just as
Hermann demonstrated to Mike in one of the recent messages for this thread.

In regards to the tuner type being set twice, that is precisely my point
-- its peculiar and not symptomatic of normal behaviour.  That is why I
asked whether you expected it to do this

>> Some Other Miscellanea:
>> 1) Before this gets merged, can I ask you to also make one small change
>> to tuner-simple; specifically, swap the contents of lines 301 and 304.  
>> This will change the driver's default behaviour in regards to the
>> selection of which RF input to use for digital cable and digital
>> over-the-air.  Currently, the driver is set to use digital OTA on the
>> top RF input and digital cable on the lower RF input spigot.  However,
>> IMO, a more logical/convenient configuration is to have the digital
>> cable input be handled by the top RF input spigot, as this is the same
>> one that the analog cable is also drawn from by default. Mike had made
>> this change, on my request, previously, but it appears that it got
>> reverted after the tuner re-factoring. 
>>
>> Note:  users have reported different default configurations in the past
>> (e.g. http://www.mythtv.org/wiki/Kworld_ATSC_110), but I actually doubt
>> that there has been any manufacturing difference with the TUV1236D. 
>> Rather, I suspect that the user experiences being reported are just
>> reflecting a combination of the different states of how our driver
>> behaved in the past and differences in driver version that they may have
>> been using (i.e. that version provided by/within their distro or by our
>> Hg).  After all, this configuration setting has gone from being handled
>> by saa7134-dvb.c to dvb-pll.c to tuner-simple.c, with changes in the
>> behaviour implemented along the way.
>>
>>     
>
> I'm not going to merge this, it's just a quick hack for this card. This
> is something for Mike or Hermann to fix. 

Fair enough -- I will pester them a la Bart Simpson spy camera style
(see:
http://peanutbutterandpickles.blogspot.com/2008/06/wheres-my-spy-camera-wheres-my-spy.html
and for actual dialogue: http://www.snpp.com/episodes/7G10.html)  :P

It is a trivial change which I can vouch that works (after successfully
testing your new "KWorld" changeset, I immediately applied this change
and rebuilt ... with, of course, successful results).


> Someone with a better knowledge
> of this driver and these tuners should review the saa7134_board_init2()
> function and move the opening of tuner gate/muxes to a separate function.
>   
>> 2) This is likely related to the discussion about the gate -- after
>> closing the analog TV app, the audio from the last channel being viewed
>> can still be heard if one turns up the volume on their system.  This
>> leakage has always been present.  But given that we are addressing this
>> issue now, it strikes me that the gate is being kept open on the audio
>> line after application closing/release occurs.
>>     

I just did some testing in regards to point number 2 ... at first I was
thinking that maybe it was because tda9887 is not loading automatically
that, absent of fine control, the audio leakage was occurring.  But
after loading tda9887 and then removing the module, the leakage
continues.  Naturally, the other suspect is saa7134.  And, as it turns
out, if one modprobe -r saa7134-dvb (which obviously uses sa7134), then
the audio leakage immediately comes to an end, and checking lsmod,
saa7134 is no longer found.  So at least I know the source of the bug
now ... now its just a case of getting it to release properly.  Comments
from anyone on this?

>> 3) there is an issue about having two of these cards in the same system
>> --- IIRC, only one card will get /dev/video .... Mauro touched upon this
>> very briefly in one of the earlier messages; recall:
>>
>> Mauro wrote:
>>     
>>> This generated lots of issues in the past, like machines with two boards
>>> doesn't work anymore. With two boards, and a tuner module, the first board
>>> probes tuner after opening the demod gateway. However, the second board will
>>> try to probe tuner before opening the i2c gateway. So, tuner is not found.
>>>       
>> Now, I can't test for this myself, but I do know of several users on
>> AVSforums who have two such cards and can test if that issue is now
>> resolved .... do you suspect that the changes you have implemented to
>> date will have eliminated this bug too?
>>     
>
> That should have been fixed as well now that the automatic probing has
> been removed.
>   

Okay, cool!  As soon as this change gets pulled into the mail line, I'll
prompt those folks on AVS to test. 

> Hopefully the work I did on saa7134 can be ported to other drivers as well,
> since this clearly fixes a lot of tricky bugs.

Yep.

And what of the deeper discussion that evolved (re: Trent and Jean's
ideas)? 


  parent reply	other threads:[~2009-01-18 23:36 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 [this message]
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=4973BD03.4060702@rogers.com \
    --to=cityk@rogers.com \
    --cc=hermann-pitton@arcor.de \
    --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 \
    /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.