Linux DVB driver = success

HDHomeRun development

Moderator: Moderators

Postby hoontune » Thu Mar 22, 2012 9:58 pm

I've had a bit of luck cross compiling the s2-liplianin drivers.

the clue was in here: http://www.vdr-portal.de/board60-linux/ ... A4gt-fehl/

the drivers had been built for x86, so you need to run:
Code: Select all
make distclean

before trying to make menuconfig.

<edit>
... unfortunately, it's made no difference.

This is killing me... it's so close !
hoontune
 
Posts: 14
Joined: Fri Feb 10, 2012 3:56 am

Postby Unforgiven » Tue Mar 27, 2012 5:29 am

Hi hoontune,

My goal is to use my Synology DS411+ for running tvheadend on it...
Did you succeed with getting tvheadend to run on your Synology ?

cheers,
Unforgiven
Unforgiven
 
Posts: 2
Joined: Tue Mar 27, 2012 5:27 am

Postby Unforgiven » Tue Mar 27, 2012 6:18 am

hoontune,

Here is a version to get tvheadend running on your Synology:
http://forum.synology.com/enu/viewtopic ... 53#p148853

haven't tried it myself yet, but it looks promising !
Unforgiven
 
Posts: 2
Joined: Tue Mar 27, 2012 5:27 am

Postby hoontune » Tue Mar 27, 2012 9:56 pm

Unforgiven wrote:hoontune,
Here is a version to get tvheadend running on your Synology:
http://forum.synology.com/enu/viewtopic ... 53#p148853
haven't tried it myself yet, but it looks promising !

Hi,

Yeah, I've been posting on that thread.

I've got tvheadend running fine, it's the driver for the hdhomerun I'm having trouble with ...

Details on how I compiled both are here:
https://www.lonelycoder.com/redmine/boards/4/topics/3706

The problem seems to be that dvb_hdhomerun is not dependent on dvb_hdhomerun_fe when I insmod the modules.

I haven't had a lot of luck trying to compile them natively on the NAS, but I don't know if it would even help. Cross compiling seemed to work (ie no errors etc) but doesn't produce a working frontend, so perhaps that isn't the issue.

If you're compiling for the 411+ you might have more luck, as it's an x86 rather than ARM.
hoontune
 
Posts: 14
Joined: Fri Feb 10, 2012 3:56 am

Postby alankeny » Wed Mar 28, 2012 9:41 am

I got this working on a small server running Ubuntu 12.04 with TVheadend and a few OTA channels. TVheadend works great in XBMC, but the userhdhomerun process uses more CPU than I think it should. As soon as I start dvbhdhomerun-utils, the userhdhomerun process uses 2% of the CPU. I can't figure out what it's doing, because I haven't even started TVheadend yet.

After I start TVheadend, the usage goes up for a while, but it eventually settles back down around 4%. Entries like the following keep repeating in /var/log/dvbhdhomerun.log as long as TVheadend is running:

Code: Select all
FE_READ_STATUS
sym qual: 0
FE_READ_STATUS
sym qual: 0
FE_READ_STATUS
sym qual: 64
FE_READ_SIGNAL_STRENGTH
strength: 59 sym qual: 64 sig to noise:50
FE_READ_STATUS
sym qual: 64
FE_READ_SIGNAL_STRENGTH
strength: 59 sym qual: 64 sig to noise:50


When I watch Live TV in XBMC the CPU usage of the userhdhomerun process goes up to 12% which I expect. When I stop playing Live TV the usage doesn't go back down to 4%. Last night I left userhdhomerun running and it stayed at 12% all night. It didn't go back down to 2% until I stopped TVheadend.

Would userhdhomerun work better with an older version of Ubuntu?

I've disabled autodetect muxes, idle scanning, and monitor signal quality on both tuners in TVheadend. Are there any other settings I should change in TVheadend or XBMC to get userhdhomerun to use less cpu?[/code]
alankeny
 
