linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* HAUPPAUGE HVR-930C analog tv feasible ??
@ 2013-02-25 11:01 jandegr1
  2013-02-25 11:33 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 6+ messages in thread
From: jandegr1 @ 2013-02-25 11:01 UTC (permalink / raw)
  To: linux-media

Hi,

To get analog tv working on a hauppauge hvr-930c, I started sniffing usb and
parsing.

you can see a sample here : https://dl.dropbox.com/u/93775123/grphCable22.txt

Howeverver I am missing a lot of knowledge to jump on it right away, so I'd
as for opinion of the experts over here first.

This could be benifical for several other cards with the avf4910 as well.

thx,

Jan De Graeve


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HAUPPAUGE HVR-930C analog tv feasible ??
  2013-02-25 11:01 HAUPPAUGE HVR-930C analog tv feasible ?? jandegr1
@ 2013-02-25 11:33 ` Mauro Carvalho Chehab
  2013-03-01 20:28   ` jandegr1
  0 siblings, 1 reply; 6+ messages in thread
From: Mauro Carvalho Chehab @ 2013-02-25 11:33 UTC (permalink / raw)
  To: jandegr1; +Cc: linux-media

Em Mon, 25 Feb 2013 12:01:17 +0100
jandegr1@dommel.be escreveu:

> Hi,
> 
> To get analog tv working on a hauppauge hvr-930c, I started sniffing usb and
> parsing.
> 
> you can see a sample here : https://dl.dropbox.com/u/93775123/grphCable22.txt
> 
> Howeverver I am missing a lot of knowledge to jump on it right away, so I'd
> as for opinion of the experts over here first.

AFAIKT, the designs with avf4910b also has a drx-k demod on it (or maybe some
other Micronas demod, like drx-j).

When I added support for Terratec H7, I used a Linux driver made available by
Terratec at that time, as reference. See:
	http://lwn.net/Articles/476992/

While I don't see the link for the driver anymore on Terratec linux site,
it seems that the file is still there at:
	http://linux.terratec.de/files/TERRATEC_H7/20110323_TERRATEC_H7_Linux.tar.gz

While H7 driver there only adds support for digital TV, you may find
something useful at drxk driver, as it has several stuff there related
to analog TV. I won't doubt that the needed bits for avf4910 are (at least
partially) there. So, you may find useful to take a look on it.

To be frank, while I would love to have analog working there, I never
found enough time to work on adding analog support for it, nor I succeeded
to get any avf4910b datasheet or development kit.

> 
> This could be benifical for several other cards with the avf4910 as well.

Sure. I suspect that, once having it work for one device, it should be
trivial to make it work with the others.

> 
> thx,
> 
> Jan De Graeve
> 
> --
> 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


-- 

Cheers,
Mauro

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HAUPPAUGE HVR-930C analog tv feasible ??
  2013-02-25 11:33 ` Mauro Carvalho Chehab
@ 2013-03-01 20:28   ` jandegr1
  2013-03-03  0:01     ` Daniel Glöckner
  0 siblings, 1 reply; 6+ messages in thread
From: jandegr1 @ 2013-03-01 20:28 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media

Citeren Mauro Carvalho Chehab <mchehab@redhat.com>:

> Em Mon, 25 Feb 2013 12:01:17 +0100
> jandegr1@dommel.be escreveu:
>
>> Hi,
>>
>> To get analog tv working on a hauppauge hvr-930c, I started sniffing usb and
>> parsing.
>>
>> you can see a sample here : 
>> https://dl.dropbox.com/u/93775123/grphCable22.txt
>>
>> Howeverver I am missing a lot of knowledge to jump on it right away, so I'd
>> as for opinion of the experts over here first.
>
> AFAIKT, the designs with avf4910b also has a drx-k demod on it (or maybe some
> other Micronas demod, like drx-j).
>
> When I added support for Terratec H7, I used a Linux driver made available by
> Terratec at that time, as reference. See:
> 	http://lwn.net/Articles/476992/
>
> While I don't see the link for the driver anymore on Terratec linux site,
> it seems that the file is still there at:
> 	http://linux.terratec.de/files/TERRATEC_H7/20110323_TERRATEC_H7_Linux.tar.gz
>
> While H7 driver there only adds support for digital TV, you may find
> something useful at drxk driver, as it has several stuff there related
> to analog TV. I won't doubt that the needed bits for avf4910 are (at least
> partially) there. So, you may find useful to take a look on it.
>
> To be frank, while I would love to have analog working there, I never
> found enough time to work on adding analog support for it, nor I succeeded
> to get any avf4910b datasheet or development kit.
>
>>
>> This could be benifical for several other cards with the avf4910 as well.
>
> Sure. I suspect that, once having it work for one device, it should be
> trivial to make it work with the others.
>
>>
>> thx,
>>
>> Jan De Graeve
>>
>> --
>> 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
>
>
> --
>
> Cheers,
> Mauro
>
Hi,

Thanks for the pointers, the code for the audio demodulator is in the drx-k
driver. I updated the comments accordingly in
https://dl.dropbox.com/u/93775123/grphCable22.txt
I am updating that file it as I find more things.

Any other suggestions/comments or anyone wanting to work with me on this ?
It would be a pity if these boards did not get analog support.

regards,

Jan De Graeve








^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HAUPPAUGE HVR-930C analog tv feasible ??
  2013-03-01 20:28   ` jandegr1
