Skip to contentSkip to conversation

GSoC 2012 Linux-Media!

DISCUSSION Antti Palosaari 2 participants 3 messages May 3, 2012 – May 7, 2012 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Moikka!

As I have mentioned many people already, I have got Google Summer of Code project for the Linux-Media! It means I can do three months full time work starting from the week 21 (21.05.2012). Originally I applied "Open firmware for ath9k_htc" -project as that was listed but I added own topic for Linux-Media related stuff and it was accepted.

It is rather much time I can spend and fix all those problems I have seen during recent years. Schedule is first to fix all DVB USB problems and then move to enhancing DVB CORE / frontend. I planned only general digital television stuff since it is what I know best. But if there is some time I can likely do some other general fixes.

Here is short description.
http://www.google-melange.com/gsoc/project/google/gsoc2012/crope/10001

I will open another thread just discussing what are the most important things and how those should be fixed "correctly".

And there is no blog yet, but sometime ago I created LinuxTV page for Google+. Lets use it:
https://plus.google.com/u/0/111350562770777789175/posts

And my mentor is Hin-Tak Leung.

regards
Antti

Signature · 1 line
http://palosaari.fi/
#1 lore raw

Hi Antti,

I promised to put you in touch with some more knowledgeable people, so here they are. Will made a few comments during our discussions (inserted verbatim below - may or may not be relevant)... Please feel free to respond to Mr Cooke and/or write to him and Greg.

Hin-Tak

Quoted 26 lines · Will Cooke