Posts: 1
Joined: Wed Mar 28, 2012 9:27 am

dvbhdhomerun

Postby orange » Wed Mar 28, 2012 3:56 pm

I was wondering if any linux guru can build dvbhdhomerun for archlinux and upload it to aur. I tried it but I am not able to get it working. I am newbie and have never compiled any package before. User kurosan posted a couple months ago that he had a working archlinux system, so I know its possible to compile. There is already a request in archlinux by someone else for this aur

https://bbs.archlinux.org/viewtopic.php?id=134719

Thanks.
orange
 
Posts: 1
Joined: Wed Mar 28, 2012 3:09 pm

Precise Pangolin package

Postby anthropo » Thu Jul 05, 2012 6:18 am

Hello,

is there any Precise Pangolin package please or should i install source code ?

Thank you for the response
anthropo
 
Posts: 8
Joined: Thu Dec 09, 2010 1:51 am

Postby sofakng » Wed Aug 22, 2012 10:01 am

I couldn't find a package for 12.04 so I just compiled from source...

Everything seems OK so far, but I'm still running w-scan... (it hasn't found any services, but it did find valid frequencies... the scan is still running so I'll see what happens)

EDIT: It just found some services on the higher frequencies... Looks like it's working fine!
sofakng
 
Posts: 3
Joined: Sat Nov 05, 2011 5:28 pm

Postby sofakng » Wed Aug 29, 2012 7:25 am

So, I've setup dvbhdhomerun but when I add the transponders into Tvheadend and it scans for services, all of the service names are empty.

What am I doing wrong?

I'm using the HDHomeRun with my Digital Cable (QAM256) and almost every channel is encrypted but there are about 10 local channels that are unencrypted.
sofakng
 
Posts: 3
Joined: Sat Nov 05, 2011 5:28 pm

Re: Precise Pangolin package

Postby anthropo » Wed Sep 19, 2012 1:44 am

anthropo wrote:is there any Precise Pangolin package please or should i install source code ?


Thank you tfylliv for the update on Precise.

BUT :

Code: Select all
sudo dpkg-reconfigure dvbhdhomerun-dkms

------------------------------
Deleting module version: 0.0.11-1
completely from the DKMS tree.
------------------------------
Done.
Loading new dvbhdhomerun-0.0.11-1 DKMS files...
Building only for 3.2.0-30-generic
Building initial module for 3.2.0-30-generic
Error! The directory /var/lib/dkms/dvbhdhomerun/0.0.11-1/source/
does not appear to have module source located within it.  Build halted.



went back to oneiric repository.

In fact, is there any interest in going to precise repository for dvbhdhomerun ? what difference is there ?
anthropo
 
Posts: 8
Joined: Thu Dec 09, 2010 1:51 am

Re: Precise Pangolin package

Postby tfylliv » Wed Sep 19, 2012 3:31 am

anthropo wrote:
Code: Select all
sudo dpkg-reconfigure dvbhdhomerun-dkms

------------------------------
Deleting module version: 0.0.11-1
completely from the DKMS tree.
------------------------------
Done.
Loading new dvbhdhomerun-0.0.11-1 DKMS files...
Building only for 3.2.0-30-generic
Building initial module for 3.2.0-30-generic
Error! The directory /var/lib/dkms/dvbhdhomerun/0.0.11-1/source/
does not appear to have module source located within it.  Build halted.



went back to oneiric repository.

In fact, is there any interest in going to precise repository for dvbhdhomerun ? what difference is there ?


Weird, haven't seen that one before. Have you build your own kernel or something else "out of the ordinary"?

The one (important) difference there exist is that the libhdhomerun library provided by Silicondust in Precise contains a function that returns the number of tuners in a HDHomeRun. Previous to that it was hardcoded to two tuners.

And since a Prime has three (or six) tuners it is "nice" to be able to get that number and use them all.
tfylliv
Expert
 