@ 2013-03-03  0:01     ` Daniel Glöckner
  2013-03-05 21:32       ` jandegr1
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Glöckner @ 2013-03-03  0:01 UTC (permalink / raw)
  To: jandegr1; +Cc: Mauro Carvalho Chehab, linux-media

Hi,

On Fri, Mar 01, 2013 at 09:28:54PM +0100, jandegr1@dommel.be wrote:
> Citeren Mauro Carvalho Chehab <mchehab@redhat.com>:
> >nor I succeeded
> >to get any avf4910b datasheet or development kit.

and now that Trident went bankrupt chances are slim that one of us ever
will.

> Any other suggestions/comments or anyone wanting to work with me on this ?

I have an AF9035 based stick with that chip and once sniffed the
communication from cold state until about the 40th frame. At that
point what appears to be sound frames in the iso packets still just
contains 0x00 bytes at about 192kB/s. VBI data is captured as well
raw and sliced but I don't know if the slicing is done by the AF9035.
I beat the old log into a shape similar to your log's and uploaded it:
http://pastebin.com/mfN1TXrG
AF9035 firmare and iso data have been omitted.

As you can see, the driver uploads some kind of firmware to the upper
address space of the AVF4910B. According to
http://driveragent.com/c/archive/562634f6/image/2-1-0/Yuan-MC270B-TV-Tuner-Driver,-IdeaCentre-B310
the chip contains a 8051 microcontroller.

Devin Heitmueller once told me that he wrote a driver for the AVF4910A
as part of their Osprey 240e/450e driver. He also said that it was
completely different to the AVF4910B. I can no longer find it online,
but my local copy tells me that the AVF4910A also uses demod register
0x50 for I2S configuration and register 0x20 for standard selection.
Maybe they are not so different after all.

  Daniel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HAUPPAUGE HVR-930C analog tv feasible ??
  2013-03-03  0:01     ` Daniel Glöckner
@ 2013-03-05 21:32       ` jandegr1
  2013-03-06 10:54         ` Daniel Glöckner
  0 siblings, 1 reply; 6+ messages in thread
From: jandegr1 @ 2013-03-05 21:32 UTC (permalink / raw)
  To: Daniel Glöckner; +Cc: linux-media

Citeren Daniel Glöckner <daniel-gl@gmx.net>:

> Hi,
>
> On Fri, Mar 01, 2013 at 09:28:54PM +0100, jandegr1@dommel.be wrote:
>> Citeren Mauro Carvalho Chehab <mchehab@redhat.com>:
>> >nor I succeeded
>> >to get any avf4910b datasheet or development kit.
>
> and now that Trident went bankrupt chances are slim that one of us ever
> will.
>
>> Any other suggestions/comments or anyone wanting to work with me on this ?
>
> I have an AF9035 based stick with that chip and once sniffed the
> communication from cold state until about the 40th frame. At that
> point what appears to be sound frames in the iso packets still just
> contains 0x00 bytes at about 192kB/s. VBI data is captured as well
> raw and sliced but I don't know if the slicing is done by the AF9035.
> I beat the old log into a shape similar to your log's and uploaded it:
> http://pastebin.com/mfN1TXrG
> AF9035 firmare and iso data have been omitted.
>
> As you can see, the driver uploads some kind of firmware to the upper
> address space of the AVF4910B. According to
> http://driveragent.com/c/archive/562634f6/image/2-1-0/Yuan-MC270B-TV-Tuner-Driver,-IdeaCentre-B310
> the chip contains a 8051 microcontroller.
>
> Devin Heitmueller once told me that he wrote a driver for the AVF4910A
> as part of their Osprey 240e/450e driver. He also said that it was
> completely different to the AVF4910B. I can no longer find it online,
> but my local copy tells me that the AVF4910A also uses demod register
> 0x50 for I2S configuration and register 0x20 for standard selection.
> Maybe they are not so different after all.
>
>  Daniel
>
Hi,
Thanks for your log.
Your local avf4910a copy probably offers not much more than the one 
over here ?
https://github.com/wurststulle/ngene_2400i/tree/2377b1fd99d91ff355a5e46881ef27ccc87cb376

I think I can get it working by replaying the registers, a little bit rude but
will do as starter.
Aduio demodulator is the only thing I could find, but very little has 
to be done
for ATV audio.

regards,

Jan De Graeve






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HAUPPAUGE HVR-930C analog tv feasible ??
  2013-03-05 21:32       ` jandegr1
@ 2013-03-06 10:54         ` Daniel Glöckner
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Glöckner @ 2013-03-06 10:54 UTC (permalink / raw)
  To: jandegr1; +Cc: linux-media

On Tue, Mar 05, 2013 at 10:32:33PM +0100, jandegr1@dommel.be wrote:
> Your local avf4910a copy probably offers not much more than the one
> over here ?
> https://github.com/wurststulle/ngene_2400i/tree/2377b1fd99d91ff355a5e46881ef27ccc87cb376

No, mainly cleanup and coding style conversion.
A few DSP writes are amended to MSP_InitTable to set registers
a second time with different values.

  Daniel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-06 10:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-25 11:01 HAUPPAUGE HVR-930C analog tv feasible ?? jandegr1
2013-02-25 11:33 ` Mauro Carvalho Chehab
2013-03-01 20:28   ` jandegr1
2013-03-03  0:01     ` Daniel Glöckner
2013-03-05 21:32       ` jandegr1
2013-03-06 10:54         ` Daniel Glöckner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).