Linux DVB driver = success

HDHomeRun development

Moderator: Moderators

Postby tfylliv » Sun Sep 12, 2010 10:29 pm

Hey r00st3r,

No problem. I think you must have skipped a step from the build.txt. You need to install three applications/libraries in order to build userhdhomerun:

sudo apt-get install cmake g++ libqt4-dev

As you can see, "cmake" is part of that. After installation of those the make will go through.

Almost there now. ;-)
tfylliv
Expert
 
Posts: 106
Joined: Sat Sep 04, 2010 3:08 pm

Postby r00st3r » Mon Sep 13, 2010 8:50 am

Strange.. I didn't see that part in the build.txt. My bad!
***edit.. see next post..
Last edited by r00st3r on Mon Sep 13, 2010 9:30 am, edited 1 time in total.
r00st3r
 
Posts: 38
Joined: Mon Mar 03, 2008 8:47 am

Postby r00st3r » Mon Sep 13, 2010 9:11 am

Nevermind.. I had the wrong path in the CMakeLists.txt. haha.

Ran the userhdhomerun sudo make and it ran and registered the tuners...

I will test this out and let you know.

Thanks for the assistance.
r00st3r
 
Posts: 38
Joined: Mon Mar 03, 2008 8:47 am

Postby r00st3r » Mon Sep 13, 2010 9:33 am

So, now I http to the xbmc box to tvheadend and try to select a tv adapter, but the list is still empty...?? Should I see something in the tv adapter drop down? I left the command window running.
r00st3r
 
Posts: 38
Joined: Mon Mar 03, 2008 8:47 am

Postby tfylliv » Mon Sep 13, 2010 10:22 am

Hey r00st3r,

Yes, you should see something in the dropdown. There should be two "HDHomeRun DVB-C" entries.

But, you probably need to restart tvheadend to get it find the new dvb devices:

sudo /etc/init.d/tvheadend restart

And then try the tv adapter dropdown again?
tfylliv
Expert
 
Posts: 106
Joined: Sat Sep 04, 2010 3:08 pm

Postby r00st3r » Mon Sep 13, 2010 11:50 am

OK, I restarted the tvheadend, and ran the Make Run in the commad window and left it oipen.

I now see the hdhomerun (HDHOMERUN DVBC 0 and 1) in the drop down. I select each one and save it. (in the meantime the command window shows Registered Tuner (0 and 1) and repeats FE_READ_STATUS...

A few questions:
1. xml-tv only has two North American Sources (data direct and DirectTv) I selected the Data Direct one (I also ran the tv-grab_nn_dd and it grabbed the channels in the cmd window). When I hit save, it says "no output from usr/bin/tv_grab_nn_dd" I have a Schedule Direct Account too (although I am not sure if I need it).

I also do not have any channels or any other data in the other tabs under configuration.
r00st3r
 
Posts: 38
Joined: Mon Mar 03, 2008 8:47 am

Postby tfylliv » Mon Sep 13, 2010 12:07 pm

Ok,

FE_READ_STATUS is good. That means tvheadend is now querying the tuner(s) and the HDHomeRun is replying to that. All is well.

Now we "just" need to get tvheadend to start scanning. Which is quite daunting to figure out the first time you need to do that.... :)

You need to have tvheadend find Muxes and services/channels before you can use XMLtv.

What I usually do is go to:

1) Configuration -> Tv adapters
2) Choose an adapter
3) Multiplexes -> Add mux(es) manually.

It is asking for four things there - you tv provider should have a page somewhere telling what those are. Who's your cable provider?


