2014-03-18, 12:37
Anyone here manage to get TVHeadend working with a HDHomerun on DSM 5?
insmod: can't insert '/opt/dvb_native/dvb-core.ko': File exists
insmod: can't insert '/opt/dvb_native/dvb_hdhomerun_core.ko': File exists
insmod: can't insert '/opt/dvb_native/dvb_hdhomerun.ko': File exists
insmod: can't insert '/opt/dvb_native/dvb_hdhomerun_fe.ko': File exists
making node hdhomerun_control 57
mknod: `/dev/hdhomerun_control': File exists
./start_homerun.txt: line 30: /opt/dvbhdhomerun/userhdhomerun/build/userhdhomerun: not found
Creating DVB device nodes to major device #212...
cut: /sys/class/dvb/dvb0.frontend0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb0.demux0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb0.dvr0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb1.frontend0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb1.demux0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb1.dvr0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb2.frontend0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb2.demux0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb2.dvr0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb3.frontend0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb3.demux0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb3.dvr0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
# Load Core modules
#
insmod /opt/dvb_native/dvb-core.ko
insmod /opt/dvb_native/dvb_hdhomerun_core.ko
#
# Load BE & FE modules
#
insmod /opt/dvb_native/dvb_hdhomerun.ko
insmod /opt/dvb_native/dvb_hdhomerun_fe.ko
#
#lsmod to check if everything is running
#grep -i dvb /proc/devices
#
DYNAMIC_ID=$(grep hdhomerun_control /proc/misc | awk "{print \$1}")
if [ "$DYNAMIC_ID" != "" ]; then
echo "making node hdhomerun_control" $DYNAMIC_ID
mknod /dev/hdhomerun_control c 10 $DYNAMIC_ID
else
echo "Unable to detect hdhomerun_control inside /proc/misc."
fi
# Set permissions
chmod 666 /dev/hdhomerun_control
chown root:root /dev/hdhomerun_control
#
# Clear userhdhomerun log
rm -f "/opt/dvbhdhomerun/dvbhdhomerun.log"
#
# Run userhdhomerun with LD_PRELOAD
/opt/dvbhdhomerun/userhdhomerun/build/userhdhomerun \
-f -u root -g root -l "/opt/dvbhdhomerun/dvbhdhomerun.log"
#
sleep 1
#
# Retrieve the major device number for DVB
# (normally it should be 212)
DYNAMIC_ID=$(grep DVB /proc/devices | awk "{print \$1}")
if [ "$DYNAMIC_ID" != "" ]; then
echo "Creating DVB device nodes to major device #$DYNAMIC_ID..."
# Create device nodes for DVB
mkdir -p /dev/dvb/adapter0
DYNAMIC_ID2=$(cut -f2 -d':' /sys/class/dvb/dvb0.frontend0/dev)
mknod /dev/dvb/adapter0/frontend0 c $DYNAMIC_ID $DYNAMIC_ID2
DYNAMIC_ID2=$(cut -f2 -d':' /sys/class/dvb/dvb0.demux0/dev)
mknod /dev/dvb/adapter0/demux0 c $DYNAMIC_ID $DYNAMIC_ID2
DYNAMIC_ID2=$(cut -f2 -d':' /sys/class/dvb/dvb0.dvr0/dev)
mknod /dev/dvb/adapter0/dvr0 c $DYNAMIC_ID $DYNAMIC_ID2
mkdir -p /dev/dvb/adapter1
DYNAMIC_ID2=$(cut -f2 -d':' /sys/class/dvb/dvb1.frontend0/dev)
mknod /dev/dvb/adapter1/frontend0 c $DYNAMIC_ID $DYNAMIC_ID2
DYNAMIC_ID2=$(cut -f2 -d':' /sys/class/dvb/dvb1.demux0/dev)
mknod /dev/dvb/adapter1/demux0 c $DYNAMIC_ID $DYNAMIC_ID2
DYNAMIC_ID2=$(cut -f2 -d':' /sys/class/dvb/dvb1.dvr0/dev)
mknod /dev/dvb/adapter1/dvr0 c $DYNAMIC_ID $DYNAMIC_ID2
mkdir -p /dev/dvb/adapter2
DYNAMIC_ID2=$(cut -f2 -d':' /sys/class/dvb/dvb2.frontend0/dev)
mknod /dev/dvb/adapter2/frontend0 c $DYNAMIC_ID $DYNAMIC_ID2
DYNAMIC_ID2=$(cut -f2 -d':' /sys/class/dvb/dvb2.demux0/dev)
mknod /dev/dvb/adapter2/demux0 c $DYNAMIC_ID $DYNAMIC_ID2
DYNAMIC_ID2=$(cut -f2 -d':' /sys/class/dvb/dvb2.dvr0/dev)
mknod /dev/dvb/adapter2/dvr0 c $DYNAMIC_ID $DYNAMIC_ID2
mkdir -p /dev/dvb/adapter3
DYNAMIC_ID2=$(cut -f2 -d':' /sys/class/dvb/dvb3.frontend0/dev)
mknod /dev/dvb/adapter3/frontend0 c $DYNAMIC_ID $DYNAMIC_ID2
DYNAMIC_ID2=$(cut -f2 -d':' /sys/class/dvb/dvb3.demux0/dev)
mknod /dev/dvb/adapter3/demux0 c $DYNAMIC_ID $DYNAMIC_ID2
DYNAMIC_ID2=$(cut -f2 -d':' /sys/class/dvb/dvb3.dvr0/dev)
mknod /dev/dvb/adapter3/dvr0 c $DYNAMIC_ID $DYNAMIC_ID2
# Set permissions
chmod 755 /dev/dvb/adapter*
chmod 666 /dev/dvb/adapter*/*
chown root:users /dev/dvb/adapter*/*
else
echo "ERROR: Unable to detect DVB inside /proc/devices; dvb-core.k$"
exit 10
fi
(2014-03-24, 14:43)gebruikerh Wrote: I do not what to sound impactions, but if anybody could give me hint that would be great thx.
(2014-03-24, 15:36)gebruikerh Wrote: Hi Schumi, as I also tried to explain in your mentioned tread...The package is not working correct for my HDhomerun. Altough I have DS213 and 4.3.I did miss that part were you say it is compiled for dual tuners only, sorry.
The package is made for two tuner solution and I have the "new" 4 tuner solution. Also it creates a DVB-T instead DVB-C... and changing the info fill where is mentioned the needed DVB-C give instabel system also the script give not the correct out put, so that why I did try to make it my selve. If you have any idea that would be great.
@samukas no idea it seems to work for many people on ARM and I have seen DS212,DS213 etc mentioned. but could be a trail and error solution.
(2014-03-24, 19:25)aisman Wrote: @Smiggel and others who have HDHR.
Now available DVBLink HDHR driver for 5.0.
If you have time - do the following:
1. Remove VideoStation.
2. Remove Tvheadend.
3. Install DSM 5.0
4. Install DVBLink tvserver with trial license.
do not adjust, reboot. Ensure that DVBLink works, install tvh and check its working. If all goes well - I can make a separate package just for HDHR, how I did it for my S2 SkyStar.
(2014-03-25, 10:03)gebruikerh Wrote: Sorry guy's I could not get it to work..
Followd the instructions above.
Delete Thv, Videostation
Update to DSM 5.0
Installed DVBlink server including add for homerun in trail version
Reboot.
Went to DVBlink did ad device and channel check..everthing did work could even see channels
Installed TvH for Syncomm.....but no Homerun there ...
Tried an other reboot but no luck...
To check installed video station and there the Homerun is visible with all his tuners...
But in TvH no luck...So maybe if somebody can homewho get the driver from DVBlink it could work but for me it no go now...I will go back to my laptop met XBMC, Thv,homerun and Oscam for now as that one works...but it not what I wanted in the end.