Re: TW6800 based video capture boards (updates)

2009-05-25 Thread Domenico Andreoli
On Mon, May 25, 2009 at 1:55 PM, Vito  wrote:
>
> Hi all.

Hi Vito,

> I've bought a Provideo 16 in capture PCI-Experess card for my own DVR 
> solution.
> http://www.provideo.com.tw/DVRCARD_PV988.htm
> This card have 8 TW6805 chip installed.
> I've installed the card in a PC with Fedora Core 9 Linux OS
> With this kernel.
>
> There is some possibility that this card can work in some manner?

Few days ago I created a repository on gitorious, http://gitorious.org/tw68.
I pushed the clean room driver written by William, mine is not available
for publication. My plan is to dig into it and see what improvements I can
bring. Anybody interested is free to jump onboard.

Currently I am not able to make any statement of usability of the free
one but Willy surely can :)

Best regards,
Domenico Andreoli

-[ Domenico Andreoli, aka cavok
 --[ http://www.dandreoli.com/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50
--
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: TW6800 based video capture boards (updates)

2009-05-25 Thread Vito
Domenico Andreoli  gmail.com> writes:

> 
> Hi,
> 
> On Mon, May 26, 2008 at 07:39:59AM -0300, Mauro Carvalho Chehab wrote:
> > On Sun, 25 May 2008 04:00:28 +0200, Domenico Andreoli 
gmail.com> wrote:
> > >
> > >   I have some shining boards based on Techwell TW6802 and a "working"
> > > V4L2 driver provided by the producer. Ah.. I have also the specs of
> > > those TW6802 chips. Everything has been purchased by my employer.
> > > 
> > > Now I am eager to publish everything but I can't right now. My employer
> > > would not understand and I would be in a difficult position. He already
> > > knows that those drivers are based on GPL software and then _are_ GPL
> > > at all the effects but he still needs to completely understand how it
> > > works. Those guys are always happy to use Linux for free but at the
> > > time of giving anything back...
> > > 
> > > To make the long story short, I want to rewrite them. So, how do
> > > you judge my (legal) position? Yes, you are not a lawyer but I would
> > > appreciate any related advice anyway ;)
> > 
> > I think this will depend if you have a signed NDA or not, and what are their
> > terms. Better to consult a lawyer ;)
> 
> I finally got the clearance few weeks ago :)
> 
> > > Since I am a kernel newbie I am expecting to receive lots of "leave
> > > V4L2 to expert coders..." but I will try anyway. You are warned :)
> > 
> > Just do your work and submit us the code. We'll analyse it and point for
> > issues, if needed ;) If you have any doubts about V4L2, I can help you.
> 
> The new driver, named tw68xx, is able to capture video only.  My wish
> is to make it stable and production ready as soon as possible.
> 
> So at the beginning no audio, no TS, no VBI and no overlay are
> supported. These functionalities would be added with time, boards
> and users.
> 
> I am already collecting people willing to help writing and test stuff :)
> 
> > Please, always c/c v4l ML when submitting your driver[1]. You may also c/c
> > other lists, like LKML. This will allow people to review it.
> 
> I plan to publish it for a first revision by the end of January.
> 
> Currently it is an external module and I would maintain that way until
> it is ready for the merge to the Linus' tree. This way I have not to
> follow a specific tree. Would it be ok for reviewers?
> 
> cheers,
> Domenico
> 
> -[ Domenico Andreoli, aka cavok
>  --[ http://www.dandreoli.com/gpgkey.asc
>---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo  vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 


Hi all.
I've bought a Provideo 16 in capture PCI-Experess card for my own DVR solution.
http://www.provideo.com.tw/DVRCARD_PV988.htm
This card have 8 TW6805 chip installed.
I've installed the card in a PC with Fedora Core 9 Linux OS
With this kernel.

[r...@alinux]# uname -a
Linux apelle 2.6.27.15-78.2.23.fc9.i686 #1 SMP Wed Feb 11 23:53:07 EST 2009 i686
i686 i386 GNU/Linux
The matter is that the kernel don't recognize my card, (see lspci later)

I've compiled successfully the techwell tw6800.ko driver from
http://gitorious.org/tw68 
and inserted it:
[r...@alinux]# dmesg
...
tw6800: tw6800 v4l2 driver version 0.0.0 loaded

But however the lspci don't recognize my card:

[r...@alinux]# lspci -v

04:00.0 Multimedia video controller: JumpTec h, GMBH Unknown device 6804 (rev 
10)
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 5
Memory at deefc000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2

04:00.1 Multimedia controller: JumpTec h, GMBH Unknown device 6805 (rev 10)
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 5
Memory at deefc400 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2

04:01.0 Multimedia video controller: JumpTec h, GMBH Unknown device 6804 (rev 
10)
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at deefc800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2

04:01.1 Multimedia controller: JumpTec h, GMBH Unknown device 6805 (rev 10)
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at deefcc00 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2

04:02.0 Multimedia video controller: JumpTec h, GMBH Unknown device 6804 (rev 
10)
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at deefd000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2

04:02.1 Multimedia controller: JumpTec h, GMBH Unknown device 6805 (rev 10)
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at deefd400 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Manag

Re: TW6800 based video capture boards (updates)

2009-01-07 Thread Mauro Carvalho Chehab
On Sun, 4 Jan 2009 16:14:27 +0100
Domenico Andreoli  wrote:

> > I think this will depend if you have a signed NDA or not, and what are their
> > terms. Better to consult a lawyer ;)
> 
> I finally got the clearance few weeks ago :)

