Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-10-11 Thread Dejan Rodiger
Hi,

> Hmm...things you can try:
> 1) Tell pulseaudio not to use the saa7134-alsa soundcard (click on
> sound preferences (top panel, on the right, near the clock) and
> disable saa7134 soundcard).
> 2) Run "cat /proc/asound/card" or "arecord -l" and make sure you're
> using the right device on the MPlayer command line (the
> "adevice=hw.1,0" part).
> 3) Add "audiorate=32000" like this:
> mplayer tv:// -tv
> driver=v4l2:device=/dev/video0:norm=PAL:input=0:alsa:adevice=hw.1,0:amode=1:audiorate=32000:immediatemode=0:chanlist=europe-west

Sound started to work with this command:

mplayer tv:// -tv
driver=v4l2:device=/dev/video0:chanlist=europe-west:alsa:adevice=hw.1,0:amode=1:audiorate=32000:forceaudio:volume=100:immediatemode=0:norm=PAL

but after I stopped mythtv-backend ;-)

sudo service mythtv-backend stop

I wasn't thinking that mythtv might be using the same resources.
Things are working better and better with this card. :-)

Sound works (but not that good, some chops) with tvtime also using this command:
arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | sox -q -c 2 -r 32000  -t
wav - -t alsa hw:0,0
tvtime

I am getting a few: "sox WARN alsa: under-run" but sound works.

Here are the aplay -l and arecord -l, just for the record:
% aplay -l
 List of PLAYBACK Hardware Devices 
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia
CK804 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
2052 drodi...@server ~ % arecord -l
 List of CAPTURE Hardware Devices 
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 1: Intel ICH - MIC ADC [NVidia
CK804 - MIC ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SAA7134 [SAA7134], device 0: SAA7134 PCM [SAA7134 PCM]
  Subdevices: 0/1
  Subdevice #0: subdevice #0


> 4) See if MPlayer reports any error with alsa/audio.
>
> Lastly, I think tvtime only works with a patch audio cable (which is
> cable that connects the tv-card "audio out" to the soundcard "line
> in"). So you can try to start tvtime and then run:
>
> arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | aplay -
>
> this way you record from the saa7134 audio device and play it back to
> your speakers.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-10-07 Thread hermann pitton

Hi Giorgio,

Am Mittwoch, den 06.10.2010, 13:50 +0200 schrieb Giorgio:

[big snip]

> > Likely, I only have to read the LKML daily ...
> >
> > Despite of that, we need a good analysis of course, and a way how to
> > avoid such.
> 
> Maybe we can have some kind of test team? It would help to find
> regressions before it's too late.
> 
> > Cheers,
> > Hermann
> 
> Giorgio Vazzana

Yes, we always need test teams.

And Mauro explicitly did call for testing.

I did, Dmitry did and Mauro.

But we did not find the potential bug, caused by moving some identical
code between saa7134-ts and saa7134-core forth and back.

This was still on hg and I only have _some_ of such cards.

Having this on latest Linus git stuff,

likely only compile fixes on previous -next, can find such ...

;)

I'm sorry for repeating my dumbness on that.

Cheers,
Hermann


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-10-06 Thread Giorgio
2010/10/6 Dejan Rodiger :
> Hi Giorgio,
>
>>
>> Dejan,
>>
>> I have the exact same card:
>>
>> # sudo lpci -vnn
>> 02:07.0 Multimedia controller [0480]: Philips Semiconductors 
>> SAA7131/SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev d1)
>>        Subsystem: ASUSTeK Computer Inc. Device [1043:4876]
>>        Flags: bus master, medium devsel, latency 64, IRQ 20
>>        Memory at fbfff800 (32-bit, non-prefetchable) [size=2K]
>>        Capabilities: [40] Power Management version 2
>>        Kernel driver in use: saa7134
>>        Kernel modules: saa7134
>>
>> and I can confirm you that it's autodetected and works very well (both the
>> analog and the digital part) on 2.6.35.
>> 2.6.32 has a problem with dvb-t reception, but I have reported it and 
>> hopefully
>> it will be fixed soon upstream: 
>> http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/23604
>>
>> If you want to test the analog part, install MPlayer and run the following 
>> command:
>>
>> mplayer tv:// -tv 
>> driver=v4l2:device=/dev/video0:norm=PAL:input=0:chanlist=europe-west
>
> This is working OK. I have also experimented more with tvtime and both
> versions work, but I have to do little more fine tuning and then I
> have better picture. So I will probably have to manually find exact
> stations frequencies and enter them in mythtv. But I first have to
> figure how and where to enter them.
>
>
>> and then press 'k' or 'h' to select previous/next channel (after you switch
>> channel, wait some seconds until the card tunes, for some channels I need
>> 5 seconds here, for others about 1 second). Now, with some patience, explore
>> all the channels and you should be able to find your local tv stations.
>> Also, you might need to adjust mplayer options, like norm= or chanlist=
>> (you could try chanlist=europe-east).
>>
>> The command line above doesn't grab audio though, so you won't hear a thing.
>> If you want to hear the audio you need to make sure saa7134-alsa is loaded
>> and run something like:
>>
>> mplayer tv:// -tv 
>> driver=v4l2:device=/dev/video0:norm=PAL:input=0:alsa:adevice=hw.1,0:amode=1:immediatemode=0:chanlist=europe-west
>
> saa7134-alsa is loaded automatically, but I am unable to get any sound
> from mplayer or tvtime. I see on google, that I am not the only one.
> I have also noticed that about 8-10% of the frames are lost.

Hmm...things you can try:
1) Tell pulseaudio not to use the saa7134-alsa soundcard (click on
sound preferences (top panel, on the right, near the clock) and
disable saa7134 soundcard).
2) Run "cat /proc/asound/card" or "arecord -l" and make sure you're
using the right device on the MPlayer command line (the
"adevice=hw.1,0" part).
3) Add "audiorate=32000" like this:
mplayer tv:// -tv
driver=v4l2:device=/dev/video0:norm=PAL:input=0:alsa:adevice=hw.1,0:amode=1:audiorate=32000:immediatemode=0:chanlist=europe-west
4) See if MPlayer reports any error with alsa/audio.

