All of lore.kernel.org
 help / color / mirror / Atom feed
* How to git and build HVR-2200 drivers from Kernel labs ?
@ 2011-08-14  9:21 Declan Mullen
  2011-08-14 12:14 ` Devin Heitmueller
  0 siblings, 1 reply; 14+ messages in thread
From: Declan Mullen @ 2011-08-14  9:21 UTC (permalink / raw)
  To: linux-media

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-tuner-
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

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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
  2011-08-14  9:21 How to git and build HVR-2200 drivers from Kernel labs ? Declan Mullen
@ 2011-08-14 12:14 ` Devin Heitmueller
  0 siblings, 0 replies; 14+ messages in thread
From: Devin Heitmueller @ 2011-08-14 12:14 UTC (permalink / raw)
  To: Declan Mullen; +Cc: linux-media

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-tuner-
> 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

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
  2011-09-04 11:41             ` Declan Mullen
@ 2011-09-06 15:31               ` Steven Toth
  0 siblings, 0 replies; 14+ messages in thread
From: Steven Toth @ 2011-09-06 15:31 UTC (permalink / raw)
  To: Declan Mullen; +Cc: linux-media, Devin Heitmueller

>>> Eg should I use the source from "git clone
>>> git://kernellabs.com/stoth/saa7164-
>>> dev.git" or do you recommend something else that might be more stable ?
>>
>> pull a snapshot:
>>
>>
>> http://www.kernellabs.com/gitweb/?p=stoth/saa7164-stable.git;a=snapshot;h=87e0c0378bf2068df5d0c43acd66aea9ba71bd89;sf=tgz
>>
>
> I've now got my card working with the saa7164 driver from the
> "87e0c0378bf2068df5d0c43acd66aea9ba71bd89" commit. Many thanks for your
> help.

Thanks for the followup Declan.

-- 
Steven Toth - Kernel Labs
http://www.kernellabs.com

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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
  2011-08-17 16:20           ` Steven Toth
@ 2011-09-04 11:41             ` Declan Mullen
  2011-09-06 15:31               ` Steven Toth
  0 siblings, 1 reply; 14+ messages in thread
From: Declan Mullen @ 2011-09-04 11:41 UTC (permalink / raw)
  To: Steven Toth; +Cc: linux-media, Devin Heitmueller

On 18/08/2011 2:20 AM, Steven Toth wrote:
>> Eg should I use the source from "git clone git://kernellabs.com/stoth/saa7164-
>> dev.git" or do you recommend something else that might be more stable ?
> pull a snapshot:
>
> http://www.kernellabs.com/gitweb/?p=stoth/saa7164-stable.git;a=snapshot;h=87e0c0378bf2068df5d0c43acd66aea9ba71bd89;sf=tgz
>

I've now got my card working with the saa7164 driver from the 
"87e0c0378bf2068df5d0c43acd66aea9ba71bd89" commit. Many thanks for your 
help.


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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
  2011-08-17 12:33         ` Declan Mullen
@ 2011-08-17 16:20           ` Steven Toth
  2011-09-04 11:41             ` Declan Mullen
  0 siblings, 1 reply; 14+ messages in thread
From: Steven Toth @ 2011-08-17 16:20 UTC (permalink / raw)
  To: Declan Mullen; +Cc: linux-media, Devin Heitmueller

> Eg should I use the source from "git clone git://kernellabs.com/stoth/saa7164-
> dev.git" or do you recommend something else that might be more stable ?

pull a snapshot:

http://www.kernellabs.com/gitweb/?p=stoth/saa7164-stable.git;a=snapshot;h=87e0c0378bf2068df5d0c43acd66aea9ba71bd89;sf=tgz

-- 
Steven Toth - Kernel Labs
http://www.kernellabs.com

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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
  2011-08-15 13:04       ` Steven Toth
  2011-08-15 13:23         ` Declan Mullen
@ 2011-08-17 12:33         ` Declan Mullen
  2011-08-17 16:20           ` Steven Toth
  1 sibling, 1 reply; 14+ messages in thread
From: Declan Mullen @ 2011-08-17 12:33 UTC (permalink / raw)
  To: Steven Toth; +Cc: linux-media, Devin Heitmueller

On Monday 15 August 2011 23:04:03 Steven Toth wrote:
> > So how do I get a 8940 edition of a HVR-2200 working with Ubuntu ?
> 
> Hello Declan,
> 
> You'll need to install the entire new kernel and all of its modules,
> you should avoid cherry picking small pieces.
> 
> Incidentally, I've had confirmation from another user that the tree
> works and automatically detects type 9 cards.
> 
> - Steve

Hi Steve

I'm wanting to get the source for a version of the saa7164 driver that 
supports my 8940 revision of the HVR-2200 card. 

I've had a look at the version in "git clone 
git://kernellabs.com/stoth/saa7164-stable.git", but it doesn't seem to support 
the 8940 revision.

Could you please recommend where/how I should get a version of the source that 
does support this card revision. Many thanks.

Eg should I use the source from "git clone git://kernellabs.com/stoth/saa7164-
dev.git" or do you recommend something else that might be more stable ?

Many thanks,
Declan


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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
  2011-08-14 23:23 Declan Mullen
  2011-08-14 23:28 ` Devin Heitmueller
@ 2011-08-16  2:19 ` Mauro Carvalho Chehab
  1 sibling, 0 replies; 14+ messages in thread
From: Mauro Carvalho Chehab @ 2011-08-16  2:19 UTC (permalink / raw)
  To: Declan Mullen; +Cc: linux-media

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.

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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
  2011-08-15 13:23         ` Declan Mullen
@ 2011-08-15 13:26           ` Declan Mullen
  0 siblings, 0 replies; 14+ messages in thread
From: Declan Mullen @ 2011-08-15 13:26 UTC (permalink / raw)
  To: Steven Toth; +Cc: linux-media, Devin Heitmueller

On Monday, August 15, 2011 11:23:39 pm Declan Mullen wrote:
> On Monday, August 15, 2011 11:04:03 pm Steven Toth wrote:
> > > So how do I get a 8940 edition of a HVR-2200 working with Ubuntu ?
> > 
> > Hello Declan,
> > 
> > You'll need to install the entire new kernel and all of its modules,
> > you should avoid cherry picking small pieces.
> > 
> > Incidentally, I've had confirmation from another user that the tree
> > works and automatically detects type 9 cards.
> > 
> > - Steve
> 
> No worries. Many thanks for the clarification.
> 
> BTW, given that I only need the card's DVB-T functionality (don't need
> analog,...) could I get that by using ubuntu 10.10's existing driver and
> one of its card types  1to 8 ? If so, which card type would you recommend
> ?
> 
> Thanks,
> Declan

P.S. I'ld be using it in Australia which uses PAL-BG

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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
  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
  1 sibling, 1 reply; 14+ messages in thread
From: Declan Mullen @ 2011-08-15 13:23 UTC (permalink / raw)
  To: Steven Toth; +Cc: linux-media, Devin Heitmueller

On Monday, August 15, 2011 11:04:03 pm Steven Toth wrote:
> > So how do I get a 8940 edition of a HVR-2200 working with Ubuntu ?
> 
> Hello Declan,
> 
> You'll need to install the entire new kernel and all of its modules,
> you should avoid cherry picking small pieces.
> 
> Incidentally, I've had confirmation from another user that the tree
> works and automatically detects type 9 cards.
> 
> - Steve

No worries. Many thanks for the clarification.

BTW, given that I only need the card's DVB-T functionality (don't need 
analog,...) could I get that by using ubuntu 10.10's existing driver and one 
of its card types  1to 8 ? If so, which card type would you recommend ?

Thanks,
Declan

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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
  2011-08-15 12:32     ` Declan Mullen
@ 2011-08-15 13:04       ` Steven Toth
  2011-08-15 13:23         ` Declan Mullen
  2011-08-17 12:33         ` Declan Mullen
  0 siblings, 2 replies; 14+ messages in thread
From: Steven Toth @ 2011-08-15 13:04 UTC (permalink / raw)
  To: Declan Mullen; +Cc: linux-media, Devin Heitmueller

> So how do I get a 8940 edition of a HVR-2200 working with Ubuntu ?

Hello Declan,

You'll need to install the entire new kernel and all of its modules,
you should avoid cherry picking small pieces.

Incidentally, I've had confirmation from another user that the tree
works and automatically detects type 9 cards.

- Steve

-- 
Steven Toth - Kernel Labs
http://www.kernellabs.com

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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
  2011-08-15 11:09   ` Declan Mullen
@ 2011-08-15 12:32     ` Declan Mullen
  2011-08-15 13:04       ` Steven Toth
  0 siblings, 1 reply; 14+ messages in thread
From: Declan Mullen @ 2011-08-15 12:32 UTC (permalink / raw)
  To: linux-media; +Cc: Devin Heitmueller, Steven Toth

On Monday, August 15, 2011 09:09:53 pm Declan Mullen wrote:
> 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-220
> > >> > 0- 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

I copied the new saa7164.ko to "/lib/modules/2.6.35-30-generic-
pae/kernel/drivers/media/video/saa7164/saa7164.ko" and rebooted. However the 
new saa7164.ko seems to be incompatible with my existing kernel, as dmesg now 
reports: "saa7164: disagrees about version of symbol module_layout"

So how do I get a 8940 edition of a HVR-2200 working with Ubuntu ?



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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
  2011-08-14 23:28 ` Devin Heitmueller
@ 2011-08-15 11:09   ` Declan Mullen
  2011-08-15 12:32     ` Declan Mullen
  0 siblings, 1 reply; 14+ messages in thread
From: Declan Mullen @ 2011-08-15 11:09 UTC (permalink / raw)
  To: Devin Heitmueller; +Cc: linux-media

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

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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
  2011-08-14 23:23 Declan Mullen
@ 2011-08-14 23:28 ` Devin Heitmueller
  2011-08-15 11:09   ` Declan Mullen
  2011-08-16  2:19 ` Mauro Carvalho Chehab
  1 sibling, 1 reply; 14+ messages in thread
From: Devin Heitmueller @ 2011-08-14 23:28 UTC (permalink / raw)
  To: Declan Mullen; +Cc: linux-media

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
>



-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

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

* Re: How to git and build HVR-2200 drivers from Kernel labs ?
@ 2011-08-14 23:23 Declan Mullen
  2011-08-14 23:28 ` Devin Heitmueller
  2011-08-16  2:19 ` Mauro Carvalho Chehab
  0 siblings, 2 replies; 14+ messages in thread
From: Declan Mullen @ 2011-08-14 23:23 UTC (permalink / raw)
  To: linux-media

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

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

end of thread, other threads:[~2011-09-06 15:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-14  9:21 How to git and build HVR-2200 drivers from Kernel labs ? Declan Mullen
2011-08-14 12:14 ` Devin Heitmueller
2011-08-14 23:23 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 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.