All of lore.kernel.org
 help / color / mirror / Atom feed
From: Declan Mullen <declan.mullen@bigpond.com>
To: Devin Heitmueller <dheitmueller@kernellabs.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 21:09:53 +1000	[thread overview]
Message-ID: <201108152109.53885.declan.mullen@bigpond.com> (raw)
In-Reply-To: <CAGoCfixyKbR4rJUjxpSu2H2ss=jbk45VEJiPeSzq6FO0G7EFbQ@mail.gmail.com>

On Monday, August 15, 2011 09:28:44 am Devin Heitmueller wrote:
> Only Steven can look at the schematic and know for sure what prompted
> them to update to a new PCI ID.  However, you can definitely try doing
> "card=4" and see if it works.
> 
> Card=9 won't work since that card number is not valid given the card
> list in your driver.
> 
> Devin
> 
> On Sun, Aug 14, 2011 at 7:23 PM, Declan Mullen
> 
> <declan.mullen@bigpond.com> wrote:
> > 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.
> >> 
> >> All that said, Ubuntu 10.10 deviates very little in terms of the
> >> saa7164 driver.  What you have is probably already identical to what's
> >> in the kernellabs.com tree.
> >> 
> >> And yes, PAL support is broken even in the kernellabs tree, so if that
> >> was your motivation then updating to the current KL stable tree won't
> >> help you.
> >> 
> >> Cheers,
> >> 
> >> Devin
> > 
> > Many thanks for the clarification about git.
> > 
> > The only reason why I'm attempting to use a newer saa7164 driver is
> > because the driver in my ubuntu 10.10 (2.6.35-30, x86 32bit) doesn't
> > recognise the 8940 edition of my HVR-2200  (and doesn't support the
> >  "card=9" option that I believe is specifically for the 8940 edition).
> > 
> > Example dmesg output:
> >  $ dmesg | grep saa7
> >  [   18.367431] saa7164 driver loaded
> >  [   18.367467] saa7164 0000:02:00.0: PCI INT A -> GSI 16 (level, low) ->
> > IRQ 16 [   18.367472] saa7164[0]: Your board isn't known (yet) to the
> > driver. [   18.367473] saa7164[0]: Try to pick one of the existing card
> > configs via [   18.367474] saa7164[0]: card=<n> insmod option.  Updating
> > to the latest [   18.367475] saa7164[0]: version might help as well.
> >  [   18.367684] saa7164[0]: Here are valid choices for the card=<n>
> > insmod option: [   18.367739] saa7164[0]:    card=0 -> Unknown
> >  [   18.367789] saa7164[0]:    card=1 -> Generic Rev2
> >  [   18.367840] saa7164[0]:    card=2 -> Generic Rev3
> >  [   18.367891] saa7164[0]:    card=3 -> Hauppauge WinTV-HVR2250
> >  [   18.367943] saa7164[0]:    card=4 -> Hauppauge WinTV-HVR2200
> >  [   18.367995] saa7164[0]:    card=5 -> Hauppauge WinTV-HVR2200
> >  [   18.368059] saa7164[0]:    card=6 -> Hauppauge WinTV-HVR2200
> >  [   18.368112] saa7164[0]:    card=7 -> Hauppauge WinTV-HVR2250
> >  [   18.368164] saa7164[0]:    card=8 -> Hauppauge WinTV-HVR2250
> >  [   18.369142] CORE saa7164[0]: subsystem: 0070:8940, board: Unknown
> > [card=0,autodetected] [   18.369147] saa7164[0]/0: found at
> > 0000:02:00.0, rev: 129, irq: 16, latency: 0, mmio: 0xfd400000 [  
> > 18.369152] saa7164 0000:02:00.0: setting latency timer to 64 [  
> > 18.369162] saa7164_initdev() Unsupported board detected, registering
> > without firmware
> > 
> > To get this 8940 card working with my ubuntu 10.10 system,
> > what would you recommend I try ?
> > 
> > Should I be trying to extract the new driver from what the above
> > git and makes, ie just copy into place the new saa7164.ko file ?
> > Or should my existing driver work if i use the card=4 option ?
> > 
> > Thanks,
> > Declan
> > --
> > 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 Devin

With respect to installing the new saa7164 driver (from kernellabs.com/stoth/saa7164-stable.git) into my ubuntu/mythbuntu 10.10 system (x86 32bit kernel 2.6.35-30), assuming that I've already put the correct firmware in place, do I just replace my existing 
saa7164.ko with the new one created by the above make and reboot ? Or is there more to it ?

Thanks,
Declan

  reply	other threads:[~2011-08-15 14:00 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 [this message]
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
  -- 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=201108152109.53885.declan.mullen@bigpond.com \
    --to=declan.mullen@bigpond.com \
    --cc=dheitmueller@kernellabs.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.