All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Declan Mullen <declan.mullen@bigpond.com>
Cc: linux-media@vger.kernel.org
Subject: Re: How to git and build HVR-2200 drivers from Kernel labs ?
Date: Mon, 15 Aug 2011 19:19:57 -0700	[thread overview]
Message-ID: <4E49D3CD.1040408@redhat.com> (raw)
In-Reply-To: <201108150923.44824.declan.mullen@bigpond.com>

Em 14-08-2011 16:23, Declan Mullen escreveu:
> On Sunday 14 August 2011 22:14:48 you wrote:
>> On Sun, Aug 14, 2011 at 5:21 AM, Declan Mullen
>>
>> <declan.mullen@bigpond.com> wrote:
>>> Hi
>>>
>>> I've got a 8940 edition of a Hauppauge HVR-2200. The driver is called
>>> saa7164. The versions included in my OS (mythbuntu 10.10 x86 32bit,
>>> kernel 2.6.35-30) and from linuxtv.org are too old to recognise the 8940
>>> edition. Posts #124 to #128 in the "Hauppauge HVR-2200 Tuner Install
>>> Guide" topic
>>> (http://www.pcmediacenter.com.au/forum/topic/37541-hauppauge-hvr-2200-tun
>>> er- install-guide/page__view__findpost__p__321195) document my efforts
>>> with those versions.
>>>
>>> So I wish to use the latest stable drivers from the driver maintainers,
>>> ie http://kernellabs.com/gitweb/?p=stoth/saa7164-stable.git;a=summary
>>>
>>> Problem is, I don't know git and I don't know how I'm suppose to git,
>>> build and install it.
>>>
>>> Taking a guess I've tried:
>>>  git clone git://kernellabs.com/stoth/saa7164-stable.git
>>>  cd saa7164-stable
>>>  make menuconfig
>>>  make
>>>
>>> However I suspect these are not the optimum steps, as it seems to have
>>> downloaded and built much more than just the saa7164 drivers. The git
>>> pulled down nearly 1GB (which seems a lot) and the resultant menuconfig
>>> produced a very big ".config".
>>>
>>> Am I doing the right steps or should I be doing something else to git,
>>> build and install  the latest drivers ?
>>>
>>> Thanks,
>>> Declan
>>
>> Hello Declan,
>>
>> Blame Mauro and the other LinuxTV developers for moving to Git.  When
>> we had HG you could do just the v4l-dvb stack and apply it to your
>> existing kernel.  Now you have to suck down the *entire* kernel, and
>> there's no easy way to separate out just the v4l-dvb stuff (like the
>> saa7164 driver).  The net effect is it's that much harder for
>> end-users to try out new drivers, and even harder still for developers
>> to maintain drivers out-of-tree.

Devin,

Please stop blaming somebody else for that. Nobody including you didn't
have time to keep maintaining two trees. As you know, git _IS_ the SCM 
used for all kernel submission. So, it was not a matter of choice, but the
lack of a develper with available time to keep maintaining the -hg.

This is a community work. As such, if someone has a good idea and has
enough time for it, he/she can just go ahead and implement it. On the
other hand, when time starves, one needs to priorize in order to focus
on the tasks that are more relevant.

Also, there's no need to download the entire kernel tree. The media-build
git tree can download just a tarball. Tarballs with the latest development
drivers are daily generated. What makes harder for people to try out 
new drivers/patches is when developers take months or even years to submit 
new stuff upstream.

Even so, the media-build can work together with another tree that can be a 
full tree or a tree with just the drivers (using build --git option). I've 
tested it only with git trees, but it probably works properly also with any
other SCM.

Regards,
Mauro.

  parent reply	other threads:[~2011-08-16  2:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-14 23:23 How to git and build HVR-2200 drivers from Kernel labs ? Declan Mullen
2011-08-14 23:28 ` Devin Heitmueller
2011-08-15 11:09   ` Declan Mullen
2011-08-15 12:32     ` Declan Mullen
2011-08-15 13:04       ` Steven Toth
2011-08-15 13:23         ` Declan Mullen
2011-08-15 13:26           ` Declan Mullen
2011-08-17 12:33         ` Declan Mullen
2011-08-17 16:20           ` Steven Toth
2011-09-04 11:41             ` Declan Mullen
2011-09-06 15:31               ` Steven Toth
2011-08-16  2:19 ` Mauro Carvalho Chehab [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-08-14  9:21 Declan Mullen
2011-08-14 12:14 ` Devin Heitmueller

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=4E49D3CD.1040408@redhat.com \
    --to=mchehab@redhat.com \
    --cc=declan.mullen@bigpond.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.