Great!

> > > Since I am a kernel newbie I am expecting to receive lots of "leave
> > > V4L2 to expert coders..." but I will try anyway. You are warned :)
> > 
> > Just do your work and submit us the code. We'll analyse it and point for
> > issues, if needed ;) If you have any doubts about V4L2, I can help you.
> 
> The new driver, named tw68xx, is able to capture video only.  My wish
> is to make it stable and production ready as soon as possible.
> 
> So at the beginning no audio, no TS, no VBI and no overlay are
> supported. These functionalities would be added with time, boards
> and users.
> 
> I am already collecting people willing to help writing and test stuff :)
> 
> > Please, always c/c v4l ML when submitting your driver[1]. You may also c/c
> > other lists, like LKML. This will allow people to review it.
> 
> I plan to publish it for a first revision by the end of January.
> 
> Currently it is an external module and I would maintain that way until
> it is ready for the merge to the Linus' tree. This way I have not to
> follow a specific tree. Would it be ok for reviewers?

The better is to add it at -staging tree until we have at least the audio part
also working. After having video+audio (and getting some review), we may move
it to V4L/DVB tree.

Cheers,
Mauro
--
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: TW6800 based video capture boards (updates)

2009-01-04 Thread Domenico Andreoli
Hi,

On Mon, May 26, 2008 at 07:39:59AM -0300, Mauro Carvalho Chehab wrote:
> On Sun, 25 May 2008 04:00:28 +0200, Domenico Andreoli  
> wrote:
> >
> >   I have some shining boards based on Techwell TW6802 and a "working"
> > V4L2 driver provided by the producer. Ah.. I have also the specs of
> > those TW6802 chips. Everything has been purchased by my employer.
> > 
> > Now I am eager to publish everything but I can't right now. My employer
> > would not understand and I would be in a difficult position. He already
> > knows that those drivers are based on GPL software and then _are_ GPL
> > at all the effects but he still needs to completely understand how it
> > works. Those guys are always happy to use Linux for free but at the
> > time of giving anything back...
> > 
> > To make the long story short, I want to rewrite them. So, how do
> > you judge my (legal) position? Yes, you are not a lawyer but I would
> > appreciate any related advice anyway ;)
> 
> I think this will depend if you have a signed NDA or not, and what are their
> terms. Better to consult a lawyer ;)

I finally got the clearance few weeks ago :)

> > Since I am a kernel newbie I am expecting to receive lots of "leave
> > V4L2 to expert coders..." but I will try anyway. You are warned :)
> 
> Just do your work and submit us the code. We'll analyse it and point for
> issues, if needed ;) If you have any doubts about V4L2, I can help you.

The new driver, named tw68xx, is able to capture video only.  My wish
is to make it stable and production ready as soon as possible.

So at the beginning no audio, no TS, no VBI and no overlay are
supported. These functionalities would be added with time, boards
and users.

I am already collecting people willing to help writing and test stuff :)

> Please, always c/c v4l ML when submitting your driver[1]. You may also c/c
> other lists, like LKML. This will allow people to review it.

I plan to publish it for a first revision by the end of January.

Currently it is an external module and I would maintain that way until
it is ready for the merge to the Linus' tree. This way I have not to
follow a specific tree. Would it be ok for reviewers?

cheers,
Domenico

-[ Domenico Andreoli, aka cavok
 --[ http://www.dandreoli.com/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50
--
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