HdHomerun + Ubuntu 11.10 + Tvheadend = not working
Added by Joshua Welch almost 13 years ago
I upgraded my system from 10.04 to 11.10 (so I could install the transcoding branch, which still wont compile) and now when I try and watch something I get this error in my debug:
Feb 05 22:01:49 htsp: Got connection from 127.0.0.1 Feb 05 22:01:49 htsp: 127.0.0.1: Welcomed client software: XBMC Media Center Feb 05 22:01:49 htsp: 127.0.0.1 [ XBMC Media Center ]: Identified as user oneadvent Feb 05 22:01:49 subscription: No transponder available for subscription "127.0.0.1 [ oneadvent | XBMC Media Center ]" to channel "WSRE3" Feb 05 22:01:53 htsp: 127.0.0.1 [ oneadvent | XBMC Media Center ]: Disconnected Feb 05 22:01:53 subscription: "127.0.0.1 [ oneadvent | XBMC Media Center ]" unsubscribing from "WSRE3"
I checked to see if everything was installed correctly and I still have the module listed here /etc/modules and I have both tuners here /etc/dvbhdhomerun. I see the two tuners in tvheadend but I can't use them:
Hardware Device path: Device name: Host connection: Frequency range: kHz - kHz, in steps of kHz Status Currently tuned to: Services: 18 Muxes: 5 Muxes awaiting initial scan: 5
I didn't change any of those things when I upgraded. I also checked logs:
oneadvent@XBMC:~$ dmesg | grep HDHomeRun [ 9.710779] HDHomeRun: Begin init, version 0.0.9 [ 9.710877] HDHomeRun: Waiting for userspace to connect [ 9.710880] HDHomeRun: End init [ 735.532073] DVB: registering new adapter (HDHomeRun) [ 735.559682] DVB: registering adapter 0 frontend 0 (HDHomeRun ATSC)... [ 735.559751] HDHomeRun0: DVB Frontend registered [ 735.559754] HDHomeRun0: Registered DVB adapter0 [ 735.559946] DVB: registering new adapter (HDHomeRun) [ 735.560211] DVB: registering adapter 1 frontend 0 (HDHomeRun ATSC)... [ 735.560258] HDHomeRun1: DVB Frontend registered [ 735.560260] HDHomeRun1: Registered DVB adapter1
Does anyone know where to go with this?
Replies (7)
RE: HdHomerun + Ubuntu 11.10 + Tvheadend = not working - Added by Alex . almost 13 years ago
Joshua Welch wrote:
I upgraded my system from 10.04 to 11.10 (so I could install the transcoding branch, which still wont compile) and now when I try and watch something I get this error in my debug:
[...]
I checked to see if everything was installed correctly and I still have the module listed here /etc/modules and I have both tuners here /etc/dvbhdhomerun. I see the two tuners in tvheadend but I can't use them:
Does anyone know where to go with this?
When upgrading your kernel, I think you need to recompile the dvbhomerun-kernel module since it is kernel specific. ( however, I do not use ubuntu so i am not sure if you upgraded your kernel). I think that even though you see the adapters the module might still need to be recompiled.
Alex.
RE: HdHomerun + Ubuntu 11.10 + Tvheadend = not working - Added by Joshua Welch almost 13 years ago
Alex. _ wrote:
Joshua Welch wrote:
I upgraded my system from 10.04 to 11.10 (so I could install the transcoding branch, which still wont compile) and now when I try and watch something I get this error in my debug:
[...]
I checked to see if everything was installed correctly and I still have the module listed here /etc/modules and I have both tuners here /etc/dvbhdhomerun. I see the two tuners in tvheadend but I can't use them:
Does anyone know where to go with this?When upgrading your kernel, I think you need to recompile the dvbhomerun-kernel module since it is kernel specific. ( however, I do not use ubuntu so i am not sure if you upgraded your kernel). I think that even though you see the adapters the module might still need to be recompiled.
Alex.
I think you hit the nail on the head:
oneadvent@XBMC:~$ sudo modprobe dvb_hdhomerun FATAL: Module dvb_hdhomerun not found.
I checked my kernel version:
oneadvent@XBMC:~$ uname -r 3.0.0-15-generic
And went to the site to reinstall them:
http://sourceforge.net/apps/trac/dvbhdhomerun/wiki/UbuntuPackages
but it doesn't seem to work. I still have my old kernels:
oneadvent@XBMC:~$ ls /boot/vmlinuz* /boot/vmlinuz-2.6.32-29-generic /boot/vmlinuz-2.6.38-13-generic /boot/vmlinuz-3.0.0-15-generic
but i'm not sure how to activate an older kernel.
Any help is appreciated.
RE: HdHomerun + Ubuntu 11.10 + Tvheadend = not working - Added by Villy Thomsen almost 13 years ago
If you've already installed the dvbhdhomerun Ubuntu packages (which it sound like you do) then all you have to do to manually rebuild for a new kernel is:
sudo dpkg-reconfigure dvbhdhomerun-dkms
After that, try the modprobe again.
A new kernel should automatically trigger the above - but I have seen fail once for myself too, also on Ubuntu 11.10 actually.
RE: HdHomerun + Ubuntu 11.10 + Tvheadend = not working - Added by Joshua Welch almost 13 years ago
Yea that did it. Only stuck at trying to get it all to start up at the same time. I have to
service dvbhdhomerun-utils start service tvheadend restart
when I start up.
RE: HdHomerun + Ubuntu 11.10 + Tvheadend = not working - Added by Alex . almost 13 years ago
Joshua Welch wrote:
Yea that did it. Only stuck at trying to get it all to start up at the same time. I have to
[...]when I start up.
Indeed, you do not want them to all startup at the same time. The numbers in the name of the service indicate the boot priority if I remember correctly ( at least on Debian, so probably on ubuntu?)
However, if dvbhdhomerun doesnt start automatically, it will always be later then tvheadend, making you restart tvheadend.
You can consider adding a startupscript for dvbhdhomerun and make it start first, or create a custom bash script that starts both in the right order with some time in between; Then add that script to startup at boot.
RE: HdHomerun + Ubuntu 11.10 + Tvheadend = not working - Added by Joshua Welch almost 13 years ago
Think I got it by putting (in rc.local):
service dvbhdhomerun-utils start sleep 60 && service tvheadend restart
Seems to work, slowly.
RE: HdHomerun + Ubuntu 11.10 + Tvheadend = not working - Added by Alex . almost 13 years ago
Joshua Welch wrote:
Think I got it by putting (in rc.local):
[...]
Seems to work, slowly.
That should do the same indeed.
Better is to remove tvheadend from the default runlevel so that it doesn't start initially ( now it starts twice, one start and one restart a minute or so later).
Then change 'tvheadend restart' to 'tvheadend start'
Alex.