public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Krufky <mkrufky@linuxtv.org>
To: Jason Pontious <jpontious@gmail.com>
Cc: video4linux-list@redhat.com, David Engel <david@istwok.net>
Subject: Re: Kworld 115-No Analog Channels
Date: Tue, 03 Jun 2008 21:38:07 -0400	[thread overview]
Message-ID: <4845F1FF.3050406@linuxtv.org> (raw)
In-Reply-To: <f50b38640806031701g31353ee0h39b42a4c51a3374b@mail.gmail.com>

Jason Pontious wrote:
> On Sun, Jun 1, 2008 at 4:55 PM, David Engel <david@istwok.net> wrote:
> 
>> On Sun, Jun 01, 2008 at 03:10:21PM -0400, Michael Krufky wrote:
>>> modprobe -r tuner
>>> modprobe -r tuner-simple
>>> modprobe tuner-simple debug=1
>>> modprobe tuner debug=1
>>>
>>> ...then test again and show the dmesg logs.
>> Here are the logs:
>>
>> Jun  1 15:52:36 opus kernel: tuner' 2-0043: chip found @ 0x86 (saa7133[0])
>> Jun  1 15:52:36 opus kernel: tda9887 2-0043: tda988[5/6/7] found
>> Jun  1 15:52:36 opus kernel: tuner' 2-0043: type set to tda9887
>> Jun  1 15:52:36 opus kernel: tuner' 2-0043: tv freq set to 0.00
>> Jun  1 15:52:36 opus kernel: tuner' 2-0043: TV freq (0.00) out of range
>> (44-958)
>> Jun  1 15:52:36 opus kernel: tuner' 2-0043: saa7133[0] tuner' I2C addr 0x86
>> with type 74 used for 0x0e
>> Jun  1 15:52:36 opus kernel: tuner' 2-0043: Calling set_type_addr for
>> type=68, addr=0xff, mode=0x04, config=0x00
>> Jun  1 15:52:36 opus kernel: tuner' 2-0043: set addr for type 74
>> Jun  1 15:52:36 opus kernel: tuner' 2-0061: Setting mode_mask to 0x0e
>> Jun  1 15:52:36 opus kernel: tuner' 2-0061: chip found @ 0xc2 (saa7133[0])
>> Jun  1 15:52:36 opus kernel: tuner' 2-0061: tuner 0x61: Tuner type absent
>> Jun  1 15:52:36 opus kernel: tuner' 2-0061: Calling set_type_addr for
>> type=68, addr=0xff, mode=0x04, config=0x00
>> Jun  1 15:52:36 opus kernel: tuner' 2-0061: set addr for type -1
>> Jun  1 15:52:36 opus kernel: tuner' 2-0061: defining GPIO callback
>> Jun  1 15:52:36 opus kernel: tuner-simple 2-0061: type set to 68 (Philips
>> TUV1236D ATSC/NTSC dual in)
>> Jun  1 15:52:36 opus kernel: tuner' 2-0061: type set to Philips TUV1236D AT
>> Jun  1 15:52:36 opus kernel: tuner' 2-0061: tv freq set to 400.00
>> Jun  1 15:52:36 opus kernel: tuner-simple 2-0061: IFPCoff = 623:
>> tuner_t_params undefined for tuner 68
>> Jun  1 15:52:36 opus kernel: tuner-simple 2-0061: tv: param 0, range 1
>> Jun  1 15:52:36 opus kernel: tuner-simple 2-0061: Freq= 400.00 MHz,
>> V_IF=38.93 MHz, Offset=0.00 MHz, div=7023
>> Jun  1 15:52:36 opus kernel: tuner-simple 2-0061: tv 0x1b 0x6f 0xce 0x02
>> Jun  1 15:52:36 opus kernel: tuner' 2-0061: saa7133[0] tuner' I2C addr 0xc2
>> with type 68 used for 0x0e
>>
>> The tuner is detected this time and analog capture works.
>>
>> David
>> --
>> David Engel
>> david@istwok.net
>>
> 
> 
> I've been following this discussion closely and will give you my input from
> what I have seen.  Here is my output from a 2.6.24-rc4 kernel with the
> v4l-dvb drivers included in that kernel.
> 
> My output from lsmod | grep tuner is :
> 
> [snip]
> 
> After modprobe -r tuner; modprobe -r saa7134-dvb; modprobe -r tuner-simple;
> then modprobe tuner debug=1; modprobe saa7134-dvb; modprobe tuner-simple
> debug=1

