[mythtv-users] Hauppauge HVR-4000 under 0.23RC2/FC12

Federico Ferri federico.ferri at yahoo.it
Thu Apr 15 10:36:24 UTC 2010


Hi all,
i was able to scan DVB-T channel with this patch (last week with the current 
mythtv-trunk version).

It's is mentioned in this thread:

http://www.mythtvtalk.com/forum/hardware/11318-hvr-4000-fails-scan.html

You should compile mythtv with this patch.
The patch is for mythtv-0.22, but works in trunk version too, to be sure you 
can change by hand the few lines of the file "libs/libmythtv/dvbchannel.cpp"

After scanning channels you should recompile mythtv without the pacth.

I found dvbt channel, but i had problem to configure mythtv with the two 
source. It'was going using a DVB-T input source to syntonize a DVB-S 
channel...
I tried many trick, but with no luck. At the end i was able to record some 
programs, but not to use Live-TV.

After all i stopped my experiment (probably because my wife's programs was 
starting.....) and i deleted the DVB-T source (and all channels is gone).

Next week-end i'will do other tests....

Bye, F


In data marted́ 13 aprile 2010 16:53:04, Michael PARKER ha scritto:
: > I'm trying to get DVB-T working on my HVR-4000 card under 0.23RC2/FC12.
> 
> Does anyone know whether the comments re. a broken driver in kernel
>  versions 2.6.30-2.6.32 in the following page still apply?
> 
> http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-4000
> 
> If so, is the fix as simple as the Wiki suggests:
> 
> 	hg clone http://linuxtv.org/hg/v4l-dvb/
> 	cd v4l-dvb
> 	make
> 	make install
> 	reboot
> 
> only I'm having problems finding any mention of a v4l-dvb-fixes module/rpm
>  etc. http://hg.kewl.org/archive/v4l-dvb-fixes returns a broken link.....
> 
> Many thanks in advance,
> 
> Mike
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 

-------------- next part --------------
diff -crB mythtv-0.22/libs/libmythtv/dvbchannel.cpp mythtv-0.22_hvr4000_patch/libs/libmythtv/dvbchannel.cpp
*** mythtv-0.22/libs/libmythtv/dvbchannel.cpp	2009-10-12 22:22:25.000000000 +0200
--- mythtv-0.22_hvr4000_patch/libs/libmythtv/dvbchannel.cpp	2010-01-06 14:04:17.000000000 +0100
***************
*** 141,146 ****
--- 141,148 ----
      if (fd_frontend >= 0)
      {
          close(fd_frontend);
+ 	usleep(5000000);
+ 	fprintf(stderr, "waiting for frontend.................................\n");
          fd_frontend = -1;
  
          dvbcam->Stop();
***************
*** 190,197 ****
--- 192,203 ----
      QString devname = CardUtil::GetDeviceName(DVB_DEV_FRONTEND, device);
      QByteArray devn = devname.toAscii();
  
+     VERBOSE(VB_CHANNEL, LOC + "DVB channel :" + devname);
+ 
      for (int tries = 1; ; ++tries)
      {
+       usleep(5000000);
+       VERBOSE(VB_CHANNEL, LOC + "Slowing down open DVB channel :" + devname);
          fd_frontend = open(devn.constData(), O_RDWR | O_NONBLOCK);
          if (fd_frontend >= 0)
              break;
***************
*** 207,212 ****
--- 213,219 ----
          usleep(50000);
      }
  
+     usleep(50000);
      dvb_frontend_info info;
      bzero(&info, sizeof(info));
      if (ioctl(fd_frontend, FE_GET_INFO, &info) < 0)
***************
*** 215,220 ****
--- 222,229 ----
                  "Failed to get frontend information." + ENO);
  
          close(fd_frontend);
+ 	usleep(5000000);
+ 	fprintf(stderr, "waiting for frontend.................................\n");
          fd_frontend = -1;
          return false;
      }


More information about the mythtv-users mailing list