Project

General

Profile

Raspberry PI + TVheadend + Hauppauge WinTV 950q

Added by Sebastian Bechtold over 11 years ago

Hey guys,

I use XBMC for a long time in Germany. Now I moved to the US and got a PI for my HTPC, so far so good. Now with the LiveTV support in XBMC itself I want to give it a try. Check out this:

http://elinux.org/RPi_VerifiedPeripherals#USB_TV_Tuners_and_DVB_devices
before buying any USB TV Tuner.

Now I set up the system with Raspbmc (tried also openelec) activated the TVheadend server, activatet the Client. I can reach it via browser:

Hardware
Device path:
/dev/dvb/adapter0
Device name:
Auvitek AU8522 QAM/8VSB Frontend
Host connection:
USB (480 Mbit/s)
Frequency range:
54000 kHz - 858000 kHz, in steps of 62 kHz
Status
Currently tuned to:

Services:
0
Muxes:
157
Muxes awaiting initial scan:
0
Signal Strength:
0%
Bit Error Rate:
0/s
Uncorrected Bit Errors:
0/s

I added cable standard qam256. Waitet for all muxes to be scanned and no services found. I connected the cable to my TV before and I got a couple channels (around 40 but not the best) I have Cox Cable here and my Cable Box get a lot more channels than the TV itself. I also tried the Stick at my Laptop with Win7 I got some channels with it but not really much, but it worked. I am completely new to this topic and no linux user. I tried to google and search here in the forum but I could not find anything. I read several times to add the mux manually, but I am honest I have no clue how to do it. I would really like to have Live TV in my XBMC together with my movies and TV Shows, I like to keep it simple but at this moment its only frustrating. I tried to play around with the checkboxes initial scan and Idle scanning. Did not change anything. In the tab multiplexes I got a lot with 100%, not sure if this is important.

Thank you in advance for any help.


Replies (16)

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Tent Icle over 11 years ago

I am considering a similar setup myself and have read a few reports of problems similar to this from other users. The root cause has generally turned out to be that the RPi was unable to supply sufficient power (or sufficiently clean power) over the USB bus for the tuner to lock onto a service correctly.

Do you have a powered USB hub you can test with? If so, try connecting your tuner via the hub, then scan for services again

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Sebastian Bechtold over 11 years ago

Hey,

thanks for your quick answer. I Use a power supply with 5.0V and 0.7 mA. I dont have a hub. I would need to buy one.I did get one and checking right now. But seems to be no changes!

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Sebastian Bechtold over 11 years ago

Both the rPI and the Tuner are in the HUB connectet to the PI. (With the extention USB, is this a problem? not for the Windows Laptop) On the TVheadend interface still this:

Hardware
Device path:
/dev/dvb/adapter0
Device name:
Auvitek AU8522 QAM/8VSB Frontend
Host connection:
USB (480 Mbit/s)
Frequency range:
54000 kHz - 858000 kHz, in steps of 62 kHz
Status
Currently tuned to:
327,012 kHz
Services:
0
Muxes:
157
Muxes awaiting initial scan:
130
Signal Strength:
0%
Bit Error Rate:
0/s
Uncorrected Bit Errors:
0/s

I let the mux runn completely now:

Loglevel debug: enabled

Jul 04 16:11:46.018 dvb: "297,012 kHz" on adapter "Auvitek AU8522 QAM/8VSB Frontend", status changed to No signal

Jul 04 16:12:02.005 dvb: "/dev/dvb/adapter0" tuning to "753,000 kHz" (Initial autoscan)

Jul 04 16:12:06.018 dvb: "753,000 kHz" on adapter "Auvitek AU8522 QAM/8VSB Frontend", status changed to No signal

Jul 04 16:12:22.005 dvb: "/dev/dvb/adapter0" tuning to "477,000 kHz" (Initial autoscan)

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Sebastian Bechtold over 11 years ago

Now I broke somethng:

Jul 04 22:01:09.010 dvb: "/dev/dvb/adapter0" tuning to "999,000 kHz" -- Front configuration failed -- Invalid argument, frequency: 999000000

Jul 04 22:01:29.002 dvb: "/dev/dvb/adapter0" tuning to "993,000 kHz" -- Front configuration failed -- Invalid argument, frequency: 993000000

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Sebastian Bechtold over 11 years ago

OK maybe I found the problem. If you have Cox and you dont use the cable box your TV signal is analog (maybe all of cox??) Is there any way to tune analog cable TV channels via TVheadend.

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by el grantos over 11 years ago

I too would like to know how to add tv channels using analog coax as an input source. Recently installed openelec 3, and currently looking into the new LiveTV options in xbmc. Can't get TVHeadend to scan for analog channels. SHould it be able to? Haven't looked into things much at this point, but I came across this post and figured I'd chime in.

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Mike Stewart about 11 years ago

I have been unable to get a single service to show up.
RAPI, OTA antenna and 950Q which works fine when plugged into WIndows.
I do have a powered hub.
I have tried on 3 different Pi's.
I am in the Charlotte NC area and get ~20 station OTA.
I add the us_ATSC_center_frequencies_8VSB and get 68 muxes. Not a single service shows up.
I have added all the various muxes and never get a single service after it scans them all.
Help!
Hardware
Device path:
/dev/dvb/adapter0
Device name:
Auvitek AU8522 QAM/8VSB Frontend
Host connection:
USB (480 Mbit/s)
Frequency range:
54000 kHz - 858000 kHz, in steps of 62 kHz
Status
Currently tuned to:
581,028 kHz
Services:
0
Muxes:
68
Muxes awaiting initial scan:
0
Signal Strength:
0%
Bit Error Rate:
0/s
Uncorrected Bit Errors:

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Sebastian Bechtold about 11 years ago

Still no solution? Updated to the newest Openelec today and still the same.. pls help

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Dani Louca over 10 years ago

I recently bought the same tuner and had the same issue.
To solve it you need to build and install the latest driver and download and install the latest firmware.

Let me know if you need step by step instructions.

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Sean Murray over 10 years ago

That would help me out a lot

I have the same set up except I'm trying to find one analog channel from a settopbox.

Any suggestions will be appreciated.

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Dani Louca over 10 years ago

Sean Sean

I sent you the below via email, adding it here so others can see it.

1) Check if you can tune to any frequency/channel outside tvh. Use w_scan, if you don't have it, install it "apt-get install w-scan"
Run this
sudo w_scan -f a -c US -X

If it didn't find any channel, then time to update the firmware + driver

2) Note: this will update all the dvb drivers, make sure you backup your system.

sudo apt-get install git-core libproc-processtable-perl patchutils libdigest-sha-perl build-essential git-core linux-headers-`uname -r`
git clone git://linuxtv.org/media_build.git

cd media_build/

./build
sudo make install

After this, the driver was asking for dvb-fe-xc5000c-4.1.30.7.fw

wget http://www.kernellabs.com/firmware/xc5000/dvb-fe-xc5000c-4.1.30.7.fw
sudo cp dvb-fe-xc5000c-4.1.30.7.fw /lib/firmware

3) now try w_scan again, if it works , move to TVH and you should be able to lock on all the channels.

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Adam Bannach over 10 years ago

@Dani

By, "If it didn't find any channel", do you mean this?

797000: 8VSB(time: 02:45)
803000: 8VSB(time: 02:47)

ERROR: Sorry - i couldn't get any working frequency/transponder
Nothing to scan!!

I'm getting this at the end of the ./build step.

make[2]: Leaving directory `/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/3.6.11/build /lib/modules/3.6.11/build 1
Preparing to compile for kernel version 3.6.11
File not found: /lib/modules/3.6.11/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** [allyesconfig] Error 2
make[1]: Leaving directory `/media_build/v4l'
make: *** [allyesconfig] Error 2
can't select all drivers at ./build line 490.

Note: The "Nothing to Scan!!" came after I had done all the steps above, but get the error any time I try to run ./build I did have to turn off TVheadend to get it to show any frequencies at all.

Any help would be greatly appreciated.

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Adam Bannach over 10 years ago

Just an update. I've been searching around the last few days and have been getting closer and closer to having the 950q working with Raspbian and tvheadend. Once I'm completely up and running I'm going to make a post on my website explaining the whole ordeal, but for now I'd like to give an update here.

First off I had almost given up on TvHeadend (still working at it). I got w_scan installed as before and did my scan, but through learning a little bit more I took a look at the /var/log/syslog and noticed that it wasn't loading the firmware properly. It was looking for a different version which may have been a typo, but in the end I read in another forum that you want to download and use http://www.kernellabs.com/firmware/xc5000/dvb-fe-xc5000c-4.1.30.7.fw Putting this in /lib/firmware as described but then you want to rename it to whatever name w_scan was looking for.

This gave me the opportunity to get past the "Nothing to Scan!!" error I was getting. For now the /var/log/syslog shows that it is finding the firmware and that the upload is complete. I used the call "w_scan -fa -A1 -cUS -X > channels.conf" and w_scan was able to find data for the channels and put them in my channels.conf file. Channels.conf is a VDR notion because I had attempted to switch to using VDR instead of TVheadend, but that's a whole other story of heartache and misery :P

I may use the channels.conf file to manually add my frequencies if I can't get tvheadend to work, but it's currently doing an intial scan since I reinstalled it. If I'm plagued with the bug that exists where there is no service data after scanning I may need to install a previous version of tvheadend.

So far that is where I'm at with this. Any questions I'm willing to entertain. I want this to work and I'm working to make it do the same!

Sorry for the explosion of words, but I'm just quick typing this out in hopes of helping others.

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Phillip Smith over 10 years ago

Any luck getting TVHeadEnd to work with RPi and 950q? I am getting the initial scan but still no service data or mapping of channels. Does reverting to Version 3 work?

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Trevor Martin over 10 years ago

3.5.139~g767f824~wheezy

Running xbmc gotham on raspbian via http://michael.gorven.za.net/raspberrypi/xbmc

wintv hvr 950q
powered usb hub (http://www.adafruit.com/products/1516)

works after copying the firmware to /lib/firmware and rebooting

initial scan could take a while... let it run.
check the services dialog. channels show up unmapped. you have to name them in order to see them in the channel line up.

so far so good. freezes every now and then. hopefully bugs are fixed in 4.0

RE: Raspberry PI + TVheadend + Hauppauge WinTV 950q - Added by Andrew Bishop about 10 years ago

Thank you very much for your post Dani!!! I SSH'd into my Pi with PuTTY, entered the command lines you graciously gave and voila! Added the DVB Network again and watched as Services started to climb. Cheers!!! ~Bishop

54000 kHz - 858000 kHz, in steps of 62 kHz
Status
Currently tuned to:
783,000 kHz
Services:
137
Muxes:
170
Muxes awaiting initial scan:
0
Signal Strength:
100%
Bit Error Rate:
0/s
Uncorrected Bit Errors:
0/s

    (1-16/16)