The hacks with USB stick are entirely reliant on the chips inside the stick. In this case, the demod (Realtek RTL2832U)has the ability to pass through to the USB bus raw 8-bit sampled RF called I/Q
(http://zone.ni.com/devzone/cda/tut/p/id/4805).

Once you have this raw I/Q data you can demodulate the signals and process them in software. So it's possible to build an FM radio, an AM radio, a DAB radio, Ham radio, Packet radio, slow scan TV, basically anything which modulates a sine wave within the frequency range of the tuner inside the DVB stick. Not all DVB tuners are created equal. Some will be limited to n hundred MHz, some have a range as low as 50 or 60 MHz up to a few GHz.

Chips that have this functionality AND are built in to DVB USB sticks AND cost less than 20 Dollars are few and far between. So it's pretty rare to find a compatible USB stick, and not every USB stick can pull off this neat trick.

There is probably scope to run a project around a single targeted DVB USB stick, but hardware support would be limited. GNU Radio is a good tool to build the remodulators. As an example real world application, how about building one of these sticks in to a laptop and integrating it with the audio stack. Now my laptop comes with a TV tuner, an FM tuner, a DAB tuner, and so on.

I hope that helps set the scene a little bit more. Let me know if you need any
more help.

Cheers, Will

Quoted 13 lines · Will Cooke

Hi Till!

I am familiar with what a USB-DVB stick is, how it works, the inside of a DVB transport stream, and so on, but... I'm in no way an expert, and I'm in no way a developer!

Depending on what sort of mentoring you had in mind, I would be happy to get involved.

Can you let me know a little more about the project and what kind of input you need from me.

Cheers, Will

Quoted 28 lines · Antti Palosaari

Moikka!

As I have mentioned many people already, I have got Google Summer of Code project for the Linux-Media! It means I can do three months full time work starting from the week 21 (21.05.2012). Originally I applied "Open firmware for ath9k_htc" -project as that was listed but I added own topic for Linux-Media related stuff and it was accepted.

It is rather much time I can spend and fix all those problems I have seen during recent years. Schedule is first to fix all DVB USB problems and then move to enhancing DVB CORE / frontend. I planned only general digital television stuff since it is what I know best. But if there is some time I can likely do some other general fixes.

Here is short description.
http://www.google-melange.com/gsoc/project/google/gsoc2012/crope/10001

I will open another thread just discussing what are the most important things and how those should be fixed "correctly".

And there is no blog yet, but sometime ago I created LinuxTV page for Google+. Lets use it:
https://plus.google.com/u/0/111350562770777789175/posts

And my mentor is Hin-Tak Leung.

regards
Antti

#2 lore raw

Hello!

Quoted 59 lines · Hin-Tak Leung

Hi Antti,

I promised to put you in touch with some more knowledgeable people, so here they are. Will made a few comments during our discussions (inserted verbatim below - may or may not be relevant)... Please feel free to respond to Mr Cooke and/or write to him and Greg.

Hin-Tak

Quoted 1 line · Will Cooke

The hacks with USB stick are entirely reliant on the chips inside the

stick. In

Quoted 1 line

this case, the demod (Realtek RTL2832U)has the ability to pass

through to the

Quoted 4 lines

USB bus raw 8-bit sampled RF called I/Q
(http://zone.ni.com/devzone/cda/tut/p/id/4805).

Once you have this raw I/Q data you can demodulate the signals and

process them

Quoted 1 line

in software. So it's possible to build an FM radio, an AM radio, a

DAB radio,

Quoted 1 line

Ham radio, Packet radio, slow scan TV, basically anything which

modulates a sine

Quoted 1 line

wave within the frequency range of the tuner inside the DVB stick.

Not all DVB

Quoted 1 line

tuners are created equal. Some will be limited to n hundred MHz, some

have a

Quoted 3 lines

range as low as 50 or 60 MHz up to a few GHz.

Chips that have this functionality AND are built in to DVB USB sticks

AND cost

Quoted 1 line

less than 20 Dollars are few and far between. So it's pretty rare to

find a

Quoted 1 line

compatible USB stick, and not every USB stick can pull off this neat

trick.

Quoted 2 lines

There is probably scope to run a project around a single targeted DVB

USB stick,

Quoted 1 line

but hardware support would be limited. GNU Radio is a good tool to

build the

Quoted 1 line

remodulators. As an example real world application, how about

building one of

Quoted 1 line

these sticks in to a laptop and integrating it with the audio stack.

Now my

Quoted 3 lines

laptop comes with a TV tuner, an FM tuner, a DAB tuner, and so on.

I hope that helps set the scene a little bit more. Let me know if you

need any

Quoted 3 lines

more help.

Cheers, Will

Quoted 3 lines · Will Cooke

Hi Till!

I am familiar with what a USB-DVB stick is, how it works, the inside

of a DVB

Quoted 1 line

transport stream, and so on, but... I'm in no way an expert, and I'm

in no way a

Quoted 11 lines
Quoted 3 lines

developer!

Depending on what sort of mentoring you had in mind, I would be happy

to get

Quoted 3 lines

involved.

Can you let me know a little more about the project and what kind of

input you

Quoted 3 lines

need from me.

Cheers, Will

Yes I know that RTL2832U SDR since I did a little bit initial stuff for it:
http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/44461

Actually, RTL2832U GNU Radio driver, is accepted as my Bachelor's Thesis. But I don't see idea to do that no longer since it was already done by the others...

I have still some interest of hacking with that area. One thing what I have been thinking in my brains is Kernel DVB interface support for SDRs. It is not very much work for adding Kernel support. Define new dilivery system for frontend and some changes for the DVB core to pass raw payload data. Some very simple conversion is also needed as RTL2832U supports only 8 bit samples what we know. And then suitable driver for the GNU Radio which can speak our Kernel DVB "API" language ;)

But there is currently only that one DVB device we known how to use as a general SDR. There is surely some others available and more is coming as all new radios are less or more SDRs. For example Dibcom Octopus. I still suspect vendors are not very willingly releasing needed information which could slow down things...

I do not have clear vision how that kind of SDR radios should be integrated to the existing desktop. But likely Linux DVB -interface + userspace stuff for the signal handling?

regards
Antti

Signature · 1 line
http://palosaari.fi/