Project

General

Profile

Raspberry Pi 2 Setup

Added by steve parry over 9 years ago

Hey all,

I'm trying out my new RPi 2 as a tvheadend server

My setup is
1 x PCTV 290e
1 x PCTV 292e
1 x PCTV 461e

I pulled the latest source as I wanted 3.9 and the apt repo's only have a 3.4 (I think)

I compiled the code from soruce using the following commands

sudo su
aptitude install build-essential git pkg-config libssl-dev bzip2 wget
aptitude install libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev
apt-get install libcurl4-gnutls-dev
apt-get install liburiparser-dev
apt-get install debhelper
cd /opt
git clone https://github.com/tvheadend/tvheadend.git
cd tvheadend

Next step is to build a debian package using

AUTOBUILD_CONFIGURE_EXTRA=--disable-libav_static ./Autobuild.sh

Then installed the package.

cd ..
dpkg -i tvheadend_3.9.xxxxxxxxx_armhf.deb (xxxx = whatever version you just built)

It all worked and I could access the webinterface.

I then realised the drivers for my dvb adapters werent working by using the following command

dmesg | grep firmware

So I installed the drivers

wget https://github.com/OpenELEC/dvb-firmware/blob/master/firmware/dvb-demod-si2168-02.fw?raw=true -O /lib/firmware/dvb-demod-si2168-02.fw
wget http://palosaari.fi/linux/v4l-dvb/firmware/M88DS3103/3.B/dvb-demod-m88ds3103.fw -O /lib/firmware/dvb-demod-m88ds3103.fw
wget https://github.com/OpenELEC/dvb-firmware/blob/master/firmware/dvb-demod-si2168-b40-01.fw -O /lib/firmware/dvb-demod-si2168-b40-01.fw

And I didnt get anymore errors

I've also use https://github.com/Hexxeh/rpi-update to get the latest kernel updates

But tvheadend seems to be crashing after a few minutes of booting.

I'm not sure how to get logs just yet, I've enabled the debug logging but I'm at work atm, and the damn things crashed again so I cant access it.

Any ideas.


Replies (13)

RE: Raspberry Pi 2 Setup - Added by Stefan Schreffler over 9 years ago

It does seem that we're having the same or similar issue and I'm starting to think that it is due to our using the Raspberry Pi 2, which is very new. I'm not having any luck with finding any fixes so I think I'm going to report it as a bug. Worst thing that can happen is they point me to where a fix already exits (that we haven't been able to find)

RE: Raspberry Pi 2 Setup - Added by steve parry over 9 years ago

Update

I found I needed a powered USB hub (Pi Certified) inorder to provide enough power to my dvb adapters

I also found the firmwares weren't working so I eventually found some that did

sudo wget http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/dvb-demod-si2168-02.fw -O /lib/firmware/dvb-demod-si2168-02.fw
sudo wget http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/Si2168-B40/d8da7ff67cd56cd8aa4e101aea45e052/dvb-demod-si2168-b40-01.fw -O /lib/firmware/dvb-demod-si2168-b40-01.fw
sudo wget http://palosaari.fi/linux/v4l-dvb/firmware/M88DS3103/3.B/dvb-demod-m88ds3103.fw -O /lib/firmware/dvb-demod-m88ds3103.fw

It all works great, but still, the damn Pi keeps crashing after roughly 12 hours.

Very annoying

RE: Raspberry Pi 2 Setup - Added by Stefan Schreffler over 9 years ago

Hmmm, no, I dont think we're having the same issue. I've been using a powered hub and I know the tuner is getting enough power because if I run a w_scan everything works fine and there's no crash. I only have the pi crash if a back end like tvheadend performs the scan (I've tried with dvblink and got the same result). Best of luck with your issue.

RE: Raspberry Pi 2 Setup - Added by steve parry over 9 years ago

Mines still crashing even, it looks like its happening when its running a epg scan.

I might disable epg scanning and see if that fixes it. (not that I want to disable epg scanning)

RE: Raspberry Pi 2 Setup - Added by Stefan Schreffler over 9 years ago

Now there you might be onto something. I did notice that whenever tvheadend crashes the system the last line in the syslog is the epggrabber creating the xmltv module. I'd be interested to hear what your results are.

RE: Raspberry Pi 2 Setup - Added by steve parry over 9 years ago

Well I tried disabling the epg scanner and that did nothing. I did manage to get a syslog output though

Mar  5 13:41:40 raspberrypi tvheadend[2566]: subscription: 06D7: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "754MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:41:40 raspberrypi tvheadend[2566]: mpegts: 562MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:41:40 raspberrypi tvheadend[2566]: subscription: 06D8: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "562MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:41:45 raspberrypi tvheadend[2566]: mpegts: 562MHz in Freeview - scan needs more time
Mar  5 13:41:45 raspberrypi tvheadend[2566]: mpegts: 754MHz in Freeview - scan no data, failed
Mar  5 13:41:45 raspberrypi tvheadend[2566]: subscription: 06D7: "scan" unsubscribing
Mar  5 13:41:47 raspberrypi tvheadend[2566]: mpegts: 11097V in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:41:47 raspberrypi tvheadend[2566]: subscription: 06D9: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "11097V", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:41:53 raspberrypi tvheadend[2566]: mpegts: 562MHz in Freeview scan complete
Mar  5 13:41:53 raspberrypi tvheadend[2566]: subscription: 06D8: "scan" unsubscribing
Mar  5 13:41:57 raspberrypi tvheadend[2566]: mpegts: 11097V in Freesat - scan needs more time
Mar  5 13:42:03 raspberrypi tvheadend[2566]: mpegts: 690MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:42:03 raspberrypi tvheadend[2566]: subscription: 06DA: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "690MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:42:03 raspberrypi tvheadend[2566]: mpegts: 714MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:42:03 raspberrypi tvheadend[2566]: subscription: 06DB: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "714MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:42:06 raspberrypi tvheadend[2566]: mpegts: 11097V in Freesat scan complete
Mar  5 13:42:06 raspberrypi tvheadend[2566]: subscription: 06D9: "scan" unsubscribing
Mar  5 13:42:08 raspberrypi tvheadend[2566]: mpegts: 714MHz in Freeview - scan needs more time
Mar  5 13:42:08 raspberrypi tvheadend[2566]: mpegts: 690MHz in Freeview - scan needs more time
Mar  5 13:42:14 raspberrypi tvheadend[2566]: mpegts: 690MHz in Freeview scan complete
Mar  5 13:42:14 raspberrypi tvheadend[2566]: subscription: 06DA: "scan" unsubscribing
Mar  5 13:42:14 raspberrypi tvheadend[2566]: mpegts: 714MHz in Freeview scan complete
Mar  5 13:42:14 raspberrypi tvheadend[2566]: subscription: 06DB: "scan" unsubscribing
Mar  5 13:42:16 raspberrypi tvheadend[2566]: mpegts: 11527V in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:42:16 raspberrypi tvheadend[2566]: subscription: 06DC: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "11527V", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:42:24 raspberrypi tvheadend[2566]: mpegts: 634MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:42:24 raspberrypi tvheadend[2566]: subscription: 06DD: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "634MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:42:24 raspberrypi tvheadend[2566]: mpegts: 722MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:42:24 raspberrypi tvheadend[2566]: subscription: 06DE: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "722MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:42:26 raspberrypi tvheadend[2566]: mpegts: 11527V in Freesat - scan no data, failed
Mar  5 13:42:26 raspberrypi tvheadend[2566]: subscription: 06DC: "scan" unsubscribing
Mar  5 13:42:29 raspberrypi tvheadend[2566]: mpegts: 722MHz in Freeview - scan needs more time
Mar  5 13:42:29 raspberrypi tvheadend[2566]: mpegts: 634MHz in Freeview - scan complete
Mar  5 13:42:29 raspberrypi tvheadend[2566]: subscription: 06DD: "scan" unsubscribing
Mar  5 13:42:36 raspberrypi tvheadend[2566]: mpegts: 11895V in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:42:36 raspberrypi tvheadend[2566]: subscription: 06DF: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "11895V", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:42:37 raspberrypi tvheadend[2566]: mpegts: 722MHz in Freeview scan complete
Mar  5 13:42:37 raspberrypi tvheadend[2566]: subscription: 06DE: "scan" unsubscribing
Mar  5 13:42:46 raspberrypi tvheadend[2566]: mpegts: 11895V in Freesat - scan needs more time
Mar  5 13:42:47 raspberrypi tvheadend[2566]: mpegts: 682MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:42:47 raspberrypi tvheadend[2566]: subscription: 06E0: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "682MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:42:47 raspberrypi tvheadend[2566]: mpegts: 658MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:42:47 raspberrypi tvheadend[2566]: subscription: 06E1: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "658MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:42:52 raspberrypi tvheadend[2566]: mpegts: 658MHz in Freeview - scan needs more time
Mar  5 13:42:52 raspberrypi tvheadend[2566]: mpegts: 682MHz in Freeview - scan needs more time
Mar  5 13:42:54 raspberrypi tvheadend[2566]: mpegts: 11895V in Freesat scan complete
Mar  5 13:42:54 raspberrypi tvheadend[2566]: subscription: 06DF: "scan" unsubscribing
Mar  5 13:43:00 raspberrypi tvheadend[2566]: mpegts: 682MHz in Freeview scan complete
Mar  5 13:43:00 raspberrypi tvheadend[2566]: subscription: 06E0: "scan" unsubscribing
Mar  5 13:43:00 raspberrypi tvheadend[2566]: mpegts: 658MHz in Freeview scan complete
Mar  5 13:43:00 raspberrypi tvheadend[2566]: subscription: 06E1: "scan" unsubscribing
Mar  5 13:43:04 raspberrypi tvheadend[2566]: mpegts: 10935.5V in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:43:04 raspberrypi tvheadend[2566]: subscription: 06E2: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "10935.5V", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:43:10 raspberrypi tvheadend[2566]: mpegts: 754MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:43:10 raspberrypi tvheadend[2566]: subscription: 06E3: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "754MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:43:10 raspberrypi tvheadend[2566]: mpegts: 562MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:43:10 raspberrypi tvheadend[2566]: subscription: 06E4: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "562MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:43:14 raspberrypi tvheadend[2566]: mpegts: 10935.5V in Freesat - scan needs more time
Mar  5 13:43:15 raspberrypi tvheadend[2566]: mpegts: 562MHz in Freeview - scan needs more time
Mar  5 13:43:15 raspberrypi tvheadend[2566]: mpegts: 754MHz in Freeview - scan no data, failed
Mar  5 13:43:15 raspberrypi tvheadend[2566]: subscription: 06E3: "scan" unsubscribing
Mar  5 13:43:23 raspberrypi tvheadend[2566]: mpegts: 562MHz in Freeview scan complete
Mar  5 13:43:23 raspberrypi tvheadend[2566]: subscription: 06E4: "scan" unsubscribing
Mar  5 13:43:32 raspberrypi tvheadend[2566]: mpegts: 10935.5V in Freesat scan complete
Mar  5 13:43:32 raspberrypi tvheadend[2566]: subscription: 06E2: "scan" unsubscribing
Mar  5 13:43:33 raspberrypi tvheadend[2566]: mpegts: 690MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:43:33 raspberrypi tvheadend[2566]: subscription: 06E5: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "690MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:43:33 raspberrypi tvheadend[2566]: mpegts: 714MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:43:33 raspberrypi tvheadend[2566]: subscription: 06E6: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "714MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:43:38 raspberrypi tvheadend[2566]: mpegts: 714MHz in Freeview - scan needs more time
Mar  5 13:43:38 raspberrypi tvheadend[2566]: mpegts: 690MHz in Freeview - scan needs more time
Mar  5 13:43:42 raspberrypi tvheadend[2566]: mpegts: 12460.5H in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:43:42 raspberrypi tvheadend[2566]: subscription: 06E7: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "12460.5H", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:43:44 raspberrypi tvheadend[2566]: mpegts: 690MHz in Freeview scan complete
Mar  5 13:43:44 raspberrypi tvheadend[2566]: subscription: 06E5: "scan" unsubscribing
Mar  5 13:43:44 raspberrypi tvheadend[2566]: mpegts: 714MHz in Freeview scan complete
Mar  5 13:43:44 raspberrypi tvheadend[2566]: subscription: 06E6: "scan" unsubscribing
Mar  5 13:43:52 raspberrypi tvheadend[2566]: mpegts: 12460.5H in Freesat - scan needs more time
Mar  5 13:43:54 raspberrypi tvheadend[2566]: mpegts: 634MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:43:54 raspberrypi tvheadend[2566]: subscription: 06E8: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "634MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:43:54 raspberrypi tvheadend[2566]: mpegts: 722MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:43:54 raspberrypi tvheadend[2566]: subscription: 06E9: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "722MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:43:59 raspberrypi tvheadend[2566]: mpegts: 722MHz in Freeview - scan needs more time
Mar  5 13:43:59 raspberrypi tvheadend[2566]: mpegts: 634MHz in Freeview - scan complete
Mar  5 13:43:59 raspberrypi tvheadend[2566]: subscription: 06E8: "scan" unsubscribing
Mar  5 13:44:07 raspberrypi tvheadend[2566]: mpegts: 722MHz in Freeview scan complete
Mar  5 13:44:07 raspberrypi tvheadend[2566]: subscription: 06E9: "scan" unsubscribing
Mar  5 13:44:12 raspberrypi tvheadend[2566]: mpegts: 12460.5H in Freesat scan complete
Mar  5 13:44:12 raspberrypi tvheadend[2566]: subscription: 06E7: "scan" unsubscribing
Mar  5 13:44:17 raspberrypi tvheadend[2566]: mpegts: 682MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:44:17 raspberrypi tvheadend[2566]: subscription: 06EA: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "682MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:44:17 raspberrypi tvheadend[2566]: mpegts: 658MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:44:17 raspberrypi tvheadend[2566]: subscription: 06EB: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "658MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:44:22 raspberrypi tvheadend[2566]: mpegts: 658MHz in Freeview - scan needs more time
Mar  5 13:44:22 raspberrypi tvheadend[2566]: mpegts: 682MHz in Freeview - scan needs more time
Mar  5 13:44:22 raspberrypi tvheadend[2566]: mpegts: 11426H in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:44:22 raspberrypi tvheadend[2566]: subscription: 06EC: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "11426H", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:44:24 raspberrypi tvheadend[2566]: mpegts: 11426H in Freesat scan complete
Mar  5 13:44:24 raspberrypi tvheadend[2566]: subscription: 06EC: "scan" unsubscribing
Mar  5 13:44:30 raspberrypi tvheadend[2566]: mpegts: 682MHz in Freeview scan complete
Mar  5 13:44:30 raspberrypi tvheadend[2566]: subscription: 06EA: "scan" unsubscribing
Mar  5 13:44:30 raspberrypi tvheadend[2566]: mpegts: 658MHz in Freeview scan complete
Mar  5 13:44:30 raspberrypi tvheadend[2566]: subscription: 06EB: "scan" unsubscribing
Mar  5 13:44:34 raspberrypi tvheadend[2566]: mpegts: 12188H in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:44:34 raspberrypi tvheadend[2566]: subscription: 06ED: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "12188H", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:44:40 raspberrypi tvheadend[2566]: mpegts: 754MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:44:40 raspberrypi tvheadend[2566]: subscription: 06EE: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "754MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:44:40 raspberrypi tvheadend[2566]: mpegts: 562MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:44:40 raspberrypi tvheadend[2566]: subscription: 06EF: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "562MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:44:44 raspberrypi tvheadend[2566]: mpegts: 12188H in Freesat - scan needs more time
Mar  5 13:44:45 raspberrypi tvheadend[2566]: mpegts: 562MHz in Freeview - scan needs more time
Mar  5 13:44:45 raspberrypi tvheadend[2566]: mpegts: 754MHz in Freeview - scan no data, failed
Mar  5 13:44:45 raspberrypi tvheadend[2566]: subscription: 06EE: "scan" unsubscribing
Mar  5 13:44:53 raspberrypi tvheadend[2566]: mpegts: 562MHz in Freeview scan complete
Mar  5 13:44:53 raspberrypi tvheadend[2566]: subscription: 06EF: "scan" unsubscribing
Mar  5 13:45:02 raspberrypi tvheadend[2566]: mpegts: 12188H in Freesat scan complete
Mar  5 13:45:02 raspberrypi tvheadend[2566]: subscription: 06ED: "scan" unsubscribing
Mar  5 13:45:03 raspberrypi tvheadend[2566]: mpegts: 690MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:45:03 raspberrypi tvheadend[2566]: subscription: 06F0: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "690MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:45:03 raspberrypi tvheadend[2566]: mpegts: 714MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:45:03 raspberrypi tvheadend[2566]: subscription: 06F1: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "714MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:45:08 raspberrypi tvheadend[2566]: mpegts: 714MHz in Freeview - scan needs more time
Mar  5 13:45:08 raspberrypi tvheadend[2566]: mpegts: 690MHz in Freeview - scan needs more time
Mar  5 13:45:11 raspberrypi tvheadend[2566]: mpegts: 12266H in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:45:11 raspberrypi tvheadend[2566]: subscription: 06F2: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "12266H", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:45:14 raspberrypi tvheadend[2566]: mpegts: 690MHz in Freeview scan complete
Mar  5 13:45:14 raspberrypi tvheadend[2566]: subscription: 06F0: "scan" unsubscribing
Mar  5 13:45:14 raspberrypi tvheadend[2566]: mpegts: 714MHz in Freeview scan complete
Mar  5 13:45:14 raspberrypi tvheadend[2566]: subscription: 06F1: "scan" unsubscribing
Mar  5 13:45:21 raspberrypi tvheadend[2566]: mpegts: 12266H in Freesat - scan needs more time
Mar  5 13:45:24 raspberrypi tvheadend[2566]: mpegts: 634MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:45:24 raspberrypi tvheadend[2566]: subscription: 06F3: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "634MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:45:24 raspberrypi tvheadend[2566]: mpegts: 722MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:45:24 raspberrypi tvheadend[2566]: subscription: 06F4: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "722MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:45:29 raspberrypi tvheadend[2566]: mpegts: 722MHz in Freeview - scan needs more time
Mar  5 13:45:29 raspberrypi tvheadend[2566]: mpegts: 634MHz in Freeview - scan needs more time
Mar  5 13:45:35 raspberrypi tvheadend[2566]: mpegts: 634MHz in Freeview scan complete
Mar  5 13:45:35 raspberrypi tvheadend[2566]: subscription: 06F3: "scan" unsubscribing
Mar  5 13:45:37 raspberrypi tvheadend[2566]: mpegts: 722MHz in Freeview scan complete
Mar  5 13:45:37 raspberrypi tvheadend[2566]: subscription: 06F4: "scan" unsubscribing
Mar  5 13:45:37 raspberrypi tvheadend[2566]: mpegts: 12266H in Freesat scan complete
Mar  5 13:45:37 raspberrypi tvheadend[2566]: subscription: 06F2: "scan" unsubscribing
Mar  5 13:45:47 raspberrypi tvheadend[2566]: mpegts: 11740V in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:45:47 raspberrypi tvheadend[2566]: subscription: 06F5: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "11740V", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:45:47 raspberrypi tvheadend[2566]: mpegts: 682MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:45:47 raspberrypi tvheadend[2566]: subscription: 06F6: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "682MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:45:47 raspberrypi tvheadend[2566]: mpegts: 658MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:45:47 raspberrypi tvheadend[2566]: subscription: 06F7: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "658MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:45:52 raspberrypi tvheadend[2566]: mpegts: 658MHz in Freeview - scan needs more time
Mar  5 13:45:52 raspberrypi tvheadend[2566]: mpegts: 682MHz in Freeview - scan needs more time
Mar  5 13:45:57 raspberrypi tvheadend[2566]: mpegts: 11740V in Freesat - scan no data, failed
Mar  5 13:45:57 raspberrypi tvheadend[2566]: subscription: 06F5: "scan" unsubscribing
Mar  5 13:46:00 raspberrypi tvheadend[2566]: mpegts: 682MHz in Freeview scan complete
Mar  5 13:46:00 raspberrypi tvheadend[2566]: subscription: 06F6: "scan" unsubscribing
Mar  5 13:46:00 raspberrypi tvheadend[2566]: mpegts: 658MHz in Freeview scan complete
Mar  5 13:46:00 raspberrypi tvheadend[2566]: subscription: 06F7: "scan" unsubscribing
Mar  5 13:46:07 raspberrypi tvheadend[2566]: mpegts: 10862H in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:46:07 raspberrypi tvheadend[2566]: subscription: 06F8: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "10862H", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:46:10 raspberrypi tvheadend[2566]: mpegts: 754MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:46:10 raspberrypi tvheadend[2566]: subscription: 06F9: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "754MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:46:10 raspberrypi tvheadend[2566]: mpegts: 562MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:46:10 raspberrypi tvheadend[2566]: subscription: 06FA: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "562MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:46:15 raspberrypi tvheadend[2566]: mpegts: 562MHz in Freeview - scan needs more time
Mar  5 13:46:15 raspberrypi tvheadend[2566]: mpegts: 754MHz in Freeview - scan no data, failed
Mar  5 13:46:15 raspberrypi tvheadend[2566]: subscription: 06F9: "scan" unsubscribing
Mar  5 13:46:17 raspberrypi tvheadend[2566]: mpegts: 10862H in Freesat - scan no data, failed
Mar  5 13:46:17 raspberrypi tvheadend[2566]: subscription: 06F8: "scan" unsubscribing
Mar  5 13:46:23 raspberrypi tvheadend[2566]: mpegts: 562MHz in Freeview scan complete
Mar  5 13:46:23 raspberrypi tvheadend[2566]: subscription: 06FA: "scan" unsubscribing
Mar  5 13:46:27 raspberrypi tvheadend[2566]: mpegts: 12422H in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:46:27 raspberrypi tvheadend[2566]: subscription: 06FB: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "12422H", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:46:33 raspberrypi tvheadend[2566]: mpegts: 690MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:46:33 raspberrypi tvheadend[2566]: subscription: 06FC: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "690MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:46:33 raspberrypi tvheadend[2566]: mpegts: 714MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:46:33 raspberrypi tvheadend[2566]: subscription: 06FD: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "714MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:46:37 raspberrypi tvheadend[2566]: mpegts: 12422H in Freesat - scan no data, failed
Mar  5 13:46:37 raspberrypi tvheadend[2566]: subscription: 06FB: "scan" unsubscribing
Mar  5 13:46:38 raspberrypi tvheadend[2566]: mpegts: 714MHz in Freeview - scan needs more time
Mar  5 13:46:38 raspberrypi tvheadend[2566]: mpegts: 690MHz in Freeview - scan needs more time
Mar  5 13:46:44 raspberrypi tvheadend[2566]: mpegts: 690MHz in Freeview scan complete
Mar  5 13:46:44 raspberrypi tvheadend[2566]: subscription: 06FC: "scan" unsubscribing
Mar  5 13:46:44 raspberrypi tvheadend[2566]: mpegts: 714MHz in Freeview scan complete
Mar  5 13:46:44 raspberrypi tvheadend[2566]: subscription: 06FD: "scan" unsubscribing
Mar  5 13:46:47 raspberrypi tvheadend[2566]: mpegts: 12607H in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:46:47 raspberrypi tvheadend[2566]: subscription: 06FE: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "12607H", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:46:54 raspberrypi tvheadend[2566]: mpegts: 634MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:46:54 raspberrypi tvheadend[2566]: subscription: 06FF: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "634MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:46:54 raspberrypi tvheadend[2566]: mpegts: 722MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:46:54 raspberrypi tvheadend[2566]: subscription: 0700: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "722MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:46:57 raspberrypi tvheadend[2566]: mpegts: 12607H in Freesat - scan no data, failed
Mar  5 13:46:57 raspberrypi tvheadend[2566]: subscription: 06FE: "scan" unsubscribing
Mar  5 13:46:59 raspberrypi tvheadend[2566]: mpegts: 722MHz in Freeview - scan needs more time
Mar  5 13:46:59 raspberrypi tvheadend[2566]: mpegts: 634MHz in Freeview - scan complete
Mar  5 13:46:59 raspberrypi tvheadend[2566]: subscription: 06FF: "scan" unsubscribing
Mar  5 13:47:07 raspberrypi tvheadend[2566]: mpegts: 10921H in Freesat - tuning on Montage M88DS3103 : DVB-S #0
Mar  5 13:47:07 raspberrypi tvheadend[2566]: subscription: 0701: "scan" subscribing to mux, weight: 2, adapter: "Montage M88DS3103 : DVB-S #0", network: "Freesat", mux: "10921H", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:47:07 raspberrypi tvheadend[2566]: mpegts: 722MHz in Freeview scan complete
Mar  5 13:47:07 raspberrypi tvheadend[2566]: subscription: 0700: "scan" unsubscribing
Mar  5 13:47:17 raspberrypi tvheadend[2566]: mpegts: 682MHz in Freeview - tuning on Silicon Labs Si2168 : DVB-T #0
Mar  5 13:47:17 raspberrypi tvheadend[2566]: subscription: 0702: "scan" subscribing to mux, weight: 2, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "Freeview", mux: "682MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:47:17 raspberrypi tvheadend[2566]: mpegts: 658MHz in Freeview - tuning on Sony CXD2820R : DVB-T #0
Mar  5 13:47:17 raspberrypi tvheadend[2566]: subscription: 0703: "scan" subscribing to mux, weight: 2, adapter: "Sony CXD2820R : DVB-T #0", network: "Freeview", mux: "658MHz", hostname: "<N/A>", username: "<N/A>", client: "<N/A>" 
Mar  5 13:47:17 raspberrypi tvheadend[2566]: mpegts: 10921H in Freesat - scan needs more time
Mar  5 13:47:22 raspberrypi tvheadend[2566]: mpegts: 658MHz in Freeview - scan needs more time
Mar  5 13:47:22 raspberrypi tvheadend[2566]: mpegts: 682MHz in Freeview - scan needs more time
Mar  5 13:47:30 raspberrypi tvheadend[2566]: mpegts: 682MHz in Freeview scan complete
Mar  5 13:47:30 raspberrypi tvheadend[2566]: subscription: 0702: "scan" unsubscribing
Mar  5 13:47:31 raspberrypi tvheadend[2566]: linuxdvb: Sony CXD2820R : DVB-T #0 - FE_READ_STATUS error Remote I/O error
Mar  5 13:47:31 raspberrypi tvheadend[2566]: linuxdvb: Montage M88DS3103 : DVB-S #0 - FE_READ_STATUS error Remote I/O error
Mar  5 13:47:32 raspberrypi tvheadend[2566]: linuxdvb: Sony CXD2820R : DVB-T #0 - FE_READ_STATUS error Remote I/O error
Mar  5 13:47:32 raspberrypi tvheadend[2566]: linuxdvb: Montage M88DS3103 : DVB-S #0 - FE_READ_STATUS error Remote I/O error
Mar  5 13:47:33 raspberrypi tvheadend[2566]: linuxdvb: Sony CXD2820R : DVB-T #0 - FE_READ_STATUS error Remote I/O error
Mar  5 13:47:33 raspberrypi tvheadend[2566]: linuxdvb: Montage M88DS3103 : DVB-S #0 - FE_READ_STATUS error Remote I/O error
Mar  5 13:47:34 raspberrypi tvheadend[2566]: linuxdvb: Sony CXD2820R : DVB-T #0 - FE_READ_STATUS error Remote I/O error
Mar  5 13:47:34 raspberrypi tvheadend[2566]: linuxdvb: Montage M88DS3103 : DVB-S #0 - FE_READ_STATUS error Remote I/O error

RE: Raspberry Pi 2 Setup - Added by steve parry over 9 years ago

Update:

I tried my old raspberry pi 1 MODEL B. It crashes exactly the same.

Unless I'm building the source wrong, I think there may be a issue with the latest source on the raspberry pi.

Also I use the kernel updater I mentioned in my original post in order to make the RP1 to work.

RE: Raspberry Pi 2 Setup - Added by Stefan Schreffler over 9 years ago

That's funny, just yesterday I did the exact same thing with the same result. One thing I did find though, was that if I unplug the usb tuner but leave tvheadend running that it would run fine. Maybe that's just because without the tuner plugged in that there's something tvheadend isn't trying to do.

RE: Raspberry Pi 2 Setup - Added by Mark Clarkstone over 9 years ago

I saw your posts & installed Tvheadend (using Autobuild.sh) on my RPi2 with a Technisat Skystar USB HD & it's been running happily for over 20 hours now without any issue.

I used raspbian-ua-netinst which uses kernel 3.18 (3.18.0-trunk-rpi2 #1 SMP PREEMPT Debian 3.18.5-1~exp1+rpi15 (2015-03-07) armv7l GNU/Linux).

I could be wrong but I think those tuners (Si2168, CXD2820R) send the complete transport stream to tvheadend which can easily swamp the Pi's usb bus.

Does it still screw up when you only use one or two?

RE: Raspberry Pi 2 Setup - Added by steve parry over 9 years ago

Think I've fixed my issue. For some reason I had idle scan enable on all the adaptors.

Its been running for 2 days easy now.

My next problem is I cant run the Dvb-s and the dvb-t at the same time.

If I use both dvb-t adaptors at the same time and then use the dvb-s whilst the tvb-t are in use. the dvb-s picture is just a blur.
If I use the dvb-s then start using one of the dvb-t as the same time, the dvb-t is a blur

RE: Raspberry Pi 2 Setup - Added by Charles Orr over 9 years ago

Hi Steve
I've just followed your sequence of building the Pi2 TV server.
All was successful.
I tried running it before building the package and I could record and watch TV both in a browser window (Chrome) and the VLC plugin
However once I had built the package, filled in details of an administrator, I can no longer record or watch TV.
Everything is set up to go, channels scanned epg set up.
Log indicates 401 and 503 errors so its possibly a permission problem.
Is there something I've missed?
I would very much welcome any advice or help you can give me.
Chas

RE: Raspberry Pi 2 Setup - Added by steve parry over 9 years ago

Charles Orr wrote:

Hi Steve
I've just followed your sequence of building the Pi2 TV server.
All was successful.
I tried running it before building the package and I could record and watch TV both in a browser window (Chrome) and the VLC plugin
However once I had built the package, filled in details of an administrator, I can no longer record or watch TV.
Everything is set up to go, channels scanned epg set up.
Log indicates 401 and 503 errors so its possibly a permission problem.
Is there something I've missed?
I would very much welcome any advice or help you can give me.
Chas

Hey Chas,

Im assuming you installed the deb package? e.g.

dpkg -i tvheadend_3.9.xxxxxxxxx_armhf.deb (xxxx = whatever version you just built)

It sounds like the folders you have setup have the wrong permissions.
The default install folder is /home/hts/.hts
The folder location is defined in the web interface "Configuration > Digital Video Recorder Profiles > Recordings"

both folders need to be owned by the user "hts" and the group "hts" with both read and write access writes (the user needs execute too).

e.g. drwxr-xr-x hts  hts 

to change owner use
sudo chown -R hts.hts /home/hts

to change permissions
sudo chmod -R 775 /home/hts

then restart tvheadend
sudo service tvheadend restart

RE: Raspberry Pi 2 Setup - Added by Charles Orr over 9 years ago

Hi Steve,
Many thanks for that advice.
I did install the package.
I've tried all sorts of permission change on various folders and users but I stll cannot get it to work.
I'm currently running it using no verified access ie after compiling from source and running make install.
This works without any problems.
It will start and run in the background so I'm going to to turn it into a dedicated TV server and add another PC292e stick.
I've got it saving recordings to one of my network drives as well.
If anything else occurs to you, I'd be glad of any further advice.
Best regards
Chas

    (1-13/13)