Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke my tuner? :)

2007-08-25 Thread Eric Sandeen
Eric Sandeen wrote:
> hi, I have a Kworld ATSC 110 PCI DVB card,
> 
> 03:09.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135
> Video Broadcast Decoder (rev f0)
> Subsystem: KWorld Computer Co. Ltd. ATSC 110 Digital / Analog
> HDTV Tuner
> Flags: bus master, medium devsel, latency 55, IRQ 23
> Memory at c4001000 (32-bit, non-prefetchable) [size=2K]
> Capabilities: [40] Power Management version 2
> 
> It seems this fairly recent mod broke my ability to tune in QAM HDTV:
> 
> ---
> 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f5ae29e284b328e0976789d5c199bbbe80e4b005
> [PATCH] cx88-dvb: fix nxt200x rf input switching
> Michael Krufky [Sat, 24 Mar 2007 17:21:53 + (13:21 -0400)]
> After dvb tuner refactoring, the pllbuff has been altered such that the
> pll address is now stored in buf[0].  Instead of sending buf to
> set_pll_input, we should send buf+1.
> 
> ---

Ok, after much patient assistance from mkrufky, we sorted out that a
recent change meant that I had to switch physical inputs on my card -
that is, plugging the physical cable into the *other* card input (the
input closer to the center of pci card bracket) - makes everything happy
again...

Thanks,

-Eric

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke my tuner? :)

2007-09-05 Thread Nathan Faust
Hi, 

I've notice the same thing with my Kworld ATSC-110.  
I'm running Ubuntu 7.10, 2.6.22-10-generic, x86_64.  I guess it is a
change in the 2.6.22 kernel.
Is there anyway to change this back so that QAM and NTSC inputs are the
same?

Thank you,
Nathan.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Sandeen
Sent: Saturday, August 25, 2007 7:29 PM
To: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke
my tuner? :)

Eric Sandeen wrote:
> hi, I have a Kworld ATSC 110 PCI DVB card,
> 
> 03:09.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 
> Video Broadcast Decoder (rev f0)
> Subsystem: KWorld Computer Co. Ltd. ATSC 110 Digital / Analog 
> HDTV Tuner
> Flags: bus master, medium devsel, latency 55, IRQ 23
> Memory at c4001000 (32-bit, non-prefetchable) [size=2K]
> Capabilities: [40] Power Management version 2
> 
> It seems this fairly recent mod broke my ability to tune in QAM HDTV:
> 
> ---
> 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=com
> mitdiff;h=f5ae29e284b328e0976789d5c199bbbe80e4b005
> [PATCH] cx88-dvb: fix nxt200x rf input switching Michael Krufky [Sat, 
> 24 Mar 2007 17:21:53 + (13:21 -0400)] After dvb tuner refactoring,

> the pllbuff has been altered such that the pll address is now stored 
> in buf[0].  Instead of sending buf to set_pll_input, we should send 
> buf+1.
> 
> ---

Ok, after much patient assistance from mkrufky, we sorted out that a
recent change meant that I had to switch physical inputs on my card -
that is, plugging the physical cable into the *other* card input (the
input closer to the center of pci card bracket) - makes everything happy
again...

Thanks,

-Eric

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke my tuner? :)

2007-09-05 Thread CityK
Nathan Faust wrote:
> Hi, 
>
> I've notice the same thing with my Kworld ATSC-110.  
> I'm running Ubuntu 7.10, 2.6.22-10-generic, x86_64.  I guess it is a
> change in the 2.6.22 kernel.
> Is there anyway to change this back so that QAM and NTSC inputs are the
> same?
>   

They should be the same now -- that was what the change was all about.

By default now, the top RF input should be 8VSB and the bottom should be
QAM & analog (both ota and cable).




___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke my tuner? :)

2007-09-05 Thread Nathan Faust
CityK,

Thanks for your reply, but that is not what I'm seeing in MythTV and
TVTime for /dev/video0.  I'm getting signal from /dev/video0 when I use
the upper input, not the lower one.  I haven't trying tuning 8VSB, but
as for the QAM input, that seems to be working as expected.

Maybe I should look at the driver config for input select in SAA7134 or
swap the input selection lines for VSB and QAM in the dvb code?

After looking at the input selection code in nxt200x.c, QAM and VSB, it
looks like if I switch these lines it will swap the inputs.
//QAM
-   state->config->set_pll_input(buf+1, 1); 
+   state->config->set_pll_input(buf+1, 0);

//VSB
-   state->config->set_pll_input(buf+1, 0);
+   state->config->set_pll_input(buf+1, 1);

Am I correct?