Lastly, I think tvtime only works with a patch audio cable (which is
cable that connects the tv-card "audio out" to the soundcard "line
in"). So you can try to start tvtime and then run:

arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | aplay -

this way you record from the saa7134 audio device and play it back to
your speakers.

>
>> (make sure you select the right alsa device in adevice=)
>>
>> The wiki has a good page about MPlayer:
>>
>> http://www.linuxtv.org/wiki/index.php/MPlayer
>>
>> and of course the MPlayer man page explain all the options too.
>>
>> These pages are also useful (but some things might be a bit outdated):
>>
>> http://www.linuxtv.org/wiki/index.php/ASUS_My_Cinema-P7131_Hybrid
>> http://www.linuxtv.org/wiki/index.php/Saa7134-alsa
>>
>> I hope this can help you and others reading this ML.
>>
>> Regards,
>> Giorgio Vazzana
>>
>>> Thanks
>>> --
>>> Dejan Rodiger
>

Cheers,
Giorgio Vazzana
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-10-06 Thread Giorgio
Hello Hermann,

2010/10/5 hermann pitton :
> Hi Giorgio,
>
> Am Montag, den 04.10.2010, 18:11 +0200 schrieb Giorgio:
>> On 04/10/2010 01:48, Dejan Rodiger wrote:
>> > Hi Hermann,
>> >
>> > I finally found the time to wire analog antena and I checked it with
>> > my TV if it is working correctly.
>> > Since I am using local cable provider which didn't upgrade their
>> > system in 10 years and they are still broadcast in analog, I had a
>> > problem off finding channel list, so in the end I tried tvtime-scanner
>> > and it found about 58 channels. But, out of this 58 most of them were
>> > not good (no signal). I was able to finetune few programs. My main
>> > programs (local Croatian TV stations) were not found. Maybe I need to
>> > finetune every found station.
>> >
>> > I also tried zapping which crashed my X.
>> >
>> > I am also lost in setting mythtv. I set analog tunner on /dev/video0.
>> > But I think I have a problem of setting the channel list for my local
>> > cable provider. Is it possible to scan whole list or something. If you
>> > have any reading recommendation to set this, I would be helpfull
>>
>> Dejan,
>>
>> I have the exact same card:
>>
>> # sudo lpci -vnn
>> 02:07.0 Multimedia controller [0480]: Philips Semiconductors 
>> SAA7131/SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev d1)
>>       Subsystem: ASUSTeK Computer Inc. Device [1043:4876]
>>       Flags: bus master, medium devsel, latency 64, IRQ 20
>>       Memory at fbfff800 (32-bit, non-prefetchable) [size=2K]
>>       Capabilities: [40] Power Management version 2
>>       Kernel driver in use: saa7134
>>       Kernel modules: saa7134
>>
>> and I can confirm you that it's autodetected and works very well (both the
>> analog and the digital part) on 2.6.35.
>> 2.6.32 has a problem with dvb-t reception, but I have reported it and 
>> hopefully
>> it will be fixed soon upstream: 
>> http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/23604
>
> thanks for the report and pointing to the details again.

No problem :)

> We can see, that my testings on four different machines and Dmitri's
> tests have not been enough. Mauro had the Dual card=78 version from me
> too at least for analog TV testing.
>
> And, that was on hg with most backward compat as possible.
>
> How good are our chances, to run in such and similar troubles in the
> future, in fact staying only on latest -rc, rc-git and in best case on
> -next stuff previously?

Yes, I was quite disappointed to notice there was a regression in
2.6.30, .31 and .32 and that nobody had noticed it before (in my
experience saa7134 has always been one of the best driver on linux) so
I think it will be very important to test new code properly in the
future, at least before the code is widely used by distros. I am
willing to help with testing.

> It will all come down to the distros and such a bug fix might take just
> a year in the future regularly ...

I reported the bug on Ubuntu's Launchpad, but after the patch was
ready and users confirmed it solved the problem, the Ubuntu team
didn't backport the fix, so dvb-t reception is still broken, for
example, on Ubuntu Lucid 10.04 (which is a long term release, and will
be supported for 3 years)

> So, if the quality control was not even sufficient on hg, what will
> happen on latest -rc git stuff for that?
>
> Obviously zillions of people do much more prefer to crash around there
> than on hg ... ;)
>
> Likely, I only have to read the LKML daily ...
>
> Despite of that, we need a good analysis of course, and a way how to
> avoid such.

Maybe we can have some kind of test team? It would help to find
regressions before it's too late.

> Cheers,
> Hermann

Giorgio Vazzana
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-10-06 Thread Dejan Rodiger
Hi Giorgio,

>
> Dejan,
>
> I have the exact same card:
>
> # sudo lpci -vnn
> 02:07.0 Multimedia controller [0480]: Philips Semiconductors 
> SAA7131/SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev d1)
>        Subsystem: ASUSTeK Computer Inc. Device [1043:4876]
>        Flags: bus master, medium devsel, latency 64, IRQ 20
>        Memory at fbfff800 (32-bit, non-prefetchable) [size=2K]
>        Capabilities: [40] Power Management version 2
>        Kernel driver in use: saa7134
>        Kernel modules: saa7134
>
> and I can confirm you that it's autodetected and works very well (both the
> analog and the digital part) on 2.6.35.
> 2.6.32 has a problem with dvb-t reception, but I have reported it and 
> hopefully
> it will be fixed soon upstream: 
> http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/23604
>
> If you want to test the analog part, install MPlayer and run the following 
> command:
>
> mplayer tv:// -tv 
> driver=v4l2:device=/dev/video0:norm=PAL:input=0:chanlist=europe-west

This is working OK. I have also experimented more with tvtime and both
versions work, but I have to do little more fine tuning and then I
have better picture. So I will probably have to manually find exact
stations frequencies and enter them in mythtv. But I first have to
figure how and where to enter them.


