April 30, 201511 yr Do you remember that script I sent you? https://gist.github.com/gfjardim/c18d782c3e9aa30837ff So, I did steps 1, 2, 3, 3.1 (and selected the Multimidia Tree), 3.2 and 3.3. Stopped the script here. The rest is pretty much what you did. mkdir TBS cd TBS wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v150429.zip unzip tbs-linux-drivers_v150429.zip tar jxf linux-tbs-drivers.tar.bz2 cd linux-tbs-drivers ./v4l/tbs-x86_64.sh make -j $(nproc) make install After that, I started the script again and did the steps 4, 4.1 and 4.3. Then copied the result files using steps 5 and 6. So sorry to bother you again, but managed the first bit (I was in /boot/script/ and when I got to compiling the tbs drivers I was trying to do that in /boot/script/tbs/... but when I came to make j4 I get a load of errors due to not being able to create symbolic links. Where are you placing the script and running everything from?
April 30, 201511 yr Do you remember that script I sent you? https://gist.github.com/gfjardim/c18d782c3e9aa30837ff So, I did steps 1, 2, 3, 3.1 (and selected the Multimidia Tree), 3.2 and 3.3. Stopped the script here. The rest is pretty much what you did. mkdir TBS cd TBS wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v150429.zip unzip tbs-linux-drivers_v150429.zip tar jxf linux-tbs-drivers.tar.bz2 cd linux-tbs-drivers ./v4l/tbs-x86_64.sh make -j $(nproc) make install After that, I started the script again and did the steps 4, 4.1 and 4.3. Then copied the result files using steps 5 and 6. So sorry to bother you again, but managed the first bit (I was in /boot/script/ and when I got to compiling the tbs drivers I was trying to do that in /boot/script/tbs/... but when I came to make j4 I get a load of errors due to not being able to create symbolic links. Where are you placing the script and running everything from? You can't use it from a vfat formatted disk. You can use a array or cache disk, for an example.
April 30, 201511 yr Do you remember that script I sent you? https://gist.github.com/gfjardim/c18d782c3e9aa30837ff So, I did steps 1, 2, 3, 3.1 (and selected the Multimidia Tree), 3.2 and 3.3. Stopped the script here. The rest is pretty much what you did. mkdir TBS cd TBS wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v150429.zip unzip tbs-linux-drivers_v150429.zip tar jxf linux-tbs-drivers.tar.bz2 cd linux-tbs-drivers ./v4l/tbs-x86_64.sh make -j $(nproc) make install After that, I started the script again and did the steps 4, 4.1 and 4.3. Then copied the result files using steps 5 and 6. So sorry to bother you again, but managed the first bit (I was in /boot/script/ and when I got to compiling the tbs drivers I was trying to do that in /boot/script/tbs/... but when I came to make j4 I get a load of errors due to not being able to create symbolic links. Where are you placing the script and running everything from? You can't use it from a vfat formatted disk. You can use a array or cache disk, for an example. You know, in the deepest parts of my memory, I knew that
May 5, 201511 yr You can't use it from a vfat formatted disk. You can use a array or cache disk, for an example. Sorry to bother you again gfjardim, I'm still experimenting with the script when I get time, trying to run it from /mnt/cache/.unraid/ and I just keep getting -bash: .build.sh: Permission denied Tried chmod +x build.sh Which gives me -bash: ./build.sh: /bin/bash^M: bad interpreter: No such file or directory Any idea what I'm doing wrong? EDIT: I can run the script from /boot but as that's a FAT drive I encounter problems with symlinks
May 5, 201511 yr That normally happens when you edited a shellscript with an Windows Editor and that messed up the linebreaks. You have to convert the linebreaks from DOS to Linux maybe wih notepad++.
May 5, 201511 yr -bash: ./build.sh: /bin/bash^M: bad interpreter: No such file or directory Any idea what I'm doing wrong? You saved the script with windows line endings. Try downloading directly: wget https://gist.githubusercontent.com/gfjardim/c18d782c3e9aa30837ff/raw/2eb2e21c833d69393c3aafcd80a8fb69d865d5b6/build.sh -O build.sh
May 5, 201511 yr That normally happens when you edited a shellscript with an Windows Editor and that messed up the linebreaks. You have to convert the linebreaks from DOS to Linux maybe wih notepad++. -bash: ./build.sh: /bin/bash^M: bad interpreter: No such file or directory Any idea what I'm doing wrong? You saved the script with windows line endings. Try downloading directly: wget https://gist.githubusercontent.com/gfjardim/c18d782c3e9aa30837ff/raw/2eb2e21c833d69393c3aafcd80a8fb69d865d5b6/build.sh -O build.sh I did copy and paste into Notepad++ but saved it as a Unix Script File, hmmm, notepad++ normally works ok, Tried it with wget - same error!? -bash: .build.sh: Permission denied
May 5, 201511 yr OK tried it with wget as in my last post,still got error, then tried chmod +x build.sh And success!
May 12, 201511 yr I'm having a minor issue with channel switching at the moment. It takes about 30 seconds for a channel to start playing on Kodi through TVHeadend. I'm using the TVheadend plugin through Unraid 14b with the "unRAID beta14b - media tree - kernel generic". My device is a Digital Devices Cine S2. Does anybody have any idea how I could find out what is causing this?
May 13, 201511 yr I'm having a minor issue with channel switching at the moment. It takes about 30 seconds for a channel to start playing on Kodi through TVHeadend. I'm using the TVheadend plugin through Unraid 14b with the "unRAID beta14b - media tree - kernel generic". My device is a Digital Devices Cine S2. Does anybody have any idea how I could find out what is causing this? Have you tried the docker of tvheadend? Is it a new phenomenon? And if you fancy doing some testing, I posted som Beta 15 media tree files here, I'd be interested to know if they work
May 13, 201511 yr Hi Bailing me out again! I tried the docker, but could only get 1 of my digital devices tuners to show in the devices list. I don't have much hair left, so gave up on that! I tried your Beta 15 media tree files and they initially seemed to work fine. But, then I noticed that the devices list would report failures and be very slow in picking the tuners, if any at all. I switched back to 14b. The slow channel switching started after using the beta 15 files. I did a fresh install of Unraid on my USB with the 14b media tree and then transferred the TVheadend config over to save doing the setup again. No joy, I've still got the Wife moaning about slow channel switching.....
May 13, 201511 yr Have you tried to play channels through the webinterface internal player? Does it happen on both free channels and scrambled?
May 13, 201511 yr Hi Saarg I tried it through the webinterface and the delay is longer than through kodi when playing a channel. It also asks me for the log in details 3 or 4 times. It happens on free channels. I do not use any scrambled channels, just freesat.
May 13, 201511 yr Tvheadend asks you for the log? Have you tried experimenting with the settings for you DVB card in DVB Adapters? What goes on in Status stream when you start a channel? A screenshot would be nice Can you also push the button in the bottom right corner with two arrows so you see the log? There might be some interesting stuff there. When did you card work correctly last time in Unraid?
May 14, 201511 yr Hi Bailing me out again! I tried the docker, but could only get 1 of my digital devices tuners to show in the devices list. I don't have much hair left, so gave up on that! I tried your Beta 15 media tree files and they initially seemed to work fine. But, then I noticed that the devices list would report failures and be very slow in picking the tuners, if any at all. I switched back to 14b. The slow channel switching started after using the beta 15 files. I did a fresh install of Unraid on my USB with the 14b media tree and then transferred the TVheadend config over to save doing the setup again. No joy, I've still got the Wife moaning about slow channel switching..... I've posted a reply over here to stop this thread from going too off topic (granted I've filled it with a load of my attempts at compiling )
May 18, 201511 yr i will make new image rc2 or rc3 (becuase rc2 still is little bugy) I'm going to try but I think it's fair to say I haven't quite got the hang of it. I'd love it if you explained how you go about using the TBS drivers, and CrazyCat.
May 18, 201511 yr Here's RC2 with the media stuff and DVB drivers in the kernel enabled. I'd be grateful if someone tested it as I don't have a compatible tv card. EDIT: Monkeyair has kindly tested and confirmed these are working. Bzimage Bzroot
May 18, 201511 yr Do you remember that script I sent you? https://gist.github.com/gfjardim/c18d782c3e9aa30837ff So, I did steps 1, 2, 3, 3.1 (and selected the Multimidia Tree), 3.2 and 3.3. Stopped the script here. The rest is pretty much what you did. mkdir TBS cd TBS wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v150429.zip unzip tbs-linux-drivers_v150429.zip tar jxf linux-tbs-drivers.tar.bz2 cd linux-tbs-drivers ./v4l/tbs-x86_64.sh make -j $(nproc) make install After that, I started the script again and did the steps 4, 4.1 and 4.3. Then copied the result files using steps 5 and 6. OK, sorry to bother you again but I'm having real problems trying to get the TBS drivers incorporated. Here's my steps. I have build.sh in /mnt/cache/.unraid/ and have edited Line 79 to read (now we're on version 4 kernel) LINK="https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL}.tar.xz" Run the script cd /mnt/cache/.unraid/ build.sh 1) Do you want to clean directories?" y 2) Do you want to install build dependencies?" Y 3) Do you want to download and extract the Linux kernel? Y 3.1) Do you want to run Menu Config ? Y I then make sure everything under Multimedia Support & Sound Card Suppport is selected - This is what I have done to get a media build without TBS drivers - confirmed as working by Monkeyair. configuration written to .config 3.2) Do you want to compile the Linux kernel? Y 3.3) Do you want to install Linux kernel modules? Y I then open a new instance of putty (leaving the script waiting for the answer to 4) NB: The install process for TBS seems to now include a installer.sh script. cd /mnt/cache/.unraid/ mkdir TBS cd TBS wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v150429.zip unzip tbs-linux-drivers_v150429.zip tar jxf linux-tbs-drivers.tar.bz2 cd linux-tbs-drivers chmod +x installer.sh installer.sh I get the message Installing firmwares at /lib/firmware: vicam/firmware.fw dabusb/firmware.fw dabusb/bitstream.bin ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin I then start the script again 1) Do you want to clean directories? N 2) Do you want to install build dependencies? N 3) Do you want to download and extract the Linux kernel? N 3.1) Do you want to run Menu Config ? N 3.2) Do you want to compile the Linux kernel? N 3.3) Do you want to install Linux kernel modules? Y 4) Do you want to extract BZROOT Y 4.1) Do you want to slipstream compiled modules? Y 4.2) Do you want to install packages from /boot/extra ? N 4.3) Do you want to compress bzroot?" Y 5) Do you want to copy bzroot to/boot/bzroot-new? Y 6) Do you want to copy bzimage to /boot/bzimage-new? Y But when I rename bzroot and bzimage and then reboot. No TBS drivers. I've tried a fair few permutations of your instructions but don't seem to be getting anywhere and I'd really appreciate your time looking over this post to see where I'm going wrong. Thanks EDIT: I know at some point I need to copy the TBS modules/drivers across, the penny finally dropped, just need to work out from where to where...
May 18, 201511 yr CHBMB, after you compile the TBS drivers, you see anything in this directory? /lib/modules/4.0.2-unRAID/kernel/drivers/media/dvb/
May 18, 201511 yr CHBMB, after you compile the TBS drivers, you see anything in this directory? /lib/modules/4.0.2-unRAID/kernel/drivers/media/dvb/ Yep, found that, so guess I need to copy that somewhere at some point right?
May 18, 201511 yr CHBMB, after you compile the TBS drivers, you see anything in this directory? /lib/modules/4.0.2-unRAID/kernel/drivers/media/dvb/ Yep, found that, so guess I need to copy that somewhere at some point right? Should be on step 4.1.
May 18, 201511 yr CHBMB, after you compile the TBS drivers, you see anything in this directory? /lib/modules/4.0.2-unRAID/kernel/drivers/media/dvb/ Yep, found that, so guess I need to copy that somewhere at some point right? Should be on step 4.1. Hmmm. Maybe I'm doing something wrong I can see the TBS drivers but after step 4.1 they aren't present either in the source or target directories.
May 18, 201511 yr CHBMB, after you compile the TBS drivers, you see anything in this directory? /lib/modules/4.0.2-unRAID/kernel/drivers/media/dvb/ Yep, found that, so guess I need to copy that somewhere at some point right? Should be on step 4.1. Once I have run the installer.sh script I find this (my card is the one I've outlined) Then run the build.sh script again.. Once I get to 4.1 I answer yes but the files don't seem to make it across. Tried copying them to the decompressed bzroot directory and that seemed to work in so far that the contents of /lib/modules/4.0.2-unRAID/kernel/drivers/media/dvb/ looked correct but my card isn't visible in /dev/dvb so I think it's fair to say I'm stuck and out of ideas..
May 18, 201511 yr Author I'm using rsync to copy dvb modules, did you also copy firmwares from TBS ??
Archived
This topic is now archived and is closed to further replies.