module load order matters.  to explain how and why is beyond the scope of this conversation.  To make things easy, use "make unload" inside the v4l-dvb tree to unload all the media drivers.  (do NOT ever use make load)

The order that you loaded above will not propogate the debug=1 module option to tuner-simple, since you already loaded 'tuner' and saa7134 is already running -- the combination of saa7134 and tuner will automatically load tuner-simple without any regard to your command line module options.

try this:

make unload
modprobe tuner-simple debug=1
modprobe tuner debug=1
modprobe saa7134
modprobe saa7134-dvb

> [17205274.727019] tda9887 1-0043: destroying instance
> [17205281.126932] tuner-simple 1-0061: destroying instance
> [17205295.203526] tuner' 1-0043: chip found @ 0x86 (saa7133[0])
> [17205295.203535] tda9887 1-0043: creating new instance
> [17205295.203538] tda9887 1-0043: tda988[5/6/7] found
> [17205295.203540] tuner' 1-0043: type set to tda9887
> [17205295.203543] tuner' 1-0043: tv freq set to 0.00
> [17205295.203546] tuner' 1-0043: TV freq (0.00) out of range (44-958)
> [17205295.211552] tuner' 1-0043: saa7133[0] tuner' I2C addr 0x86 with type
> 74 used for 0x0e
> [17205295.219525] tuner' 1-0061: Setting mode_mask to 0x0e
> [17205295.219530] tuner' 1-0061: chip found @ 0xc2 (saa7133[0])
> [17205295.219532] tuner' 1-0061: tuner 0x61: Tuner type absent
> [17205319.208573] nxt200x: NXT2004 Detected
> [17205319.216610] tuner-simple 1-0061: creating new instance
> [17205319.216615] tuner-simple 1-0061: type set to 68 (Philips TUV1236D
> ATSC/NTSC dual in)
> [17205319.216619] tuner-simple 1-0061: tuner 0 atv rf input will be
> autoselected
> [17205319.216621] tuner-simple 1-0061: tuner 0 dtv rf input will be
> autoselected
> [17205319.216625] DVB: registering new adapter (saa7133[0])
> [17205319.216628] DVB: registering frontend 0 (Nextwave NXT200X VSB/QAM
> frontend)...
> [17205319.232698] nxt2004: Waiting for firmware upload
> (dvb-fe-nxt2004.fw)...
> [17205319.232706] firmware: requesting dvb-fe-nxt2004.fw
> [17205319.256572] nxt2004: Waiting for firmware upload(2)...
> [17205320.877005] nxt2004: Firmware upload complete
> 
> I dont have analog channels before or after this.  I should have some set of
> analog channels on either input.  Before with the ubuntu 2.6.24 I would
> receive analog from the top input.  With 2.6.26-rc4 I can't seem to get
> analog no matter what.  I'm not sure how my problem applies to the rest of
> this conversation or if its completely different.
> 
> Let me know if you would like me to test anything else.

If the top input doesn't work, then try the bottom one.  Use the module options to change them if you like.

If things still dont work, then try the following:

make unload
modprobe saa7134-dvb
modprobe -r tuner
modprobe tuner

...that should do it.  Try both inputs.

-Mike

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2008-06-04  1:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-29 22:57 Kworld 115-No Analog Channels Jason Pontious
2008-05-30 14:58 ` David Engel
2008-05-30 15:41   ` Jason Pontious
2008-05-30 17:18     ` David Engel
2008-06-01  7:15       ` Michael Krufky
2008-06-01 19:07         ` David Engel
2008-06-01  7:18   ` Michael Krufky
2008-06-01 19:03     ` David Engel
2008-06-01 19:10       ` Michael Krufky
2008-06-01 20:46         ` hermann pitton
2008-06-02 20:04           ` Michael Krufky
2008-06-02 20:51             ` Mauro Carvalho Chehab
2008-06-03  0:45               ` hermann pitton
2008-06-01 20:55         ` David Engel
2008-06-02 20:09           ` Michael Krufky
2008-06-03 15:04             ` David Engel
2008-06-04  0:01           ` Jason Pontious
2008-06-04  1:38             ` Michael Krufky [this message]
2008-06-11 18:05               ` Jason Pontious
2008-06-01  7:20 ` 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=4845F1FF.3050406@linuxtv.org \
    --to=mkrufky@linuxtv.org \
    --cc=david@istwok.net \
    --cc=jpontious@gmail.com \
    --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