Project

General

Profile

RPI Install best practice

Added by Scooby Juna over 7 years ago

Greetings all,

New to Linux and TVHE but thirsty to learn - all help is appreciated

I want to setup a TVHE backend on an RPI3
I have found a few tutorials - many of them differ in their approach on distribution

Am I correct in thinking that Raspbian Jessie Lite would be the way to go?

If it has any bearing on the answer, I would be using a TBS 5520SE USB tuner
https://tbs-technology.de/produkte/dvb/5520-se-single-tuner/?lang=en

Which TBS provides instructions for Linux drivers here:
https://github.com/tbsdtv/linux_media/wiki

Many thanks

Scoobs :)


Replies (10)

RE: RPI Install best practice - Added by Mark Clarkstone over 7 years ago

Sohail Juna wrote:

Greetings all,

New to Linux and TVHE but thirsty to learn - all help is appreciated

I want to setup a TVHE backend on an RPI3
I have found a few tutorials - many of them differ in their approach on distribution

Am I correct in thinking that Raspbian Jessie Lite would be the way to go?

That's fine.

If it has any bearing on the answer, I would be using a TBS 5520SE USB tuner
https://tbs-technology.de/produkte/dvb/5520-se-single-tuner/?lang=en

Which TBS provides instructions for Linux drivers here:
https://github.com/tbsdtv/linux_media/wiki

It should work fine, but you'll have to make sure your install includes kernel headers/source. This post shows how to install them.

The only trouble you're going to have is installing Tvheadend. You can either build it yourself or use my deb packages from here:

https://transfer.sh/dMiTj/tvheadend_4.1-2533~g80c52b2_armhf.deb
https://transfer.sh/CzIG6/tvheadend-dbg_4.1-2533~g80c52b2_armhf.deb

Many thanks

Scoobs :)

RE: RPI Install best practice - Added by Scooby Juna over 7 years ago

Hi Mark,

Thank you very much for your answers, really helpful.

I'll get started and try and avoid asking too many questions that I can find the answers for myself - but could you tell me whether I need both .deb files from your packages - or one or the other?

Thanks

S

RE: RPI Install best practice - Added by Mark Clarkstone over 7 years ago

Sohail Juna wrote:

Hi Mark,

Thank you very much for your answers, really helpful.

I'll get started and try and avoid asking too many questions

Don't worry about asking questions, go ahead and ask.

that I can find the answers for myself - but could you tell me whether I need both .deb files from your packages - or one or the other?

One is generally all you need, the dbg is for debugging. Installing both won't affect usage, it just outputs more info on a crash :p

Thanks

S

RE: RPI Install best practice - Added by Scooby Juna over 7 years ago

Very kind of you sir, thank you.

Here is my progress so far:

Using Win32 Disk Imager wrote the Raspbian Jesse Lite image from https://www.raspberrypi.org/downloads/raspbian/
Boooted Pi
Logged in: pi raspberry
#Get the headers as per thread
sudo apt-get install raspberrypi-kernel-headers (Completed without error)

#Get root access
sudo passwd root
Set root password
Login as root

#Now enable git commands:
apt-get install git git-core (Completed without error)

#Now grab the TBS drivers as per website:
git clone https://github.com/tbsdtv/media_build.git
git clone --depth=1 https://github.com/tbsdtv/linux_media.git b latest ./media
cd media_build
make dir DIR=../media -
This is where I am stuck - am I supposed to use some syntax specific to my setup

(e.g. make dir DIR=/root/media_build/media)

Thanks

S

RE: RPI Install best practice - Added by Mark Clarkstone over 7 years ago

Scooby Juna wrote:

Very kind of you sir, thank you.

Here is my progress so far:

Using Win32 Disk Imager wrote the Raspbian Jesse Lite image from https://www.raspberrypi.org/downloads/raspbian/
Boooted Pi
Logged in: pi raspberry
#Get the headers as per thread
sudo apt-get install raspberrypi-kernel-headers (Completed without error)

#Get root access
sudo passwd root
Set root password
Login as root

#Now enable git commands:
apt-get install git git-core (Completed without error)

#Now grab the TBS drivers as per website:
git clone https://github.com/tbsdtv/media_build.git
git clone --depth=1 https://github.com/tbsdtv/linux_media.git b latest ./media
cd media_build
make dir DIR=../media -
This is where I am stuck - am I supposed to use some syntax specific to my setup

(e.g. make dir DIR=/root/media_build/media)

Thanks

You can use the direct path yes, if it's error-ing out, what's the error?

S

RE: RPI Install best practice - Added by Scooby Juna over 7 years ago

It gives me an error:

make -c linux/dir DIR="../"
make1 Entering directory '/root/media_build/linux'
/bin/sh: 1: lsdff: not found
makefile:129 recipe for target 'dir' failed

My understanding of these steps
git clone https://github.com/tbsdtv/media_build.git
git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media
cd media_build
make dir DIR=../media

Grabs the git file
unpacks to folder "media"
Go into the folder "media_build"

Now it wants me to make a new directory on my SDCARD called media?

Sorry - showing my lack of linux knowledge here!

RE: RPI Install best practice - Added by Scooby Juna over 7 years ago

I think this might eat up too much time for me - if you can recommend anyone who might be happy to help me do a remote install for a donation let me know - otherwise I might need to stick to Windows!

Many thanks

Scoobs

RE: RPI Install best practice - Added by Mark Clarkstone over 7 years ago

Scooby Juna wrote:

I think this might eat up too much time for me - if you can recommend anyone who might be happy to help me do a remote install for a donation let me know - otherwise I might need to stick to Windows!

Many thanks

Scoobs

sudo apt-get install patchutils & try again =D

You may find it faster to join the IRC channel #hts on freenode.. https://kiwiirc.com/client/chat.freenode.net/?nick=tvh_help|?#hts

RE: RPI Install best practice - Added by Hiro Protagonist over 7 years ago

Scooby Juna wrote:

#Get root access
sudo passwd root
Set root password
Login as root

There's no need to do this sort of thing as root. You're better off [and typos will be less fatal] doing this as a normal user.

RE: RPI Install best practice - Added by Mark Clarkstone over 7 years ago

Hiro Protagonist wrote:

Scooby Juna wrote:

#Get root access
sudo passwd root
Set root password
Login as root

There's no need to do this sort of thing as root. You're better off [and typos will be less fatal] doing this as a normal user.

Hiro, I actually did a teamviewer session with him. It went swimmingly until the TBS drivers kept throwing a null pointer deference when he plugged the tuner in. Seems they don't support ARM at all..

    (1-10/10)