I am confused as to what these lines do
if (state->config->set_ts_params)
state->config->set_ts_params(fe, 1);  <-- what the
front-end parameter 0 or 1 mean.

Thank you,
Nathan.
-Original Message-
From: CityK [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 05, 2007 1:33 PM
To: Nathan Faust
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke
my tuner? :)

Nathan Faust wrote:
> Hi,
>
> I've notice the same thing with my Kworld ATSC-110.  
> I'm running Ubuntu 7.10, 2.6.22-10-generic, x86_64.  I guess it is a 
> change in the 2.6.22 kernel.
> Is there anyway to change this back so that QAM and NTSC inputs are 
> the same?
>   

They should be the same now -- that was what the change was all about.

By default now, the top RF input should be 8VSB and the bottom should be
QAM & analog (both ota and cable).





___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke my tuner? :)

2007-09-05 Thread Michael Krufky
 > -Original Message-
 > From: CityK [mailto:[EMAIL PROTECTED]
 > Sent: Wednesday, September 05, 2007 1:33 PM
 > To: Nathan Faust
 > Cc: linux-dvb@linuxtv.org
 > Subject: Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke
 > my tuner? :)
 >
 > Nathan Faust wrote:
 >> Hi,
 >>
 >> I've notice the same thing with my Kworld ATSC-110.
 >> I'm running Ubuntu 7.10, 2.6.22-10-generic, x86_64.  I guess it is a
 >> change in the 2.6.22 kernel.
 >> Is there anyway to change this back so that QAM and NTSC inputs are
 >> the same?
 >>
 >
 > They should be the same now -- that was what the change was all about.
 >
 > By default now, the top RF input should be 8VSB and the bottom should be
 > QAM & analog (both ota and cable).

Nathan Faust wrote:
> CityK,
> 
> Thanks for your reply, but that is not what I'm seeing in MythTV and
> TVTime for /dev/video0.  I'm getting signal from /dev/video0 when I use
> the upper input, not the lower one.  I haven't trying tuning 8VSB, but
> as for the QAM input, that seems to be working as expected.
> 
> Maybe I should look at the driver config for input select in SAA7134 or
> swap the input selection lines for VSB and QAM in the dvb code?
> 
> After looking at the input selection code in nxt200x.c, QAM and VSB, it
> looks like if I switch these lines it will swap the inputs.
>   //QAM
> - state->config->set_pll_input(buf+1, 1); 
> + state->config->set_pll_input(buf+1, 0);
> 
>   //VSB
> - state->config->set_pll_input(buf+1, 0);
> + state->config->set_pll_input(buf+1, 1);
> 
> Am I correct?
> 
> I am confused as to what these lines do
>   if (state->config->set_ts_params)
>   state->config->set_ts_params(fe, 1);  <-- what the
> front-end parameter 0 or 1 mean.


Nathan,

Please do not top-quote

As per your description above, you are correct... HOWEVER, now I understand 
your 
issue -- you are running old code.

If you update to the latest v4l/dvb modules via linuxtv.org mercurial, you will 
find that functionality has been restored as per your desire.

Please see http://linuxtv.org/repo

...for instructions to upgrade your v4l/dvb modules.

Good Luck,

Mike


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke my tuner? :)

2007-09-05 Thread Nathan Faust
-Original Message-
From: Michael Krufky [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 05, 2007 2:07 PM
To: Nathan Faust
Cc: CityK; linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke
my tuner? :)

 > -Original Message-
 > From: CityK [mailto:[EMAIL PROTECTED]
 > Sent: Wednesday, September 05, 2007 1:33 PM
 > To: Nathan Faust
 > Cc: linux-dvb@linuxtv.org
 > Subject: Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching
broke
 > my tuner? :)
 >
 > Nathan Faust wrote:
 >> Hi,
 >>
 >> I've notice the same thing with my Kworld ATSC-110.
 >> I'm running Ubuntu 7.10, 2.6.22-10-generic, x86_64.  I guess it is a
 >> change in the 2.6.22 kernel.
 >> Is there anyway to change this back so that QAM and NTSC inputs are
 >> the same?
 >>
 >
 > They should be the same now -- that was what the change was all
about.
 >
 > By default now, the top RF input should be 8VSB and the bottom should
be
 > QAM & analog (both ota and cable).

