Re: How to git and build HVR-2200 drivers from Kernel labs ?
>>> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to git and build HVR-2200 drivers from Kernel labs ?
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. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to git and build HVR-2200 drivers from Kernel labs ?
> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to git and build HVR-2200 drivers from Kernel labs ?
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 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to git and build HVR-2200 drivers from Kernel labs ?
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 >> >> 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. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to git and build HVR-2200 drivers from Kernel labs ?
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 > > wrote: > > On Sunday 14 August 2011 22:14:48 you wrote: > >> On Sun, Aug 14, 2011 at 5:21 AM, Declan Mullen > >> > >> 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 :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= 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= > > 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 > > :02:00.0, rev: 129, irq: 16, latency: 0, mmio: 0xfd40 [ > > 18.369152] saa7164 :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 e
Re: How to git and build HVR-2200 drivers from Kernel labs ?
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 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to git and build HVR-2200 drivers from Kernel labs ?
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 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to git and build HVR-2200 drivers from Kernel labs ?
> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to git and build HVR-2200 drivers from Kernel labs ?
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 > > > > wrote: > > > On Sunday 14 August 2011 22:14:48 you wrote: > > >> On Sun, Aug 14, 2011 at 5:21 AM, Declan Mullen > > >> > > >> 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 :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= 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= > > > > > > 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 > > > :02:00.0, rev: 129, irq: 16, latency: 0, mmio: 0xfd40 [ > > > 18.369152] saa7164 :02:00.0: setting latency timer to 64 [ > > > 18.369162] saa7164_initdev() Unsuppo
Re: How to git and build HVR-2200 drivers from Kernel labs ?
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 wrote: > On Sunday 14 August 2011 22:14:48 you wrote: >> On Sun, Aug 14, 2011 at 5:21 AM, Declan Mullen >> >> 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 :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= 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= 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 :02:00.0, rev: 129, irq: 16, > latency: 0, mmio: 0xfd40 > [ 18.369152] saa7164 :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 majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Devin J. He
Re: How to git and build HVR-2200 drivers from Kernel labs ?
On Sunday 14 August 2011 22:14:48 you wrote: > On Sun, Aug 14, 2011 at 5:21 AM, Declan Mullen > > 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 :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= 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= 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 :02:00.0, rev: 129, irq: 16, latency: 0, mmio: 0xfd40 [ 18.369152] saa7164 :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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to git and build HVR-2200 drivers from Kernel labs ?
On Sun, Aug 14, 2011 at 5:21 AM, Declan Mullen 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 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
How to git and build HVR-2200 drivers from Kernel labs ?
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 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html