> and then press 'k' or 'h' to select previous/next channel (after you switch
> channel, wait some seconds until the card tunes, for some channels I need
> 5 seconds here, for others about 1 second). Now, with some patience, explore
> all the channels and you should be able to find your local tv stations.
> Also, you might need to adjust mplayer options, like norm= or chanlist=
> (you could try chanlist=europe-east).
>
> The command line above doesn't grab audio though, so you won't hear a thing.
> If you want to hear the audio you need to make sure saa7134-alsa is loaded
> and run something like:
>
> mplayer tv:// -tv 
> driver=v4l2:device=/dev/video0:norm=PAL:input=0:alsa:adevice=hw.1,0:amode=1:immediatemode=0:chanlist=europe-west

saa7134-alsa is loaded automatically, but I am unable to get any sound
from mplayer or tvtime. I see on google, that I am not the only one.
I have also noticed that about 8-10% of the frames are lost.


> (make sure you select the right alsa device in adevice=)
>
> The wiki has a good page about MPlayer:
>
> http://www.linuxtv.org/wiki/index.php/MPlayer
>
> and of course the MPlayer man page explain all the options too.
>
> These pages are also useful (but some things might be a bit outdated):
>
> http://www.linuxtv.org/wiki/index.php/ASUS_My_Cinema-P7131_Hybrid
> http://www.linuxtv.org/wiki/index.php/Saa7134-alsa
>
> I hope this can help you and others reading this ML.
>
> Regards,
> Giorgio Vazzana
>
>> Thanks
>> --
>> Dejan Rodiger
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-10-04 Thread hermann pitton

Am Montag, den 04.10.2010, 19:59 -0400 schrieb Devin Heitmueller:
> On Mon, Oct 4, 2010 at 7:21 PM, hermann pitton  
> wrote:
> > thanks for the report and pointing to the details again.
> >
> > We can see, that my testings on four different machines and Dmitri's
> > tests have not been enough. Mauro had the Dual card=78 version from me
> > too at least for analog TV testing.
> >
> > And, that was on hg with most backward compat as possible.
> >
> > How good are our chances, to run in such and similar troubles in the
> > future, in fact staying only on latest -rc, rc-git and in best case on
> > -next stuff previously?
> >
> > It will all come down to the distros and such a bug fix might take just
> > a year in the future regularly ...
> >
> > So, if the quality control was not even sufficient on hg, what will
> > happen on latest -rc git stuff for that?
> >
> > Obviously zillions of people do much more prefer to crash around there
> > than on hg ... ;)
> 
> I think it's been made pretty clear:  we don't give a crap about
> whether users' PCs crash.  Getting the code into the bleeding edge
> kernel is the most important thing.  Reducing maintainership overhead
> is clearly more important than whether the code actually works.
> 
> Forget about the hg backport system.  We would rather get crap code
> into the bleeding edge kernel where almost zero users will test it
> than to put it into HG where there is actually a chance for users to
> see the problems before it goes into the mainline kernel (except for
> the 0.1% of users who are willing to install the latest bleeding edge
> kernel and make it work with all their other hardware).
> 
> Yes, we should all be prepared for lots of regressions being
> introduced, and nobody notices them until the code is already in the
> distros and has reached the masses.  And then maybe if the users are
> lucky the distro maintainers will backport fixes.
> 
> It's been made pretty clear that reducing merge overhead is more
> important than delivering a quality product.
> 
> I'll stop hijacking the thread now.
> 
> Devin


Devin,

you are always very welcome!

I know for sure, that you know what you are talking about.

Thanks,
Hermann


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-10-04 Thread Devin Heitmueller
On Mon, Oct 4, 2010 at 7:21 PM, hermann pitton  wrote:
> thanks for the report and pointing to the details again.
>
> We can see, that my testings on four different machines and Dmitri's
> tests have not been enough. Mauro had the Dual card=78 version from me
> too at least for analog TV testing.
>
> And, that was on hg with most backward compat as possible.
>
> How good are our chances, to run in such and similar troubles in the
> future, in fact staying only on latest -rc, rc-git and in best case on
> -next stuff previously?
>
> It will all come down to the distros and such a bug fix might take just
> a year in the future regularly ...
>
> So, if the quality control was not even sufficient on hg, what will
> happen on latest -rc git stuff for that?
>
> Obviously zillions of people do much more prefer to crash around there
> than on hg ... ;)

I think it's been made pretty clear:  we don't give a crap about
whether users' PCs crash.  Getting the code into the bleeding edge
kernel is the most important thing.  Reducing maintainership overhead
is clearly more important than whether the code actually works.

Forget about the hg backport system.  We would rather get crap code
into the bleeding edge kernel where almost zero users will test it
than to put it into HG where there is actually a chance for users to
see the problems before it goes into the mainline kernel (except for
the 0.1% of users who are willing to install the latest bleeding edge
kernel and make it work with all their other hardware).

Yes, we should all be prepared for lots of regressions being
introduced, and nobody notices them until the code is already in the
distros and has reached the masses.  And then maybe if the users are
lucky the distro maintainers will backport fixes.

It's been made pretty clear that reducing merge overhead is more
important than delivering a quality product.

I'll stop hijacking the thread now.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-10-04 Thread hermann pitton
Hi Giorgio,

