LinHES Forums
http://forum.linhes.org/

HD PVR 1212 configuration LinHES 8.1
http://forum.linhes.org/viewtopic.php?f=23&t=24037
Page 2 of 2

Author:  snaproll [ Mon Sep 01, 2014 9:28 am ]
Post subject:  Re: HD PVR 1212 configuration LinHES 8.1

Thanks for the heads up on how that works, Jams.

I intend to take a shot at that fix, but am hung up timewise at the moment (wife has a complete interior house repaint going on) and my spare 'test' computer is still down with motherboard problems.

Author:  tscholl [ Mon Sep 01, 2014 12:45 pm ]
Post subject:  Re: HD PVR 1212 configuration LinHES 8.1

jams,

Thanks for the information.

I looked but did not have an /etc/remote.run file, so I created one as suggested. Once created I changed the permissions to 755, however it did not run remote.run at start up.
remotes.log looks like this.
Code:
====== lirc modules already loaded ==========
lirc_i2c                6443  0
lirc_dev                9039  1 lirc_i2c
i2c_core               20707  20 bttv,ivtv,lirc_i2c,pvrusb2,hdpvr,tuner,saa7115,i2c_piix4,tda8290,tda9887,i2c_algo_bit,
cx88_vp3054_i2c, cx8800,cx88xx,msp3400,nvidia,v4l2_common,tveeprom,tuner_simple,videodev
====== lirc modules end =========

/usr/sbin/lircd -H udp -d 5000 -n
lircd: lircd(udp) ready, using /var/run/lirc/lircd
lircd: accepted new client on /var/run/lirc/lircd
lircd: Initializing UDP: 5000
lircd: Listening on port 5000/udp
lircd: accepted new client on /var/run/lirc/lircd


Looking at the /etc/sv/remotes/run and if I'm understanding the code correctly, the script finds the SiliconDust_HDHR but, then skips the /etc/remote.run

Quote:
elif [ x$ReceiverType = "xSiliconDust_HDHR" ]
then
# if using the SiliconDust_HDHR as an I/R Receiver
CMD="/usr/sbin/lircd -H udp -d 5000 -n"
printhl " Using SiliconDust on port 5000"
echo $CMD >>$LOG
$CMD >>$LOG 2>>$LOG

else
if [ -f /etc/remote.run ]
then
#program must not terminate.
stat_runit "Starting remotes from /etc/remote.run"
LCMD="/etc/remote.run"
echo "Starting remotes from $LCMD" >>$LOG
exec $LCMD >>$LOG 2>>$LOG
else
#/etc/remote.run not found, carry one with normal init
LASTCMD=""
USE_BLASTER="False"
DEFINED_RECEIVER="False"


It's possible that I have a unique situation not previously encountered.

Thanks

Author:  jams [ Mon Sep 01, 2014 12:52 pm ]
Post subject:  Re: HD PVR 1212 configuration LinHES 8.1

If an hdhr is defined you are correct it will not run remotes.run.
In this case use lirc.sh it's the very first thing the remotes service looks for.

Author:  tscholl [ Mon Sep 01, 2014 3:05 pm ]
Post subject:  Re: HD PVR 1212 configuration LinHES 8.1

So in that case will I also need to include my own code to configure the hdhr receiver?

Author:  jams [ Mon Sep 01, 2014 3:37 pm ]
Post subject:  Re: HD PVR 1212 configuration LinHES 8.1

Yes when lirc.sh is used then it's completely up to the contents of lirc.sh to configure lircd.

Page 2 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/