(If you are lucky you can go to Configuration -> tv adapters -> Add DVB service by location - I don't see any US locations there though).
tfylliv
Expert
 
Posts: 106
Joined: Sat Sep 04, 2010 3:08 pm

Postby r00st3r » Mon Sep 13, 2010 12:12 pm

Yeah, I didn't see any there either. My provider is Verizon FIOS digital, I will take a look to see if they have the information available. I tried to do a search for the info, but came up empty. I also tried to add it base on the info in my .strm file that HDHR created...but I was crawling in the dark.
r00st3r
 
Posts: 38
Joined: Mon Mar 03, 2008 8:47 am

Postby tfylliv » Mon Sep 13, 2010 12:27 pm

Try install the dvb cmd line tools:

sudo apt-get install dvb-apps

Then have a look under:

/usr/share/dvb/atsc/

See if any of those applies to you.


Alternatively simply try scanning with them and see if one of them finds some channels, for example:

scan /usr/share/dvb/atsc/us-MA-Boston

See what happens. Try some of them, if you hit something we should have enough info to get tvheadend started.
tfylliv
Expert
 
Posts: 106
Joined: Sat Sep 04, 2010 3:08 pm

Postby r00st3r » Mon Sep 13, 2010 12:40 pm

I have:

us-ATSC-center-frequencies-8VSB
us-ID-Boise
us-Cable-EIA-542-HRC-center-frequencies-QAM256
us-MA-Boston
us-Cable-EIA-542-IRC-center_frequencies-QAM256
us-MI-Lansing
us-Cable-HRC-center-frequencies-QAM256
us-NTSC-center-frequencies-8VSB
us-Cable-IRC-center-frequencies-QAM256
us-NY-TWC-NYC
us-Cable-Standard-center-frequencies-QAM256
us-PA-Philadelphia
us-CA-SF-Bay-Area

If I try to scan any of those, it says:
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:2273: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 16 Device or resource busy
r00st3r
 
Posts: 38
Joined: Mon Mar 03, 2008 8:47 am

Postby tfylliv » Mon Sep 13, 2010 12:45 pm

Ah, that is tvheadend holding on to the tuners. If you stop tvheadend you should be able to try again:

/etc/init.d/tvheadend stop

But, looking at the code here I'm wondering if I need to do something more to get ATSC stuff in play. But please try a scan after stopping tvheadend - just to confirm.

Also try running:

femon

A cmd line tool that shows signal strength, you can try selected a channel via the HDHomeRun Config (GUI) and see the signal level changing.
tfylliv
Expert
 
Posts: 106
Joined: Sat Sep 04, 2010 3:08 pm

Postby r00st3r » Mon Sep 13, 2010 12:50 pm

I little closer...

I may have forgot to mention that I am using QAM instead of ATSC...

scanning us-MA-Boston
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
WARNING: frontend type (QAM) is not compatible with requested tuning type (ATSC)
ERROR: initial tuning failed
dumping lists (0 services)
Done.
r00st3r
 
Posts: 38
Joined: Mon Mar 03, 2008 8:47 am

Postby tfylliv » Mon Sep 13, 2010 12:54 pm

The above confirms that I need to do something for ATSC.

For you, instead try scanning with some of these instead:

/usr/share/dvb/dvb-c/

Those are QAM (european). Stupid question coming up: How can you use QAM in the states? :)
tfylliv
Expert
 
Posts: 106
Joined: Sat Sep 04, 2010 3:08 pm

Postby r00st3r » Mon Sep 13, 2010 1:05 pm

QAM has been here in the states for years. Cable companies (and now FIOS), have local channels de-crypted for open QAM. I can hook a coax cable up to any TV that has a tuner and it will scan and pick up the un-encrypted (usually local) channels. Sometimes, if you're lucky, you get a pay channel thrown in, but it's rare.
r00st3r
 
Posts: 38
Joined: Mon Mar 03, 2008 8:47 am

Postby r00st3r » Mon Sep 13, 2010 1:26 pm

I think part of the confusion is in the States, even though it's considered QAM, the format is still ATSC as opposed to other countries it's DVB-C. QAM is the method of transportation, but not the format of the data transferred over it...
Last edited by r00st3r on Mon Sep 13, 2010 1:34 pm, edited 1 time in total.
r00st3r
 
Posts: 38
Joined: Mon Mar 03, 2008 8:47 am

PreviousNext

Return to Development - HDHomeRun

Who is online

Users browsing this forum: No registered users and 0 guests