Posts: 106
Joined: Sat Sep 04, 2010 3:08 pm

Postby anthropo » Wed Sep 19, 2012 4:29 am

no, i haven't built any kernel.

I had oneiric repository, and i then saw the new package (0.0.11-1) while apt-get updating. I installed it.

After that i realised that perhaps you added the precise's one.

then i changed oneiric ==> precise, and i apt-get updated agan

i saw that it tried to install 0.0.12-1, but it failed

when i looked at the /var/lib/dkms/dvbhdhomerun/0.0.11-1/source/ it was there.

i tried remove and install again but it still failed .

Perhaps it expected 0.0.12-1 like in the name of the package ?
anthropo
 
Posts: 8
Joined: Thu Dec 09, 2010 1:51 am

Postby tfylliv » Wed Sep 19, 2012 11:24 am

anthropo wrote:i saw that it tried to install 0.0.12-1, but it failed

when i looked at the /var/lib/dkms/dvbhdhomerun/0.0.11-1/source/ it was there.

i tried remove and install again but it still failed .

Perhaps it expected 0.0.12-1 like in the name of the package ?


That could be it - I had quite a battle with Launchpad getting it build on Precise. They have this weird "feature" in which you can't rebuild a package with the same version for a newer series if you've already build it once before for an older series - you have to bump version numbers constantly - it's really silly.... So changes are I've screwed that up somehow. I'll retest on a 12.04 here and see what happens...
tfylliv
Expert
 
Posts: 106
Joined: Sat Sep 04, 2010 3:08 pm

Postby tfylliv » Wed Sep 19, 2012 12:55 pm

tfylliv wrote:
anthropo wrote:i saw that it tried to install 0.0.12-1, but it failed

when i looked at the /var/lib/dkms/dvbhdhomerun/0.0.11-1/source/ it was there.

i tried remove and install again but it still failed .

Perhaps it expected 0.0.12-1 like in the name of the package ?


That could be it - I had quite a battle with Launchpad getting it build on Precise. They have this weird "feature" in which you can't rebuild a package with the same version for a newer series if you've already build it once before for an older series - you have to bump version numbers constantly - it's really silly.... So changes are I've screwed that up somehow. I'll retest on a 12.04 here and see what happens...


New build/version underway, you can follow the status of the bug (and the new build) here:

https://sourceforge.net/apps/trac/dvbhd ... #comment:8
tfylliv
Expert
 
Posts: 106
Joined: Sat Sep 04, 2010 3:08 pm

Postby mrburns42 » Mon Oct 29, 2012 5:19 am

I am trying to build these drivers for a Pogoplug running Archlinux. Since I am not highly skilled in Linux, it has not been easy. There is an AUR package from Archlinux, but it does not work for me because I do not know where to put the header files it expects. However, the kernel stuff does build and I hacked up their PKGBUILD to only do the kernel files. I get three ko files and a tar file. I used pacman to load the tar file and that completes without error. However, the kernel modules do not seem to be running. If I run "lsmod" , they do not show up. If I run modprobe, I get a FATAL: module not found error. I rebooted and then looked at dmesg, but there is no mention of hdhomerun.

Questions:
1. Where should I put the libhdhomerun headers and library file that I compiled? Do I have to install these? The PKGBUILD from AUR never seems to be able to find the headers.
2. When I try to build the sourceforge version, I can get as far as the linker on the userhdhomerun and then it complains about real time libraries that libhdhomerun needs. How do I point it to the correct library? (I temporarily hacked this by copying all the rt libraries I could find into the same folder has the libhomerun library.)
3. What do I have to do to activate the kernel modules? I installed them with pacman using the -U option. The install completes fine, but modprobe fails.

Thanks for any help or pointers.
mrburns42
 
Posts: 13
Joined: Sat Oct 15, 2011 11:44 am

PreviousNext

Return to Development - HDHomeRun

Who is online

Users browsing this forum: No registered users and 3 guests