Am Montag, den 04.10.2010, 18:11 +0200 schrieb Giorgio:
> On 04/10/2010 01:48, Dejan Rodiger wrote:
> > Hi Hermann,
> > 
> > I finally found the time to wire analog antena and I checked it with
> > my TV if it is working correctly.
> > Since I am using local cable provider which didn't upgrade their
> > system in 10 years and they are still broadcast in analog, I had a
> > problem off finding channel list, so in the end I tried tvtime-scanner
> > and it found about 58 channels. But, out of this 58 most of them were
> > not good (no signal). I was able to finetune few programs. My main
> > programs (local Croatian TV stations) were not found. Maybe I need to
> > finetune every found station.
> > 
> > I also tried zapping which crashed my X.
> > 
> > I am also lost in setting mythtv. I set analog tunner on /dev/video0.
> > But I think I have a problem of setting the channel list for my local
> > cable provider. Is it possible to scan whole list or something. If you
> > have any reading recommendation to set this, I would be helpfull
> 
> Dejan,
> 
> I have the exact same card:
> 
> # sudo lpci -vnn
> 02:07.0 Multimedia controller [0480]: Philips Semiconductors 
> SAA7131/SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev d1)
>   Subsystem: ASUSTeK Computer Inc. Device [1043:4876]
>   Flags: bus master, medium devsel, latency 64, IRQ 20
>   Memory at fbfff800 (32-bit, non-prefetchable) [size=2K]
>   Capabilities: [40] Power Management version 2
>   Kernel driver in use: saa7134
>   Kernel modules: saa7134
> 
> and I can confirm you that it's autodetected and works very well (both the
> analog and the digital part) on 2.6.35.
> 2.6.32 has a problem with dvb-t reception, but I have reported it and 
> hopefully
> it will be fixed soon upstream: 
> http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/23604

thanks for the report and pointing to the details again.

We can see, that my testings on four different machines and Dmitri's
tests have not been enough. Mauro had the Dual card=78 version from me
too at least for analog TV testing.

And, that was on hg with most backward compat as possible.

How good are our chances, to run in such and similar troubles in the
future, in fact staying only on latest -rc, rc-git and in best case on
-next stuff previously?

It will all come down to the distros and such a bug fix might take just
a year in the future regularly ...

So, if the quality control was not even sufficient on hg, what will
happen on latest -rc git stuff for that?

Obviously zillions of people do much more prefer to crash around there
than on hg ... ;)

Likely, I only have to read the LKML daily ...

Despite of that, we need a good analysis of course, and a way how to
avoid such.

Cheers,
Hermann


> 
> If you want to test the analog part, install MPlayer and run the following 
> command:
> 
> mplayer tv:// -tv 
> driver=v4l2:device=/dev/video0:norm=PAL:input=0:chanlist=europe-west
> 
> and then press 'k' or 'h' to select previous/next channel (after you switch
> channel, wait some seconds until the card tunes, for some channels I need
> 5 seconds here, for others about 1 second). Now, with some patience, explore
> all the channels and you should be able to find your local tv stations.
> Also, you might need to adjust mplayer options, like norm= or chanlist=
> (you could try chanlist=europe-east).
> 
> The command line above doesn't grab audio though, so you won't hear a thing.
> If you want to hear the audio you need to make sure saa7134-alsa is loaded
> and run something like:
> 
> mplayer tv:// -tv 
> driver=v4l2:device=/dev/video0:norm=PAL:input=0:alsa:adevice=hw.1,0:amode=1:immediatemode=0:chanlist=europe-west
> 
> (make sure you select the right alsa device in adevice=)
> 
> The wiki has a good page about MPlayer:
> 
> http://www.linuxtv.org/wiki/index.php/MPlayer
> 
> and of course the MPlayer man page explain all the options too.
> 
> These pages are also useful (but some things might be a bit outdated):
> 
> http://www.linuxtv.org/wiki/index.php/ASUS_My_Cinema-P7131_Hybrid
> http://www.linuxtv.org/wiki/index.php/Saa7134-alsa
> 
> I hope this can help you and others reading this ML.
> 
> Regards,
> Giorgio Vazzana
> 
> > Thanks
> > --
> > Dejan Rodiger
> > S: callto://drodiger
> > 
> > 
> > 
> > On Thu, Sep 23, 2010 at 00:46,   wrote:
> >>
> >>
> >> Hi Dejan,
> >>
> >> - Original Nachricht 
> >> Von: Dejan Rodiger 
> >> An:  hermann pitton 
> >> Datum:   22.09

Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-10-04 Thread Giorgio
On 04/10/2010 01:48, Dejan Rodiger wrote:
> Hi Hermann,
> 
> I finally found the time to wire analog antena and I checked it with
> my TV if it is working correctly.
> Since I am using local cable provider which didn't upgrade their
> system in 10 years and they are still broadcast in analog, I had a
> problem off finding channel list, so in the end I tried tvtime-scanner
> and it found about 58 channels. But, out of this 58 most of them were
> not good (no signal). I was able to finetune few programs. My main
> programs (local Croatian TV stations) were not found. Maybe I need to
> finetune every found station.
> 
> I also tried zapping which crashed my X.
> 
> I am also lost in setting mythtv. I set analog tunner on /dev/video0.
> But I think I have a problem of setting the channel list for my local
> cable provider. Is it possible to scan whole list or something. If you
> have any reading recommendation to set this, I would be helpfull

Dejan,

I have the exact same card:

# sudo lpci -vnn
02:07.0 Multimedia controller [0480]: Philips Semiconductors 
SAA7131/SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev d1)
Subsystem: ASUSTeK Computer Inc. Device [1043:4876]
Flags: bus master, medium devsel, latency 64, IRQ 20
Memory at fbfff800 (32-bit, non-prefetchable) [size=2K]
Capabilities: [40] Power Management version 2
Kernel driver in use: saa7134
Kernel modules: saa7134

and I can confirm you that it's autodetected and works very well (both the
analog and the digital part) on 2.6.35.
2.6.32 has a problem with dvb-t reception, but I have reported it and hopefully
it will be fixed soon upstream: 
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/23604

If you want to test the analog part, install MPlayer and run the following 
command:

mplayer tv:// -tv 
driver=v4l2:device=/dev/video0:norm=PAL:input=0:chanlist=europe-west

and then press 'k' or 'h' to select previous/next channel (after you switch
channel, wait some seconds until the card tunes, for some channels I need
5 seconds here, for others about 1 second). Now, with some patience, explore
all the channels and you should be able to find your local tv stations.
Also, you might need to adjust mplayer options, like norm= or chanlist=
(you could try chanlist=europe-east).

