Kodi Community Forum

Full Version: HOW-TO watch Live TV in XBMC for Linux with Tvheadend, the easy way!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

I dont know if im stupid or not. But when i follow the guide (Copy the three lines into terminal) on first page, and try to install on a new installation of ubuntu 10.04.3.

Then i only get xbmc installed and not the TVheadend.
There is no warnings in the installation and it seems to go through.

Am i doing something wrong?

Thanks! Nanab

Update:
I fixed it by installing the tvheadend first then using your script to install xbmc.
I have problems with one of my dvb card and tvheadend.
I use more dvb cards : TT S2-3650 - works very well with tvheadend and XBMC, but I have an TT CT-3650 card - this don't work.
I try to install with this drivers : v4l-dvb ( appear only dvb-c tuner), s2-liplianin (appear bouth tunners).
After I install this drivers dvb-c card look like this in dmesg :
Code:
root@ovi:~# dmesg | grep -i dvb
dvb-usb: found a 'Technotrend TT-connect CT-3650' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Technotrend TT-connect CT-3650)
DVB: registering adapter 0 frontend 0 (Philips TDA10023 DVB-C)...
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Technotrend TT-connect CT-3650)
DVB: registering adapter 1 frontend 0 (NXP TDA10048HN DVB-T)...
dvb-usb: Technotrend TT-connect CT-3650 successfully initialized and connected.
usbcore: registered new interface driver dvb_usb_ttusb2
All seems to be ok, but after I start tvheadend my dvb-c card crash :
Code:
root@ovi:~# dmesg | grep -i dvb
dvb-usb: found a 'Technotrend TT-connect CT-3650' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Technotrend TT-connect CT-3650)
DVB: registering adapter 0 frontend 0 (Philips TDA10023 DVB-C)...
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Technotrend TT-connect CT-3650)
DVB: registering adapter 1 frontend 0 (NXP TDA10048HN DVB-T)...
dvb-usb: Technotrend TT-connect CT-3650 successfully initialized and connected.
usbcore: registered new interface driver dvb_usb_ttusb2
tda10048_firmware_upload: waiting for firmware upload (dvb-fe-tda10048-1.0.fw)...
usb 1-1: firmware: requesting dvb-fe-tda10048-1.0.fw
dvb-usb: recv bulk message failed: -145
dvb-usb: bulk message failed: -145 (9/0)
dvb-usb: bulk message failed: -145 (8/0)
dvb-usb: bulk message failed: -145 (8/0)
dvb-usb: bulk message failed: -145 (9/0)
dvb-usb: bulk message failed: -145 (8/0)
dvb-usb: bulk message failed: -145 (9/0)
dvb-usb: bulk message failed: -145 (9/0)
dvb-usb: bulk message failed: -145 (21/0)
dvb-usb: bulk message failed: -145 (9/0)
dvb-usb: bulk message failed: -145 (9/0)
dvb-usb: bulk message failed: -145 (8/0)
DVB: TDA10023: tda10023_readreg: readreg error (reg 0x03, ret 0)
dvb-usb: bulk message failed: -145 (9/0)
DVB: TDA10023: tda10023_writereg, writereg error (reg 0x03, val 0x00, ret 0)
dvb-usb: bulk message failed: -145 (9/0)
DVB: TDA10023(0): tda10023_writereg, writereg error (reg 0x0a, val 0xed, ret 0)
dvb-usb: bulk message failed: -145 (9/0)
DVB: TDA10023: tda10023_writereg, writereg error (reg 0x0b, val 0x1b, ret 0)
dvb-usb: bulk message failed: -145 (9/0)
DVB: TDA10023(0): tda10023_writereg, writereg error (reg 0x0c, val 0x1e, ret 0)
dvb-usb: bulk message failed: -145 (9/0)
DVB: TDA10023: tda10023_writereg, writereg error (reg 0x0d, val 0x88, ret 0)
dvb-usb: bulk message failed: -145 (9/0)
DVB: TDA10023(0): tda10023_writereg, writereg error (reg 0x3d, val 0x00, ret 0)
dvb-usb: bulk message failed: -145 (9/0)
DVB: TDA10023: tda10023_writereg, writereg error (reg 0x05, val 0x46, ret 0)
dvb-usb: bulk message failed: -145 (9/0)
DVB: TDA10023(0): tda10023_writereg, writereg error (reg 0x08, val 0x43, ret 0)
root@ovi:~#

I use this cards on debian squeeze server, and xbmc on windows.
Please can you tell me what could be wrong ??

P.S. I found something strange ... when after I unload tda827x.ko module all errors disappear and dvb-c seems to works but 0 channels found.
Hi ovidiumarius,

I have the same Technotrend and use it on dvc-c without problems.
Note that this device also has a dvb-t functionality and a integrated CI.

below you see my output:
Code:
dmesg | grep -i dvb
dvb-usb: found a 'Technotrend TT-connect CT-3650' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Technotrend TT-connect CT-3650)
DVB: registering adapter 0 frontend 0 (Philips TDA10023 DVB-C)...
input: IR-receiver inside an USB DVB receiver as /class/input/input1
dvb-usb: schedule remote query interval to 500 msecs.
dvb-usb: Technotrend TT-connect CT-3650 successfully initialized and connected.
usbcore: registered new driver dvb_usb_ttusb2

note that you cannot use the internal CI and should not use the dvb-T part of the device.

regards,
Ruud.
ps. did you read the mail I sent you with the installation an patch instruction?
Ruud Wrote:Hi ovidiumarius,

I have the same Technotrend and use it on dvc-c without problems.
Note that this device also has a dvb-t functionality and a integrated CI.

below you see my output:
Code:
dmesg | grep -i dvb
dvb-usb: found a 'Technotrend TT-connect CT-3650' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Technotrend TT-connect CT-3650)
DVB: registering adapter 0 frontend 0 (Philips TDA10023 DVB-C)...
input: IR-receiver inside an USB DVB receiver as /class/input/input1
dvb-usb: schedule remote query interval to 500 msecs.
dvb-usb: Technotrend TT-connect CT-3650 successfully initialized and connected.
usbcore: registered new driver dvb_usb_ttusb2

note that you cannot use the internal CI and should not use the dvb-T part of the device.

regards,
Ruud.
ps. did you read the mail I sent you with the installation an patch instruction?

Thanks you very much, I receive your email and now I will test files.
I will post here the results.
Thanks again for all!
I applied this "ct3650Ci.diff" patch but still nothing.

After I reboot my server I got this :
Code:
root@gigabyte:~# dmesg | grep -i dvb
[    7.188280] dvb-usb: found a 'Technotrend TT-connect CT-3650' in warm state.
[    7.194114] dvb-usb: found a 'Technotrend TT Connect S2-3650-CI' in warm state.
[    7.194404] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[    7.195685] DVB: registering new adapter (Technotrend TT-connect CT-3650)
[    7.212332] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[    7.213336] DVB: registering new adapter (Technotrend TT Connect S2-3650-CI)
[    7.217348] dvb-usb: MAC address: 00:d0:5c:b7:98:c2
[    7.292921] DVB: registering adapter 0 frontend 0 (Philips TDA10023 DVB-C)...
[    7.353343] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[    7.353505] DVB: registering new adapter (Technotrend TT-connect CT-3650)
[    7.363141] DVB: registering adapter 1 frontend 0 (STB0899 Multistandard)...
[    7.414465] DVB: Unable to find symbol tda10048_attach()
[    7.414535] dvb-usb: no frontend was attached by 'Technotrend TT-connect CT-3650'
[    7.418311] dvb-usb: Technotrend TT-connect CT-3650 successfully initialized and connected.
[    7.418422] usbcore: registered new interface driver dvb_usb_ttusb2
[    7.421359] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:10.4/usb1/1-1/input/input4
[    7.421762] dvb-usb: schedule remote query interval to 500 msecs.
[    7.421789] dvb-usb: Technotrend TT Connect S2-3650-CI successfully initialized and connected.

In this log all seems to be ok TT s2-3650 - ok, TT ct-3650 - ok.
After I start tvheadend only TT s2-3650 is ok, TT ct-3650 give this error :
Code:
[  286.566229] DVB: TDA10023(0): tda10023_readreg: readreg error (reg == 0x03, ret == 0)
[  286.571381] DVB: TDA10023(0): tda10023_readreg: readreg error (reg == 0x04, ret == 0)
[  286.573515] DVB: TDA10023(0): tda10023_readreg: readreg error (reg == 0x11, ret == 0)

If I erase tda827x.ko, errors disappear but 0 channels scan.
As I say I use debian squeeze server with 2.6.32-5 kernel.

This is after I erase "tda827x.ko"module :
Code:
dmesg root@gigabyte:~# dmesg | grep -i dvb
[    7.191944] dvb-usb: found a 'Technotrend TT-connect CT-3650' in warm state.
[    7.192388] dvb-usb: found a 'Technotrend TT Connect S2-3650-CI' in warm state.
[    7.196496] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[    7.197325] DVB: registering new adapter (Technotrend TT-connect CT-3650)
[    7.207075] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[    7.207392] DVB: registering new adapter (Technotrend TT Connect S2-3650-CI)
[    7.211031] dvb-usb: MAC address: 00:d0:5c:b7:98:c2
[    7.314871] DVB: registering adapter 0 frontend 0 (Philips TDA10023 DVB-C)...
[    7.338750] DVB: Unable to find symbol tda827x_attach()
[    7.338880] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[    7.339085] DVB: registering new adapter (Technotrend TT-connect CT-3650)
[    7.389353] DVB: Unable to find symbol tda10048_attach()
[    7.389424] dvb-usb: no frontend was attached by 'Technotrend TT-connect CT-3650'
[    7.395141] dvb-usb: Technotrend TT-connect CT-3650 successfully initialized and connected.
[    7.395228] usbcore: registered new interface driver dvb_usb_ttusb2
[    7.402673] DVB: registering adapter 1 frontend 0 (STB0899 Multistandard)...
[    7.426793] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:10.4/usb1/1-1/input/input4
[    7.427193] dvb-usb: schedule remote query interval to 500 msecs.
[    7.427220] dvb-usb: Technotrend TT Connect S2-3650-CI successfully initialized and connected.

But as I say 0 channels found after scan.
Hasu0bs Wrote:can anyone tell me how to update to newer builds? I tried
apt-get update and then
apt-get upgrade
like usual but that did only update tvheadend not xbmc...

I would also appreciate a bit help here. I tried removing xbmc before running the script, but no luck. It's still fetching the August build.

Code:
Get:1 http://packages.pulse-eight.net karmic/stable xbmc-bin 2:11.0-pvr+p8~git20110812.5c6848a-0ubuntu1~stable46~karmic [10.4MB]
Get:2 http://packages.pulse-eight.net karmic/stable xbmc 2:11.0-pvr+p8~git20110812.5c6848a-0ubuntu1~stable46~karmic [23.2MB]

I also had to remove the "libcec" part from the script, because I got error
Code:
E: Couldn't find package libcec

I'm obviously running Karmic, is there a need to upgrade?
yes, karmic is no longer supported.
Hi Dushmaniac,
yesterday did a aptitude -upgrade / safe-update
The process was complaining that the xbmc packages were from an untrusted source.
This was the first time I got these messages, a few days earlier (i believe it was the 20111111 update) there were no untrusted messages.

This worries me Rolleyes

Is there a reason / has something changed?
thanks for your ongoing development on this version: highly (and daily) appreciated Big Grin
regards,
Ruud.
there was a problem with the webserver that refused to serve some files and serve 404s instead.

a work around is in place and it'll be fixed properly this evening.
Thanks for the info Smile

btw, what ever happened to the announcement of the updates and changes in them? Cannot find the also not on the pulse site?

Thanks,
Ruud.
lack of time is what happened to them Smile
I'll do proper announcements again when things settle down a bit.
masej Wrote:When inside live-tv watching a channel and then jump into video library the play button dont seem to work.

DEBUG: OnKey: 234 (ea) pressed, action is Play

But movie wont start... it keeps streaming the tv channel. If I pres stop then the Play button works.

Is this a known bug?

Running XBMC PRE-11.0
Anyone having the same problemHuh
I wonder why I cant transfer my XML folder to the /bin folder at my OpenELEC machine?
My computer shows that I have read & write permissions to the folder. When I look in the /bin folder at my OpenELEC machine via Cyberduck SSH it shows that I have permission 775 read & write. Any idea´s? The transfer via Cyberduck failes to complete the transfer.

I hope there is a simple soultion to the problem, as I suck at the terminal.
I believe this is not the right topic for openelec questions so please ask in the openelec forums or openelec thread here in xbmc forums.
Openelec has an read only file system so you cannot transfer files to the core system. You can transfer files into /storage directory if you want.
I've set up a fresh installation of Ubuntu Minimal, XBMC PVR, with tvheadend and oscam. I'm currently using the XBMC PVR branch, but I'd like to use the XBMC Expirimental branch to get updates more regularly.

Secondly... It does not seem to be possible to record from XBMC on TVheadend. When I try to I get a error referring to the backend log. Recording from the webinterface works fine.
After some troubles I've figured out how to configure oscam and tvheadend to play all my Ziggo channels. Using a Anysee E30C Plus receiver and separate card reader (since the Anysee cardreader doesn't seem to be supported by the linux kernel yet). This wasn't easy but it's working now Smile.

I can't record, I can't timeshift which must be the reason why I can't pause the TV stream. I can't stream the TV signal via the web interface (results in a error).
Unfortunately MythTV doesn't support softcam usage (as far as I've been able to figure out). Otherwise that would probably be the better option for me.

Maybe someone has some answers for me, since I'm new to using XBMC as a PVR solution... Smile ?

- TVheadend does not always start playing the requested channel. It seems to keep trying but playback never starts (sometimes). Is there any way I can make this functionality more reliable?
- Would it be possible to install some addon's in XBMC from the expirimental ppa to support TVheadend the same way the PVR branch does and if so, where can I find them?
- Can anyone tell me what could be causing the error in XBMC that prevents recording from the XBMC interface?
- Is there any way to enable time-shift or are there plans to add this feature in the near future?
- Will tvheadend be able to record two channels with one tuner in the near future (like MythTV can)?
- What can I do to allow streaming TV via the web interface?

Worst case scenario I would be willing to go and use XBMC for Windows combined with the MediaPortal TV-server (beautiful piece of software). Which would mean installing windows for the first time in 6 years. This would not be my first choice but it might render the hardware investments useful. Would it be possible to use the MediaPortal PVR client for XBMC in Windows and if so, where can I get it?