Nathan Faust wrote:
> CityK,
> 
> Thanks for your reply, but that is not what I'm seeing in MythTV and
> TVTime for /dev/video0.  I'm getting signal from /dev/video0 when I
use
> the upper input, not the lower one.  I haven't trying tuning 8VSB, but
> as for the QAM input, that seems to be working as expected.
> 
> Maybe I should look at the driver config for input select in SAA7134
or
> swap the input selection lines for VSB and QAM in the dvb code?
> 
> After looking at the input selection code in nxt200x.c, QAM and VSB,
it
> looks like if I switch these lines it will swap the inputs.
>   //QAM
> - state->config->set_pll_input(buf+1, 1); 
> + state->config->set_pll_input(buf+1, 0);
> 
>   //VSB
> - state->config->set_pll_input(buf+1, 0);
> + state->config->set_pll_input(buf+1, 1);
> 
> Am I correct?
> 
> I am confused as to what these lines do
>   if (state->config->set_ts_params)
>   state->config->set_ts_params(fe, 1);  <-- what the
> front-end parameter 0 or 1 mean.


Nathan,

Please do not top-quote

As per your description above, you are correct... HOWEVER, now I
understand your 
issue -- you are running old code.

If you update to the latest v4l/dvb modules via linuxtv.org mercurial,
you will 
find that functionality has been restored as per your desire.

Please see http://linuxtv.org/repo

...for instructions to upgrade your v4l/dvb modules.

Good Luck,

Mike



Mike,

I've been using the stock Ubuntu 7.10 kernel (2.6.22.4) with just the
Kworld ATSC-110 remote additions.
I'll give that a try and get back if I continue to have problems.

As for top quoting, sorry about that.

Thank you,
Nathan.


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke my tuner? :)

2007-09-06 Thread Nathan Faust

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nathan Faust
Sent: Wednesday, September 05, 2007 2:17 PM
To: Michael Krufky
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke
my tuner? :)

-Original Message-
From: Michael Krufky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 2:07 PM
To: Nathan Faust
Cc: CityK; linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke
my tuner? :)

 > -Original Message-
 > From: CityK [mailto:[EMAIL PROTECTED]  > Sent: Wednesday, September
05, 2007 1:33 PM  > To: Nathan Faust  > Cc: linux-dvb@linuxtv.org  >
Subject: Re: [linux-dvb] cx88-dvb: fix nxt200x rf input switching broke
> my tuner? :)  >  > Nathan Faust wrote:
 >> Hi,
 >>
 >> I've notice the same thing with my Kworld ATSC-110.
 >> I'm running Ubuntu 7.10, 2.6.22-10-generic, x86_64.  I guess it is a
>> change in the 2.6.22 kernel.
 >> Is there anyway to change this back so that QAM and NTSC inputs are
>> the same?
 >>
 >
 > They should be the same now -- that was what the change was all
about.
 >
 > By default now, the top RF input should be 8VSB and the bottom should
be  > QAM & analog (both ota and cable).

Nathan Faust wrote:
> CityK,
> 
> Thanks for your reply, but that is not what I'm seeing in MythTV and 
> TVTime for /dev/video0.  I'm getting signal from /dev/video0 when I
use
> the upper input, not the lower one.  I haven't trying tuning 8VSB, but

> as for the QAM input, that seems to be working as expected.
> 
> Maybe I should look at the driver config for input select in SAA7134
or
> swap the input selection lines for VSB and QAM in the dvb code?
> 
> After looking at the input selection code in nxt200x.c, QAM and VSB,
it
> looks like if I switch these lines it will swap the inputs.
>   //QAM
> - state->config->set_pll_input(buf+1, 1); 
> + state->config->set_pll_input(buf+1, 0);
> 
>   //VSB
> - state->config->set_pll_input(buf+1, 0);
> + state->config->set_pll_input(buf+1, 1);
> 
> Am I correct?
> 
> I am confused as to what these lines do
>   if (state->config->set_ts_params)
>   state->config->set_ts_params(fe, 1);  <-- what the
front-end 
> parameter 0 or 1 mean.


Nathan,

Please do not top-quote

As per your description above, you are correct... HOWEVER, now I
understand your issue -- you are running old code.

If you update to the latest v4l/dvb modules via linuxtv.org mercurial,
you will find that functionality has been restored as per your desire.

Please see http://linuxtv.org/repo

...for instructions to upgrade your v4l/dvb modules.

Good Luck,

Mike



Mike,

I've been using the stock Ubuntu 7.10 kernel (2.6.22.4) with just the
Kworld ATSC-110 remote additions.
I'll give that a try and get back if I continue to have problems.

As for top quoting, sorry about that.

Thank you,
Nathan.

---

Mike,

I'm working on compiling the current v4l-dvb kernel modules
(v4l-dvb-0c3e99a3f31c).
Do you know if the Kworld ATSC-110 remote patch is merged into the code
or do I need to run the patch,
http://www.mythtv.org/wiki/index.php/User:Vprada#Kernel_Modification ?

I couldn't find any mention of the remote code in the source, assuming
that it needs patching still.

Thank you,
Nathan.


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb