public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Eduard Budulea <eduard.budulea@axigen.com>
To: Jed <jedi.theone@gmail.com>
Cc: Linux DVB <linux-dvb@linuxtv.org>
Subject: Re: [linux-dvb] saa 7162 chip, recording from s-video
Date: Thu, 03 Sep 2009 15:36:47 +0300	[thread overview]
Message-ID: <1251981407.3990.82.camel@edi-desktop> (raw)
In-Reply-To: <4A9FAC48.90309@gmail.com>

On Thu, 2009-09-03 at 21:45 +1000, Jed wrote:
> Hi Eduard,
> 
> This is not really helping you but I was wondering if you could
> possibly help me?
> 
> I have the QuattroS: 
> http://www.linuxtv.org/wiki/index.php/Saa7162_devices#DNTV_PCI_Express_cards
This looks like the same layout so who knows? worth a try.
> 
> It is from the same family of devices as your card, my questions are
> in-line...
> 
> ----Mensaje original----
> De: eduard.budulea@axigen.com
> Recibido: 31/08/2009 11:35
> Para: <linux-dvb@linuxtv.org>
> Asunto: [linux-dvb] saa 7162 chip, recording from s-video
> 
> Hi, I have this card:Kworld DVB-T PE310.
> On a ubuntu 9.4 system with linux 2.6.28-15-generic.
> I've managed to compile and install the drivers from:
> http://www.jusst.de/hg/saa716x/
> 
> Did you rely on the instructions in the wiki to do this? If not could
> you briefly outline what you did?
I found no wiki.
So what I did:
* take the latest bz2 from the site http://www.jusst.de/hg/saa716x/
* install the linux-headers.
* extract the bz2 in folder, let's say "saaSrc" (this is a placeholder).
* run make in saaSrc.
* it will give an error that it does not find
http://linuxtv.org/hg/v4l-dvb/file/2b49813f8482/linux/drivers/media/dvb/frontends/stv6110x_priv.h
and
http://linuxtv.org/hg/v4l-dvb/file/2b49813f8482/linux/drivers/media/dvb/frontends/stv6110x_reg.h
and
http://linuxtv.org/hg/v4l-dvb/file/2b49813f8482/linux/drivers/media/dvb/frontends/stv6110x.h
and
http://linuxtv.org/hg/v4l-dvb/file/2b49813f8482/linux/drivers/media/dvb/frontends/stv6110x.c
* put the missing files.
* and it should compile.
* make install
* now be prepare to reboot because the driver does not cleanly remove
itself on rmmod.
* modprobe the saa716x_hybrid with verbose (I've put 100) and debug
(I've put 1) and saa716x_core with debug (I've put 1).
* It will probably say nothing to the dmesg because you don't have the
card id put in the sources.
* To put in the sources you have to add a MAKE_ENTRY (@
saa716x_hybrid.c:595).

Here you see the atlantis structure.
>From what I see there are diferent config paths depending of the board.
Atlantis is the nxp reference board so I used it (cloned the MAKE_ENTY
and give the pciIds of my card).

* compile and install and do the modprobe again (now it will load the
driver but if the id is not 46 then it will report what id is that is
wrong) the id is the id of the tda 100046a chip (2 of them) at my board
it was 0xff
* the tda error print is from tda1004x.c:1361.
* I have added at the if my id also so that the error will not happen.
* compile install modprobe.
* after that I had the /dev/dvb/adapter{0,1} folders.

Hope it will work for you.

> 
> I've added my pci id to the driver list (used atlantis config
> structure)
> I also added my tda10046 (actually my chips are tda 100046A, why the
> extra 0?) id (whitch is 0xFF, not 0x46) in tda10046_attach function.
> 
> I think I understand what you're saying here, but how do I determine
> what my PCI & TDA100046A ID's are?
> And what do you mean by Atlantis Config Structure?
> 
> It kind of worked, because it has not crashed and the w_scan give
> output like is working.
> However, I don't know if in my region I have dvb-t.
> 
> I have DVB-T in my area so I can confirm that it works if you help me
> with those prior steps! :-D 
> 
> What I want is to be able to record from an s-video source.
> It should be possible with this card.
> But the card does not export a /dev/videox file (no v4l?)
> It only creates /dev/dvb/adapterx thing.
> So how can I record s-video with this card?
> 
> I am interested in testing AV-in too, so any tips there would also be
> greatly appreciated!

The idea that I have is not an easy one. Fist if the streaming is
working. I want to find out the control register that will comute the
chip from dvb stream to AV one and hopefully at /dev/dvb/adapter0/demux0
I'll get the video stream. After that I have to write a v4l2 driver to
do that.

Have fun.

> 
> 
> Most Sincerely,
> Jed
> 


_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  parent reply	other threads:[~2009-09-03 12:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-31 10:27 [linux-dvb] saa 7162 chip, recording from s-video DCRYPT
2009-08-31 11:00 ` Eduard Budulea
2009-08-31 14:26 ` SAA716x driver module jed
     [not found]   ` <a3ef07920908310830w343c3f81g6212d7bcf75858c5@mail.gmail.com>
2009-09-02 18:12     ` Jed
2009-09-03 11:51       ` Jed
2009-09-03 15:21         ` Jed
2009-09-05 20:17       ` Manu Abraham
     [not found] ` <4A9FAC48.90309@gmail.com>
2009-09-03 12:36   ` Eduard Budulea [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-08-31  9:35 [linux-dvb] saa 7162 chip, recording from s-video Eduard Budulea

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=1251981407.3990.82.camel@edi-desktop \
    --to=eduard.budulea@axigen.com \
    --cc=jedi.theone@gmail.com \
    --cc=linux-dvb@linuxtv.org \
    --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