The command line above doesn't grab audio though, so you won't hear a thing.
If you want to hear the audio you need to make sure saa7134-alsa is loaded
and run something like:

mplayer tv:// -tv 
driver=v4l2:device=/dev/video0:norm=PAL:input=0:alsa:adevice=hw.1,0:amode=1:immediatemode=0:chanlist=europe-west

(make sure you select the right alsa device in adevice=)

The wiki has a good page about MPlayer:

http://www.linuxtv.org/wiki/index.php/MPlayer

and of course the MPlayer man page explain all the options too.

These pages are also useful (but some things might be a bit outdated):

http://www.linuxtv.org/wiki/index.php/ASUS_My_Cinema-P7131_Hybrid
http://www.linuxtv.org/wiki/index.php/Saa7134-alsa

I hope this can help you and others reading this ML.

Regards,
Giorgio Vazzana

> Thanks
> --
> Dejan Rodiger
> S: callto://drodiger
> 
> 
> 
> On Thu, Sep 23, 2010 at 00:46,   wrote:
>>
>>
>> Hi Dejan,
>>
>> - Original Nachricht ----
>> Von: Dejan Rodiger 
>> An:  hermann pitton 
>> Datum:   22.09.2010 13:20
>> Betreff: Re: [linux-dvb] Asus MyCinema P7131 Dual support
>>
>>> Hi Herman,
>>>
>>> here is dmesg output without forcing card=78.
>>> As I see it uses card=112, autodetected
>>>
>>> [   16.043345] IR RC6 protocol handler initialized
>>> [   16.173473] IR JVC protocol handler initialized
>>> [   16.236641] IR Sony protocol handler initialized
>>> [   16.433187] lirc_dev: IR Remote Control driver registered, major 250
>>> [   16.572705] IR LIRC bridge handler initialized
>>> [   16.894983] Linux video capture interface: v2.00
>>> [   16.957585] saa7130/34: v4l2 driver version 0.2.16 loaded
>>> [   16.958300] ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
>>> [   16.958306]   alloc irq_desc for 18 on node 0
>>> [   16.958309]   alloc kstat_irqs on node 0
>>> [   16.958320] saa7134 :01:06.0: PCI INT A -> Link[APC3] -> GSI 18
>>> (level, low) -> IRQ 18
>>> [   16.958327] saa7133[0]: found at :01:06.0, rev: 209, irq: 18,
>>> latency: 32, mmio: 0xfdeff000
>>> [   16.958334] saa7133[0]: subsystem: 1043:4876, board: ASUSTeK P7131
>>> Hybrid [card=112,autodetected]
>>> [   16.958378] saa7133[0]: board init: gpio is 0
>>> [   17.010075] Registered IR keymap rc-asus-pc39
>>> [   17.010197] input: s

Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-10-03 Thread hermann pitton
Hi Dejan,

Am Montag, den 04.10.2010, 01:48 +0200 schrieb Dejan Rodiger:
> Hi Hermann,
> 
> I finally found the time to wire analog antena and I checked it with
> my TV if it is working correctly.
> Since I am using local cable provider which didn't upgrade their
> system in 10 years and they are still broadcast in analog, I had a
> problem off finding channel list, so in the end I tried tvtime-scanner
> and it found about 58 channels. But, out of this 58 most of them were
> not good (no signal). I was able to finetune few programs. My main
> programs (local Croatian TV stations) were not found. Maybe I need to
> finetune every found station.

that doesn't sound good. The card should just work.

Anyone else still out there with the same?

Or are we finally destroyed by so called "compile fixes" and linux
"next" stuff ?

> I also tried zapping which crashed my X.

Yeah, goes on since years, but has still good vbi :)

dunno, if Michael has further plans on that.

> I am also lost in setting mythtv. I set analog tunner on /dev/video0.
> But I think I have a problem of setting the channel list for my local
> cable provider. Is it possible to scan whole list or something. If you
> have any reading recommendation to set this, I would be helpfull
> 
> Thanks
> --
> Dejan Rodiger
> S: callto://drodiger

For DVB-T try "kaffeine" or low level tools. Allow full delay for tuning
and locking.

If that fails, and no other well known other hardware restrictions are
in place, we have some broken code.

I do have a triple Asus 3in1 OEM with the same LNA config as that first
hybrid board has.

If really broken, not noticed yet here, but also not used since long, we
can meet on some same code base and track it down.

Cheers,
Hermann


