Skip to contentSkip to conversation

saa 7162 chip, recording from s-video

linux-dvb [email protected] 4 participants 8 messages Aug 31, 2009 – Sep 5, 2009 2 messages not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Eduard,

Could you please specify what to do in order to add a PCI ID to the driver list? I was investigating by myself some time ago, but could not manage to do it.

Regards.

Quoted 11 lines

----Mensaje original----
De: [email protected]
Recibido: 31/08/2009 11:35
Para: <[email protected]>
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/
I've added my pci id to the driver list (used atlantis config

structure)

Quoted 3 lines

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. It kind of worked, because it has not crashed and the w_scan give

output

Quoted 3 lines

like is working.
How ever, I don't know if in my region I have dvb-t. I have gotten this board because the motherboard has only pci

express.

Quoted 6 lines

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?

Quoted 6 lines

Thanks, I am willing to do testing for the driver development.

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected].

org

Quoted 3 lines

[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

-------------------------------
dCrypt

#1 lore raw
Quoted 6 lines · On Mon, 2009-08-31 at 12:27 +0200, [email protected] wrote:

Eduard,

Could you please specify what to do in order to add a PCI ID to the driver list? I was investigating by myself some time ago, but could not manage to do it.

you go to saa716x_hybrid.c
and add a "MAKE_ENTRY" to
static struct pci_device_id saa716x_hybrid_pci_table structure. (know it is at line 592)
You have to choose a config structure for your card I have choose saa716x_atlantis_config and I think it worked.

#2 lore raw

SAA716x driver module

In reply to [email protected]

Can someone please advise if the SAA716x driver module: http://www.linuxtv.org/wiki/index.php/NXP_SAA716x#Driver_Development
Is now ready for SAA7162 devices: http://www.linuxtv.org/wiki/index.php/Saa7162_devices

I have the QuattroS: http://www.linuxtv.org/wiki/index.php/Saa7162_devices#DNTV_PCI_Express_cards
I'm very keen to commence testing and if I can be given advice on how to move forward, then I'll provide immediate/constant feed-back!

What functionality is confirmed as working for the QuattroS or similar devices?

Thank-you,
Jed

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Re: SAA716x driver module

Quoted 10 lines · jed
Quoted 6 lines

Can someone please advise if the SAA716x driver module:
http://www.linuxtv.org/wiki/index.php/NXP_SAA716x#Driver_Development
Is now ready for SAA7162 devices:
http://www.linuxtv.org/wiki/index.php/Saa7162_devices

AFAIK Manu Abraham's driver is the most developed and it doesn't even tune yet.

Actually this appears to suggest otherwise...
http://jusst.de/hg/saa716x/
Can anybody comment? Manu preferably! :-D

Cheers,
Jed

#5 lore raw

Re: SAA716x driver module

Please can I get a response from "anyone" on this???
It looks like driver support for these devices is completed, not sure about AV-in....
If my suspicions are correct then it's just a matter of adding ones device to the driver list if it's not there.

Cheers,
Jed

Quoted 18 lines
Quoted 10 lines · jed
Quoted 6 lines

Can someone please advise if the SAA716x driver module:
http://www.linuxtv.org/wiki/index.php/NXP_SAA716x#Driver_Development
Is now ready for SAA7162 devices:
http://www.linuxtv.org/wiki/index.php/Saa7162_devices

AFAIK Manu Abraham's driver is the most developed and it doesn't even tune yet.

Actually this appears to suggest otherwise...
http://jusst.de/hg/saa716x/
Can anybody comment? Manu preferably! :-D

Cheers,
Jed

#6 lore raw

Re: SAA716x driver module

Not-to-worry...
Eduard has explained how I can go about confirming this for myself.

Quoted 26 lines · Jed

Please can I get a response from "anyone" on this???
It looks like driver support for these devices is completed, not sure about AV-in....
If my suspicions are correct then it's just a matter of adding ones device to the driver list if it's not there.

Cheers,
Jed

Quoted 18 lines
Quoted 10 lines · jed
Quoted 6 lines

Can someone please advise if the SAA716x driver module:
http://www.linuxtv.org/wiki/index.php/NXP_SAA716x#Driver_Development
Is now ready for SAA7162 devices:
http://www.linuxtv.org/wiki/index.php/Saa7162_devices

AFAIK Manu Abraham's driver is the most developed and it doesn't even tune yet.

Actually this appears to suggest otherwise...
http://jusst.de/hg/saa716x/
Can anybody comment? Manu preferably! :-D

Cheers,
Jed

#7 lore raw

Re: SAA716x driver module

In reply to Jed

Hi,

Quoted 10 lines · Jed
Quoted 10 lines · jed
Quoted 7 lines

Can someone please advise if the SAA716x driver module:
http://www.linuxtv.org/wiki/index.php/NXP_SAA716x#Driver_Development
Is now ready for SAA7162 devices:
http://www.linuxtv.org/wiki/index.php/Saa7162_devices

Quoted 6 lines
Quoted 2 lines

AFAIK Manu Abraham's driver is the most developed and it doesn't even tune yet.

Actually this appears to suggest otherwise...
http://jusst.de/hg/saa716x/
Can anybody comment? Manu preferably! :-D

Sorry about the long delay in the reply being out of station, with a large mailbox to be processed.

The saa716x driver currently has been tested only on the Technotrend TT S2 6400 Dual DVB-S2 Premium (a card with H.264 Hardware decoder and HDMI output and other nice features) for very basic functionality (tune + stream capture) as of now.

A lot of stuff is still pending.

Regards,
Manu

A message that is not in the archive (sent off-list or not yet received): [email protected]

#9 lore raw
Quoted 7 lines · Jed

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.

Quoted 10 lines

It is from the same family of devices as your card, my questions are in-line...

----Mensaje original----
De: [email protected]
Recibido: 31/08/2009 11:35
Para: <[email protected]>
Asunto: [linux-dvb] saa 7162 chip, recording from s-video

Quoted 7 lines

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.

Quoted 1 line

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.

Quoted 17 lines

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

Quoted 8 lines

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.

Quoted 5 lines

Most Sincerely,
Jed

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb