public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Samuel Rakitnican <semirocket@gmail.com>
To: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: Report: Compro Videomate Vista T750F
Date: Wed, 15 Jul 2009 20:35:01 +0200	[thread overview]
Message-ID: <op.uw4gkkks80yj81@localhost> (raw)
In-Reply-To: <1247434386.5152.28.camel@pc07.localdom.local>

On Sun, 12 Jul 2009 23:33:06 +0200, hermann pitton  
<hermann-pitton@arcor.de> wrote:

> Hi Samuel,
>
> Am Sonntag, den 12.07.2009, 13:30 +0200 schrieb Samuel Rakitnican:
>> As the card=139 (Compro Videomate T750)
>>
>> DVB: Not working, not implemented
>> Analog: Not working
>> Audio In: ? (my T750F has additional connector ?)
>
> if amux LINE2 doesn't work it is usually LINE1.
> If both don't work, there is a external gpio controlled switch/mux chip.
>
> Default is loop through for external audio in.
> Means, if the saa7134 driver is unloaded, should be passed through to
> audio out. If not, there is such a mux chip involved.
>
[snip]



Well, I haven't managed to get sound from Audio In connector, it's  
possible however that I'm doing something wrong. I tried selecting in  
tvtime both Composite and S-Video, and I've tried using SoX:
console$> ls /dev/dsp*
dsp dsp1
console$> sox -c 2 -s -r 32000 -t ossdsp /dev/dsp1 -t ossdsp -r 32000  
/dev/dsp &

for both .amux = LINE1 and LINE2 in saa7134-cards.c source file.




RegSpy log:

I have used RegSpy that comes with DScaler version 4.1.15. I'm hoping that  
they are of some use for both Analog television and Audio In.

I have found out values crucial to changing inputs for both audio and  
video. Note that SAA7134_GPIO_GPSTATUS keeps changing all the time between  
84ff00 and 94bf00 nevertheless of the device status.

I have used VirtualDub (v1.7.7) as capturing application because it gives  
more control on input selecting (I can change audio input, not depending  
on video). From that I manage to distinguish values changing between video  
and audio.

The crucial value for video seems to be SAA7134_ANALOG_IN_CTRL1 while for  
audio seems to be values SAA7133_AUDIO_CLOCK_NOMINAL and  
SAA7133_PLL_CONTROL.

Changes: State 0 -> State 1: *****************************(Switch: Analog  
TV -> Composite)
SAA7134_GPIO_GPSTATUS:           0094ff00 -> 0494ff00  (-----0-- --------  
-------- --------)
SAA7134_ANALOG_IN_CTRL1:         83       -> 81        (------1-)
SAA7133_AUDIO_CLOCK_NOMINAL:     03187de7 -> 43187de7  (-0------ --------  
-------- --------)
SAA7133_PLL_CONTROL:             03       -> 43        (-0------)

Changes: State 1 -> State 2: *****************************(Switch:  
Composite -> S-Video)
SAA7134_GPIO_GPSTATUS:           0494ff00 -> 0284ff00  (-----10- ---1----  
-------- --------)
SAA7134_ANALOG_IN_CTRL1:         81       -> 88        (----0--1)

Changes: State 2 -> State 3: ***(Switch: Audio Source -> Audio Tuner  
(Still in S-Video mode))
SAA7134_GPIO_GPSTATUS:           0284ff00 -> 0294ff00  (-------- ---0----  
-------- --------)
SAA7133_AUDIO_CLOCK_NOMINAL:     43187de7 -> 03187de7  (-1------ --------  
-------- --------)  (same as 0)
SAA7133_PLL_CONTROL:             43       -> 03         
(-1------)                             (same as 0)

Changes: State 3 -> State 4: ******(Switch: Audio Source -> Audio Line  
(Still in S-Video mode))
SAA7134_GPIO_GPSTATUS:           0294ff00 -> 0484ff00  (-----01- ---1----  
-------- --------)
SAA7133_AUDIO_CLOCK_NOMINAL:     03187de7 -> 43187de7  (-0------ --------  
-------- --------)  (same as 1, 2)
SAA7133_PLL_CONTROL:             03       -> 43         
(-0------)                             (same as 1, 2)

(full log: http://pastebin.com/f5f8e6184)

  parent reply	other threads:[~2009-07-15 18:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-12 11:30 Report: Compro Videomate Vista T750F Samuel Rakitnican
2009-07-12 21:33 ` hermann pitton
2009-07-13 14:36   ` Samuel Rakitnican
2009-07-15  0:51     ` hermann pitton
2009-07-15 18:35   ` Samuel Rakitnican [this message]
2009-07-18  0:58     ` hermann pitton
2009-07-18 10:40       ` Samuel Rakitničan
2009-07-19 23:16         ` hermann pitton

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=op.uw4gkkks80yj81@localhost \
    --to=semirocket@gmail.com \
    --cc=linux-media@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox