Skip to contentSkip to conversation

How to git and build HVR-2200 drivers from Kernel labs ?

DISCUSSION Declan Mullen 4 participants 12 messages Aug 14, 2011 – Sep 6, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw
Quoted 51 lines · On Sunday 14 August 2011 22:14:48 you wrote:

On Sun, Aug 14, 2011 at 5:21 AM, Declan Mullen

Quoted 28 lines · <[email protected]> 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".

Quoted 5 lines

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.

Quoted 7 lines

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

#1 lore raw

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

Quoted 104 lines · Declan Mullen
Quoted 51 lines · On Sunday 14 August 2011 22:14:48 you wrote:

On Sun, Aug 14, 2011 at 5:21 AM, Declan Mullen

Quoted 28 lines · <[email protected]> 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".

Quoted 5 lines

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.

Quoted 7 lines

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#2 lore raw
Quoted 4 lines · Devin Heitmueller

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.

Quoted 114 lines

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

Quoted 106 lines · <[email protected]> wrote:
Quoted 52 lines · On Sunday 14 August 2011 22:14:48 you wrote:

On Sun, Aug 14, 2011 at 5:21 AM, Declan Mullen

Quoted 29 lines · <[email protected]> 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".

Quoted 5 lines

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.

Quoted 7 lines

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 [email protected]
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

#3 lore raw
Quoted 137 lines · Declan Mullen
Quoted 4 lines · Devin Heitmueller

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.

Quoted 122 lines

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

Quoted 114 lines · <[email protected]> wrote:
Quoted 52 lines · On Sunday 14 August 2011 22:14:48 you wrote:

On Sun, Aug 14, 2011 at 5:21 AM, Declan Mullen

Quoted 29 lines · <[email protected]> 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".

Quoted 5 lines

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.

Quoted 7 lines

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 [email protected]
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 ?

Quoted 2 lines

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 ?

#4 lore raw
Quoted 1 line

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

Signature · 2 lines
Steven Toth - Kernel Labs
http://www.kernellabs.com
#5 lore raw
Quoted 11 lines · Steven Toth
Quoted 1 line

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

#6 lore raw
Quoted 15 lines · Declan Mullen
Quoted 11 lines · Steven Toth
Quoted 1 line

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.

Quoted 7 lines

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

#7 lore raw
In reply to Steven Toth
Quoted 11 lines · On Monday 15 August 2011 23:04:03 Steven Toth wrote:
Quoted 1 line

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

#9 lore raw
Quoted 6 lines · Steven Toth
Quoted 2 lines

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.

#10 lore raw
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

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:

Quoted 6 lines
Quoted 2 lines

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.

Signature · 2 lines
Steven Toth - Kernel Labs
http://www.kernellabs.com
#11 lore raw
In reply to Declan Mullen

Em 14-08-2011 16:23, Declan Mullen escreveu:

Quoted 40 lines · On Sunday 14 August 2011 22:14:48 you wrote:
Quoted 39 lines

On Sun, Aug 14, 2011 at 5:21 AM, Declan Mullen

Quoted 28 lines · <[email protected]> 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".

Quoted 5 lines

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,

Quoted 7 lines
Quoted 7 lines

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.