> 
> 
> 
> On Thu, Sep 23, 2010 at 00:46,   wrote:
> >
> >
> > Hi Dejan,
> >
> > - Original Nachricht ----
> > Von: Dejan Rodiger 
> > An:  hermann pitton 
> > Datum:   22.09.2010 13:20
> > Betreff: Re: [linux-dvb] Asus MyCinema P7131 Dual support
> >
> >> Hi Herman,
> >>
> >> here is dmesg output without forcing card=78.
> >> As I see it uses card=112, autodetected
> >>
> >> [   16.043345] IR RC6 protocol handler initialized
> >> [   16.173473] IR JVC protocol handler initialized
> >> [   16.236641] IR Sony protocol handler initialized
> >> [   16.433187] lirc_dev: IR Remote Control driver registered, major 250
> >> [   16.572705] IR LIRC bridge handler initialized
> >> [   16.894983] Linux video capture interface: v2.00
> >> [   16.957585] saa7130/34: v4l2 driver version 0.2.16 loaded
> >> [   16.958300] ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
> >> [   16.958306]   alloc irq_desc for 18 on node 0
> >> [   16.958309]   alloc kstat_irqs on node 0
> >> [   16.958320] saa7134 :01:06.0: PCI INT A -> Link[APC3] -> GSI 18
> >> (level, low) -> IRQ 18
> >> [   16.958327] saa7133[0]: found at :01:06.0, rev: 209, irq: 18,
> >> latency: 32, mmio: 0xfdeff000
> >> [   16.958334] saa7133[0]: subsystem: 1043:4876, board: ASUSTeK P7131
> >> Hybrid [card=112,autodetected]
> >> [   16.958378] saa7133[0]: board init: gpio is 0
> >> [   17.010075] Registered IR keymap rc-asus-pc39
> >> [   17.010197] input: saa7134 IR (ASUSTeK P7131 Hybri as
> >> /devices/pci:00/:00:09.0/:01:06.0/rc/rc0/input4
> >> [   17.010268] rc0: saa7134 IR (ASUSTeK P7131 Hybri as
> >> /devices/pci:00/:00:09.0/:01:06.0/rc/rc0
> >> [   17.190477] saa7133[0]: i2c eeprom 00: 43 10 76 48 54 20 1c 00 43
> >> 43 a9 1c 55 d2 b2 92
> >> [   17.190490] saa7133[0]: i2c eeprom 10: ff ff ff 0f ff 20 ff ff ff
> >> ff ff ff ff ff ff ff
> >> [   17.190502] saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 03 08
> >> ff 00 d5 ff ff ff ff
> >> [   17.190513] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
> >> ff ff ff ff ff ff ff
> >> [   17.190524] saa7133[0]: i2c eeprom 40: ff 21 00 c2 96 10 03 32 55
> >> 50 ff ff ff ff ff ff
> >> [   17.190534] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
> >> ff ff ff ff ff ff ff
> >> [   17.190545] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff
> >> ff ff ff ff ff ff ff
> >> [   17.190556] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
> >> ff ff ff ff ff ff ff
> >> [   17.190566] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
> >> ff ff ff ff ff ff ff
> >> [   17.190577] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
> >> ff f

Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-10-03 Thread Dejan Rodiger
Hi Hermann,

I finally found the time to wire analog antena and I checked it with
my TV if it is working correctly.
Since I am using local cable provider which didn't upgrade their
system in 10 years and they are still broadcast in analog, I had a
problem off finding channel list, so in the end I tried tvtime-scanner
and it found about 58 channels. But, out of this 58 most of them were
not good (no signal). I was able to finetune few programs. My main
programs (local Croatian TV stations) were not found. Maybe I need to
finetune every found station.

I also tried zapping which crashed my X.

I am also lost in setting mythtv. I set analog tunner on /dev/video0.
But I think I have a problem of setting the channel list for my local
cable provider. Is it possible to scan whole list or something. If you
have any reading recommendation to set this, I would be helpfull

Thanks
--
Dejan Rodiger
S: callto://drodiger



On Thu, Sep 23, 2010 at 00:46,   wrote:
>
>
> Hi Dejan,
>
> - Original Nachricht 
> Von:     Dejan Rodiger 
> An:      hermann pitton 
> Datum:   22.09.2010 13:20
> Betreff: Re: [linux-dvb] Asus MyCinema P7131 Dual support
>
>> Hi Herman,
>>
>> here is dmesg output without forcing card=78.
>> As I see it uses card=112, autodetected
>>
>> [   16.043345] IR RC6 protocol handler initialized
>> [   16.173473] IR JVC protocol handler initialized
>> [   16.236641] IR Sony protocol handler initialized
>> [   16.433187] lirc_dev: IR Remote Control driver registered, major 250
>> [   16.572705] IR LIRC bridge handler initialized
>> [   16.894983] Linux video capture interface: v2.00
>> [   16.957585] saa7130/34: v4l2 driver version 0.2.16 loaded
>> [   16.958300] ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
>> [   16.958306]   alloc irq_desc for 18 on node 0
>> [   16.958309]   alloc kstat_irqs on node 0
>> [   16.958320] saa7134 :01:06.0: PCI INT A -> Link[APC3] -> GSI 18
>> (level, low) -> IRQ 18
>> [   16.958327] saa7133[0]: found at :01:06.0, rev: 209, irq: 18,
>> latency: 32, mmio: 0xfdeff000
>> [   16.958334] saa7133[0]: subsystem: 1043:4876, board: ASUSTeK P7131
>> Hybrid [card=112,autodetected]
>> [   16.958378] saa7133[0]: board init: gpio is 0
>> [   17.010075] Registered IR keymap rc-asus-pc39
>> [   17.010197] input: saa7134 IR (ASUSTeK P7131 Hybri as
>> /devices/pci:00/:00:09.0/:01:06.0/rc/rc0/input4
>> [   17.010268] rc0: saa7134 IR (ASUSTeK P7131 Hybri as
>> /devices/pci:00/:00:09.0/:01:06.0/rc/rc0
>> [   17.190477] saa7133[0]: i2c eeprom 00: 43 10 76 48 54 20 1c 00 43
>> 43 a9 1c 55 d2 b2 92
>> [   17.190490] saa7133[0]: i2c eeprom 10: ff ff ff 0f ff 20 ff ff ff
>> ff ff ff ff ff ff ff
>> [   17.190502] saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 03 08
>> ff 00 d5 ff ff ff ff
>> [   17.190513] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff
>> [   17.190524] saa7133[0]: i2c eeprom 40: ff 21 00 c2 96 10 03 32 55
>> 50 ff ff ff ff ff ff
>> [   17.190534] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff
>> [   17.190545] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff
>> [   17.190556] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff
>> [   17.190566] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff
>> [   17.190577] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff
>> [   17.190587] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff
>> [   17.190598] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff
>> [   17.190609] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff
>> [   17.190620] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff
>> [   17.190630] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff
>> [   17.190641] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff
>>
>> [   17.610120] tuner 2-004b: chip found @ 0x96 (saa7133[0])
>>
>> [   17.780037] tda829x 2-004b: setting tuner address to 61
>> [   17.940020] tda829x 2-004b: type set to tda8290+75a
>>
>> [   24.000114] saa7133[0]: registered device video0 [v4l2]
>> [   24.000150] saa7133[0]: registered device vbi0
>> [   24.000182] saa7133[0]: registered device radio0
>> [   24.027730] saa7134 ALSA driver for DMA sound loaded
>> [   24.027770] saa7133[0]/alsa: saa7133[0] at 0xfdeff000 irq 18
>>

Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-09-22 Thread hermann-pitton
 

Hi Dejan,

- Original Nachricht 
Von: Dejan Rodiger 
An:  hermann pitton 
Datum:   22.09.2010 13:20
Betreff: Re: [linux-dvb] Asus MyCinema P7131 Dual support

> Hi Herman,
> 
> here is dmesg output without forcing card=78.
> As I see it uses card=112, autodetected
> 
> [   16.043345] IR RC6 protocol handler initialized
> [   16.173473] IR JVC protocol handler initialized
> [   16.236641] IR Sony protocol handler initialized
> [   16.433187] lirc_dev: IR Remote Control driver registered, major 250
> [   16.572705] IR LIRC bridge handler initialized
> [   16.894983] Linux video capture interface: v2.00
> [   16.957585] saa7130/34: v4l2 driver version 0.2.16 loaded
> [   16.958300] ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
> [   16.958306]   alloc irq_desc for 18 on node 0
> [   16.958309]   alloc kstat_irqs on node 0
> [   16.958320] saa7134 :01:06.0: PCI INT A -> Link[APC3] -> GSI 18
> (level, low) -> IRQ 18
> [   16.958327] saa7133[0]: found at :01:06.0, rev: 209, irq: 18,
> latency: 32, mmio: 0xfdeff000
> [   16.958334] saa7133[0]: subsystem: 1043:4876, board: ASUSTeK P7131
> Hybrid [card=112,autodetected]
> [   16.958378] saa7133[0]: board init: gpio is 0
> [   17.010075] Registered IR keymap rc-asus-pc39
> [   17.010197] input: saa7134 IR (ASUSTeK P7131 Hybri as
> /devices/pci:00/:00:09.0/:01:06.0/rc/rc0/input4
> [   17.010268] rc0: saa7134 IR (ASUSTeK P7131 Hybri as
> /devices/pci:00/:00:09.0/:01:06.0/rc/rc0
> [   17.190477] saa7133[0]: i2c eeprom 00: 43 10 76 48 54 20 1c 00 43
> 43 a9 1c 55 d2 b2 92
> [   17.190490] saa7133[0]: i2c eeprom 10: ff ff ff 0f ff 20 ff ff ff
> ff ff ff ff ff ff ff
> [   17.190502] saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 03 08
> ff 00 d5 ff ff ff ff
> [   17.190513] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   17.190524] saa7133[0]: i2c eeprom 40: ff 21 00 c2 96 10 03 32 55
> 50 ff ff ff ff ff ff
> [   17.190534] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   17.190545] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   17.190556] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   17.190566] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   17.190577] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   17.190587] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   17.190598] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   17.190609] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   17.190620] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   17.190630] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   17.190641] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> 
> [   17.610120] tuner 2-004b: chip found @ 0x96 (saa7133[0])
> 
> [   17.780037] tda829x 2-004b: setting tuner address to 61
> [   17.940020] tda829x 2-004b: type set to tda8290+75a
> 
> [   24.000114] saa7133[0]: registered device video0 [v4l2]
> [   24.000150] saa7133[0]: registered device vbi0
> [   24.000182] saa7133[0]: registered device radio0
> [   24.027730] saa7134 ALSA driver for DMA sound loaded
> [   24.027770] saa7133[0]/alsa: saa7133[0] at 0xfdeff000 irq 18
> registered as card -2
> 
> [   25.900159] DVB: registering new adapter (saa7133[0])
> [   25.900165] DVB: registering adapter 0 frontend 0 (Philips
> TDA10046H DVB-T)...
> 
> [   26.710050] tda1004x: setting up plls for 48MHz sampling clock
> [   27.710043] tda1004x: found firmware revision 29 -- ok
> 
> 
> --
> Dejan Rodiger
> M: +385917829076
> S: callto://drodiger
> 

all looks fine now.

With auto detection you should have correct LNA support for analog tuning and 
DVB-T.

You need to connect the DVB-T signal to the FM/RF antenna input and the analog 
TV signal
to the cable RF input..

If you plug in the remote receiver, gpio 0x04 will switch to high.

Does this help any further?

What went wrong previously, making you think you might have to force for 
example card = 78 ?

I can revive almost all of the Asus cards on the saa713x driver if needed.

Have fun, hopefully.

Cheers,
Hermann


> 
> On Wed, Sep 22, 2010 at 01:13, hermann pitton 
> wrote:
> > Hi Dejan,
> >
> > Am Dienstag, den 21.09.2010, 10:07 +0200 schrieb Dejan Rodiger:
> >> Hi,
> >>
> >> I am using Ubuntu linux 10.10 with the latest kernel 2.6.35-22-generic
> >> on x86_64. I have installed nonfree f

Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-09-22 Thread Dejan Rodiger
Hi Herman,

here is dmesg output without forcing card=78.
As I see it uses card=112, autodetected

[   16.043345] IR RC6 protocol handler initialized
[   16.173473] IR JVC protocol handler initialized
[   16.236641] IR Sony protocol handler initialized
[   16.433187] lirc_dev: IR Remote Control driver registered, major 250
[   16.572705] IR LIRC bridge handler initialized
[   16.894983] Linux video capture interface: v2.00
[   16.957585] saa7130/34: v4l2 driver version 0.2.16 loaded
[   16.958300] ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
[   16.958306]   alloc irq_desc for 18 on node 0
[   16.958309]   alloc kstat_irqs on node 0
[   16.958320] saa7134 :01:06.0: PCI INT A -> Link[APC3] -> GSI 18
(level, low) -> IRQ 18
[   16.958327] saa7133[0]: found at :01:06.0, rev: 209, irq: 18,
latency: 32, mmio: 0xfdeff000
[   16.958334] saa7133[0]: subsystem: 1043:4876, board: ASUSTeK P7131
Hybrid [card=112,autodetected]
[   16.958378] saa7133[0]: board init: gpio is 0
[   17.010075] Registered IR keymap rc-asus-pc39
[   17.010197] input: saa7134 IR (ASUSTeK P7131 Hybri as
/devices/pci:00/:00:09.0/:01:06.0/rc/rc0/input4
[   17.010268] rc0: saa7134 IR (ASUSTeK P7131 Hybri as
/devices/pci:00/:00:09.0/:01:06.0/rc/rc0
[   17.190477] saa7133[0]: i2c eeprom 00: 43 10 76 48 54 20 1c 00 43
43 a9 1c 55 d2 b2 92
[   17.190490] saa7133[0]: i2c eeprom 10: ff ff ff 0f ff 20 ff ff ff
ff ff ff ff ff ff ff
[   17.190502] saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 03 08
ff 00 d5 ff ff ff ff
[   17.190513] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[   17.190524] saa7133[0]: i2c eeprom 40: ff 21 00 c2 96 10 03 32 55
50 ff ff ff ff ff ff
[   17.190534] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[   17.190545] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[   17.190556] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[   17.190566] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[   17.190577] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[   17.190587] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[   17.190598] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[   17.190609] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[   17.190620] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[   17.190630] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
[   17.190641] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff

[   17.610120] tuner 2-004b: chip found @ 0x96 (saa7133[0])

[   17.780037] tda829x 2-004b: setting tuner address to 61
[   17.940020] tda829x 2-004b: type set to tda8290+75a

[   24.000114] saa7133[0]: registered device video0 [v4l2]
[   24.000150] saa7133[0]: registered device vbi0
[   24.000182] saa7133[0]: registered device radio0
[   24.027730] saa7134 ALSA driver for DMA sound loaded
[   24.027770] saa7133[0]/alsa: saa7133[0] at 0xfdeff000 irq 18
registered as card -2

[   25.900159] DVB: registering new adapter (saa7133[0])
[   25.900165] DVB: registering adapter 0 frontend 0 (Philips
TDA10046H DVB-T)...

[   26.710050] tda1004x: setting up plls for 48MHz sampling clock
[   27.710043] tda1004x: found firmware revision 29 -- ok


--
Dejan Rodiger
M: +385917829076
S: callto://drodiger



On Wed, Sep 22, 2010 at 01:13, hermann pitton  wrote:
> Hi Dejan,
>
> Am Dienstag, den 21.09.2010, 10:07 +0200 schrieb Dejan Rodiger:
>> Hi,
>>
>> I am using Ubuntu linux 10.10 with the latest kernel 2.6.35-22-generic
>> on x86_64. I have installed nonfree firmware which should support this
>> card, but to be sure, can somebody confirm that my TV card is
>> supported in Analog or DVB mode?
>>
>> sudo lspci -vnn
>> 01:06.0 Multimedia controller [0480]: Philips Semiconductors
>> SAA7131/SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev d1)
>>         Subsystem: ASUSTeK Computer Inc. My Cinema-P7131 Hybrid
>> [1043:4876]
>>         Flags: bus master, medium devsel, latency 32, IRQ 18
>>         Memory at fdeff000 (32-bit, non-prefetchable) [size=2K]
>>         Capabilities: [40] Power Management version 2
>>         Kernel driver in use: saa7134
>>         Kernel modules: saa7134
>>
>> It says Hybrid, but I put the following in
>> the /etc/modprobe.d/saa7134.conf
>> options saa7134 card=78 tuner=54
>>
>>
>> Thanks
>> --
>> Dejan Rodiger
>> S: callto://drodiger
>
> don't have time to follow this closely anymore.
>
> But forcing it to card=78 is plain wrong. It has an early additional LNA
> in confirmed config = 2 status.
>
> Your card should be auto detected and previously always was, based on
> what we have in saa7134-cards.c and further for it. (saa7134-dvb and
> related tuner/demod stuff)
>
>        }, {
>                .vendor       = PCI_VENDOR_ID_PHILIPS,
>

Re: [linux-dvb] Asus MyCinema P7131 Dual support

2010-09-21 Thread hermann pitton
Hi Dejan,

Am Dienstag, den 21.09.2010, 10:07 +0200 schrieb Dejan Rodiger:
> Hi,
> 
> I am using Ubuntu linux 10.10 with the latest kernel 2.6.35-22-generic
> on x86_64. I have installed nonfree firmware which should support this
> card, but to be sure, can somebody confirm that my TV card is
> supported in Analog or DVB mode?
> 
> sudo lspci -vnn
> 01:06.0 Multimedia controller [0480]: Philips Semiconductors
> SAA7131/SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev d1)
> Subsystem: ASUSTeK Computer Inc. My Cinema-P7131 Hybrid
> [1043:4876]
> Flags: bus master, medium devsel, latency 32, IRQ 18
> Memory at fdeff000 (32-bit, non-prefetchable) [size=2K]
> Capabilities: [40] Power Management version 2
> Kernel driver in use: saa7134
> Kernel modules: saa7134
> 
> It says Hybrid, but I put the following in
> the /etc/modprobe.d/saa7134.conf
> options saa7134 card=78 tuner=54
> 
> 
> Thanks
> -- 
> Dejan Rodiger
> S: callto://drodiger

don't have time to follow this closely anymore.

But forcing it to card=78 is plain wrong. It has an early additional LNA
in confirmed config = 2 status.

Your card should be auto detected and previously always was, based on
what we have in saa7134-cards.c and further for it. (saa7134-dvb and
related tuner/demod stuff)

}, {
.vendor   = PCI_VENDOR_ID_PHILIPS,
.device   = PCI_DEVICE_ID_PHILIPS_SAA7133,
.subvendor= 0x1043,
.subdevice= 0x4876,
.driver_data  = SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA,
},{

I remember for sure, that this card was fully functional for all use
cases and it was not easy to get it there. I don't have it.

Please provide the "dmesg" for failing auto detection without forcing
some card = number as a starting point.

I for sure want to see this board fully functional again.

Cheers,
Hermann








--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html